/* ============================================================
   SURVIVETOTHRIVE.PUB — Nuovi Casino Online 2026
   Design: Evening luxury casino — deep navy, warm gold, velvet
   Fonts: Playfair Display (display) / Inter (body)
   ============================================================ */

/* ---- RESET & BASE ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #e8dfc8;
  background-color: #0d1117;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #c9a84c;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #e8c76a;
}

ul, ol {
  padding-left: 1.4em;
}

li {
  margin-bottom: 0.4em;
}

p {
  margin-bottom: 1.1em;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.25;
  color: #f0e6cc;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  font-weight: 600;
  margin-top: 2.4rem;
  margin-bottom: 1rem;
  color: #e8c76a;
  border-left: 3px solid #c9a84c;
  padding-left: 0.75rem;
}

h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 600;
  margin-top: 1.8rem;
  margin-bottom: 0.7rem;
  color: #f0e6cc;
}

h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 1.4rem;
  margin-bottom: 0.5rem;
  color: #c9a84c;
}

/* ---- LAYOUT ---- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- HEADER ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 13, 20, 0.97);
  border-bottom: 1px solid rgba(201, 168, 76, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo-link {
  flex-shrink: 0;
}

.site-logo {
  height: 44px;
  width: auto;
}

.main-nav {
  flex: 1;
}

.main-nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.main-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #c8bfa0;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.main-nav a:hover {
  color: #e8c76a;
}

.desktop-only {
  display: flex;
}

.btn-header {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #c9a84c, #a8792e);
  color: #0d1117;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: opacity 0.2s ease, transform 0.15s ease;
}

.btn-header:hover {
  color: #0d1117;
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ---- HERO ---- */
.hero-section {
  background: linear-gradient(160deg, #12192b 0%, #0d1117 60%, #111820 100%);
  padding: 56px 0 48px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 780px;
}

.hero-intro {
  font-size: 1.05rem;
  color: #b8af96;
  margin-bottom: 1.6rem;
  line-height: 1.75;
}

.author-block {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 1.6rem;
  padding: 14px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201, 168, 76, 0.18);
  border-radius: 8px;
  width: fit-content;
}

.author-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(201, 168, 76, 0.4);
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.author-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: #f0e6cc;
  text-decoration: none;
  transition: color 0.2s ease;
}

a.author-name:hover {
  color: #e8c76a;
  text-decoration: underline;
}

.author-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #2ecc71;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.author-date {
  font-size: 0.78rem;
  color: #8a8070;
}

/* ---- LISTING SECTION ---- */
.listing-section {
  padding: 52px 0 60px;
  background: #0d1117;
}

.listing-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 700;
  color: #e8c76a;
  margin-bottom: 2rem;
  border-left: none;
  padding-left: 0;
  text-align: center;
}

/* ---- CASINO CARD ---- */
.casino-card {
  display: grid;
  grid-template-columns: 48px 1fr 1fr auto auto;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #141c2a 0%, #111720 100%);
  border: 1px solid rgba(201, 168, 76, 0.18);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 14px;
  transition: border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.casino-card:hover {
  border-color: rgba(201, 168, 76, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}

.casino-card:first-of-type {
  border-color: rgba(201, 168, 76, 0.5);
  background: linear-gradient(135deg, #182030 0%, #141c2a 100%);
  box-shadow: 0 4px 24px rgba(201, 168, 76, 0.08);
}

.card-rank {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(201, 168, 76, 0.5);
  text-align: center;
  line-height: 1;
}

.casino-card:first-of-type .card-rank {
  color: #c9a84c;
}

.card-brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 130px;
}

.brand-logo {
  height: 40px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: brightness(0.95);
}

.brand-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #d4c8a8;
}

.brand-stars {
  display: flex;
  gap: 2px;
  color: #c9a84c;
}

.card-bonus {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bonus-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #0d1117;
  background: linear-gradient(135deg, #c9a84c, #a8792e);
  border-radius: 4px;
  padding: 2px 8px;
  width: fit-content;
  margin-bottom: 2px;
}

.bonus-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #f0e6cc;
  margin-bottom: 0;
  line-height: 1.35;
}

.bonus-sub {
  font-size: 0.75rem;
  color: #7a7260;
  margin-bottom: 0;
}

.card-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.card-features li {
  font-size: 0.82rem;
  color: #a89e80;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0;
}

.check-icon {
  color: #c9a84c;
  flex-shrink: 0;
}

.card-cta {
  display: flex;
  align-items: center;
}

.btn-play {
  display: inline-block;
  background: linear-gradient(135deg, #c9a84c, #a8792e);
  color: #0d1117;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: 7px;
  white-space: nowrap;
  text-align: center;
  transition: opacity 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 12px rgba(201, 168, 76, 0.2);
}

.btn-play:hover {
  color: #0d1117;
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(201, 168, 76, 0.35);
}

/* ---- MAIN CONTENT ---- */
.main-content {
  padding: 56px 0 64px;
  background: #0d1117;
}

.content-wrapper {
  max-width: 860px;
}

.main-content h2 {
  margin-top: 2.8rem;
}

.main-content h2:first-child {
  margin-top: 0;
}

/* ---- TABLES ---- */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.4rem 0 1.8rem;
  border-radius: 8px;
  border: 1px solid rgba(201, 168, 76, 0.15);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  min-width: 420px;
}

thead {
  background: rgba(201, 168, 76, 0.12);
}

th {
  text-align: left;
  padding: 11px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #c9a84c;
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  white-space: nowrap;
}

td {
  padding: 10px 14px;
  color: #c8bfa0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  vertical-align: top;
}

tr:last-child td {
  border-bottom: none;
}

tbody tr:nth-child(even) {
  background: rgba(255,255,255,0.02);
}

tbody tr:hover {
  background: rgba(201, 168, 76, 0.04);
}

/* ---- FAQ ---- */
.faq-section {
  margin-top: 2.8rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(201, 168, 76, 0.12);
}

.faq-section h2 {
  margin-top: 0;
}

.faq-item {
  margin-bottom: 1.8rem;
  padding: 20px 22px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(201, 168, 76, 0.12);
  border-radius: 8px;
}

.faq-item h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  color: #e8c76a;
  font-size: 1rem;
}

