/* ============================================================
   WESTACE CASINO ESPAÑA — Design System CSS v1.0
   ============================================================ */

/* === DESIGN TOKENS === */
:root {
  --bg:         #0B1624;
  --bg-alt:     #0E1C2C;
  --bg-card:    #122033;
  --bg-card-2:  #1A2B42;
  --bg-card-3:  #0F1B2A;
  --gold:       #C6953A;
  --gold-lt:    #E8C06A;
  --gold-dim:   rgba(198, 149, 58, 0.12);
  --gold-glow:  rgba(198, 149, 58, 0.22);
  --red:        #C64040;
  --green:      #3AAA78;
  --text:       #F0EBE0;
  --text-2:     #8A9EB8;
  --text-3:     #526070;
  --border:     rgba(198, 149, 58, 0.13);
  --border-2:   rgba(198, 149, 58, 0.28);
  --border-ui:  rgba(255, 255, 255, 0.07);
  --r-xs:  6px;
  --r-sm:  8px;
  --r:     12px;
  --r-lg:  18px;
  --r-xl:  24px;
  --shadow:      0 4px 24px rgba(0, 0, 0, 0.38);
  --shadow-lg:   0 8px 48px rgba(0, 0, 0, 0.55);
  --shadow-gold: 0 0 40px rgba(198, 149, 58, 0.14);
  --font-h: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-b: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --max-w:  1200px;
  --px:     24px;
  --py:     80px;
  --py-sm:  48px;
}

/* === RESET === */
.wc-site *, .wc-site *::before, .wc-site *::after { box-sizing: border-box; }
.wc-site {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}
body.wc-page {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  margin: 0;
  padding: 0;
}
body.wc-page img { max-width: 100%; display: block; }
body.wc-page a { color: inherit; text-decoration: none; }
body.wc-page button { cursor: pointer; border: none; background: none; font: inherit; }
body.wc-page ul, body.wc-page ol { list-style: none; margin: 0; padding: 0; }
body.wc-page table { border-collapse: collapse; width: 100%; }

/* === TYPOGRAPHY === */
body.wc-page h1,
body.wc-page h2,
body.wc-page h3 { font-family: var(--font-h); line-height: 1.22; color: var(--text); margin: 0; }
body.wc-page h1 { font-size: clamp(1.9rem, 4.5vw, 3.1rem); font-weight: 700; }
body.wc-page h2 { font-size: clamp(1.45rem, 3vw, 2.1rem); font-weight: 700; }
body.wc-page h3 { font-size: clamp(1.05rem, 2vw, 1.3rem); font-weight: 600; }
body.wc-page p  { color: var(--text-2); line-height: 1.7; margin: 0; }
body.wc-page strong { color: var(--text); font-weight: 600; }

/* === LAYOUT === */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}
.section         { padding: var(--py) 0; }
.section--alt    { background: var(--bg-alt); }
.section--sm     { padding: var(--py-sm) 0; }
.section--dark   { background: var(--bg-card-3); }

/* === GRID === */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* === CARDS === */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: border-color 0.22s, box-shadow 0.22s;
}
.card:hover { border-color: var(--border-2); box-shadow: var(--shadow-gold); }
.card--gold {
  border-color: var(--border-2);
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-card-2) 100%);
}
.card--flat { box-shadow: none; transition: none; }
.card--flat:hover { box-shadow: none; border-color: var(--border); }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--r-sm);
  font-family: var(--font-b);
  font-weight: 600;
  font-size: 0.935rem;
  letter-spacing: 0.01em;
  transition: all 0.2s;
  text-decoration: none;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn--primary  { background: var(--gold); color: #0A1320; }
.btn--primary:hover {
  background: var(--gold-lt);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px var(--gold-glow);
}
.btn--outline  { background: transparent; border: 1.5px solid var(--gold); color: var(--gold); }
.btn--outline:hover { background: var(--gold-dim); }
.btn--ghost    { background: transparent; color: var(--text-2); }
.btn--ghost:hover  { color: var(--text); background: rgba(255,255,255,0.05); }
.btn--sm  { padding: 8px 18px; font-size: 0.855rem; }
.btn--lg  { padding: 15px 34px; font-size: 1.02rem; }
.btn--full { width: 100%; }

/* === TAGS / BADGES === */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-b);
  white-space: nowrap;
}
.tag--gold  { background: var(--gold-dim); color: var(--gold); border: 1px solid rgba(198,149,58,0.22); }
.tag--green { background: rgba(58,170,120,0.12); color: var(--green); border: 1px solid rgba(58,170,120,0.2); }
.tag--muted { background: rgba(255,255,255,0.05); color: var(--text-2); border: 1px solid var(--border-ui); }
.tag--red   { background: rgba(198,64,64,0.12); color: var(--red); border: 1px solid rgba(198,64,64,0.2); }

