/* ============================================================
   KiwiPeakHall.com — Shared Stylesheet
   ============================================================ */

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* === DESIGN TOKENS === */
:root {
  /* Green palette */
  --g950: #040e08;
  --g900: #071510;
  --g800: #0f2218;
  --g700: #163320;
  --g600: #1e5c3a;
  --g500: #2d8a55;
  --g400: #4caf7d;
  --g300: #80cfa4;
  --g200: #b5e5c8;
  --g100: #e0f5ea;
  --g50:  #f2fbf5;

  /* Gold palette */
  --au800: #7a5108;
  --au700: #b8860b;
  --au500: #e8b84b;
  --au300: #f5d78e;
  --au100: #fef9e7;

  /* Neutral */
  --n950: #080808;
  --n900: #171717;
  --n800: #262626;
  --n700: #3d3d3d;
  --n600: #525252;
  --n500: #737373;
  --n400: #a3a3a3;
  --n300: #d4d4d4;
  --n200: #e5e5e5;
  --n100: #f5f5f5;
  --n50:  #fafafa;

  /* Semantic */
  --success:  #22c55e;
  --warning:  #f59e0b;
  --error:    #ef4444;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', 'Segoe UI', system-ui, sans-serif;

  /* Spacing (8-px grid) */
  --sp1: 0.5rem;
  --sp2: 1rem;
  --sp3: 1.5rem;
  --sp4: 2rem;
  --sp5: 2.5rem;
  --sp6: 3rem;
  --sp8: 4rem;
  --sp10: 5rem;
  --sp12: 6rem;

  /* Radius */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
  --r-2xl: 24px;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.08);
  --shadow-md:   0 4px 12px rgba(0,0,0,.2);
  --shadow-lg:   0 10px 30px rgba(0,0,0,.25);
  --shadow-xl:   0 20px 60px rgba(0,0,0,.35);
  --shadow-gold: 0 4px 24px rgba(232,184,75,.35);
  --shadow-green:0 4px 24px rgba(76,175,125,.3);

  /* Transitions */
  --t-fast: 150ms ease;
  --t-base: 250ms ease;
  --t-slow: 400ms ease;
}

/* === BASE TYPOGRAPHY === */
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--n900);
  background: var(--n50);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 700;
  color: var(--g800);
}

/* === LAYOUT === */
.page-wrapper { min-height: 100vh; display: flex; flex-direction: column; }
.site-main { flex: 1; }

.content-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp3);
}

/* === SITE HEADER === */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: transparent;
  transition: background var(--t-base), box-shadow var(--t-base);
}
.site-header.scrolled-state {
  background: var(--g800);
  box-shadow: 0 2px 20px rgba(0,0,0,.4);
}
.site-header.solid-header {
  background: var(--g800);
  position: relative;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--sp3);
  height: 72px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp3);
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: var(--sp1);
  flex-shrink: 0;
  text-decoration: none;
}
.logo-icon-mark {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--g500), var(--g400));
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-green);
}
.logo-icon-mark img { width: 22px; height: 22px; object-fit: contain; }
.logo-text-mark {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.logo-text-accent { color: var(--au500); }

/* Main nav */
.main-navigation { flex: 1; }
.nav-items-list {
  display: flex;
  align-items: center;
  gap: var(--sp1);
}
.nav-item { position: relative; }
.nav-anchor {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.4rem 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  border-radius: var(--r-md);
  transition: color var(--t-fast), background var(--t-fast);
  cursor: pointer;
  white-space: nowrap;
}
.nav-anchor:hover, .nav-anchor.active-link {
  color: #fff;
  background: rgba(255,255,255,.1);
}

/* Games dropdown */
.nav-dropdown-wrap { position: relative; }
.nav-dropdown-content {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--g700);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg);
  padding: var(--sp1);
  min-width: 200px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity var(--t-base), transform var(--t-base);
}
.nav-dropdown-wrap:hover .nav-dropdown-content,
.nav-dropdown-wrap:focus-within .nav-dropdown-content {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.dropdown-nav-link {
  display: block;
  padding: 0.6rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  border-radius: var(--r-md);
  transition: color var(--t-fast), background var(--t-fast);
}
.dropdown-nav-link:hover { color: #fff; background: rgba(255,255,255,.1); }
.dropdown-game-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--au500);
  padding: 0.5rem 0.875rem 0.25rem;
}
.dropdown-caret {
  width: 14px; height: 14px;
  transition: transform var(--t-fast);
}
.nav-dropdown-wrap:hover .dropdown-caret { transform: rotate(180deg); }

