/* ========================================
   cv222.me Design System - Emerald Trust Gaming UI
   ======================================== */
:root {
  --color-primary: #CD7F32;
  --color-primary-dark: #a86a28;
  --color-primary-soft: rgba(205,127,50,.12);
  --color-secondary: #E0115F;
  --color-accent: #CD7F32;
  --color-bg: #030202;
  --color-bg-soft: #0D0A0A;
  --color-surface: #171212;
  --color-surface-strong: #211A1A;
  --color-card: #171212;
  --color-card-alt: #211A1A;
  --color-border: #302626;
  --color-border-strong: #453535;
  --color-text: #FFF3F3;
  --color-text-soft: #AD9C9C;
  --color-text-muted: #5E5252;
  --color-success: #22c55e;
  --color-warning: #facc15;
  --color-danger: #ef4444;
  --color-footer-bg: #0D0A0A;
  --color-footer-text: #AD9C9C;
  --gradient-hero: linear-gradient(135deg, var(--color-surface-strong), var(--color-bg));
  --gradient-button: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  --gradient-card: linear-gradient(180deg, var(--color-card), var(--color-card-alt));
  --shadow-header: 0 2px 20px rgba(0,0,0,.4);
  --shadow-card: 0 8px 28px rgba(0,0,0,.22);
  --shadow-card-hover: 0 14px 38px rgba(0,0,0,.32);
  --shadow-soft: 0 4px 14px rgba(0,0,0,.15);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;
  --font-base: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Noto Sans Bengali", sans-serif;
  --font-heading: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, "Noto Sans Bengali", sans-serif;
  --fs-h1: clamp(32px, 5vw, 56px);
  --fs-h2: clamp(24px, 3vw, 38px);
  --fs-h3: clamp(18px, 2vw, 24px);
  --fs-body: 17px;
  --fs-small: 14px;
  --lh-body: 1.78;
  --lh-heading: 1.2;
  --container-max: 1260px;
  --header-h: 68px;
  --motion-fast: .15s;
  --motion-normal: .3s;
  --motion-slow: .5s;
  --ease-out: cubic-bezier(.22,1,.36,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  background: var(--color-bg);
  color: var(--color-text-soft);
  font-family: var(--font-base);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  padding-top: var(--header-h);
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-md); }
a { color: var(--color-primary); text-decoration: none; transition: color var(--motion-fast); }
a:hover { color: var(--color-secondary); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-text); line-height: var(--lh-heading); font-weight: 800; }
h1 { font-size: var(--fs-h1); margin-bottom: 18px; }
h2 { font-size: var(--fs-h2); margin-bottom: 16px; }
h3 { font-size: var(--fs-h3); margin-bottom: 12px; color: var(--color-text-soft); }
p { margin-bottom: 16px; }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } html { scroll-behavior: auto; } }

/* === HEADER === */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  background: color-mix(in srgb, var(--color-bg) 92%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-header);
}
.header-inner {
  width: 100%; max-width: none;
  padding-left: clamp(10px, 1.2vw, 20px);
  padding-right: clamp(10px, 1.2vw, 20px);
  height: 100%;
  display: flex; align-items: center;
  gap: clamp(10px, 1vw, 18px);
}
.brand-wrap { flex: 0 0 auto; margin-right: clamp(4px, .8vw, 14px); }
.site-logo {
  display: block; width: auto;
  height: clamp(32px, 3vw, 42px);
  max-width: clamp(118px, 10vw, 168px);
  object-fit: contain; border-radius: 0;
}
.primary-nav {
  flex: 1 1 auto; min-width: 0;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: nowrap; gap: clamp(4px, .6vw, 12px);
  white-space: nowrap; overflow: visible;
}
.primary-nav a {
  flex: 0 1 auto; min-width: 0;
  padding: 9px clamp(5px, .55vw, 10px);
  font-size: clamp(12.5px, .8vw, 14.5px);
  line-height: 1; white-space: nowrap;
  color: var(--color-text-soft); font-weight: 600;
  border-radius: 6px; transition: var(--motion-fast);
}
.primary-nav a:hover { color: var(--color-text); background: var(--color-primary-soft); }
.primary-nav a.active { color: var(--color-primary); background: color-mix(in srgb, var(--color-primary) 16%, var(--color-bg-soft)); font-weight: 750; }
.header-actions {
  flex: 0 0 auto; margin-left: auto;
  display: flex; align-items: center; justify-content: flex-end;
  gap: clamp(6px, .6vw, 10px); white-space: nowrap;
}
.nav-toggle {
  display: none; width: 42px; height: 42px;
  background: none; border: 1px solid var(--color-border); border-radius: var(--radius-sm);
  cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  padding: 10px; transition: var(--motion-fast);
}
.nav-toggle:hover { border-color: var(--color-primary); }
.nav-toggle .bar { display: block; width: 20px; height: 2px; background: var(--color-text-soft); border-radius: 1px; transition: var(--motion-normal); }