/* === DIVIDERS === */
.divider     { height: 1px; background: var(--border); margin: 28px 0; }
.divider--gold {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
  margin: 28px 0;
}

/* === INFO TABLE === */
.info-table { border-radius: var(--r); overflow: hidden; border: 1px solid var(--border); }
.info-table tr { border-bottom: 1px solid var(--border); transition: background 0.15s; }
.info-table tr:last-child { border-bottom: none; }
.info-table tr:hover { background: rgba(255,255,255,0.02); }
.info-table td { padding: 13px 20px; font-size: 0.9rem; }
.info-table td:first-child {
  font-weight: 600;
  color: var(--text);
  width: 42%;
  border-right: 1px solid var(--border);
}
.info-table td:last-child { color: var(--text-2); }

/* === FAQ === */
details.faq-item {
  list-style: none;
  padding: 0 8px;
}
details.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 19px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--text);
  gap: 16px;
  user-select: none;
  transition: color 0.18s;
  list-style: none;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::marker { display: none; }
details.faq-item summary:hover { color: var(--gold); }
.faq-icon {
  width: 24px; height: 24px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--gold-dim);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 700;
  transition: transform 0.22s;
}
details[open] .faq-icon { transform: rotate(45deg); }
.faq-a { padding-bottom: 18px; font-size: 0.89rem; color: var(--text-2); line-height: 1.75; }

/* === STEP CARDS === */
.step-card {
  position: relative;
  padding: 26px 24px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding-top: 44px;
  transition: border-color 0.22s;
}
.step-card:hover { border-color: var(--border-2); }
.step-num {
  position: absolute;
  top: -14px; left: 22px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--gold);
  color: #0A1320;
  font-weight: 800;
  font-size: 0.78rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px var(--gold-glow);
}
.step-card h3 {
  font-family: var(--font-b);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.step-card p { font-size: 0.855rem; }

/* === QUICK NAV CARDS === */
.qnav-card {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  cursor: pointer;
  transition: all 0.22s;
  text-decoration: none;
  color: inherit;
}
.qnav-card:hover {
  border-color: var(--border-2);
  background: var(--bg-card-2);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}
.qnav-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  background: var(--gold-dim);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
}
.qnav-card h3 {
  font-family: var(--font-b);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text);
}
.qnav-card p { font-size: 0.83rem; color: var(--text-2); line-height: 1.5; }
.qnav-arrow { color: var(--gold); font-size: 0.83rem; font-weight: 600; margin-top: auto; }

/* === HEADER === */
.wc-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 22, 36, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.wc-header__inner {
  display: flex; align-items: center; gap: 24px; height: 66px;
}
.wc-header__nav { display: flex; align-items: center; gap: 2px; flex: 1; }
.wc-header__nav a {
  padding: 8px 13px;
  border-radius: var(--r-sm);
  font-size: 0.885rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.18s, background 0.18s;
}
.wc-header__nav a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.wc-header__nav a.is-active { color: var(--gold); background: var(--gold-dim); }
.wc-header__cta { margin-left: auto; flex-shrink: 0; }
.wc-menu-btn {
  display: none;
  color: var(--text);
  padding: 8px;
  margin-left: auto;
  border: none;
  background: none;
  cursor: pointer;
  align-items: center;
}