/* Header actions */
.header-actions-group {
  display: flex;
  align-items: center;
  gap: var(--sp1);
  flex-shrink: 0;
}
.contact-header-link {
  padding: 0.4rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--r-full);
  transition: all var(--t-fast);
}
.contact-header-link:hover {
  color: #fff;
  border-color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.08);
}
.join-free-button {
  padding: 0.4rem 1.125rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--g800);
  background: var(--au500);
  border-radius: var(--r-full);
  border: none;
  cursor: pointer;
  transition: all var(--t-fast);
  white-space: nowrap;
}
.join-free-button:hover {
  background: var(--au300);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

/* Coin display */
.coin-balance-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.35rem 0.75rem;
  background: rgba(232,184,75,.15);
  border: 1px solid rgba(232,184,75,.3);
  border-radius: var(--r-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--au500);
}
.coin-icon { font-size: 1rem; }

/* Mobile toggle */
.mobile-toggle-button {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--r-md);
  transition: background var(--t-fast);
}
.mobile-toggle-button:hover { background: rgba(255,255,255,.1); }
.toggle-bar {
  display: block;
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all var(--t-base);
}
.mobile-toggle-button.open-state .toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle-button.open-state .toggle-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-toggle-button.open-state .toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav-drawer {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--g800);
  padding: var(--sp2);
  border-top: 1px solid rgba(255,255,255,.1);
}
.mobile-nav-drawer.drawer-open { display: flex; }
.mobile-nav-item {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  border-radius: var(--r-md);
  transition: all var(--t-fast);
}
.mobile-nav-item:hover { color: #fff; background: rgba(255,255,255,.1); }
.mobile-nav-divider {
  height: 1px;
  background: rgba(255,255,255,.1);
  margin: var(--sp1) 0;
}
.mobile-game-section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--au500);
  padding: 0.5rem 1rem 0.25rem;
}

/* === SITE FOOTER === */
.site-footer {
  background: var(--g900);
  border-top: 1px solid rgba(255,255,255,.07);
}
.footer-main-area {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: var(--sp6);
  padding: var(--sp10) 0 var(--sp6);
}
.footer-brand-column {}
.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: var(--sp1);
  margin-bottom: var(--sp2);
}
.footer-logo-mark {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--g500), var(--g400));
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
}
.footer-logo-mark img { width: 20px; height: 20px; object-fit: contain; }
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}
.footer-brand-tagline {
  font-size: 0.875rem;
  color: var(--n400);
  line-height: 1.6;
  max-width: 280px;
  margin-bottom: var(--sp3);
}
.footer-social-row {
  display: flex;
  gap: var(--sp1);
}
.social-icon-button {
  width: 36px; height: 36px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--n400);
  font-size: 0.875rem;
  transition: all var(--t-fast);
  cursor: pointer;
}
.social-icon-button:hover { background: var(--g600); color: #fff; border-color: var(--g500); }

.footer-column-heading {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--au500);
  margin-bottom: var(--sp2);
}
.footer-nav-list { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-nav-link {
  font-size: 0.875rem;
  color: var(--n400);
  transition: color var(--t-fast);
}
.footer-nav-link:hover { color: #fff; }

.footer-contact-item {
  font-size: 0.875rem;
  color: var(--n400);
  line-height: 1.6;
  margin-bottom: var(--sp1);
}

/* Footer disclaimer */
.footer-disclaimer-box {
  margin-top: var(--sp6);
  padding: var(--sp3) var(--sp4);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg);
}
.disclaimer-alert-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--au500);
  margin-bottom: var(--sp1);
}
.disclaimer-body-text {
  font-size: 0.8rem;
  color: var(--n500);
  line-height: 1.6;
  margin-bottom: var(--sp2);
}
.disclaimer-org-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp1);
}
.disclaimer-external-link {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--g400);
  border: 1px solid rgba(76,175,125,.3);
  padding: 0.25rem 0.625rem;
  border-radius: var(--r-full);
  transition: all var(--t-fast);
}
.disclaimer-external-link:hover { background: rgba(76,175,125,.1); color: var(--g300); }