.faq-item p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: #b0a888;
}

/* ---- FOOTER ---- */
.site-footer {
  background: #080c13;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  padding: 40px 0 30px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
}

.footer-nav a {
  font-size: 0.85rem;
  color: #8a8070;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: #c9a84c;
}

.footer-disclaimer {
  padding: 18px 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: 8px;
}

.responsible {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: #a89e80;
  margin-bottom: 8px;
}

.responsible svg {
  color: #c9a84c;
  flex-shrink: 0;
}

.disclaimer-text {
  font-size: 0.78rem;
  color: #6a6254;
  margin-bottom: 0;
  line-height: 1.55;
}

.footer-copy {
  font-size: 0.78rem;
  color: #4a4438;
}

/* ---- RESPONSIVE — TABLET ---- */
@media (max-width: 900px) {
  .casino-card {
    grid-template-columns: 40px 1fr 1fr;
    grid-template-rows: auto auto auto;
  }

  .card-cta {
    grid-column: 3;
    grid-row: 2;
    justify-content: flex-end;
  }

  .card-features {
    grid-column: 1 / 4;
    grid-row: 3;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 18px;
  }
}

/* ---- RESPONSIVE — MOBILE ---- */
@media (max-width: 640px) {
  .desktop-only {
    display: none !important;
  }

  .header-inner {
    justify-content: space-between;
  }

  .hero-section {
    padding: 36px 0 32px;
  }

  .author-block {
    width: 100%;
  }

  .casino-card {
    grid-template-columns: 36px 1fr;
    grid-template-rows: auto auto auto auto;
    padding: 16px 16px;
    gap: 10px;
  }

  .card-brand {
    grid-column: 2;
    grid-row: 1;
    min-width: unset;
  }

  .card-bonus {
    grid-column: 1 / 3;
    grid-row: 2;
  }

  .card-features {
    grid-column: 1 / 3;
    grid-row: 3;
    flex-direction: column;
    gap: 5px;
  }

  .card-cta {
    grid-column: 1 / 3;
    grid-row: 4;
  }

  .btn-play {
    width: 100%;
    padding: 13px 16px;
    font-size: 0.95rem;
  }

  .card-rank {
    grid-row: 1;
    font-size: 1.2rem;
  }

  .listing-section {
    padding: 36px 0 44px;
  }

  .main-content {
    padding: 36px 0 48px;
  }

  h2 {
    font-size: 1.3rem;
  }

  .faq-item {
    padding: 16px;
  }

  .btn-header {
    padding: 8px 12px;
    font-size: 0.8rem;
  }
}

/* ---- FOCUS STATES (ACCESSIBILITY) ---- */
a:focus-visible,
.btn-play:focus-visible,
.btn-header:focus-visible {
  outline: 2px solid #c9a84c;
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---- REDUCED MOTION ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background: linear-gradient(160deg, #12192b 0%, #0d1117 60%, #111820 100%);
  padding: 40px 0 36px;
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.page-hero h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 0.4rem;
}

.page-hero-meta {
  font-size: 0.85rem;
  color: #8a8070;
  margin-bottom: 0;
}

/* ---- BREADCRUMB ---- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: #6a6254;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: #8a8070;
}

.breadcrumb a:hover {
  color: #c9a84c;
}

/* ---- AUTHOR PROFILE CARD ---- */
.author-profile-card {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: linear-gradient(135deg, #141c2a 0%, #111720 100%);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 14px;
  padding: 28px 28px;
  margin-bottom: 2.4rem;
}

.author-profile-img-wrap {
  flex-shrink: 0;
}

.author-profile-img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(201, 168, 76, 0.45);
}

.author-profile-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.author-profile-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: #f0e6cc;
  margin: 0;
  border: none;
  padding: 0;
}

.author-profile-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #2ecc71;
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid rgba(46, 204, 113, 0.25);
  border-radius: 20px;
  padding: 4px 10px;
}

.badge-exp {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: #c9a84c;
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 20px;
  padding: 4px 10px;
}

.author-profile-tagline {
  font-size: 0.95rem;
  color: #b0a888;
  font-style: italic;
  margin: 0;
  line-height: 1.55;
}

/* ---- AUTHOR CTA BOX ---- */
.author-cta-box {
  margin-top: 2.4rem;
  padding: 24px 28px;
  background: rgba(201, 168, 76, 0.06);
  border: 1px solid rgba(201, 168, 76, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.author-cta-box p {
  margin: 0;
  font-size: 1rem;
  color: #d4c8a8;
  font-weight: 500;
}

/* ---- FOOTER ACTIVE LINK ---- */
.footer-nav a[aria-current="page"] {
  color: #c9a84c;
}

/* ---- RESPONSIVE — inner pages ---- */
@media (max-width: 600px) {
  .author-profile-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 16px;
  }

  .author-profile-badges {
    justify-content: center;
  }

  .author-cta-box {
    flex-direction: column;
    text-align: center;
  }

  .author-cta-box .btn-play {
    width: 100%;
  }
}
