/* ============================================================
   P77APP.PRO — Main Stylesheet
   Design tokens + global + component styles (mobile-first base)
   ============================================================ */

:root {
  /* === COLORS === */
  --color-bg-primary:    #0a0a0f;   /* Deep black background */
  --color-bg-secondary:  #12121a;   /* Card/section background */
  --color-bg-nav:        #0d0d14;   /* Navigation bar */
  --color-accent-gold:   #f5c518;   /* Primary CTA gold/amber */
  --color-accent-hover:  #e6b800;   /* Hover state */
  --color-accent-glow:   rgba(245, 197, 24, 0.25); /* Glow effect */
  --color-text-primary:  #ffffff;   /* Headings */
  --color-text-secondary:#c0c0cc;   /* Body copy */
  --color-text-muted:    #7a7a90;   /* Labels, captions */
  --color-border:        #2a2a3a;   /* Subtle borders */
  --color-gradient-hero: linear-gradient(135deg, #0a0a0f 0%, #1a1030 50%, #0a0a0f 100%);
  --color-btn-google:    #01875f;   /* Google Play green */
  --color-btn-apple:     #1c1c1e;   /* Apple dark */

  /* === TYPOGRAPHY === */
  --font-display:   'Rajdhani', 'Exo 2', sans-serif;
  --font-body:      'Inter', 'Noto Sans', sans-serif;
  --font-ui:        'JetBrains Mono', monospace;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-hero: clamp(2rem, 5vw, 3.5rem);

  /* === SPACING === */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;

  /* === LAYOUT === */
  --max-width:      1200px;
  --nav-height-pc:  70px;
  --nav-height-wap: 60px;
  --border-radius:  12px;
  --border-radius-sm: 6px;
  --border-radius-pill: 50px;

  /* === SHADOWS & FX === */
  --shadow-card:   0 4px 24px rgba(0,0,0,0.4);
  --shadow-glow:   0 0 20px var(--color-accent-glow);
  --transition:    all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--color-bg-primary);
  color: var(--color-text-secondary);
  line-height: 1.6;
  font-size: var(--text-base);
  min-height: 100vh;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; transition: var(--transition); }

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

ul { list-style: none; }

/* === UTILITY LAYOUT === */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.section { padding: var(--space-16) 0; }

.section-title {
  font-size: var(--text-3xl);
  text-align: center;
  margin-bottom: var(--space-3);
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto var(--space-12);
  font-size: var(--text-lg);
}

.accent { color: var(--color-accent-gold); }

/* ============================================================
   NAVIGATION
   ============================================================ */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-bg-nav);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
header.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,0.5); }

/* --- PC nav --- */
.pc-head {
  display: none; /* shown at >=1024px in responsive.css */
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height-pc);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.pc-head .logo img { height: 54px; width: auto; }

.pc-nav { display: flex; gap: var(--space-8); align-items: center; }
.pc-nav .tab {
  position: relative;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  letter-spacing: 0.5px;
  cursor: pointer;
  padding: var(--space-2) 0;
  background: none;
  border: none;
}
.pc-nav .tab::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 3px;
  background: var(--color-accent-gold);
  border-radius: 3px;
  transition: width 0.25s ease;
}
.pc-nav .tab:hover { color: var(--color-text-primary); }
.pc-nav .tab.active { color: var(--color-accent-gold); }
.pc-nav .tab.active::after { width: 100%; }

.nav-cta {
  font-family: var(--font-display);
  font-weight: 700;
  background: var(--color-accent-gold);
  color: #12100a;
  padding: var(--space-2) var(--space-6);
  border-radius: var(--border-radius-pill);
}
.nav-cta:hover { background: var(--color-accent-hover); box-shadow: var(--shadow-glow); }

/* --- Mobile nav --- */
.wap-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-2);
  height: var(--nav-height-wap);
  padding: 0 var(--space-4);
}
.wap-head .logo { margin-right: auto; }
.wap-head .logo img { height: 44px; width: auto; }