/* mobile nav */
.wc-mob-nav {
  display: none;
  position: absolute;
  top: 66px; left: 0; right: 0;
  background: rgba(11,22,36,0.98);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px 16px;
  flex-direction: column;
  gap: 4px;
  z-index: 99;
}
.wc-mob-nav.is-open { display: flex; }
.wc-mob-nav a {
  padding: 11px 14px;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.18s, background 0.18s;
}
.wc-mob-nav a:hover, .wc-mob-nav a.is-active { color: var(--gold); background: var(--gold-dim); }
.wc-mob-nav .btn--primary { margin-top: 8px; width: 100%; }

@media (max-width: 768px) {
  .wc-header__nav { display: none; }
  .wc-header__cta { display: none; }
  .wc-menu-btn   { display: flex; }
}

/* === LOGO === */
.wc-logo {
  display: flex; align-items: center; gap: 10px;
  user-select: none; text-decoration: none; flex-shrink: 0;
}
.wc-logo__mark {
  width: 38px; height: 38px;
  background: linear-gradient(140deg, #C6953A 0%, #E8C06A 60%, #C6953A 100%);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 14px rgba(198,149,58,0.35);
}
.wc-logo__text { display: flex; flex-direction: column; }
.wc-logo__name {
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: 1.25rem;
  color: #F0EBE0; line-height: 1.08; letter-spacing: -0.01em;
  display: block;
}
.wc-logo__sub {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.14em; color: #C6953A;
  line-height: 1; text-transform: uppercase;
  display: block;
}
.wc-logo--sm .wc-logo__mark { width: 30px; height: 30px; border-radius: 7px; }
.wc-logo--sm .wc-logo__name { font-size: 1.05rem; }
.wc-logo--sm .wc-logo__sub  { font-size: 0.56rem; }

/* === FOOTER === */
.wc-footer {
  background: #07101B;
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.wc-footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 52px;
}
@media (max-width: 900px) { .wc-footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 580px) { .wc-footer-grid { grid-template-columns: 1fr; gap: 28px; } }

.wc-footer__desc { font-size: 0.865rem; line-height: 1.75; margin-top: 16px; max-width: 300px; color: var(--text-3); }
.wc-footer-col h3 {
  font-family: var(--font-b);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 16px;
}
.wc-footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.wc-footer-col ul li a { font-size: 0.88rem; color: var(--text-3); transition: color 0.18s; }
.wc-footer-col ul li a:hover { color: var(--gold); }

.wc-footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}
.wc-footer-legal { font-size: 0.765rem; color: var(--text-3); line-height: 1.75; flex: 1; min-width: 220px; }
.wc-age-badge {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid var(--red);
  color: var(--red);
  font-weight: 800; font-size: 0.72rem;
  flex-shrink: 0;
  font-family: var(--font-b);
}
.wc-pm-badges { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.wc-pm-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid rgba(198,149,58,0.22);
  overflow: hidden;
  opacity: 0.82;
  transition: opacity 0.18s, transform 0.18s, border-color 0.18s;
}
.wc-pm-badge:hover {
  opacity: 1;
  transform: translateY(-1px);
  border-color: rgba(198,149,58,0.55);
}
.wc-pm-badge svg {
  display: block;
  height: 30px;
  width: auto;
}

/* === BREADCRUMBS === */
.wc-breadcrumbs {
  display: flex; align-items: center;
  gap: 7px;
  font-size: 0.815rem; color: var(--text-3);
  padding: 14px 0;
  flex-wrap: wrap;
}
.wc-breadcrumbs a { color: var(--text-3); transition: color 0.18s; }
.wc-breadcrumbs a:hover { color: var(--gold); }
.wc-breadcrumbs .sep { opacity: 0.4; }
.wc-breadcrumbs .cur { color: var(--text-2); }

/* === HERO === */
.hero {
  padding: 72px 0 64px;
  background: radial-gradient(ellipse at 75% 40%, rgba(198,149,58,0.07) 0%, transparent 58%),
              radial-gradient(ellipse at 20% 80%, rgba(198,149,58,0.04) 0%, transparent 50%);
  border-bottom: 1px solid var(--border);
}