/* Footer bottom bar */
.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp2);
  padding: var(--sp3) 0 var(--sp4);
  border-top: 1px solid rgba(255,255,255,.07);
  margin-top: var(--sp4);
}
.copyright-text {
  font-size: 0.8rem;
  color: var(--n600);
}
.footer-age-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--n500);
}
.age-badge-circle {
  width: 28px; height: 28px;
  border-radius: var(--r-full);
  border: 2px solid var(--n600);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--n500);
}

/* === AGE VERIFICATION MODAL === */
.age-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(4,14,8,.96);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp3);
}
.age-gate-card {
  background: var(--g800);
  border: 1px solid rgba(76,175,125,.2);
  border-radius: var(--r-2xl);
  padding: var(--sp6) var(--sp5);
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-xl);
  animation: modal-rise 0.4s var(--t-slow) both;
}
.age-gate-peak-icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--g600), var(--g400));
  border-radius: var(--r-xl);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--sp3);
  box-shadow: var(--shadow-green);
}
.age-gate-peak-icon img { width: 40px; height: 40px; object-fit: contain; }
.age-gate-heading {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: #fff;
  margin-bottom: var(--sp1);
}
.age-gate-subtext {
  font-size: 0.9rem;
  color: var(--n400);
  line-height: 1.6;
  margin-bottom: var(--sp4);
}
.age-gate-check-row {
  display: flex;
  align-items: flex-start;
  gap: var(--sp2);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg);
  padding: var(--sp2) var(--sp3);
  text-align: left;
  cursor: pointer;
  transition: all var(--t-fast);
  margin-bottom: var(--sp3);
  user-select: none;
}
.age-gate-check-row:hover { background: rgba(255,255,255,.08); border-color: var(--g500); }
.age-checkbox-input {
  width: 20px; height: 20px;
  min-width: 20px;
  border-radius: 4px;
  border: 2px solid var(--n500);
  background: transparent;
  appearance: none;
  cursor: pointer;
  margin-top: 2px;
  transition: all var(--t-fast);
  position: relative;
}
.age-checkbox-input:checked {
  background: var(--g500);
  border-color: var(--g500);
}
.age-checkbox-input:checked::after {
  content: '';
  position: absolute;
  left: 5px; top: 2px;
  width: 6px; height: 10px;
  border: 2px solid #fff;
  border-top: none; border-left: none;
  transform: rotate(45deg);
}
.age-check-label-text {
  font-size: 0.875rem;
  color: var(--n300);
  line-height: 1.5;
}
.age-check-label-text strong { color: #fff; }
.age-confirm-button {
  width: 100%;
  padding: 0.875rem;
  background: var(--g600);
  color: #fff;
  border: none;
  border-radius: var(--r-lg);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t-base);
  opacity: 0.5;
  pointer-events: none;
}
.age-confirm-button.ready-state {
  opacity: 1;
  pointer-events: auto;
  background: linear-gradient(135deg, var(--g600), var(--g500));
  box-shadow: var(--shadow-green);
}
.age-confirm-button.ready-state:hover {
  background: linear-gradient(135deg, var(--g500), var(--g400));
  transform: translateY(-1px);
}
.age-gate-footnote {
  font-size: 0.75rem;
  color: var(--n600);
  margin-top: var(--sp2);
}