.wap-download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  background: var(--color-accent-gold);
  color: #12100a;
  border-radius: 50%;
  font-size: 16px;
  line-height: 1;
}
.wap-download-btn:hover { background: var(--color-accent-hover); box-shadow: var(--shadow-glow); }

.hamburger {
  width: 40px; height: 40px;
  display: flex; flex-direction: column;
  justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block; height: 2px; width: 100%;
  background: var(--color-text-primary);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav-menu {
  position: absolute;
  top: var(--nav-height-wap);
  left: 0; right: 0;
  background: var(--color-bg-nav);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.mobile-nav-menu.open { max-height: 420px; }
.mobile-nav-menu a {
  padding: var(--space-4) var(--space-6);
  font-family: var(--font-display);
  font-weight: 600;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-secondary);
}
.mobile-nav-menu a:hover,
.mobile-nav-menu a.active { color: var(--color-accent-gold); background: rgba(255,255,255,0.02); }

/* ============================================================
   HERO / WELCOME
   ============================================================ */
.body-welcome {
  background:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(123, 63, 242, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 10%, var(--color-accent-glow) 0%, transparent 55%),
    var(--color-gradient-hero);
  background-size: 200% 200%;
  animation: heroDrift 18s ease-in-out infinite;
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  gap: var(--space-12);
  padding: var(--space-16) var(--space-4);
  position: relative;
  overflow: hidden;
}
.body-welcome::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 40%, transparent 80%);
  pointer-events: none;
}

.hero-particles { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-particles span {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-accent-gold);
  opacity: 0.5;
  filter: blur(0.5px);
  animation: particleFloat 9s ease-in-out infinite;
}
.hero-particles span:nth-child(1) { top: 15%; left: 8%;  animation-delay: 0s;   }
.hero-particles span:nth-child(2) { top: 65%; left: 18%; animation-delay: 1.4s; background:#7b3ff2; }
.hero-particles span:nth-child(3) { top: 30%; left: 88%; animation-delay: 2.6s; }
.hero-particles span:nth-child(4) { top: 78%; left: 82%; animation-delay: 0.8s; background:#7b3ff2; }
.hero-particles span:nth-child(5) { top: 10%; left: 55%; animation-delay: 3.4s; }
.hero-particles span:nth-child(6) { top: 88%; left: 45%; animation-delay: 2s;   }

.hero-eyebrow {
  position: relative; z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  letter-spacing: 1px;
  color: var(--color-accent-gold);
  background: rgba(245, 197, 24, 0.1);
  border: 1px solid rgba(245, 197, 24, 0.35);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--border-radius-pill);
  margin-bottom: var(--space-4);
}

.body-welcome-txt { position: relative; z-index: 1; max-width: 620px; }
.hero-heading, .hero-details { position: relative; z-index: 1; max-width: 620px; }
.welcome-tagline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-hero);
  background: linear-gradient(135deg, #ffffff 30%, var(--color-accent-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: var(--space-4);
  letter-spacing: 0.5px;
}
.welcome-desc { color: var(--color-text-secondary); font-size: var(--text-lg); margin-bottom: var(--space-6); }

.hero-stats {
  position: relative; z-index: 1;
  display: flex;
  gap: var(--space-8);
  justify-content: center;
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat .num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-2xl);
  color: var(--color-accent-gold);
}
.hero-stat .label { font-size: var(--text-xs); color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 1px; }

.welcome-btn {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: center;
  width: 100%;
  max-width: 320px;
  position: relative; z-index: 1;
}
.welcome-btn a { width: 100%; }