/* === SCORE RING === */
.score-ring {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: conic-gradient(var(--gold) 0% 81%, rgba(198,149,58,0.1) 81% 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; flex-shrink: 0;
}
.score-ring::before {
  content: '';
  position: absolute;
  width: 60px; height: 60px;
  background: var(--bg-card);
  border-radius: 50%;
}
.score-ring span {
  position: relative; z-index: 1;
  font-weight: 800; font-size: 1.1rem; color: var(--gold);
}

/* === SCORE BAR === */
.score-bar-wrap { margin-bottom: 10px; }
.score-bar-header { display: flex; justify-content: space-between; margin-bottom: 5px; font-size: 0.84rem; }
.score-bar-header .label { color: var(--text); }
.score-bar-header .val   { color: var(--gold); }
.score-bar-track { height: 4px; background: rgba(255,255,255,0.07); border-radius: 4px; overflow: hidden; }
.score-bar-fill  { height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-lt)); border-radius: 4px; }

/* === SAFE NOTE === */
.safe-note {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 15px;
  background: rgba(198,149,58,0.06);
  border: 1px solid rgba(198,149,58,0.14);
  border-radius: var(--r-sm);
  font-size: 0.82rem; color: var(--text-2); line-height: 1.65;
}
.safe-note__icon { color: var(--gold); flex-shrink: 0; margin-top: 1px; }

/* === TRUST BAR === */
.trust-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* === PAGE HERO (inner pages) === */
.page-hero {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 28px 0 48px;
}

/* === SECTION LABEL === */
.section-label {
  display: flex; align-items: center;
  gap: 9px; margin-bottom: 11px;
  font-family: var(--font-b);
  font-size: 0.73rem; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--gold);
}
.section-label__line {
  display: block; width: 20px; height: 2px;
  background: var(--gold); border-radius: 2px; flex-shrink: 0;
}

/* === UPDATED DATE === */
.wc-updated {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.79rem; color: var(--text-3);
}

/* === BONUS ROW === */
.bonus-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.875rem;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
}
.bonus-row:last-child { border-bottom: none; }
.bonus-row__label { color: var(--text-2); }
.bonus-row__val   { color: var(--text); font-weight: 600; }