/* === COOKIE CONSENT BANNER === */
.cookie-consent-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1800;
  background: var(--g800);
  border-top: 1px solid rgba(255,255,255,.1);
  padding: var(--sp2) var(--sp3);
  transform: translateY(100%);
  transition: transform var(--t-slow);
  box-shadow: 0 -4px 30px rgba(0,0,0,.4);
}
.cookie-consent-bar.bar-visible { transform: translateY(0); }
.cookie-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--sp3);
  flex-wrap: wrap;
}
.cookie-text-block {
  flex: 1;
  min-width: 260px;
}
.cookie-bar-title {
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
  margin-bottom: 2px;
}
.cookie-bar-body {
  font-size: 0.8rem;
  color: var(--n400);
  line-height: 1.5;
}
.cookie-bar-body a { color: var(--g400); text-decoration: underline; }
.cookie-actions-group {
  display: flex;
  gap: var(--sp1);
  flex-shrink: 0;
}
.cookie-accept-btn {
  padding: 0.5rem 1.25rem;
  background: var(--g500);
  color: #fff;
  border: none;
  border-radius: var(--r-full);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--t-fast);
}
.cookie-accept-btn:hover { background: var(--g400); }
.cookie-decline-btn {
  padding: 0.5rem 1.25rem;
  background: transparent;
  color: var(--n400);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-full);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--t-fast);
}
.cookie-decline-btn:hover { color: #fff; border-color: rgba(255,255,255,.3); }

/* === BUTTONS === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--sp1);
  padding: 0.75rem 1.75rem;
  background: linear-gradient(135deg, var(--g600), var(--g500));
  color: #fff;
  border: none;
  border-radius: var(--r-full);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t-base);
  text-decoration: none;
  box-shadow: var(--shadow-green);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--g500), var(--g400));
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(76,175,125,.4);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--sp1);
  padding: 0.75rem 1.75rem;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.35);
  border-radius: var(--r-full);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t-base);
  text-decoration: none;
}
.btn-secondary:hover {
  border-color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.08);
  transform: translateY(-2px);
}
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: var(--sp1);
  padding: 0.75rem 1.75rem;
  background: linear-gradient(135deg, var(--au700), var(--au500));
  color: var(--g900);
  border: none;
  border-radius: var(--r-full);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--t-base);
  text-decoration: none;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--au500), var(--au300));
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232,184,75,.5);
}

/* === HERO SECTION (homepage) === */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: url('images/hero.png') no-repeat center center;
  background-size: cover;
  overflow: hidden;
  padding-top: 72px;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(76,175,125,.08) 0%, transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(232,184,75,.06) 0%, transparent 50%),
    radial-gradient(circle at 60% 80%, rgba(30,92,58,.15) 0%, transparent 50%);
}
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-mountain-bg {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 45%;
  opacity: 0.06;
}
.hero-content-area {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero-eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp1);
  padding: 0.375rem 1rem;
  background: rgba(76,175,125,.15);
  border: 1px solid rgba(76,175,125,.3);
  border-radius: var(--r-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--g300);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: var(--sp3);
}
.hero-main-heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: var(--sp3);
}
.hero-heading-accent { color: var(--au500); }
.hero-body-text {
  font-size: 1.125rem;
  color: rgba(255,255,255,.7);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: var(--sp5);
}
.hero-action-row {
  display: flex;
  align-items: center;
  gap: var(--sp2);
  flex-wrap: wrap;
  margin-bottom: var(--sp6);
}
.hero-stat-row {
  display: flex;
  align-items: center;
  gap: var(--sp4);
  flex-wrap: wrap;
}
.hero-stat-item {}
.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}
.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,.12);
}

/* Floating game cards decoration */
.hero-visual-side {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: var(--sp2);
  z-index: 1;
}
.floating-game-card {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-xl);
  padding: var(--sp2) var(--sp3);
  width: 200px;
  animation: float-card 3s ease-in-out infinite;
}
.floating-game-card:nth-child(2) { animation-delay: 1s; margin-left: 30px; }
.floating-game-card:nth-child(3) { animation-delay: 2s; }
.float-card-name { font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,.9); margin-bottom: 4px; }
.float-card-tag { font-size: 0.7rem; color: var(--g400); }