/* --- Hero visual: phone-style frame with floating chips --- */
.hero-visual { position: relative; z-index: 1; }
.hero-frame {
  position: relative;
  max-width: 320px;
  margin: 0 auto;
  padding: var(--space-3);
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.01));
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card), 0 0 60px rgba(123,63,242,0.15);
  animation: floatY 5s ease-in-out infinite;
}
.hero-frame img {
  width: 100%;
  border-radius: 20px;
  display: block;
}
.hero-chip {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(13,13,20,0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  padding: var(--space-2) var(--space-3);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text-primary);
  box-shadow: var(--shadow-card);
  animation: floatY 4s ease-in-out infinite;
}
.hero-chip span { font-family: var(--font-ui); font-size: 0.65rem; font-weight: 600; color: var(--color-accent-gold); letter-spacing: 0.5px; }
.chip-1 { top: 8%; left: -8%; animation-delay: 0.5s; }
.chip-2 { bottom: 10%; right: -10%; animation-delay: 1.2s; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  background: var(--color-accent-gold);
  color: #12100a;
  padding: var(--space-4) var(--space-8);
  border-radius: var(--border-radius-pill);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { background: var(--color-accent-hover); transform: translateY(-2px); }

/* Store badge fallback (when using text badges) */
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-text-primary);
  width: 100%;
  justify-content: center;
}
.store-badge.google {
  background: linear-gradient(135deg, #00c97a 0%, var(--color-btn-google) 100%);
  border-color: #00c97a;
}
.store-badge.google .sub { color: rgba(255,255,255,0.75); }
.store-badge.google:hover { box-shadow: 0 0 20px rgba(0, 201, 122, 0.4); }

.store-badge.apple {
  background: #000000;
  border: 1px solid rgba(255,255,255,0.3);
}
.store-badge.apple .sub { color: rgba(255,255,255,0.6); }
.store-badge.apple:hover { border-color: #ffffff; box-shadow: 0 0 20px rgba(255,255,255,0.15); }

.store-badge .sub { display: block; font-size: var(--text-xs); color: var(--color-text-muted); font-weight: 400; }
.store-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }

/* ============================================================
   GAME STRIP (horizontal scroll)
   ============================================================ */
.game-strip { background: var(--color-bg-secondary); padding: var(--space-8) 0; border-block: 1px solid var(--color-border); }
.game-strip-inner {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-4);
  max-width: var(--max-width);
  margin: 0 auto;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: var(--color-accent-gold) transparent;
}
.game-strip-inner:active { cursor: grabbing; }
.game-strip-inner::-webkit-scrollbar { height: 6px; }
.game-strip-inner::-webkit-scrollbar-thumb { background: var(--color-accent-gold); border-radius: 3px; }
.game-icon {
  flex: 0 0 auto;
  scroll-snap-align: center;
  width: 96px;
  text-align: center;
  user-select: none;
}
.game-icon img {
  width: 96px; height: 96px;
  object-fit: cover;
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}
.game-icon:hover img { border-color: var(--color-accent-gold); transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.game-icon span {
  display: block;
  margin-top: var(--space-2);
  font-size: var(--text-sm);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-text-secondary);
}

/* ============================================================
   FEATURE ROWS
   ============================================================ */
.features { background: var(--color-bg-primary); }
.feature-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
  padding: var(--space-12) 0;
  border-bottom: 1px solid var(--color-border);
}
.feature-row:last-child { border-bottom: none; }
.feature-img { flex: 1; width: 100%; max-width: 460px; }
.feature-img img { border-radius: var(--border-radius); box-shadow: var(--shadow-card); width: 100%; }
.feature-text { flex: 1; max-width: 520px; }
.feature-text h2 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
  color: var(--color-text-primary);
}
.feature-text h2 .accent { display: block; font-size: var(--text-sm); color: var(--color-accent-gold); font-family: var(--font-ui); letter-spacing: 2px; text-transform: uppercase; margin-bottom: var(--space-2); }
.feature-text p { color: var(--color-text-secondary); font-size: var(--text-lg); }

/* ============================================================
   APP SCREENSHOTS SHOWCASE (Swiper)
   ============================================================ */
