  /* ==========================================================================
   BrambleWit — Luxury Social Casino Design System
   Color Palette: Deep Forest Green (#0D2A1E), Rich Gold (#D4AF37), Amber Glow (#F4C542),
   Cream (#F6F0D5), Pure White (#FFFFFF), Deep Brown (#3C2415).
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Color Palette Tokens */
  --bw-bg-deep: #05140e;
  --bw-bg-dark: #0d2a1e;
  --bw-bg-forest: #163b2c;
  --bw-bg-emerald: #1e4d3b;
  --bw-bg-card: rgba(22, 59, 44, 0.55);
  --bw-bg-card-hover: rgba(30, 77, 59, 0.75);

  --bw-gold: #d4af37;
  --bw-gold-light: #f3e086;
  --bw-gold-dark: #a18023;
  --bw-gold-gradient: linear-gradient(135deg, #f5e493 0%, #d4af37 50%, #9e7a1b 100%);
  --bw-gold-glow: rgba(212, 175, 55, 0.35);

  --bw-amber: #f4c542;
  --bw-amber-glow: rgba(244, 197, 66, 0.4);

  --bw-cream: #f6f0d5;
  --bw-white: #ffffff;
  --bw-brown: #3c2415;

  --bw-text-main: #f6f0d5;
  --bw-text-sub: #b7cbbf;
  --bw-text-muted: #799a8b;

  --bw-glass: rgba(13, 42, 30, 0.65);
  --bw-glass-card: rgba(18, 50, 37, 0.6);
  --bw-glass-border: rgba(212, 175, 55, 0.22);
  --bw-glass-border-hover: rgba(244, 197, 66, 0.55);

  --bw-shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.4);
  --bw-shadow-gold: 0 8px 25px rgba(212, 175, 55, 0.25);
  --bw-shadow-amber: 0 12px 35px rgba(244, 197, 66, 0.3);

  --bw-header-h: 76px;
  --bw-radius-sm: 8px;
  --bw-radius-md: 14px;
  --bw-radius-lg: 22px;
  --bw-radius-full: 9999px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bw-bg-deep);
  color: var(--bw-text-main);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  background: radial-gradient(circle at 50% 0%, var(--bw-bg-forest) 0%, var(--bw-bg-deep) 75%);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .brand-text {
  font-family: 'Cinzel', serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--bw-cream);
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ---------- Custom Focus Ring ---------- */
:focus-visible {
  outline: 2px solid var(--bw-amber);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Keyframe Animations ---------- */
@keyframes coinSparkle {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); opacity: 0.7; }
  50% { transform: translateY(-10px) rotate(180deg) scale(1.1); opacity: 1; }
}

@keyframes goldShimmer {
  0% { transform: translateX(-150%) skewX(-20deg); }
  100% { transform: translateX(150%) skewX(-20deg); }
}

@keyframes ambientPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