/* === GAMES SECTION === */
.games-section {
  padding: var(--sp12) 0;
  background: var(--n50);
}
.section-header {
  text-align: center;
  margin-bottom: var(--sp8);
}
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--g600);
  margin-bottom: var(--sp1);
}
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: var(--g800);
  margin-bottom: var(--sp2);
}
.section-subtext {
  font-size: 1.05rem;
  color: var(--n600);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

.games-grid-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp3);
}
.game-card-tile {
  background: #fff;
  border: 1px solid var(--n200);
  border-radius: var(--r-2xl);
  overflow: hidden;
  transition: all var(--t-base);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  display: block;
}
.game-card-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--g300);
}
.game-card-image-area {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.game-card-bg-slots { background: linear-gradient(135deg, #0f2a18, #1e5c3a); }
.game-card-bg-blackjack { background: linear-gradient(135deg, #1a2a0f, #3a5c1e); }
.game-card-bg-dice { background: linear-gradient(135deg, #2a1a0f, #7a4a1e); }

.game-card-emblem {
  font-size: 4rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.4));
  transition: transform var(--t-slow);
}
.game-card-tile:hover .game-card-emblem { transform: scale(1.15) rotate(-5deg); }
.game-card-badge {
  position: absolute;
  top: 12px; right: 12px;
  padding: 0.25rem 0.625rem;
  background: var(--au500);
  color: var(--g900);
  border-radius: var(--r-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.game-card-info-area {
  padding: var(--sp3);
}
.game-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--g800);
  margin-bottom: 6px;
}
.game-card-description {
  font-size: 0.875rem;
  color: var(--n600);
  line-height: 1.6;
  margin-bottom: var(--sp2);
}
.game-card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.game-card-players {
  font-size: 0.75rem;
  color: var(--n500);
}
.game-play-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--g600);
  transition: color var(--t-fast);
}
.game-play-link:hover { color: var(--g500); }
.play-arrow-icon {
  width: 18px; height: 18px;
  background: var(--g100);
  border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  transition: all var(--t-fast);
}
.game-card-tile:hover .play-arrow-icon { background: var(--g600); color: #fff; }

/* === FEATURES SECTION === */
.features-section {
  padding: var(--sp12) 0;
  background: linear-gradient(160deg, var(--g800) 0%, var(--g700) 100%);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp3);
}
.feature-card-block {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-xl);
  padding: var(--sp4);
  transition: all var(--t-base);
}
.feature-card-block:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(76,175,125,.3);
  transform: translateY(-3px);
}
.feature-icon-wrap {
  width: 52px; height: 52px;
  background: rgba(76,175,125,.15);
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp2);
  font-size: 1.5rem;
}
.feature-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 0.5rem;
}
.feature-card-text {
  font-size: 0.875rem;
  color: rgba(255,255,255,.6);
  line-height: 1.6;
}

/* === CTA SECTION === */
.cta-section {
  padding: var(--sp12) 0;
  background: var(--g50);
}
.cta-card {
  background: linear-gradient(135deg, var(--g700), var(--g600));
  border-radius: var(--r-2xl);
  padding: var(--sp10) var(--sp8);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.cta-bg-glow {
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(232,184,75,.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  color: #fff;
  margin-bottom: var(--sp2);
  position: relative;
}
.cta-subtext {
  font-size: 1.05rem;
  color: rgba(255,255,255,.7);
  margin-bottom: var(--sp5);
  max-width: 500px;
  margin-left: auto; margin-right: auto;
  position: relative;
}
.cta-button-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp2);
  flex-wrap: wrap;
  position: relative;
}

/* === INNER PAGE HEADER === */
.inner-page-header {
  background: linear-gradient(160deg, var(--g900), var(--g800));
  padding: var(--sp10) 0 var(--sp8);
  margin-bottom: 0;
}
.inner-page-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--g400);
  margin-bottom: var(--sp1);
}
.inner-page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: var(--sp2);
}
.inner-page-intro {
  font-size: 1.05rem;
  color: rgba(255,255,255,.65);
  max-width: 600px;
  line-height: 1.7;
}

/* === INNER PAGE BODY === */
.inner-page-body {
  padding: var(--sp10) 0;
}
.prose-content {
  max-width: 760px;
  margin: 0 auto;
}
.prose-content h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--g700);
  margin: var(--sp5) 0 var(--sp2);
}
.prose-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--g700);
  margin: var(--sp3) 0 var(--sp1);
}
.prose-content p {
  font-size: 0.9625rem;
  color: var(--n700);
  line-height: 1.75;
  margin-bottom: var(--sp2);
}
.prose-content ul {
  list-style: disc;
  padding-left: var(--sp4);
  margin-bottom: var(--sp2);
}
.prose-content ul li {
  font-size: 0.9625rem;
  color: var(--n700);
  line-height: 1.75;
  margin-bottom: 0.5rem;
}
.prose-content a { color: var(--g600); text-decoration: underline; }
.prose-content a:hover { color: var(--g500); }

