/* ==========================================================================
   Super Ace Authority Portal - Seeded Design Tokens & UI Architecture
   Target: Philippines (en-PH) - Mobile-First Responsive App Shell
   Zero AST / CSS Fingerprinting via Brand-Seeded Token Bounds
   ========================================================================== */

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

:root {
  /* Bounded Design Tokens seeded by [super-ace] */
  --shell-max-w: 414px;
  --btn-min-h: 50px;
  --btn-radius: 12px;
  --btn-pad-x: 20px;
  --card-pad: 16px;
  --card-radius: 16px;
  --font-stack-base: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Luxury Dark Palette: Deep Obsidian Canvas with Gold & Metallic Accents */
  --color-outer-bg: #090d16;
  --color-app-bg: #0f1422;
  --color-surface-1: #151b2e;
  --color-surface-2: #1b233a;
  --color-surface-card: #141a2b;
  --color-border: #232c45;
  --color-border-subtle: #1c2338;

  --color-text-main: #f8fafc;
  --color-text-muted: #94a3b8;
  --color-text-dim: #64748b;

  --color-gold: #f59e0b;
  --color-gold-hover: #d97706;
  --color-gold-light: #fbbf24;
  --color-gold-glow: rgba(245, 158, 11, 0.35);
  --color-amber-badge: #d97706;
  --color-crimson: #ef4444;
  --color-emerald: #10b981;
  --color-emerald-glow: rgba(16, 185, 129, 0.3);
  --color-blue: #3b82f6;

  --header-h: 60px;
  --bottom-nav-h: 64px;
}

/* Responsive Desktop Container Bounds */
@media (min-width: 768px) {
  :root {
    --shell-max-w: 1080px;
    --bottom-nav-h: 0px;
    --header-h: 70px;
  }
}

@media (min-width: 1200px) {
  :root {
    --shell-max-w: 1140px;
  }
}

/* Global Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  background-color: var(--color-outer-bg);
  font-size: 16px;
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--color-outer-bg);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.08) 0%, transparent 55%),
    radial-gradient(circle at 10% 25%, rgba(59, 130, 246, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 90% 70%, rgba(245, 158, 11, 0.05) 0%, transparent 45%);
  background-attachment: fixed;
  color: var(--color-text-main);
  font-family: var(--font-stack-base);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  margin: 0;
  overflow-x: hidden;
}

/* Centered Responsive App Shell */
.app-shell {
  width: 100%;
  max-width: var(--shell-max-w);
  min-height: 100vh;
  background-color: var(--color-app-bg);
  color: var(--color-text-main);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 45px rgba(0, 0, 0, 0.7), 0 0 80px rgba(245, 158, 11, 0.04);
  padding-bottom: var(--bottom-nav-h);
  overflow-x: hidden;
  transition: max-width 0.25s ease;
}

@media (min-width: 768px) {
  .app-shell {
    margin: 16px auto;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 80px rgba(245, 158, 11, 0.08);
    padding-bottom: 24px;
  }
}

/* Sticky Header Navigation */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(15, 20, 34, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  transition: all 0.2s ease;
}

@media (min-width: 768px) {
  .app-header {
    padding: 0 24px;
    border-radius: 20px 20px 0 0;
  }
}

.header-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.header-brand:hover {
  opacity: 0.9;
}

.header-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}

@media (min-width: 768px) {
  .header-logo {
    height: 42px;
  }
}

/* Desktop Navigation Menu */
.desktop-nav {
  display: none;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0 16px;
  }
  
  .desktop-nav-link {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 700;
    padding: 7px 12px;
    border-radius: 8px;
    transition: all 0.18s ease;
    white-space: nowrap;
  }

  .desktop-nav-link:hover,
  .desktop-nav-link.active {
    color: var(--color-gold-light);
    background: rgba(245, 158, 11, 0.1);
  }
}

.header-cashier-btn, .btn-header-cashier {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px;
  height: 38px;
  padding: 0 16px;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-hover)) !important;
  color: #0b0f19 !important;
  font-size: 0.84rem;
  font-weight: 800;
  border-radius: var(--btn-radius);
  text-decoration: none !important;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  flex-shrink: 0;
}