/* === MOBILE MENU === */
.mobile-menu {
  display: none; position: fixed; top: var(--header-h); left: 0; right: 0;
  background: var(--color-bg-soft); border-bottom: 1px solid var(--color-border);
  padding: 16px; z-index: 990; flex-direction: column; gap: 2px;
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  box-shadow: 0 12px 36px rgba(0,0,0,.4);
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  display: block; padding: 14px 16px; font-size: 15px; font-weight: 600;
  color: var(--color-text-soft); border-radius: var(--radius-sm); transition: var(--motion-fast);
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--color-text); background: var(--color-primary-soft); }

@media (max-width: 1180px) {
  .primary-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-inner {
    padding-left: clamp(8px, 2.4vw, 14px);
    padding-right: clamp(8px, 2.4vw, 14px);
    gap: clamp(6px, 1.8vw, 10px);
  }
  .brand-wrap { margin-right: 0; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 375px) {
  .header-inner { padding-left: 8px; padding-right: 8px; gap: 6px; }
  .site-logo { max-width: 104px; }
  .nav-toggle { width: 38px; height: 38px; }
}

/* === MAIN CONTENT === */
.main-content { max-width: var(--container-max); margin: 0 auto; padding: 0 clamp(14px, 3vw, 24px); }

/* === BREADCRUMB === */
.breadcrumb { padding: 16px 0 8px; font-size: 13px; color: var(--color-text-muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.breadcrumb li::after { content: '›'; margin-left: 6px; color: var(--color-text-muted); }
.breadcrumb li:last-child::after { display: none; }
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb span { color: var(--color-text-soft); font-weight: 600; }

/* === HERO SECTIONS === */
.home-hero {
  margin: 0 0 28px; padding: clamp(32px, 5vw, 64px) clamp(20px, 3vw, 36px);
  background: var(--gradient-hero);
  border: 1px solid color-mix(in srgb, var(--color-border) 78%, var(--color-primary));
  border-radius: var(--radius-xl); border-top: 4px solid var(--color-primary);
  box-shadow: var(--shadow-card-hover);
}
.hero-content-wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
.hero-text .hero-lead { font-size: clamp(16px, 1.5vw, 19px); color: var(--color-text-soft); line-height: 1.7; }
.hero-visual img { border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.text-accent { color: var(--color-primary); }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: 28px; padding: 22px;
  background: var(--gradient-card); border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.stat-item { text-align: center; }
.stat-num { display: block; font-size: clamp(22px, 2.5vw, 32px); font-weight: 900; color: var(--color-primary); line-height: 1.1; }
.stat-label { display: block; font-size: 12px; color: var(--color-text-muted); margin-top: 6px; text-transform: uppercase; letter-spacing: .8px; }

/* Inner hero variants */
.inner-hero-split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; align-items: center; margin-bottom: 28px; }
.inner-hero-card {
  padding-top: clamp(24px, 4vw, 40px);
  padding-bottom: clamp(24px, 4vw, 40px);
  margin: 8px 0 28px;
}
.inner-hero-text { order: 1; }
.inner-hero-text .lead {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--color-text-soft);
  max-width: 860px;
}
.inner-hero-fig { order: 2; }
.inner-hero-fig img { border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.inner-banner-hero { position: relative; margin-bottom: 28px; border-radius: var(--radius-xl); overflow: hidden; }
.inner-banner-hero .banner-fig img { width: 100%; aspect-ratio: 2.4/1; object-fit: cover; border-radius: 0; }
.banner-overlay-text { padding: 28px; background: var(--gradient-card); }
.inner-intro { margin-bottom: 28px; }
.inner-intro .lead { font-size: clamp(16px, 1.4vw, 18px); color: var(--color-text-soft); max-width: 860px; }
.inner-intro figure { margin-top: 22px; }
.inner-intro figure img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.about-intro { margin-bottom: 28px; }
.about-intro .lead { font-size: clamp(16px, 1.4vw, 18px); color: var(--color-text-soft); }

/* === CONTENT SECTIONS === */
.content-section { padding: clamp(36px, 5vw, 56px) 0; border-bottom: 1px solid var(--color-border); }
.content-section:last-child { border-bottom: none; }
.section-eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--color-primary); padding: 5px 14px; border-radius: var(--radius-pill);
  background: var(--color-primary-soft); border: 1px solid color-mix(in srgb, var(--color-primary) 35%, var(--color-border));
  margin-bottom: 12px;
}
.alt-bg { background: color-mix(in srgb, var(--color-surface) 60%, var(--color-bg)); padding-left: clamp(18px, 3vw, 32px); padding-right: clamp(18px, 3vw, 32px); border-radius: var(--radius-lg); margin: 8px 0; border: 1px solid var(--color-border); }

/* Split content */
.split-content { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; margin: 20px 0; }
.split-content.reverse { grid-template-columns: .9fr 1.1fr; }
.split-figure img { border-radius: var(--radius-md); box-shadow: var(--shadow-card); }
.split-figure figcaption { font-size: 13px; color: var(--color-text-muted); margin-top: 8px; text-align: center; }

/* Game cards */
.game-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 22px 0; }
.game-card-grid-alt { grid-template-columns: repeat(3, 1fr); }
.game-card-item {
  background: var(--gradient-card); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); overflow: hidden; text-decoration: none; color: inherit;
  transition: transform var(--motion-normal), border-color var(--motion-normal), box-shadow var(--motion-normal);
}
.game-card-item:hover { transform: translateY(-4px); border-color: var(--color-primary); box-shadow: var(--shadow-card-hover); }
.game-card-item img { border-radius: 0; aspect-ratio: 4/3; object-fit: cover; }
.game-card-body { padding: 16px; }
.game-card-body h3 { font-size: 17px; margin-bottom: 6px; }
.game-card-body p { font-size: 14.5px; color: var(--color-text-soft); margin-bottom: 0; line-height: 1.6; }