/* === CHECK LIST === */
.check-list { display: flex; flex-direction: column; gap: 10px; }
.check-list li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.9rem; color: var(--text);
}
.check-list li::before {
  content: '✓';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* === PHONE MOCKUP === */
.phone-mock {
  width: 210px; margin: 0 auto;
  background: var(--bg-card);
  border-radius: 28px;
  border: 7px solid var(--bg-card-2);
  box-shadow: 0 0 60px rgba(198,149,58,0.1), 0 24px 64px rgba(0,0,0,0.55);
  overflow: hidden;
}
.phone-notch {
  height: 26px;
  background: var(--bg-card-2);
  display: flex; align-items: center; justify-content: center;
}
.phone-pill { width: 56px; height: 5px; background: rgba(255,255,255,0.1); border-radius: 3px; }
.phone-body { padding: 12px; display: flex; flex-direction: column; gap: 8px; }

/* === PHONE MOCKUP CONTENTS === */
.phone-banner {
  height: 76px;
  background: linear-gradient(135deg, rgba(198,149,58,0.18), rgba(198,149,58,0.05));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.phone-game-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.phone-game-tile {
  height: 58px; background: var(--bg-card-2);
  border-radius: 8px; display: flex; align-items: center;
  justify-content: center; font-size: 0.7rem; color: var(--text-2);
  border: 1px solid var(--border);
}
.phone-cta-bar {
  height: 34px; background: var(--gold); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 700; color: #0A1320; letter-spacing: 0.05em;
}
.phone-nav-bar {
  height: 24px; background: rgba(255,255,255,0.03); border-radius: 6px;
  display: flex; align-items: center; justify-content: space-around;
}
.phone-nav-bar span { font-size: 0.75rem; }

.phone-app-banner {
  height: 70px;
  background: linear-gradient(135deg, rgba(198,149,58,0.18), rgba(198,149,58,0.05));
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
}
.phone-bonus-bar {
  height: 40px; background: var(--gold); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.62rem; font-weight: 700; color: #0A1320; letter-spacing: 0.04em;
}
.phone-game-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 5px; }
.phone-game-tile-sm {
  height: 44px; background: var(--bg-card-2);
  border-radius: 7px; display: flex; align-items: center;
  justify-content: center; font-size: 0.85rem; border: 1px solid var(--border);
}

/* === SECTION TITLE BLOCK === */
.section-title { margin-bottom: 38px; }
.section-title--centered { text-align: center; }
.section-title--centered .section-label { justify-content: center; }
.section-title--centered .section-label--centered .section-label__line-right {
  display: block; width: 20px; height: 2px;
  background: var(--gold); border-radius: 2px; flex-shrink: 0;
}
.section-title h2 { margin-bottom: 0; }
.section-title__sub {
  font-size: 1rem;
  margin-top: 11px;
  color: var(--text-2);
}
.section-title--centered .section-title__sub { max-width: 560px; margin-left: auto; margin-right: auto; }

/* === RELATED LINKS === */
.related-links { padding: var(--py) 0; }

/* === FINAL CTA === */
.final-cta {
  padding: var(--py) 0;
  text-align: center;
  background: radial-gradient(ellipse at 50% 100%, rgba(198,149,58,0.08) 0%, transparent 60%), var(--bg-card-3);
}
.final-cta__inner {
  max-width: 560px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 20px; align-items: center;
}
.final-cta__icon {
  width: 64px; height: 64px;
  background: var(--gold-dim);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
  border: 1px solid var(--border-2);
}
.final-cta__btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* === FEATURE CARD === */
.feature-card {
  display: flex; gap: 16px; padding: 17px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  transition: border-color 0.22s, box-shadow 0.22s;
}
.feature-card:hover { border-color: var(--border-2); box-shadow: var(--shadow-gold); }
.feature-card__icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.feature-card__title {
  font-family: var(--font-b); font-size: 0.95rem; font-weight: 700;
  margin-bottom: 5px; color: var(--text);
}
.feature-card__desc { font-size: 0.845rem; }

/* === PROBLEM CARD === */
.problem-card {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 18px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--r); box-shadow: var(--shadow);
}
.problem-card__dot { color: var(--red); flex-shrink: 0; margin-top: 4px; font-size: 0.6rem; }
.problem-card__title { font-size: 0.9rem; display: block; margin-bottom: 2px; color: var(--text); font-weight: 600; }
.problem-card__sol { font-size: 0.83rem; color: var(--text-2); }

/* === TIP GRID === */
.tip-item {
  display: flex; gap: 11px; padding: 12px 14px;
  background: rgba(255,255,255,0.03); border-radius: 9px;
}
.tip-item__icon { font-size: 1.1rem; flex-shrink: 0; }
.tip-item__text { font-size: 0.85rem; color: var(--text-2); }

/* === SAFETY ITEM === */
.safety-item {
  display: flex; gap: 13px; align-items: center;
  padding: 12px 16px;
  background: var(--bg-card); border-radius: 9px;
  border: 1px solid var(--border);
}
.safety-item__icon { font-size: 1.15rem; flex-shrink: 0; }
.safety-item__text { font-size: 0.885rem; color: var(--text); }

/* === ANIMATIONS === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.45s ease-out both; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  :root { --py: 52px; --py-sm: 36px; }
}
@media (max-width: 480px) {
  :root { --px: 16px; }
}
/* === LEGAL PAGES === */
.legal-body { max-width: 820px; }
.legal-body h2 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--gold);
  margin: 40px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.legal-body h3 {
  font-family: var(--font-b);
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--text);
  margin: 24px 0 8px;
}
.legal-body p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-2);
  margin-bottom: 14px;
}
.legal-body ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 14px;
}
.legal-body ul li {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 6px;
}
.legal-body a { color: var(--gold); text-decoration: underline; }
.legal-body a:hover { color: var(--gold-lt); }
.legal-body strong { color: var(--text); }
.legal-body .legal-updated {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-3);
  margin-bottom: 32px;
}