.header-cashier-btn:hover, .btn-header-cashier:hover {
  filter: brightness(1.08);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.45);
}

.header-cashier-btn:active, .btn-header-cashier:active {
  transform: scale(0.96);
}

/* Hero Carousel (Critical CSS inlined in HTML, extended for richness) */
.hero-carousel {
  position: relative;
  width: 100%;
  background: #090d16;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-carousel {
    border-radius: 16px;
    margin: 16px 20px 0;
    width: calc(100% - 40px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  }
}

.hero-slider-track {
  position: relative;
  width: 100%;
  min-height: 250px;
}

@media (min-width: 768px) {
  .hero-slider-track {
    min-height: 360px;
  }
}

.hero-slide {
  display: none !important;
  position: relative;
  width: 100%;
}

.hero-slide.active {
  display: block !important;
  animation: fadeInSlide 0.4s ease-out forwards;
}

@keyframes fadeInSlide {
  from { opacity: 0.6; transform: scale(1.01); }
  to { opacity: 1; transform: scale(1); }
}

.hero-slide-media {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-slide-media {
    height: 360px;
  }
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 20, 34, 0.1) 0%, rgba(15, 20, 34, 0.7) 50%, rgba(15, 20, 34, 0.98) 95%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px 16px;
}

@media (min-width: 768px) {
  .hero-slide-overlay {
    padding: 32px 36px;
  }
}

.hero-slide-overlay h2 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 6px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.9);
  letter-spacing: -0.3px;
}

@media (min-width: 768px) {
  .hero-slide-overlay h2 {
    font-size: 1.85rem;
    max-width: 700px;
  }
}

.hero-slide-overlay p {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  line-height: 1.45;
  margin-bottom: 12px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

@media (min-width: 768px) {
  .hero-slide-overlay p {
    font-size: 0.95rem;
    max-width: 650px;
    margin-bottom: 16px;
  }
}

.hero-slide-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 22px;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-hover));
  color: #0b0f19;
  font-size: 0.86rem;
  font-weight: 800;
  border-radius: var(--btn-radius);
  text-decoration: none;
  align-self: flex-start;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.hero-slide-btn:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.55);
}

.hero-slide-btn:active {
  transform: scale(0.96);
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  padding: 10px 0 8px;
  background: var(--color-app-bg);
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #232c45;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}

.hero-dot.active {
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  width: 24px;
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}

/* Dynamic Operational Status Ticker */
.win-ticker, .op-ticker {
  background: #090d16;
  border-top: 1px solid rgba(245, 158, 11, 0.2);
  border-bottom: 1px solid rgba(245, 158, 11, 0.2);
  height: 38px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.ticker-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.18), rgba(15, 20, 34, 0.95));
  color: var(--color-gold-light);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  height: 100%;
  padding: 0 12px;
  z-index: 2;
  flex-shrink: 0;
  border-right: 1px solid rgba(245, 158, 11, 0.25);
}

.ticker-pulse {
  width: 7px;
  height: 7px;
  background: var(--color-emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-emerald);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.8); }
}

.ticker-track {
  display: flex;
  white-space: nowrap;
  animation: tickerMarquee 38s linear infinite;
  gap: 28px;
  padding-left: 14px;
}

.win-ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.77rem;
  color: #cbd5e1;
}

.ticker-item strong {
  color: var(--color-gold);
  font-weight: 700;
}

.ticker-item span.metric-val {
  color: #34d399;
  font-weight: 800;
  background: rgba(16, 185, 129, 0.12);
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

@keyframes tickerMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Main Content Area */
.main-content {
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

@media (min-width: 768px) {
  .main-content {
    padding: 24px 28px;
    gap: 28px;
  }
}

/* Page Titles */
.page-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.25;
  letter-spacing: -0.4px;
  margin-bottom: 10px;
}

@media (min-width: 768px) {
  .page-title {
    font-size: 1.95rem;
    letter-spacing: -0.6px;
  }
}

.page-intro {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 14px;
}

@media (min-width: 768px) {
  .page-intro {
    font-size: 1.02rem;
    line-height: 1.65;
  }
}

/* Section Headings */
.section-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-gold-light);
  line-height: 1.3;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-left: 3px solid var(--color-gold);
  padding-left: 10px;
  margin-left: -2px;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 1.35rem;
    margin-bottom: 14px;
  }
}