/* Benefit grid */
.benefit-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 22px 0; }
.benefit-card-item {
  background: var(--gradient-card); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: clamp(20px, 2vw, 28px);
  position: relative; overflow: hidden;
}
.benefit-card-item::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--color-primary), var(--color-secondary)); }
.benefit-icon { display: flex; width: 48px; height: 48px; border-radius: 50%; background: var(--color-primary-soft); align-items: center; justify-content: center; margin-bottom: 14px; color: var(--color-primary); font-size: 22px; }
.benefit-card-item h3 { font-size: 17px; margin-bottom: 8px; }
.benefit-card-item p { font-size: 15px; line-height: 1.7; color: var(--color-text-soft); margin-bottom: 0; }

/* Feature list */
.feature-list { display: grid; gap: 16px; margin: 22px 0; }
.feature-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px; background: var(--gradient-card); border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.feature-item i { color: var(--color-primary); font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.feature-item h3 { font-size: 16px; margin-bottom: 6px; }
.feature-item p { font-size: 15px; line-height: 1.7; color: var(--color-text-soft); margin-bottom: 0; }

/* Stats bar */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  padding: 24px; background: var(--gradient-card);
  border: 1px solid var(--color-border); border-radius: var(--radius-md);
  margin: 22px 0;
}

/* Payment grid */
.payment-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 22px 0; }
.payment-card {
  background: var(--gradient-card); border: 1px solid var(--color-border);
  border-radius: var(--radius-md); padding: 22px; position: relative;
}
.payment-card h3 { font-size: 18px; margin-bottom: 8px; color: var(--color-primary); }
.payment-card p { font-size: 14.5px; line-height: 1.65; margin-bottom: 8px; }
.payment-time { font-size: 12px; font-weight: 700; color: var(--color-success); }