/* Card with icon */
.info-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--sp3);
  margin: var(--sp4) 0;
}
.info-card-item {
  background: var(--g50);
  border: 1px solid var(--g200);
  border-radius: var(--r-xl);
  padding: var(--sp3);
}
.info-card-icon { font-size: 1.75rem; margin-bottom: var(--sp1); }
.info-card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--g700);
  margin-bottom: 6px;
}
.info-card-text { font-size: 0.875rem; color: var(--n600); line-height: 1.6; }

/* Steps list */
.steps-list { counter-reset: steps-counter; list-style: none; padding: 0; margin: var(--sp4) 0; }
.steps-list li {
  counter-increment: steps-counter;
  display: flex;
  align-items: flex-start;
  gap: var(--sp2);
  margin-bottom: var(--sp3);
}
.steps-list li::before {
  content: counter(steps-counter);
  min-width: 36px; height: 36px;
  background: var(--g600);
  color: #fff;
  border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  flex-shrink: 0;
}
.steps-list-text { padding-top: 6px; font-size: 0.9625rem; color: var(--n700); line-height: 1.7; }

/* FAQ accordion */
.faq-accordion { margin: var(--sp4) 0; }
.faq-item {
  border-bottom: 1px solid var(--n200);
}
.faq-question-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp2);
  padding: var(--sp2) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--g800);
  transition: color var(--t-fast);
}
.faq-question-button:hover { color: var(--g600); }
.faq-chevron {
  width: 20px; height: 20px;
  flex-shrink: 0;
  transition: transform var(--t-base);
  color: var(--n500);
}
.faq-item.expanded-state .faq-chevron { transform: rotate(180deg); }
.faq-answer-panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--t-slow);
}
.faq-item.expanded-state .faq-answer-panel { max-height: 600px; }
.faq-answer-text {
  padding-bottom: var(--sp2);
  font-size: 0.9rem;
  color: var(--n600);
  line-height: 1.7;
}

/* Contact form */
.contact-form-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--sp8);
  align-items: start;
}
.contact-info-side {}
.contact-info-item {
  display: flex;
  gap: var(--sp2);
  margin-bottom: var(--sp3);
}
.contact-info-icon {
  width: 44px; height: 44px;
  background: var(--g100);
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-info-label { font-size: 0.75rem; color: var(--n500); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; margin-bottom: 2px; }
.contact-info-value { font-size: 0.9rem; color: var(--n800); font-weight: 500; }

.form-panel {
  background: #fff;
  border: 1px solid var(--n200);
  border-radius: var(--r-2xl);
  padding: var(--sp5);
  box-shadow: var(--shadow-sm);
}
.form-row-group { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp2); }
.form-field-wrap { margin-bottom: var(--sp2); }
.form-field-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--n700);
  margin-bottom: 6px;
  letter-spacing: .03em;
}
.form-text-input,
.form-select-input,
.form-textarea-input {
  width: 100%;
  padding: 0.6875rem 0.875rem;
  border: 1.5px solid var(--n200);
  border-radius: var(--r-lg);
  font-size: 0.9rem;
  color: var(--n800);
  background: var(--n50);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
}
.form-text-input:focus,
.form-select-input:focus,
.form-textarea-input:focus {
  border-color: var(--g500);
  box-shadow: 0 0 0 3px rgba(76,175,125,.15);
  background: #fff;
}
.form-textarea-input { resize: vertical; min-height: 120px; }
.form-submit-btn {
  width: 100%;
  padding: 0.875rem;
  background: linear-gradient(135deg, var(--g600), var(--g500));
  color: #fff;
  border: none;
  border-radius: var(--r-lg);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t-base);
  box-shadow: var(--shadow-green);
}
.form-submit-btn:hover {
  background: linear-gradient(135deg, var(--g500), var(--g400));
  transform: translateY(-1px);
}
.form-success-message {
  display: none;
  text-align: center;
  padding: var(--sp4);
}
.form-success-message.shown-state { display: block; }
.success-check-icon { font-size: 3rem; margin-bottom: var(--sp2); }
.success-heading { font-family: var(--font-display); font-size: 1.25rem; color: var(--g700); margin-bottom: var(--sp1); }
.success-body { font-size: 0.9rem; color: var(--n600); }