/* Cards & Containers (Structural DOM Jitter Support) */
.card-box {
  background: var(--color-surface-card);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  padding: var(--card-pad);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.card-box:hover {
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 158, 11, 0.06);
}

.card-box p {
  font-size: 0.86rem;
  color: #cbd5e1;
  line-height: 1.55;
  margin-bottom: 10px;
}

@media (min-width: 768px) {
  .card-box p {
    font-size: 0.94rem;
  }
}

.card-box p:last-child {
  margin-bottom: 0;
}

/* Catalog Grid & Placecard Styles */
.catalog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (min-width: 640px) {
  .catalog-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

@media (min-width: 768px) {
  .catalog-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

@media (min-width: 1100px) {
  .catalog-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
  }
}

.game-card {
  background: #141a2b;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--card-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.game-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6), 0 0 24px rgba(245, 158, 11, 0.2);
}

.game-card:active {
  transform: scale(0.98);
}

.game-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 400 / 260;
  background: #0b0f19;
  overflow: hidden;
}

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

.game-card:hover .game-placecard-img {
  transform: scale(1.06);
}

.game-card-info {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.game-card-title {
  font-size: 0.84rem;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.2px;
}

@media (min-width: 768px) {
  .game-card-title {
    font-size: 0.92rem;
  }
}

.game-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: var(--color-text-dim);
}

.game-card-meta span.studio {
  color: var(--color-gold-light);
  font-weight: 700;
  background: rgba(245, 158, 11, 0.12);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.68rem;
}

.game-card-meta span:last-child {
  color: #34d399;
  font-weight: 700;
  font-size: 0.7rem;
}

/* Primary CTA Button (Tap-Target Compliant) */
.btn-primary-cta, .btn-main-cta {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: var(--btn-min-h);
  padding: 0 var(--btn-pad-x);
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-hover)) !important;
  color: #0b0f19 !important;
  font-size: 0.96rem;
  font-weight: 800;
  border-radius: var(--btn-radius);
  text-decoration: none !important;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
  width: 100%;
  margin: 12px 0;
  letter-spacing: 0.2px;
}

.btn-primary-cta:hover, .btn-main-cta:hover {
  filter: brightness(1.08);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.55);
}

.btn-primary-cta:active, .btn-main-cta:active {
  transform: scale(0.98);
}

/* Game Card Link and Play Button Enhancements */
.game-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.game-card-play-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4px 10px 10px;
  height: 34px;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-hover));
  color: #0b0f19;
  font-size: 0.76rem;
  font-weight: 800;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.game-card:hover .game-card-play-btn {
  filter: brightness(1.1);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.5);
}

.game-card-play-btn:active {
  transform: scale(0.96);
}

/* Asymmetric Data Presentations (Tables, Definition Lists, Badges) */
.specs-table, .spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.83rem;
  margin: 10px 0;
  background: #0f1422;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
}

.specs-table th, .spec-table th,
.specs-table td, .spec-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

@media (min-width: 768px) {
  .specs-table th, .spec-table th,
  .specs-table td, .spec-table td {
    padding: 12px 16px;
    font-size: 0.88rem;
  }
}

.specs-table th, .spec-table th {
  background: #161e30;
  color: var(--color-gold-light);
  font-weight: 800;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.specs-table td, .spec-table td {
  color: #cbd5e1;
}

.specs-table tr:nth-child(even) td,
.spec-table tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}

.specs-table td:last-child, .spec-table td:last-child {
  color: #f8fafc;
  font-weight: 600;
}

/* Definition Lists */
.specs-dl, .spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  font-size: 0.83rem;
  background: #0f1422;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
}

@media (min-width: 768px) {
  .specs-dl, .spec-grid {
    grid-template-columns: repeat(3, 1fr);
    padding: 16px;
    gap: 14px;
  }
}

.specs-dl dt, .spec-grid dt {
  color: var(--color-text-muted);
  font-weight: 600;
}

.specs-dl dd, .spec-grid dd {
  color: #ffffff;
  font-weight: 700;
  text-align: right;
  margin: 0;
}