@keyframes floatGentle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes stagePop {
  0% { opacity: 0; transform: scale(0.94) translateY(12px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* ---------- Top Disclaimer Bar ---------- */
.top-notice-strip {
  background: var(--bw-brown);
  background: linear-gradient(90deg, #2b190e 0%, var(--bw-brown) 50%, #2b190e 100%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--bw-cream);
  font-size: 13px;
  padding: 8px 16px;
  text-align: center;
  position: relative;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.top-notice-strip .badge-21 {
  background: var(--bw-gold-gradient);
  color: var(--bw-brown);
  font-family: 'Cinzel', serif;
  font-weight: 800;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: var(--bw-radius-full);
  letter-spacing: 0.5px;
  box-shadow: 0 0 8px var(--bw-gold-glow);
}

/* ---------- Glass Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--bw-header-h);
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--bw-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--bw-glass-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: background 0.3s, border-color 0.3s;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bw-gold-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--bw-shadow-gold);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.brand-mark svg {
  width: 24px;
  height: 24px;
  fill: var(--bw-brown);
}

.brand-text {
  font-size: 22px;
  font-weight: 800;
  background: var(--bw-gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: flex;
  align-items: center;
  gap: 2px;
}

.brand-text span {
  color: var(--bw-cream);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--bw-radius-md);
  color: var(--bw-text-sub);
  font-size: 14.5px;
  font-weight: 500;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.nav-links a svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  opacity: 0.85;
}

.nav-links a:hover {
  color: var(--bw-cream);
  background: rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.25);
}

.nav-links a.active {
  color: var(--bw-gold-light);
  background: rgba(212, 175, 55, 0.16);
  border-color: var(--bw-gold);
  font-weight: 600;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.15);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle-btn {
  display: none;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--bw-glass-border);
  color: var(--bw-cream);
  padding: 8px;
  border-radius: var(--bw-radius-sm);
  cursor: pointer;
}

/* ---------- Premium Buttons ---------- */
.btn-gold {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bw-gold-gradient);
  color: var(--bw-brown);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 10px 22px;
  border-radius: var(--bw-radius-full);
  border: 1px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  box-shadow: var(--bw-shadow-gold);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s;
  overflow: hidden;
  white-space: nowrap;
}

.btn-gold::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: -100%;
  width: 50%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg);
}

.btn-gold:hover::before {
  animation: goldShimmer 1.2s ease;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.45);
}

.btn-gold:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.btn-gold.lg {
  padding: 14px 32px;
  font-size: 17px;
  letter-spacing: 0.3px;
}

.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(22, 59, 44, 0.4);
  color: var(--bw-cream);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 22px;
  border-radius: var(--bw-radius-full);
  border: 1px solid var(--bw-glass-border);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-glass:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--bw-gold);
  color: var(--bw-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-glass.lg {
  padding: 14px 32px;
  font-size: 17px;
}

.btn-full {
  width: 100%;
}

.btn-gold:disabled, .btn-glass:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* ---------- Hero Section ---------- */
.hero-section {
  position: relative;
  padding: 60px 32px 70px;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-bg-glow {
  position: absolute;
  top: -100px;
  left: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--bw-amber-glow) 0%, rgba(13, 42, 30, 0) 70%);
  pointer-events: none;
  z-index: 0;
  animation: ambientPulse 8s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--bw-gold-glow);
  padding: 6px 16px;
  border-radius: var(--bw-radius-full);
  color: var(--bw-gold-light);
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  fill: var(--bw-gold);
}

.hero-title {
  font-size: 48px;
  line-height: 1.15;
  margin-bottom: 18px;
  color: var(--bw-white);
}

.hero-title em {
  font-style: normal;
  background: var(--bw-gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-description {
  font-size: 18px;
  color: var(--bw-text-sub);
  margin-bottom: 30px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-disclaimer {
  font-size: 13px;
  color: var(--bw-text-muted);
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.featured-card-wrapper {
  position: relative;
  width: 100%;
  max-width: 360px;
}

.featured-card {
  background: var(--bw-glass-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--bw-glass-border);
  border-radius: var(--bw-radius-lg);
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), var(--bw-shadow-gold);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.featured-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(244, 197, 66, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.featured-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--bw-amber);
  color: var(--bw-brown);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--bw-radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.featured-art {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--bw-radius-md);
  background: linear-gradient(135deg, #0d2a1e 0%, #1e4d3b 100%);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212, 175, 55, 0.2);
  position: relative;
}

.featured-art svg {
  width: 70px;
  height: 70px;
  fill: var(--bw-gold);
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5));
}

.featured-title {
  font-size: 22px;
  color: var(--bw-cream);
  margin-bottom: 6px;
}

.featured-subtitle {
  font-size: 14px;
  color: var(--bw-text-sub);
  margin-bottom: 16px;
}

/* ---------- Feature Pill Strip ---------- */
.feature-ribbon-section {
  padding: 0 32px;
  max-width: 1280px;
  margin: -10px auto 40px;
}

.feature-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: var(--bw-glass-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--bw-glass-border);
  border-radius: var(--bw-radius-lg);
  padding: 20px 24px;
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 14px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--bw-gold-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--bw-gold);
}