.screenshots-showcase { background: var(--color-bg-primary); overflow: hidden; }
.screenshots-swiper {
  padding: var(--space-8) var(--space-4) var(--space-16);
  max-width: 1400px;
  margin: 0 auto;
}
.screenshots-swiper .swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.4s ease, opacity 0.4s ease;
  opacity: 0.55;
}
.screenshots-swiper .swiper-slide-active,
.screenshots-swiper .swiper-slide-next,
.screenshots-swiper .swiper-slide-prev { opacity: 1; }
.screenshots-swiper .swiper-slide-active .phone-mockup { box-shadow: var(--shadow-card), 0 0 40px var(--color-accent-glow); border-color: var(--color-accent-gold); }

.phone-mockup {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 9 / 18.5;
  border-radius: 32px;
  border: 6px solid var(--color-bg-nav);
  background: var(--color-bg-secondary);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  position: relative;
  transition: var(--transition);
}
.phone-mockup::before {
  content: "";
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 40%; height: 16px;
  background: var(--color-bg-nav);
  border-radius: var(--border-radius-pill);
  z-index: 2;
}
.phone-mockup img { width: 100%; height: 100%; object-fit: cover; display: block; }

.slide-caption {
  margin-top: var(--space-4);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  text-align: center;
}

.screenshots-swiper .swiper-pagination-bullet { background: var(--color-text-muted); opacity: 0.6; }
.screenshots-swiper .swiper-pagination-bullet-active { background: var(--color-accent-gold); opacity: 1; }
.screenshots-swiper .swiper-button-next,
.screenshots-swiper .swiper-button-prev {
  color: var(--color-accent-gold);
  background: rgba(13,13,20,0.7);
  border: 1px solid var(--color-border);
  width: 44px; height: 44px;
  border-radius: 50%;
  backdrop-filter: blur(6px);
}
.screenshots-swiper .swiper-button-next::after,
.screenshots-swiper .swiper-button-prev::after { font-size: 1.1rem; }
.screenshots-swiper .swiper-button-next:hover,
.screenshots-swiper .swiper-button-prev:hover { box-shadow: var(--shadow-glow); border-color: var(--color-accent-gold); }

/* ============================================================
   CARD GRIDS (About / Products)
   ============================================================ */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}
.info-card {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: var(--space-8);
  text-align: center;
  transition: var(--transition);
}
.info-card:hover { border-color: var(--color-accent-gold); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.info-card .icon { font-size: 2.4rem; margin-bottom: var(--space-4); }
.info-card h3 { font-size: var(--text-xl); margin-bottom: var(--space-3); color: var(--color-accent-gold); }
.info-card p { color: var(--color-text-secondary); font-size: var(--text-base); }

/* Stats strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: var(--space-8);
  margin-top: var(--space-8);
}
.stat { text-align: center; }
.stat .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-3xl);
  color: var(--color-accent-gold);
}
.stat .label { font-size: var(--text-sm); color: var(--color-text-muted); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: var(--color-gradient-hero);
  text-align: center;
  padding: var(--space-16) var(--space-4);
  border-bottom: 1px solid var(--color-border);
}
.page-hero h1 { font-size: var(--text-4xl); margin-bottom: var(--space-3); }
.page-hero p { color: var(--color-text-muted); max-width: 640px; margin: 0 auto; font-size: var(--text-lg); }

/* Prose (legal pages) */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: var(--text-2xl); margin: var(--space-8) 0 var(--space-3); color: var(--color-accent-gold); }
.prose h3 { font-size: var(--text-lg); margin: var(--space-6) 0 var(--space-2); }
.prose p, .prose li { color: var(--color-text-secondary); margin-bottom: var(--space-3); }
.prose ul { list-style: disc; padding-left: var(--space-6); margin-bottom: var(--space-4); }
.prose .updated { color: var(--color-text-muted); font-size: var(--text-sm); margin-bottom: var(--space-8); }

/* ============================================================
   PRODUCTS — GAME GRID
   ============================================================ */