/* === PAGE HERO DEFAULTS === */
.page-hero h1 { margin-bottom: 14px; }
.page-hero .section-label { margin-bottom: 11px; }
.page-hero .wc-updated { margin-bottom: 14px; }
.hero-intro { display: flex; flex-direction: column; gap: 22px; max-width: 720px; }
.hero-desc { font-size: 1.02rem; max-width: 620px; color: var(--text-2); line-height: 1.7; }
.hero-desc--home { font-size: 1.08rem; max-width: 600px; line-height: 1.72; }
.hero-btns { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-btns--home { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 4px; }

/* === TEXT UTILITIES === */
.text-gold { color: var(--gold); }
.text-muted-sm { color: var(--text-2); font-size: 0.83rem; }

/* === SECTION MODIFIERS === */
.section--gold-glow { background: radial-gradient(ellipse at 25% 60%, rgba(198,149,58,0.07) 0%, transparent 55%); }
.section-label--center { justify-content: center; }
.section-heading--mb { margin-bottom: 32px; }

/* === GRID MODIFIERS === */
.grid-2--start    { align-items: start; gap: 32px; }
.grid-2--start-md { align-items: start; gap: 48px; }
.grid-2--start-lg { align-items: start; gap: 52px; }
.grid-2--center   { align-items: center; gap: 52px; }
.grid-3--mb       { margin-bottom: 24px; }
.grid-3--mb-lg    { margin-bottom: 28px; }
.grid-4--mb       { margin-bottom: 30px; }

/* === SCORE CARD === */
.score-card      { display: flex; flex-direction: column; gap: 22px; padding: 32px; }
.score-display   { display: flex; gap: 20px; align-items: center; }
.score-rating    { font-family: var(--font-h); font-size: 1.25rem; font-weight: 700; color: var(--text); }
.score-editorial { font-size: 0.83rem; color: var(--text-2); margin-top: 3px; }
.score-bars-list { display: flex; flex-direction: column; gap: 14px; }
.divider--flush  { margin: 0; }

/* === BONO CARD === */
.bono-card       { padding: 32px; }
.bono-header     { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.bono-emoji      { font-size: 2.2rem; }
.bono-label      { font-family: var(--font-b); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.bono-title-txt  { font-family: var(--font-h); font-size: 1.45rem; font-weight: 700; color: var(--text); }
.bono-body       { display: flex; flex-direction: column; gap: 13px; }
.bono-body .check-list { margin-top: 6px; }
.bono-btns       { display: flex; gap: 10px; margin-top: 24px; }
.bono-btns .btn  { flex: 1; }
.bono-explanation { font-family: var(--font-b); font-size: 1.05rem; font-weight: 700; margin-bottom: 16px; color: var(--text); }
.safe-note--mb   { margin-bottom: 16px; }

/* === FEATURE LAYOUT === */
.feature-intro { display: flex; flex-direction: column; gap: 16px; }
.feature-flex  { display: flex; flex-direction: column; gap: 15px; }
.feature-cards { display: flex; flex-direction: column; gap: 14px; }

/* === ICON CARDS === */
.icon-card            { padding: 30px 24px; }
.icon-card--sm        { padding: 28px 24px; }
.icon-card--center    { text-align: center; padding: 30px 24px; }
.icon-card__emoji     { font-size: 2rem; margin-bottom: 14px; }
.icon-card__emoji--sm { font-size: 1.8rem; margin-bottom: 12px; }
.icon-card__title     { font-family: var(--font-b); font-size: 0.98rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.icon-card__desc      { font-size: 0.845rem; }

/* === AGE / SAFETY === */
.card--danger   { border-color: rgba(198,64,64,0.22); }
.age-header     { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.age-title      { font-family: var(--font-b); font-size: 0.98rem; font-weight: 700; }
.age-text       { font-size: 0.875rem; margin-bottom: 14px; }
.help-link      { color: var(--gold); font-size: 0.875rem; font-weight: 600; }
.help-link--sm  { color: var(--gold); font-size: 0.885rem; }
.safety-content { display: flex; flex-direction: column; gap: 14px; }
.safety-items   { display: flex; flex-direction: column; gap: 9px; margin-top: 6px; }
.help-links     { display: flex; flex-direction: column; gap: 9px; }

/* === APP PAGE === */
.app-body { display: flex; flex-direction: column; gap: 14px; }
.app-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }

/* === FAQ SECTION === */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-card { padding: 16px; display: flex; flex-direction: column; gap: 0.5rem; }

/* === BUTTON GROUPS === */
.btn-group       { display: flex; gap: 12px; flex-wrap: wrap; }
.btn--self-start { align-self: flex-start; margin-top: 6px; }
.btn--mt         { margin-top: 24px; }
.btn--mt-sm      { margin-top: 20px; }

/* === TRUST BAR === */
.trust-bar--center { justify-content: center; margin-top: 4px; }

/* === FINAL CTA === */
.final-cta__desc { font-size: 1rem; line-height: 1.72; }

/* === LOGIN / STEPS === */
.tips-grid         { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px; }
.steps-list        { display: flex; flex-direction: column; gap: 10px; }
.step-item         { display: flex; gap: 11px; font-size: 0.9rem; color: var(--text); }
.step-item__num    { color: var(--gold); font-weight: 700; flex-shrink: 0; }
.step-item--sm     { display: flex; gap: 10px; font-size: 0.875rem; color: var(--text); }
.mobile-steps      { display: flex; flex-direction: column; gap: 9px; }
.mobile-steps-title { font-family: var(--font-b); font-size: 1rem; font-weight: 700; margin-bottom: 14px; }
.card-title-inline { font-family: var(--font-b); font-size: 1rem; font-weight: 700; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.card-title-inline__icon { font-size: 1.3rem; }

/* === MISC UTILITIES === */
.check-list--mt    { margin-top: 4px; }
.section-subtitle  { font-family: var(--font-b); font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.desc-sm-mb        { font-size: 0.875rem; margin-bottom: 12px; }
.p-mb              { margin-bottom: 16px; }
.mt-24             { margin-top: 24px; }

/* === HERO INTERACTIONS === */
@keyframes wc-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes wc-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes wc-dot-pulse {
  0%, 100% { opacity: 0.55; }
  50%       { opacity: 1; }
}

/* Staggered entrance — every page hero */
.page-hero .wc-updated          { animation: wc-fade-up 0.45s ease-out both 0.05s; }
.page-hero .section-label       { animation: wc-fade-up 0.45s ease-out both 0.13s; }
.page-hero h1                   { animation: wc-fade-up 0.55s ease-out both 0.22s; }
.page-hero .hero-desc,
.page-hero .hero-desc--home     { animation: wc-fade-up 0.45s ease-out both 0.34s; }
.page-hero .trust-bar           { animation: wc-fade-up 0.45s ease-out both 0.44s; }
.page-hero .hero-btns,
.page-hero .hero-btns--home     { animation: wc-fade-up 0.45s ease-out both 0.54s; }

/* Tag micro-interactions */
.page-hero .tag {
  cursor: default;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s;
}
.page-hero .tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(198,149,58,0.18);
}

/* Pulsing calendar icon on wc-updated */
.page-hero .wc-updated svg {
  animation: wc-dot-pulse 2.8s ease-in-out infinite;
}

/* CTA button shine sweep on hover */
.page-hero .btn--primary {
  position: relative;
  overflow: hidden;
}
.page-hero .btn--primary::after {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.18) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
  pointer-events: none;
}
.page-hero .btn--primary:hover::after { left: 130%; }

/* Outline button border glow on hover */
.page-hero .btn--outline {
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.page-hero .btn--outline:hover {
  box-shadow: 0 0 18px rgba(198,149,58,0.2);
  transform: translateY(-1px);
}

/* H1 gold span shimmer */
.page-hero h1 .text-gold {
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-lt) 50%, var(--gold) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: wc-shimmer 4s linear infinite 0.6s;
}
@keyframes wc-shimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}