.feature-text h4 {
  font-size: 15px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--bw-cream);
}

.feature-text p {
  font-size: 13px;
  color: var(--bw-text-sub);
}

/* ---------- Sticky Category Navigation Filter ---------- */
.floor-filter-bar {
  position: sticky;
  top: var(--bw-header-h);
  z-index: 35;
  background: var(--bw-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--bw-glass-border);
  border-bottom: 1px solid var(--bw-glass-border);
  padding: 12px 32px;
}

.floor-tab-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  max-width: 1280px;
  margin: 0 auto;
  scrollbar-width: none;
}

.floor-tab-scroll::-webkit-scrollbar { display: none; }

.floor-tab {
  background: transparent;
  border: 1px solid transparent;
  color: var(--bw-text-sub);
  padding: 9px 18px;
  border-radius: var(--bw-radius-full);
  font-family: 'Outfit', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex: 0 0 auto;
}

.floor-tab:hover {
  color: var(--bw-cream);
  background: rgba(212, 175, 55, 0.08);
}

.floor-tab.active {
  background: var(--bw-gold-gradient);
  color: var(--bw-brown);
  font-weight: 700;
  box-shadow: var(--bw-shadow-gold);
}

/* ---------- Session Banner ---------- */
.session-status-banner {
  max-width: 1280px;
  margin: 20px auto 0;
  padding: 0 32px;
}

.session-inner {
  background: rgba(244, 197, 66, 0.12);
  border: 1px dashed var(--bw-amber);
  border-radius: var(--bw-radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--bw-cream);
  font-size: 14.5px;
}

/* ---------- Game Lanes & Cards ---------- */
.lane-section {
  max-width: 1280px;
  margin: 36px auto 0;
  padding: 0 32px;
}

.lane-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.lane-header-left {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.lane-header h2 {
  font-size: 24px;
}

.lane-header .lane-count {
  font-size: 13.5px;
  color: var(--bw-text-muted);
}

.lane-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px;
}

.game-card {
  background: var(--bw-glass-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--bw-glass-border);
  border-radius: var(--bw-radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: var(--bw-glass-border-hover);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5), var(--bw-shadow-gold);
}

.game-thumb {
  width: 100%;
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  background: var(--bw-bg-dark);
}

.game-thumb-canvas {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-thumb-canvas svg {
  width: 56px;
  height: 56px;
  fill: var(--bw-gold);
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

.game-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--bw-amber);
  color: var(--bw-brown);
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--bw-radius-sm);
  text-transform: uppercase;
}

.game-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 20, 14, 0.8);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.game-card:hover .game-hover-overlay {
  opacity: 1;
}

.play-now-pill {
  background: var(--bw-gold-gradient);
  color: var(--bw-brown);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 13.5px;
  padding: 8px 18px;
  border-radius: var(--bw-radius-full);
  box-shadow: var(--bw-shadow-gold);
  display: flex;
  align-items: center;
  gap: 6px;
}

.game-info {
  padding: 14px;
  background: rgba(13, 42, 30, 0.4);
}

.game-title {
  font-family: 'Cinzel', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--bw-cream);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.game-category-tag {
  font-size: 12px;
  color: var(--bw-text-muted);
  margin-top: 2px;
}

/* ---------- Content Sections (How It Works & FAQ) ---------- */
.glass-section {
  max-width: 1280px;
  margin: 60px auto 0;
  padding: 0 32px;
}

.section-title {
  font-size: 32px;
  text-align: center;
  margin-bottom: 12px;
  color: var(--bw-cream);
}

.section-subtitle {
  text-align: center;
  color: var(--bw-text-sub);
  margin-bottom: 40px;
  font-size: 16px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--bw-glass-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--bw-glass-border);
  border-radius: var(--bw-radius-lg);
  padding: 30px 24px;
  position: relative;
  transition: transform 0.2s;
}

