/* ============================================================
   SALON COIN SOCIAL — Main Stylesheet
   Deep Navy · Soft Gold · Frosted Glass · Editorial Sans-Serif
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=DM+Serif+Display:ital@0;1&display=swap');

/* ---------- Custom Properties ---------- */
:root {
  --navy:        #0B1628;
  --navy-mid:    #12223D;
  --navy-light:  #1A3050;
  --gold:        #C9A84C;
  --gold-light:  #E2C97E;
  --gold-pale:   #F5EAC8;
  --cream:       #F8F4EC;
  --white:       #FFFFFF;
  --text-main:   #E8E2D6;
  --text-muted:  #9AA5B4;
  --text-dark:   #0B1628;
  --glass-bg:    rgba(255, 255, 255, 0.06);
  --glass-border:rgba(201, 168, 76, 0.25);
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --shadow-card: 0 4px 32px rgba(0, 0, 0, 0.35);
  --font-sans:   'DM Sans', sans-serif;
  --font-serif:  'DM Serif Display', serif;
  --max-w:       1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  background-color: var(--navy);
  color: var(--text-main);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.65;
}
.gold-line {
  display: inline-block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 24px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  border: 2px solid var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: transparent;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  border: 2px solid var(--gold);
}
.btn-outline:hover {
  background: rgba(201, 168, 76, 0.1);
}
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ---------- Age Gate ---------- */
#age-gate {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.age-gate-inner {
  text-align: center;
  max-width: 440px;
  padding: 48px 40px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}
.age-gate-inner .logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}
.age-gate-inner .brand {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: 0.02em;
}
.age-gate-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}
.age-gate-inner h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 10px;
}
.age-gate-inner p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}
.age-gate-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.btn-age-yes {
  padding: 13px 36px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-age-yes:hover {
  background: #E2C97E;
  transform: translateY(-2px);
}
.btn-age-yes:active {
  transform: translateY(0);
}
.btn-age-no {
  padding: 13px 36px;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-age-no:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
}

/* ---------- Cookie Banner ---------- */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy-mid);
  border-top: 1px solid var(--glass-border);
  padding: 18px 0;
  z-index: 8000;
  display: none;
}
.cookie-banner-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-banner-text {
  flex: 1;
  min-width: 220px;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.cookie-banner-text a {
  color: var(--gold);
  text-decoration: underline;
}
.cookie-banner-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.btn-cookie-accept {
  padding: 10px 22px;
  background: var(--gold);
  color: var(--navy);
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 600;
}
.btn-cookie-refuse {
  padding: 9px 20px;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
}

/* ---------- HEADER ---------- */
.site-header {
  padding: 28px 0 20px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: 0.025em;
  white-space: nowrap;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.header-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.header-nav a:hover { color: var(--gold); }
.lang-switcher {
  display: flex;
  gap: 2px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  overflow: hidden;
}
.lang-switcher button {
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.lang-switcher button.active {
  background: var(--gold);
  color: var(--navy);
}

/* ---------- BLOCK 1 — HERO ---------- */
.hero {
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -200px;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 100px;
  padding: 6px 14px 6px 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-badge svg { flex-shrink: 0; }
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 22px;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 36px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.hero-stat-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}
.hero-visual {
  position: relative;
}
.hero-photo-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--navy-mid);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.85rem;
  position: relative;
  overflow: hidden;
}
.hero-photo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}
.hero-photo-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.03) 0%, transparent 60%);
}
.photo-icon {
  opacity: 0.3;
}
.hero-floating-chip {
  position: absolute;
  bottom: -18px;
  left: 24px;
  padding: 14px 20px;
  background: var(--navy-mid);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-card);
}
.chip-coin {
  width: 36px; height: 36px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chip-text-top { font-size: 0.78rem; font-weight: 600; color: var(--white); }
.chip-text-bot { font-size: 0.72rem; color: var(--text-muted); }

/* ---------- BLOCK 2 — FEATURES ---------- */
.features {
  padding: 80px 0;
  background: var(--navy-mid);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.feature-card {
  padding: 28px 24px;
}
.feature-icon {
  width: 48px; height: 48px;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ---------- BLOCK 3 — HOW IT WORKS ---------- */
.how-it-works {
  padding: 90px 0;
}
.hiw-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 56px;
}
.hiw-photo-placeholder {
  width: 100%;
  aspect-ratio: 5/4;
  background: var(--navy-mid);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.hiw-photo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}
.steps-list { display: flex; flex-direction: column; gap: 28px; }
.step-item { display: flex; gap: 18px; }
.step-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--gold);
  margin-top: 2px;
}
.step-item h4 { font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.step-item p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }

/* ---------- BLOCK 4 — GAMES SHOWCASE ---------- */
.games {
  padding: 80px 0;
  background: var(--navy-mid);
}
.games-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Improved Game Cards */
.game-card {
  background: rgba(201,168,76,0.06);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
}
.game-card:hover {
  background: rgba(201,168,76,0.12);
  border-color: rgba(201,168,76,0.4);
  transform: translateY(-4px);
}
.game-card:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.game-thumb {
  width: 100%;
  height: 140px;
  background: linear-gradient(135deg, rgba(201,168,76,0.05), rgba(201,168,76,0.02));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.game-illustration {
  width: 100%;
  height: 100%;
  display: block;
}
.game-thumb .game-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(201,168,76,0.25);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 3px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.game-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.game-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}
.game-type {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.game-coins {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ---------- GAME MODAL ---------- */
.game-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
.game-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  cursor: pointer;
}
.game-modal-content {
  position: relative;
  background: var(--navy-mid);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 600px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.game-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
  line-height: 1;
}
.game-modal-close:hover {
  color: var(--gold);
}
.game-modal-header {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(201,168,76,0.2);
}
.game-modal-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(201,168,76,0.1), rgba(201,168,76,0.05));
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}
.game-modal-icon svg {
  width: 100%;
  height: 100%;
}
.game-modal-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 8px;
  line-height: 1.2;
}
.game-modal-type {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}
.game-modal-body {
  margin-bottom: 24px;
}
.game-modal-description {
  font-size: 0.95rem;
  color: var(--white);
  line-height: 1.65;
  margin-bottom: 24px;
}
.game-modal-description p {
  margin: 0 0 12px;
}
.game-modal-description p:last-child {
  margin-bottom: 0;
}
.game-modal-description strong {
  color: var(--gold);
  font-weight: 600;
}
.game-modal-disclaimer {
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 16px;
}
.game-modal-disclaimer h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.game-modal-disclaimer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.game-modal-disclaimer li {
  font-size: 0.8rem;
  color: var(--white);
  line-height: 1.5;
}
.game-modal-disclaimer strong {
  color: var(--gold);
  font-weight: 600;
}
.game-modal-footer {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(201,168,76,0.2);
}
.game-modal-footer .btn-primary,
.game-modal-footer .btn-outline {
  flex: 1;
  padding: 12px 20px;
  font-size: 0.9rem;
}

/* ---------- BLOCK 5 — LEADERBOARD ---------- */
.leaderboard {
  padding: 90px 0;
}
.lb-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 56px;
}
.lb-table {
  padding: 0;
  overflow: hidden;
}
.lb-table-header {
  display: grid;
  grid-template-columns: 40px 1fr 80px;
  gap: 12px;
  padding: 10px 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.lb-row {
  display: grid;
  grid-template-columns: 40px 1fr 80px;
  gap: 12px;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.lb-row:last-child { border-bottom: none; }
.lb-rank {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--text-muted);
  text-align: center;
}
.lb-rank.gold-rank { color: var(--gold); font-weight: 700; }
.lb-player { display: flex; align-items: center; gap: 10px; }
.lb-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--navy-light);
  border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 600; color: var(--gold);
  flex-shrink: 0;
}
.lb-name { font-size: 0.88rem; font-weight: 500; color: var(--white); }
.lb-score { font-size: 0.88rem; font-weight: 600; color: var(--gold); text-align: right; }
.lb-visual-area {}
.lb-season-card {
  padding: 32px;
}
.lb-season-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 8px;
}
.lb-season-sub { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 24px; }
.lb-photo-placeholder {
  width: 100%;
  aspect-ratio: 16/7;
  background: var(--navy-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-bottom: 20px;
  overflow: hidden;
}
.lb-photo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
  display: block;
}
.lb-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.lb-tag {
  padding: 5px 12px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 100px;
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 500;
}

/* ---------- BLOCK 6 — SOCIAL / CHALLENGES ---------- */
.challenges {
  padding: 80px 0;
  background: var(--navy-mid);
}
.challenges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.challenge-card {
  padding: 28px 24px;
  position: relative;
}
.challenge-card.featured {
  border-color: rgba(201,168,76,0.45);
}
.challenge-featured-tag {
  position: absolute;
  top: -1px; left: 50%; transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 12px;
  border-radius: 0 0 8px 8px;
}
.challenge-icon {
  margin-bottom: 16px;
}
.challenge-card h3 { font-size: 1.0rem; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.challenge-card p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.challenge-meta {
  display: flex;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--gold);
  flex-wrap: wrap;
}
.challenge-meta span { display: flex; align-items: center; gap: 5px; }