/* Community page */
.community-stats-band {
  background: var(--g800);
  padding: var(--sp8) 0;
}
.community-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp4);
  text-align: center;
}
.community-stat-block {}
.community-stat-value {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
  display: block;
}
.community-stat-label { font-size: 0.8rem; color: var(--g400); text-transform: uppercase; letter-spacing: .06em; }

/* Help center category grid */
.help-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--sp3);
  margin-bottom: var(--sp6);
}
.help-category-card {
  background: #fff;
  border: 1px solid var(--n200);
  border-radius: var(--r-xl);
  padding: var(--sp3);
  transition: all var(--t-base);
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.help-category-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--g300);
}
.help-category-icon { font-size: 2rem; margin-bottom: var(--sp1); }
.help-category-title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--g800);
  margin-bottom: 6px;
}
.help-category-count { font-size: 0.8rem; color: var(--n500); }

/* Responsible gaming page */
.rg-alert-banner {
  background: linear-gradient(135deg, #78150a, #b81c0b);
  border-radius: var(--r-xl);
  padding: var(--sp4);
  margin-bottom: var(--sp4);
  display: flex;
  gap: var(--sp3);
  align-items: flex-start;
}
.rg-alert-icon { font-size: 2rem; flex-shrink: 0; }
.rg-alert-heading { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.rg-alert-text { font-size: 0.875rem; color: rgba(255,255,255,.85); line-height: 1.6; }

.rg-self-check-list { list-style: none; padding: 0; margin: var(--sp3) 0; }
.rg-self-check-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp2);
  padding: var(--sp2) 0;
  border-bottom: 1px solid var(--n200);
  font-size: 0.9rem;
  color: var(--n700);
  line-height: 1.6;
}
.rg-check-dot {
  width: 8px; height: 8px;
  min-width: 8px;
  background: var(--warning);
  border-radius: var(--r-full);
  margin-top: 7px;
}

.org-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--sp2);
  margin: var(--sp3) 0;
}
.org-link-card {
  background: var(--g50);
  border: 1px solid var(--g200);
  border-radius: var(--r-lg);
  padding: var(--sp2) var(--sp3);
  text-align: center;
  transition: all var(--t-fast);
}
.org-link-card:hover { background: var(--g100); border-color: var(--g400); }
.org-link-name { font-weight: 600; font-size: 0.9rem; color: var(--g700); margin-bottom: 4px; }
.org-link-anchor { font-size: 0.8rem; color: var(--g500); text-decoration: underline; }

/* === ANIMATIONS === */
@keyframes float-card {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes modal-rise {
  from { opacity: 0; transform: translateY(24px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes spin-reel {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-100%); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(76,175,125,.3); }
  50%       { box-shadow: 0 0 40px rgba(76,175,125,.6); }
}
@keyframes bounce-in {
  0%   { transform: scale(0.7); opacity: 0; }
  70%  { transform: scale(1.08); }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes shake {
  0%,100% { transform: translateX(0); }
  25%      { transform: translateX(-6px); }
  75%      { transform: translateX(6px); }
}
@keyframes gold-shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Fade in on scroll */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .footer-main-area { grid-template-columns: 1fr 1fr; gap: var(--sp4); }
  .hero-visual-side { display: none; }
  .games-grid-layout { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-form-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .main-navigation { display: none; }
  .mobile-toggle-button { display: flex; }
  .header-actions-group .contact-header-link,
  .header-actions-group .join-free-button { display: none; }
  .games-grid-layout { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .community-stats-row { grid-template-columns: repeat(2, 1fr); }
  .form-row-group { grid-template-columns: 1fr; }
  .footer-main-area { grid-template-columns: 1fr; gap: var(--sp4); }
  .hero-main-heading { font-size: 2.25rem; }
  .hero-stat-row { gap: var(--sp3); }
  .cta-card { padding: var(--sp6) var(--sp3); }
}
@media (max-width: 480px) {
  .content-container { padding: 0 var(--sp2); }
  .hero-action-row { flex-direction: column; align-items: flex-start; }
  .community-stats-row { grid-template-columns: 1fr 1fr; }
  .footer-bottom-bar { flex-direction: column; text-align: center; }
}