/* Badge Matrix */
.badge-matrix, .spec-badge-matrix {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

.badge-tag {
  background: #151b2e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 8px;
  transition: all 0.15s ease;
}

.badge-tag.highlight {
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.45);
  color: var(--color-gold-light);
}

/* Breadcrumbs & Answer Capsules */
.breadcrumb-nav {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb-nav a {
  color: var(--color-gold);
  text-decoration: none;
}

.breadcrumb-nav a:hover {
  text-decoration: underline;
}

.game-hero-banner {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  margin: 12px 0 16px 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0b0f19;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
}

.game-hero-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.answer-capsule {
  background: linear-gradient(135deg, #151c2d 0%, #111724 100%);
  border-left: 4px solid var(--color-gold);
  border-radius: 0 12px 12px 0;
  padding: 16px 18px;
  margin: 12px 0 18px 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.answer-capsule-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-gold-light);
  margin-bottom: 6px;
}

.answer-capsule-text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #f1f5f9;
  font-weight: 500;
  margin: 0;
}

.context-link {
  color: var(--color-gold-light);
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.15s ease;
}

.context-link:hover {
  color: #ffffff;
}

/* FAQ Accordion (Asymmetric Interactive Section) */
.faq-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--color-surface-card);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(245, 158, 11, 0.35);
}

.faq-question {
  width: 100%;
  padding: 14px 16px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: inherit;
}

@media (min-width: 768px) {
  .faq-question {
    padding: 16px 20px;
    font-size: 0.96rem;
  }
}

.faq-icon {
  font-size: 1.15rem;
  color: var(--color-gold);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer, .faq-content {
  display: none;
  padding: 0 16px 16px;
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 12px;
}

@media (min-width: 768px) {
  .faq-answer, .faq-content {
    padding: 0 20px 20px;
    padding-top: 14px;
    font-size: 0.92rem;
  }
}

.faq-item.active .faq-answer,
.faq-item.active .faq-content {
  display: block;
}

/* Responsible Gaming 21+ Notice */
.compliance-footer-box {
  background: #0b0f19;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--card-radius);
  padding: 16px;
  text-align: center;
  font-size: 0.77rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-top: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.compliance-badge-21 {
  display: inline-block;
  background: #dc2626;
  color: #ffffff;
  font-weight: 900;
  font-size: 0.76rem;
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
}

/* 21+ Age Gate Modal */
.age-gate-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(5, 8, 14, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.age-gate-modal.active {
  display: flex;
}

.age-gate-card {
  background: #111726;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 28px 24px;
  max-width: 360px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.85), 0 0 40px rgba(245, 158, 11, 0.1);
}

.age-gate-badge {
  display: inline-block;
  background: #dc2626;
  color: #ffffff;
  font-weight: 900;
  font-size: 1.15rem;
  padding: 5px 14px;
  border-radius: 8px;
  margin-bottom: 14px;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.4);
}

.age-gate-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.age-gate-desc {
  font-size: 0.84rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 20px;
}

.age-gate-btn {
  display: block;
  width: 100%;
  height: 46px;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-hover));
  color: #0b0f19;
  font-size: 0.92rem;
  font-weight: 800;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  margin-bottom: 10px;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
  transition: filter 0.15s ease, transform 0.15s ease;
}

.age-gate-btn:hover {
  filter: brightness(1.08);
}

.age-gate-btn:active {
  transform: scale(0.97);
}

.age-gate-exit {
  background: none;
  border: none;
  color: #64748b;
  font-size: 0.76rem;
  cursor: pointer;
  text-decoration: underline;
}

/* Sticky Bottom Navigation (Mobile Dock Only) */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--shell-max-w);
  height: var(--bottom-nav-h);
  background: rgba(15, 20, 34, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 100;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.6);
}

/* Explicitly hide mobile bottom nav on desktop so it does not float */
@media (min-width: 768px) {
  .bottom-nav {
    display: none !important;
  }
}

.nav-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 48px;
  text-decoration: none;
  color: #94a3b8;
  font-size: 0.6875rem;
  font-weight: 600;
  gap: 3px;
  transition: color 0.15s ease, transform 0.15s ease;
}

.nav-tab.active,
.nav-tab:hover {
  color: var(--color-gold);
  transform: translateY(-1px);
}

.nav-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