/* ---------- BLOCK 7 — SUBSCRIPTIONS (PRODUCTS) ---------- */
.subscriptions {
  padding: 90px 0;
}
.subs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.sub-card {
  padding: 36px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.sub-card.featured {
  border-color: rgba(201,168,76,0.5);
  background: rgba(201,168,76,0.05);
}
.sub-popular-tag {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}
.sub-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 6px;
}
.sub-desc { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 20px; line-height: 1.55; }
.sub-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
}
.sub-price-amt {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--gold);
  line-height: 1;
}
.sub-price-per { font-size: 0.85rem; color: var(--text-muted); }
.sub-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex: 1;
}
.sub-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-main);
}
.sub-feature svg { flex-shrink: 0; color: var(--gold); }
.sub-btn {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 2px solid var(--gold);
  color: var(--gold);
  background: transparent;
  width: 100%;
}
.sub-btn:hover { background: rgba(201,168,76,0.1); }
.sub-btn.featured-btn {
  background: var(--gold);
  color: var(--navy);
}
.sub-btn.featured-btn:hover { background: var(--gold-light); border-color: var(--gold-light); }
.subs-note {
  text-align: center;
  margin-top: 32px;
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ---------- BLOCK 8 — RESPONSIBLE PLAY ---------- */
.responsible {
  padding: 80px 0;
  background: var(--navy-mid);
}
.responsible-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.responsible-photo {
  aspect-ratio: 4/3;
  background: var(--navy);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.resp-points { display: flex; flex-direction: column; gap: 18px; margin-top: 24px; }
.resp-point { display: flex; gap: 14px; align-items: flex-start; }
.resp-dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}
.resp-point h4 { font-size: 0.95rem; font-weight: 600; color: var(--white); margin-bottom: 3px; }
.resp-point p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }
.resp-banner {
  margin-top: 28px;
  padding: 16px 20px;
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--gold-pale);
  line-height: 1.6;
}

/* ---------- BLOCK 9 — TESTIMONIALS ---------- */
.testimonials {
  padding: 90px 0;
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.testi-card {
  padding: 28px 26px;
}
.testi-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}
.star-icon { color: var(--gold); }
.testi-quote {
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 22px;
  font-style: italic;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--navy-light);
  border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 600; color: var(--gold);
  flex-shrink: 0;
}
.testi-name { font-size: 0.88rem; font-weight: 600; color: var(--white); }
.testi-location { font-size: 0.78rem; color: var(--text-muted); }

/* ---------- BLOCK 10 — CONTACTS ---------- */
.contacts {
  padding: 90px 0;
  background: var(--navy-mid);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  align-items: start;
}
.contact-grid > div:nth-child(1),
.contact-grid > div:nth-child(2),
.contact-grid > div:nth-child(3) {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-grid > div h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 8px;
}
.contact-grid > div p {
  font-size: 0.95rem;
  color: var(--white);
  line-height: 1.6;
}
.contact-grid > div:nth-child(4) {
  grid-column: 1 / -1;
  width: 100%;
}
.contacts-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-icon-wrap {
  width: 44px; height: 44px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 3px; }
.contact-value { font-size: 0.95rem; color: var(--white); font-weight: 500; }
.contact-value a { color: var(--white); }
.contact-value a:hover { color: var(--gold); }
.contact-map-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--navy);
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.85rem;
  overflow: hidden;
}
.map-photo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}
.responsible-notice {
  margin-top: 32px;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.65;
  padding: 16px 20px;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: #080F1C;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 32px;
}
.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul li a {
  font-size: 0.87rem;
  color: var(--text-muted);
  text-decoration: none;
}
.footer-col ul li a:hover {
  color: var(--gold);
}
.footer-col p {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-legal-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-legal-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-legal-links a:hover { color: var(--gold); }
.footer-mediateur {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.6;
}
.footer-mediateur a { color: var(--gold); text-decoration: underline; }

/* ---------- Center Alignment for Main Sections ---------- */
.features .container,
.how-it-works .container,
.games .container,
.leaderboard .container,
.challenges .container,
.subscriptions .container,
.responsible .container,
.testimonials .container {
  text-align: center;
}

.features .section-label,
.how-it-works .section-label,
.games .section-label,
.leaderboard .section-label,
.challenges .section-label,
.subscriptions .section-label,
.responsible .section-label,
.testimonials .section-label {
  display: flex;
  justify-content: center;
}

.features .section-title,
.how-it-works .section-title,
.games .section-title,
.leaderboard .section-title,
.challenges .section-title,
.subscriptions .section-title,
.responsible .section-title,
.testimonials .section-title {
  margin-left: auto;
  margin-right: auto;
}

.features .section-subtitle,
.how-it-works .section-subtitle,
.games .section-subtitle,
.leaderboard .section-subtitle,
.challenges .section-subtitle,
.subscriptions .section-subtitle,
.responsible .section-subtitle,
.testimonials .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.features-grid,
.challenges-grid,
.subs-grid,
.testi-grid {
  justify-content: center;
}

.hiw-grid {
  justify-content: center;
}

.lb-inner {
  justify-content: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner,
  .hiw-grid,
  .lb-inner,
  .responsible-inner,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid > div:nth-child(4) { grid-column: 1; }
  .hero-visual { display: none; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .features-grid,
  .challenges-grid,
  .subs-grid,
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .game-modal-content { max-width: 90vw; padding: 32px; }
}
@media (max-width: 768px) {
  .hero { padding: 50px 0 60px; }
  .features-grid,
  .games-grid,
  .challenges-grid,
  .subs-grid,
  .testi-grid { grid-template-columns: 1fr; }
  .header-nav { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-grid > div:nth-child(4) { grid-column: 1; }
  .hero-stats { gap: 20px; }
  .game-modal-content { max-width: 95vw; padding: 24px; max-height: 90vh; }
  .game-modal-header { gap: 16px; }
  .game-modal-icon { width: 60px; height: 60px; }
  .game-modal-title { font-size: 1.2rem; }
}