.game-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}
.game-card {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.game-card:hover { border-color: var(--color-accent-gold); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.game-card-img { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.game-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.game-card:hover .game-card-img img { transform: scale(1.06); }
.game-badge {
  position: absolute;
  top: var(--space-3); left: var(--space-3);
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: var(--border-radius-pill);
  background: var(--color-accent-gold);
  color: #12100a;
}
.game-badge.new { background: #01875f; color: #fff; }
.game-badge.popular { background: #7b3ff2; color: #fff; }
.game-card-body { padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); flex: 1; }
.game-title { font-size: var(--text-lg); color: var(--color-text-primary); }
.game-desc { font-size: var(--text-sm); color: var(--color-text-muted); flex: 1; }
.btn-play {
  align-self: flex-start;
  margin-top: var(--space-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-accent-gold);
  border: 1px solid var(--color-accent-gold);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--border-radius-pill);
}
.btn-play:hover { background: var(--color-accent-gold); color: #12100a; }

/* Game filter bar (Browse All Games) */
.game-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  margin-bottom: var(--space-8);
}
.game-filter-btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--border-radius-pill);
  cursor: pointer;
  transition: var(--transition);
}
.game-filter-btn:hover { border-color: var(--color-accent-gold); color: var(--color-text-primary); }
.game-filter-btn.active { background: var(--color-accent-gold); color: #12100a; border-color: var(--color-accent-gold); }

/* Comparison table */
.compare-wrap { overflow-x: auto; margin-top: var(--space-8); }
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  background: var(--color-bg-secondary);
  border-radius: var(--border-radius);
  overflow: hidden;
}
.compare-table th, .compare-table td {
  padding: var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--text-sm);
}
.compare-table th { font-family: var(--font-display); color: var(--color-text-primary); background: var(--color-bg-nav); }
.compare-table td.p77 { color: var(--color-accent-gold); font-weight: 600; }
.compare-table tr:last-child td { border-bottom: none; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}
.contact-form {
  max-width: 640px;
  margin: 0 auto;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  padding: var(--space-8);
}
.form-group { margin-bottom: var(--space-4); }
.form-group label { display: block; margin-bottom: var(--space-2); font-family: var(--font-display); font-weight: 600; color: var(--color-text-primary); font-size: var(--text-sm); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-sm);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: var(--text-base);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--color-accent-gold); box-shadow: 0 0 0 3px var(--color-accent-glow);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.social-links { display: flex; gap: var(--space-4); justify-content: center; margin-top: var(--space-8); flex-wrap: wrap; }
.social-links a {
  font-family: var(--font-display);
  font-weight: 600;
  padding: var(--space-3) var(--space-6);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-pill);
}
.social-links a:hover { border-color: var(--color-accent-gold); color: var(--color-accent-gold); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--color-border); border-radius: var(--border-radius); margin-bottom: var(--space-4); overflow: hidden; background: var(--color-bg-secondary); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: var(--space-4) var(--space-6);
  background: none; border: none; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg);
  color: var(--color-text-primary);
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-4);
}
.faq-q::after { content: "+"; color: var(--color-accent-gold); font-size: var(--text-2xl); transition: transform 0.25s ease; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a p { padding: 0 var(--space-6) var(--space-4); color: var(--color-text-secondary); }
.faq-item.open .faq-a { max-height: 300px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-bg-nav);
  border-top: 1px solid var(--color-border);
  padding: var(--space-12) var(--space-4);
  text-align: center;
}
.site-footer .footer-logo img { height: 50px; margin: 0 auto var(--space-4); }
.site-footer p { color: var(--color-text-muted); font-size: var(--text-sm); margin-bottom: var(--space-4); }
.footer-links { display: flex; gap: var(--space-6); justify-content: center; flex-wrap: wrap; }
.footer-links a { color: var(--color-text-secondary); font-size: var(--text-sm); }
.footer-links a:hover { color: var(--color-accent-gold); }
.footer-disclaimer { max-width: 720px; margin: var(--space-8) auto 0; font-size: var(--text-xs); color: var(--color-text-muted); line-height: 1.7; }

/* Skip link for a11y */
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--color-accent-gold); color: #12100a;
  padding: var(--space-2) var(--space-4); z-index: 2000;
}
.skip-link:focus { left: var(--space-4); }