/* Comparison table */
.table-scroll { overflow-x: auto; margin: 18px 0; }
.comparison-table { width: 100%; border-collapse: collapse; background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
.comparison-table th { background: var(--color-card-alt); color: var(--color-primary); padding: 14px 18px; text-align: left; font-size: 13.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; border-bottom: 2px solid var(--color-border); }
.comparison-table td { padding: 13px 18px; border-bottom: 1px solid var(--color-border); font-size: 15px; }
.comparison-table .yes { color: var(--color-success); font-weight: 700; }
.comparison-table .no { color: var(--color-text-muted); }

/* FAQ */
.faq-accordion { display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
.faq-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 20px; cursor: pointer; background: none; border: none; width: 100%;
  text-align: left; font-size: 16px; font-weight: 700; color: var(--color-text);
  font-family: inherit; line-height: 1.4;
}
.faq-trigger:hover { color: var(--color-primary); }
.faq-icon { font-size: 22px; color: var(--color-text-muted); transition: transform var(--motion-normal); flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--color-primary); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-item.open .faq-body { max-height: 800px; }
.faq-body p { padding: 0 20px 16px; font-size: 15.5px; line-height: 1.75; color: var(--color-text-soft); }

/* Info panels */
.info-panel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0; }
.info-panel { background: var(--gradient-card); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 22px; }
.info-panel h3 { font-size: 16px; color: var(--color-primary); margin-bottom: 8px; }
.info-panel p { font-size: 14.5px; line-height: 1.65; margin-bottom: 0; }

/* Step flow */
.step-flow { display: grid; gap: 14px; margin: 22px 0; }
.step-item { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; padding: 16px; background: var(--gradient-card); border: 1px solid var(--color-border); border-radius: var(--radius-md); }
.step-num { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--color-primary); color: var(--color-bg); font-weight: 900; font-size: 15px; }

/* About values */
.about-values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 22px 0; }
.value-card { background: var(--gradient-card); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 24px; text-align: center; }
.value-card i { font-size: 32px; color: var(--color-primary); margin-bottom: 12px; display: block; }
.value-card h3 { font-size: 18px; margin-bottom: 8px; }
.value-card p { font-size: 15px; line-height: 1.7; margin-bottom: 0; }

/* Related cards */
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 20px 0; }
.related-card { background: var(--gradient-card); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 22px; text-decoration: none; color: inherit; transition: transform var(--motion-normal), border-color var(--motion-normal); }
.related-card:hover { transform: translateY(-3px); border-color: var(--color-primary); }
.related-card h3 { font-size: 16px; margin-bottom: 6px; color: var(--color-text); }
.related-card p { font-size: 14px; line-height: 1.6; margin-bottom: 0; color: var(--color-text-soft); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 12px 24px; border-radius: var(--radius-sm); font-weight: 800; font-size: 15px; transition: var(--motion-normal); text-decoration: none; border: none; cursor: pointer; }
.btn-primary { background: var(--gradient-button); color: var(--color-bg); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 22px color-mix(in srgb, var(--color-primary) 30%, transparent); }
.btn-outline { border: 1px solid var(--color-border); color: var(--color-text-soft); background: transparent; }
.btn-outline:hover { border-color: var(--color-primary); color: var(--color-text); }

/* Error page */
.error-page { text-align: center; padding: clamp(60px, 10vw, 120px) 20px; }
.error-code { font-size: clamp(80px, 15vw, 160px); font-weight: 900; color: var(--color-primary); line-height: .9; }
.error-actions { display: flex; gap: 12px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }

/* === AUTH PAGES === */
body.page-auth {
  background: #070405;
}
body.page-auth #br-stick { display: none !important; }
.auth-main { padding-bottom: 18px; }
.auth-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  gap: clamp(22px, 3vw, 36px);
  align-items: stretch;
  margin-bottom: 28px;
  padding: clamp(24px, 4vw, 42px);
  border-radius: var(--radius-xl);
  border: 1px solid #3a2d2d;
  background: linear-gradient(180deg, #140d0f 0%, #0d090a 100%);
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
  overflow: hidden;
}
.page-login .auth-hero { border-top: 4px solid #d8a34d; }
.page-register .auth-hero {
  border-top: 4px solid #e0115f;
  background: linear-gradient(180deg, #180b11 0%, #0f070a 100%);
}
.auth-hero-copy h1 { max-width: 12ch; margin-bottom: 16px; }
.auth-lead {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--color-text-soft);
  max-width: 66ch;
  margin-bottom: 22px;
}
.auth-highlight-list {
  display: grid;
  gap: 14px;
  margin-bottom: 20px;
}
.auth-highlight-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 18px;
  background: #181113;
  border: 1px solid #2f2424;
}
.auth-highlight-item i,
.auth-benefit-card i {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--color-primary) 16%, var(--color-bg-soft));
  color: var(--color-primary);
  font-size: 22px;
}
.auth-highlight-item h2,
.auth-safe-panel h3,
.auth-benefit-card h3 {
  font-size: 20px;
  margin-bottom: 6px;
}
.auth-highlight-item p,
.auth-benefit-card p,
.auth-safe-panel p,
.auth-footnote,
.auth-note-item p {
  margin-bottom: 0;
  color: var(--color-text-soft);
  font-size: 14.8px;
  line-height: 1.72;
}
.auth-mini-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.auth-metric {
  padding: 16px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.06);
  text-align: center;
}
.auth-metric strong {
  display: block;
  color: var(--color-text);
  font-size: 24px;
  line-height: 1.1;
}
.auth-metric span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--color-text-muted);
}
.auth-form-shell {
  display: grid;
  gap: 16px;
  align-content: start;
}
.auth-form-card,
.auth-side-note,
.auth-benefit-card,
.auth-safe-panel,
.auth-media-card,
.auth-note-image,
.auth-cta-band {
  background: #161012;
  border: 1px solid #2f2424;
  border-radius: 24px;
  box-shadow: 0 8px 18px rgba(0,0,0,.14);
}
.auth-form-card {
  padding: clamp(20px, 3vw, 28px);
  position: relative;
  overflow: hidden;
}
.auth-form-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}
.page-register .auth-form-card::before {
  background: linear-gradient(90deg, var(--color-secondary), #ffb347);
}
.auth-card-top { margin-bottom: 18px; }
.auth-card-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--color-primary) 14%, transparent);
  color: var(--color-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.page-register .auth-card-label {
  background: color-mix(in srgb, var(--color-secondary) 16%, transparent);
  color: #ff8db5;
}
.auth-card-title {
  font-size: clamp(24px, 2.5vw, 32px);
  margin: 12px 0 6px;
}
.auth-card-subtitle {
  margin-bottom: 0;
  color: var(--color-text-soft);
  font-size: 15px;
}
.auth-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.auth-field { display: grid; gap: 8px; }
.auth-field-full { grid-column: 1 / -1; }
.auth-field span {
  color: var(--color-text);
  font-size: 13px;
  font-weight: 700;
}
.auth-field input,
.auth-field select {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.035);
  color: var(--color-text);
  padding: 0 16px;
  font: inherit;
}
.auth-field input::placeholder { color: #8f8080; }
.auth-field input:focus,
.auth-field select:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--color-primary) 70%, white);
  box-shadow: 0 0 0 3px rgba(205,127,50,.18);
}
.page-register .auth-field input:focus,
.page-register .auth-field select:focus {
  border-color: color-mix(in srgb, var(--color-secondary) 60%, white);
  box-shadow: 0 0 0 3px rgba(224,17,95,.18);
}
.auth-inline-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.auth-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-soft);
  font-size: 14px;
}
.auth-check input { accent-color: var(--color-primary); }
.auth-inline-link {
  color: #ffd18f;
  font-size: 14px;
  font-weight: 700;
}
.page-register .auth-inline-link { color: #ff8db5; }
.auth-action-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}
.auth-submit,
.auth-secondary-link { width: 100%; }
.auth-submit {
  min-height: 52px;
  font-size: 16px;
}
.auth-footnote {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.07);
}
.auth-side-note {
  padding: 18px;
  display: grid;
  gap: 14px;
}
.auth-note-item strong {
  display: block;
  color: var(--color-text);
  font-size: 18px;
  margin-bottom: 6px;
}
.auth-note-image { overflow: hidden; }
.auth-note-image img,
.auth-media-card img,
.auth-safe-panel img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 6px 14px rgba(0,0,0,.16);
}
.auth-section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  gap: 24px;
  align-items: start;
}
.auth-copy-block h2,
.auth-section > h2 { max-width: 18ch; }
.auth-media-stack {
  display: grid;
  gap: 16px;
}
.auth-media-card { padding: 14px; }
.auth-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.auth-benefit-card {
  padding: 24px;
  display: grid;
  gap: 12px;
}
.auth-step-flow { margin-top: 18px; }
.auth-safe-panel {
  padding: 18px;
  display: grid;
  gap: 14px;
}
.auth-safe-panel a { font-weight: 700; }
.auth-cta-band {
  padding: clamp(22px, 4vw, 34px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.auth-cta-band h2 {
  max-width: 18ch;
  margin-bottom: 10px;
}
.auth-cta-band p {
  margin-bottom: 0;
  max-width: 62ch;
}
.auth-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}
.auth-badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.auth-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  color: var(--color-text);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  font-size: 13px;
  font-weight: 700;
}
.auth-badge i {
  color: var(--color-primary);
  font-size: 15px;
}
.page-register .auth-badge i { color: #ff8db5; }
.auth-register-layout { align-items: stretch; }

/* === FOOTER === */
.site-footer { background: var(--color-footer-bg); border-top: 1px solid var(--color-border); padding: 42px 20px 20px; margin-top: 48px; }
.footer-inner { max-width: 1400px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 24px; }
.footer-logo { margin-bottom: 14px; border-radius: 0; }
.footer-brand p { font-size: 13.5px; color: var(--color-text-muted); line-height: 1.7; margin-bottom: 12px; }
.footer-age { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.age-badge { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; background: #c0392b; border-radius: 50%; font-size: 12px; font-weight: 700; color: #fff; flex-shrink: 0; }
.footer-age span { font-size: 12px; color: var(--color-text-muted); }
.footer-col h4 { font-size: 14px; color: var(--color-text); margin-bottom: 12px; font-weight: 700; }
.footer-col a { display: block; font-size: 13.5px; color: var(--color-text-muted); margin-bottom: 8px; transition: color var(--motion-fast); }
.footer-col a:hover { color: var(--color-primary); }
.footer-bottom { border-top: 1px solid var(--color-border); padding-top: 16px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 12px; color: var(--color-text-muted); }

/* Back to top */
.back-top { position: fixed; right: 20px; bottom: 24px; width: 48px; height: 48px; background: var(--color-primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--color-bg); font-size: 22px; font-weight: 700; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity var(--motion-normal), transform var(--motion-fast); z-index: 280; text-decoration: none; box-shadow: 0 6px 18px color-mix(in srgb, var(--color-primary) 35%, transparent); }
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { transform: translateY(-3px); background: var(--color-secondary); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .benefit-grid-4, .about-values-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-content-wrap, .inner-hero-split { grid-template-columns: 1fr; gap: 20px; }
  .info-panel-grid { grid-template-columns: 1fr; }
  .auth-hero,
  .auth-section-grid,
  .auth-register-layout { grid-template-columns: 1fr; }
  .auth-benefit-grid { grid-template-columns: 1fr 1fr; }
  .auth-cta-band { flex-direction: column; align-items: flex-start; }
  .auth-cta-actions { justify-content: flex-start; }
}
@media (max-width: 768px) {
  .hero-stats, .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .split-content, .split-content.reverse { grid-template-columns: 1fr; }
  .game-card-grid-alt { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .auth-field-grid,
  .auth-benefit-grid { grid-template-columns: 1fr; }
  .auth-mini-metrics { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { padding-top: calc(var(--header-h) - 4px); }
  .benefit-grid-4, .about-values-grid, .payment-grid, .game-card-grid { grid-template-columns: 1fr; }
  .hero-stats, .stats-bar { grid-template-columns: 1fr 1fr; padding: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .content-section { padding: 28px 0; }
  .comparison-table th, .comparison-table td { padding: 10px 12px; font-size: 14px; }
  .auth-hero { padding: 20px 16px; border-radius: 22px; }
  .auth-highlight-item { grid-template-columns: 1fr; }
  .auth-form-card, .auth-side-note, .auth-benefit-card, .auth-safe-panel { border-radius: 20px; }
  .auth-cta-actions { width: 100%; }
  .auth-cta-actions .btn { width: 100%; }
}
@media (max-width: 375px) { body { font-size: 16px; } }
@media (pointer: coarse) { .btn, .faq-trigger, .nav-toggle, .mobile-menu a { min-height: 44px; } }