.step-card:hover {
  transform: translateY(-4deg);
  border-color: var(--bw-gold-glow);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bw-gold-gradient);
  color: var(--bw-brown);
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: var(--bw-shadow-gold);
}

.step-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--bw-cream);
}

.step-card p {
  color: var(--bw-text-sub);
  font-size: 15px;
}

/* ---------- FAQ Accordion ---------- */
.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-card {
  background: var(--bw-glass-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--bw-glass-border);
  border-radius: var(--bw-radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-card[open] {
  border-color: var(--bw-gold);
}

.faq-card summary {
  padding: 18px 24px;
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--bw-cream);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-card summary::-webkit-details-marker { display: none; }

.faq-icon-toggle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  color: var(--bw-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-card[open] .faq-icon-toggle {
  transform: rotate(45deg);
  background: var(--bw-gold-gradient);
  color: var(--bw-brown);
}

.faq-body {
  padding: 0 24px 20px;
  color: var(--bw-text-sub);
  font-size: 15px;
  line-height: 1.65;
}

/* ---------- Legal Notice Banner ---------- */
.notice-glass-banner {
  max-width: 1280px;
  margin: 50px auto 0;
  padding: 0 32px;
}

.notice-inner {
  background: rgba(60, 36, 21, 0.4);
  border: 1px solid var(--bw-glass-border);
  border-left: 4px solid var(--bw-amber);
  border-radius: var(--bw-radius-md);
  padding: 20px 24px;
  color: var(--bw-text-sub);
  font-size: 14.5px;
}

.notice-inner strong {
  color: var(--bw-amber);
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 80px;
  background: #030d0a;
  border-top: 1px solid var(--bw-glass-border);
  padding: 60px 32px 36px;
  color: var(--bw-text-sub);
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-col h4 {
  font-size: 17px;
  color: var(--bw-gold-light);
  margin-bottom: 16px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-col a {
  display: block;
  font-size: 14.5px;
  color: var(--bw-text-sub);
  margin-bottom: 10px;
  transition: color 0.15s;
}

.footer-col a:hover {
  color: var(--bw-gold);
}

.footer-bottom {
  max-width: 1280px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  font-size: 13px;
  color: var(--bw-text-muted);
}

.footer-bottom p {
  margin-bottom: 10px;
}

/* ---------- Game Stage Modal (Fullscreen Iframe) ---------- */
.game-stage-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #020907;
  display: none;
  flex-direction: column;
}

.game-stage-modal.on {
  display: flex;
  animation: stagePop 0.25s ease-out;
}

.game-stage-header {
  height: 56px;
  background: #071912;
  border-bottom: 1px solid var(--bw-glass-border);
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.game-stage-title {
  font-family: 'Cinzel', serif;
  font-size: 17px;
  color: var(--bw-cream);
  display: flex;
  align-items: center;
  gap: 10px;
}

.game-stage-title svg {
  width: 20px;
  height: 20px;
  fill: var(--bw-gold);
}

.game-stage-close {
  background: rgba(244, 197, 66, 0.15);
  border: 1px solid var(--bw-gold-glow);
  color: var(--bw-cream);
  padding: 6px 16px;
  border-radius: var(--bw-radius-full);
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
}

.game-stage-close:hover {
  background: var(--bw-gold-gradient);
  color: var(--bw-brown);
}

.game-stage-frame {
  flex: 1;
  width: 100%;
  border: 0;
}

/* ---------- Account Gateway Page ---------- */
.account-wrapper {
  max-width: 1080px;
  margin: 50px auto 70px;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 48px;
  align-items: start;
}

.account-info h1 {
  font-size: 38px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.account-info h1 em {
  font-style: normal;
  background: var(--bw-gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.account-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 24px 0;
}

.mosaic-item {
  aspect-ratio: 1;
  border-radius: var(--bw-radius-md);
  background: var(--bw-bg-forest);
  border: 1px solid var(--bw-glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mosaic-item svg {
  width: 40px;
  height: 40px;
  fill: var(--bw-gold);
}

.account-perks {
  list-style: none;
}

.account-perks li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--bw-text-sub);
  font-size: 15.5px;
}

.account-perks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--bw-gold);
  font-weight: 900;
}

.account-card {
  background: var(--bw-glass-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--bw-glass-border);
  border-radius: var(--bw-radius-lg);
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.mode-toggle-pills {
  display: flex;
  background: rgba(5, 20, 14, 0.6);
  border-radius: var(--bw-radius-full);
  padding: 4px;
  margin-bottom: 24px;
  border: 1px solid var(--bw-glass-border);
}

.mode-toggle-pills button {
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--bw-text-sub);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  padding: 9px 0;
  border-radius: var(--bw-radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
}

.mode-toggle-pills button.active {
  background: var(--bw-gold-gradient);
  color: var(--bw-brown);
  font-weight: 700;
  box-shadow: var(--bw-shadow-gold);
}

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--bw-text-sub);
  margin-bottom: 6px;
}

.form-field input {
  width: 100%;
  background: rgba(5, 20, 14, 0.8);
  border: 1px solid var(--bw-glass-border);
  border-radius: var(--bw-radius-md);
  color: var(--bw-cream);
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  padding: 12px 16px;
  transition: border-color 0.2s;
}

.form-field input:focus {
  outline: none;
  border-color: var(--bw-gold);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.form-field input.invalid {
  border-color: #e0553e;
}

.field-error-text {
  color: #f77f6c;
  font-size: 12.5px;
  margin-top: 4px;
  display: none;
}

.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--bw-text-sub);
  margin-bottom: 22px;
}

.checkbox-row input {
  margin-top: 3px;
  accent-color: var(--bw-gold);
}

.checkbox-row a {
  color: var(--bw-gold-light);
  text-decoration: underline;
}

.form-alert-msg {
  display: none;
  background: rgba(224, 85, 62, 0.15);
  border: 1px solid rgba(224, 85, 62, 0.4);
  color: #f77f6c;
  border-radius: var(--bw-radius-md);
  padding: 12px;
  font-size: 13.5px;
  margin-bottom: 18px;
}

.form-alert-msg.active {
  display: block;
}

/* Takeover Confirmation Screen */
.takeover-card {
  text-align: center;
  padding: 40px 24px;
}

.takeover-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--bw-gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

.takeover-icon svg {
  width: 40px;
  height: 40px;
  fill: var(--bw-gold);
}

.takeover-email {
  font-family: 'Cinzel', serif;
  font-size: 20px;
  color: var(--bw-gold-light);
  word-break: break-all;
  margin: 10px 0 20px;
}

/* ---------- Static Document Pages (Terms, Privacy, Contact, Play Responsibly) ---------- */
.doc-wrapper {
  max-width: 860px;
  margin: 50px auto 70px;
  padding: 0 32px;
}

.doc-card {
  background: var(--bw-glass-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--bw-glass-border);
  border-radius: var(--bw-radius-lg);
  padding: 40px;
}

.doc-card h1 {
  font-size: 36px;
  margin-bottom: 8px;
}

.doc-subtitle {
  color: var(--bw-text-muted);
  font-size: 14px;
  margin-bottom: 30px;
}

.doc-card h2 {
  font-size: 22px;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--bw-gold-light);
}

.doc-card p, .doc-card li {
  color: var(--bw-text-sub);
  font-size: 15.5px;
  margin-bottom: 14px;
  line-height: 1.7;
}

.doc-card ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.doc-card a {
  color: var(--bw-gold-light);
  text-decoration: underline;
}

.doc-highlight-box {
  background: rgba(244, 197, 66, 0.1);
  border: 1px solid var(--bw-gold-glow);
  border-radius: var(--bw-radius-md);
  padding: 24px;
  margin: 24px 0;
}

/* ---------- Mobile Responsive Adjustments ---------- */
@media (max-width: 1060px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero-visual {
    justify-content: center;
  }
  .feature-ribbon {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .account-wrapper {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
  }
}

@media (max-width: 900px) {
  .nav-links, .hero-bg-glow {
    display: none;
  }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--bw-header-h);
    left: 0;
    right: 0;
    background: var(--bw-bg-dark);
    padding: 20px 32px;
    border-bottom: 1px solid var(--bw-glass-border);
  }
  .nav-toggle-btn {
    display: flex;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 0 16px;
  }
  .brand-text {
    font-size: 18px;
  }
  .hero-section {
    padding: 40px 16px;
  }
  .hero-title {
    font-size: 32px;
  }
  .feature-ribbon {
    grid-template-columns: 1fr;
  }
  .lane-section, .glass-section, .notice-glass-banner, .feature-ribbon-section, .session-status-banner {
    padding: 0 16px;
  }
  .lane-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .doc-card {
    padding: 24px 18px;
  }
}

  /* ==========================================================================
   BrambleWit — Additions
   Styles for: signup/signin modal, email-confirmation screen, and the
   button-based game-card markup. Append this after bramblewit.css — it
   reuses the existing --bw-* tokens, so no new palette is introduced.
   ========================================================================== */

  /* ---------- Modal Shell ---------- */
  .modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
  }

  .modal[aria-hidden="false"] {
    display: flex;
  }

  .modal-veil {
    position: absolute;
    inset: 0;
    background: rgba(2, 9, 7, 0.78);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }

  .modal-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--bw-glass-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--bw-glass-border);
    border-radius: var(--bw-radius-lg);
    padding: 36px 32px 32px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), var(--bw-shadow-gold);
    animation: stagePop 0.25s ease-out;
  }

  .modal-close {
    position: absolute;
    top: 5px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid var(--bw-glass-border);
    color: var(--bw-cream);
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .modal-close:hover {
    background: var(--bw-gold-gradient);
    color: var(--bw-brown);
    border-color: transparent;
    transform: rotate(90deg);
  }

  /* ---------- Mode Toggle (join / sign in) ---------- */
  .mode-toggle {
    display: flex;
    background: rgba(5, 20, 14, 0.6);
    border-radius: var(--bw-radius-full);
    padding: 4px;
    margin-bottom: 18px;
    border: 1px solid var(--bw-glass-border);
  }

  .mode-toggle button {
    flex: 1;
    background: transparent;
    border: 0;
    color: var(--bw-text-sub);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 14.5px;
    padding: 9px 0;
    border-radius: var(--bw-radius-full);
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .mode-toggle button.active {
    background: var(--bw-gold-gradient);
    color: var(--bw-brown);
    font-weight: 700;
    box-shadow: var(--bw-shadow-gold);
  }

  .modal-note {
    color: var(--bw-text-sub);
    font-size: 14px;
    line-height: 1.55;
    text-align: center;
    margin-bottom: 22px;
  }

  /* ---------- Form Fields ---------- */
  .form-alert {
    color: #f77f6c;
    background: rgba(224, 85, 62, 0.15);
    border: 1px solid rgba(224, 85, 62, 0.4);
    border-radius: var(--bw-radius-md);
    padding: 12px;
    font-size: 13.5px;
    margin-bottom: 16px;
  }

  .form-alert:empty {
    display: none;
  }

  .field {
    margin-bottom: 16px;
  }

  .field label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--bw-text-sub);
    margin-bottom: 6px;
  }

  .field input {
    width: 100%;
    background: rgba(5, 20, 14, 0.8);
    border: 1px solid var(--bw-glass-border);
    border-radius: var(--bw-radius-md);
    color: var(--bw-cream);
    font-family: 'Outfit', sans-serif;
    font-size: 15px;
    padding: 12px 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
  }

  .field input::placeholder {
    color: var(--bw-text-muted);
  }

  .field input:focus {
    outline: none;
    border-color: var(--bw-gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
  }

  .consent-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--bw-text-sub);
    margin-bottom: 22px;
    line-height: 1.5;
  }

  .consent-line input {
    margin-top: 3px;
    accent-color: var(--bw-gold);
    flex-shrink: 0;
  }

  .consent-line a {
    color: var(--bw-gold-light);
    text-decoration: underline;
  }

  /* ---------- Shared CTA Button (alias of .btn-gold sizing) ---------- */
  .cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--bw-gold-gradient);
    color: var(--bw-brown);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 15px;
    padding: 10px 22px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--bw-radius-full);
    cursor: pointer;
    box-shadow: var(--bw-shadow-gold);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(212, 175, 55, 0.45);
  }

  .cta-btn.wide {
    width: 100%;
  }

  .cta-btn.lg {
    padding: 14px 32px;
    font-size: 17px;
  }

  /* ---------- Confirmation Screen ---------- */
  .status-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(212, 175, 55, 0.15);
    color: var(--bw-gold-light);
    border: 1px solid var(--bw-gold-glow);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 16px;
    border-radius: var(--bw-radius-full);
    margin-bottom: 18px;
  }

  .confirm-title {
    font-size: 24px;
    color: var(--bw-cream);
    margin-bottom: 10px;
  }

  .confirm-lead {
    color: var(--bw-text-sub);
    font-size: 15px;
    margin-bottom: 2px;
  }

  .confirm-email {
    font-family: 'Cinzel', serif;
    font-size: 19px;
    font-weight: 700;
    color: var(--bw-gold-light);
    word-break: break-all;
    margin: 6px 0 26px;
  }

  .confirm-mail-btn {
    margin-bottom: 22px;
  }

  .confirm-plaque {
    background: rgba(212, 175, 55, 0.08);
    border: 1px dashed var(--bw-gold-glow);
    border-radius: var(--bw-radius-md);
    color: var(--bw-text-sub);
    font-size: 14px;
    padding: 14px 20px;
    margin-bottom: 22px;
  }

  .confirm-spam {
    color: var(--bw-text-muted);
    font-size: 13px;
    margin-bottom: 26px;
  }

  .confirm-spam strong {
    color: var(--bw-amber);
  }

  .confirm-close {
    background: transparent;
    border: 0;
    color: var(--bw-text-sub);
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s;
  }

  .confirm-close:hover {
    color: var(--bw-gold-light);
  }

  /* ---------- Game Card (button-based markup) ---------- */
  /* Resets browser button chrome; layout/hover rules already defined on
     .game-card in the base file apply here too since selectors match. */
  .game-card {
    border: 0;
    font: inherit;
    text-align: left;
    padding: 0;
    width: 100%;
  }

  .game-card .thumb {
    width: 100%;
    aspect-ratio: 1;
    position: relative;
    overflow: hidden;
    background: var(--bw-bg-dark);
  }

  .game-card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
  }

  .game-card:hover .thumb img {
    transform: scale(1.05);
  }

  .game-card .badge-new {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--bw-amber);
    color: var(--bw-brown);
    font-size: 10.5px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: var(--bw-radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.3px;
  }

  .game-card .play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 20, 14, 0.8);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
  }

  .game-card:hover .play-overlay {
    opacity: 1;
  }

  .game-card .play-overlay span {
    background: var(--bw-gold-gradient);
    color: var(--bw-brown);
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 13px;
    padding: 8px 18px;
    border-radius: var(--bw-radius-full);
    box-shadow: var(--bw-shadow-gold);
  }

  .game-card .meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
    padding: 14px;
    background: rgba(13, 42, 30, 0.4);
  }

  .game-card .meta .title {
    font-family: 'Cinzel', serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--bw-cream);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .game-card .meta .kind {
    font-size: 12px;
    color: var(--bw-text-muted);
  }

  /* ---------- Mobile ---------- */
  @media (max-width: 640px) {
    .modal-close{
      width: 25px;
      height: 25px;
    }
    .modal-card {
      padding: 28px 20px 24px;
    }
    .confirm-title {
      font-size: 20px;
    }
  }