/* ============================================================
   crewarcadia.com — Social Casino White Label — IN (India)
   Visual: Ancient Egypt — Gold, Sand, Terracotta
   ============================================================ */

/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Lato:wght@300;400;700;900&display=swap");

/* ============================================================
   CSS Custom Properties
   ============================================================ */
:root {
  --color-primary: #7b2fbe;
  --color-secondary: #ffd700;
  --color-bg: #1a0a2e;
  --color-surface: #2d1b5e;
  --color-text: #f0e6ff;
  --color-text-muted: #b8a0d4;
  --color-gold: #ffd700;
  --color-amber: #ffc107;
  --color-terracotta: #c84b31;
  --color-sand: #d4b896;
  --color-success: #28a745;
  --color-border: rgba(255, 215, 0, 0.25);
  --font-heading: "Cinzel", Georgia, serif;
  --font-body: "Lato", "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-card:
    0 8px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 215, 0, 0.1);
  --shadow-glow: 0 0 20px rgba(255, 215, 0, 0.3);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1280px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
}

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

a:hover {
  color: #fff;
}

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

ul {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--color-secondary);
}

p {
  color: var(--color-text-muted);
}

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

section {
  padding: 60px 0;
}

/* ============================================================
   Age Gate Overlay
   ============================================================ */
#age-gate {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  backdrop-filter: blur(4px);
}

#age-gate.hidden {
  display: none;
}

.age-gate-box {
  background: var(--color-surface);
  border: 2px solid var(--color-secondary);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow:
    0 0 60px rgba(255, 215, 0, 0.2),
    0 24px 60px rgba(0, 0, 0, 0.8);
}

.age-gate-icon {
  font-size: 64px;
  margin-bottom: 20px;
  display: block;
}

.age-gate-box h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
  color: var(--color-secondary);
}

.age-gate-box p {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.age-gate-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-age-yes {
  background: linear-gradient(
    135deg,
    var(--color-secondary),
    var(--color-amber)
  );
  color: #1a0a2e;
  border: none;
  border-radius: var(--radius-md);
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.btn-age-yes:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-age-no {
  background: transparent;
  color: var(--color-text-muted);
  border: 1px solid var(--color-text-muted);
  border-radius: var(--radius-md);
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-age-no:hover {
  border-color: var(--color-terracotta);
  color: var(--color-terracotta);
}

/* ============================================================
   Navigation
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(26, 10, 46, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--color-secondary);
  text-decoration: none;
  letter-spacing: 0.05em;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

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

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-secondary);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--color-secondary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

/* ============================================================
   Free Play Banner
   ============================================================ */
.free-play-banner {
  background: linear-gradient(
    90deg,
    #b8860b,
    #ffd700,
    #daa520,
    #ffd700,
    #b8860b
  );
  background-size: 200% auto;
  animation: shimmerBanner 4s linear infinite;
  color: #1a0a2e;
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--font-body);
  text-align: center;
  padding: 12px 20px;
  width: 100%;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

@keyframes shimmerBanner {
  0% {
    background-position: 200% center;
  }
  100% {
    background-position: -200% center;
  }
}

/* ============================================================
   Hero Section — Full Screen BG
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--color-bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/hero.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  will-change: transform;
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 10, 46, 0.3) 0%,
    rgba(26, 10, 46, 0.5) 40%,
    rgba(26, 10, 46, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 40px 20px;
}

.hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 16px;
  opacity: 0.9;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  color: #fff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero h1 span {
  color: var(--color-secondary);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--color-text);
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

/* Coin Counter */
.coin-counter-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid var(--color-secondary);
  border-radius: 50px;
  padding: 14px 28px;
  margin-bottom: 36px;
  backdrop-filter: blur(8px);
}

.coin-icon {
  font-size: 1.8rem;
}

.coin-counter-text {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--color-secondary);
  font-weight: 700;
}

.coin-count {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--color-secondary);
  display: inline-block;
  min-width: 120px;
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.coin-count.animating {
  animation: countUp 0.1s ease-out;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn-primary {
  display: inline-block;
  background: linear-gradient(
    135deg,
    var(--color-secondary),
    var(--color-amber)
  );
  color: #1a0a2e;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 36px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.6);
  color: #1a0a2e;
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--color-secondary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 50px;
  border: 2px solid var(--color-secondary);
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-secondary:hover {
  background: var(--color-secondary);
  color: #1a0a2e;
  transform: translateY(-2px);
}

/* ============================================================
   Section Headers
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--color-secondary);
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--color-primary),
    var(--color-secondary)
  );
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ============================================================
   Promo Cards
   ============================================================ */
.promos {
  background: var(--color-surface);
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.promo-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.promo-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-secondary);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.promo-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-surface)
  );
}

.promo-card-body {
  padding: 20px;
}

.promo-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--color-secondary);
  margin-bottom: 8px;
}

.promo-card-body p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.promo-badge {
  display: inline-block;
  background: rgba(255, 215, 0, 0.15);
  color: var(--color-secondary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

/* ============================================================
   Game Cards — rounded-large-image style
   ============================================================ */
.games {
  background: var(--color-bg);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
}

.game-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  border: 1px solid var(--color-border);
  position: relative;
}

.game-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    var(--shadow-card),
    0 0 30px rgba(123, 47, 190, 0.4);
  border-color: var(--color-primary);
}

.game-card-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--color-primary), #3d1a7a);
  display: block;
  transition: transform 0.4s ease;
}

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

.game-card-info {
  padding: 16px;
}

.game-card-info h3 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--color-text);
  margin-bottom: 10px;
  line-height: 1.3;
}

.game-card-info .btn-play {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, var(--color-primary), #5a20a0);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.game-card-info .btn-play:hover {
  background: linear-gradient(
    135deg,
    var(--color-secondary),
    var(--color-amber)
  );
  color: #1a0a2e;
}

.game-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-secondary);
  color: #1a0a2e;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================================
   Categories Bar
   ============================================================ */
.categories-bar {
  padding: 24px 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.categories-list {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.categories-list::-webkit-scrollbar {
  display: none;
}

.cat-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 215, 0, 0.08);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 50px;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.cat-chip:hover,
.cat-chip.active {
  background: var(--color-secondary);
  color: #1a0a2e;
  border-color: var(--color-secondary);
}

/* ============================================================
   Latest Virtual Wins Feed
   ============================================================ */
.wins-feed {
  background: var(--color-surface);
  padding: 48px 0;
}

.wins-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.win-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  transition: var(--transition);
}

.win-item:hover {
  border-color: var(--color-secondary);
}

.win-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-secondary)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.win-text {
  flex: 1;
}

.win-text strong {
  color: var(--color-text);
  font-size: 0.875rem;
  display: block;
}

.win-text span {
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

.win-amount {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-secondary);
  white-space: nowrap;
}

/* ============================================================
   Providers Grid
   ============================================================ */
.providers {
  background: var(--color-bg);
  padding: 48px 0;
}

.providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}

.provider-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  transition: var(--transition);
}

.provider-card:hover {
  border-color: var(--color-secondary);
  transform: translateY(-4px);
}

.provider-card-name {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 8px;
}

.provider-icon {
  font-size: 2rem;
  margin-bottom: 8px;
  display: block;
}

/* ============================================================
   Register Section
   ============================================================ */
#register {
  background: linear-gradient(135deg, var(--color-surface), #1f0d45);
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

#register::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 215, 0, 0.05) 0%,
    transparent 60%
  );
  pointer-events: none;
}

#register h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 16px;
}

#register p {
  font-size: 1.05rem;
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.register-disclaimer {
  margin-top: 20px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  opacity: 0.7;
}

/* ============================================================
   Game Page — Iframe Layout
   ============================================================ */
.game-page-hero {
  background: var(--color-surface);
  padding: 40px 0 20px;
  border-bottom: 1px solid var(--color-border);
}

.game-page-hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}

.game-iframe-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin: 32px 0;
}

.game-iframe-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.game-info-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 0;
  flex-wrap: wrap;
}

.game-info-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.game-disclaimer {
  background: rgba(255, 215, 0, 0.08);
  border-left: 4px solid var(--color-secondary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: #0d0520;
  border-top: 1px solid var(--color-border);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .nav-logo {
  font-size: 1.4rem;
  display: inline-block;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-secondary);
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--color-secondary);
}

/* RG Section */
.footer-rg {
  background: rgba(255, 215, 0, 0.04);
  border-top: 1px solid var(--color-border);
  padding: 32px 0;
}

.footer-rg-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-rg-logos {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.rg-logo-link {
  display: inline-block;
  opacity: 0.75;
  transition: var(--transition);
}

.rg-logo-link:hover {
  opacity: 1;
}

.rg-logo-link img {
  height: 36px;
  width: auto;
}

.footer-rg-text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  flex: 1;
}

.footer-rg-text strong {
  color: var(--color-text);
  display: block;
  margin-bottom: 4px;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.4);
  padding: 20px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.footer-bottom .footer-legal {
  font-size: 0.75rem;
  color: rgba(184, 160, 212, 0.5);
}

/* ============================================================
   Cookie Banner
   ============================================================ */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(26, 10, 46, 0.98);
  border-top: 1px solid var(--color-border);
  padding: 16px 20px;
  z-index: 8888;
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

#cookie-banner.hidden {
  display: none;
}

.cookie-text {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  flex: 1;
}

.cookie-text a {
  color: var(--color-secondary);
  text-decoration: underline;
}

.cookie-btn {
  background: var(--color-secondary);
  color: #1a0a2e;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 24px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.cookie-btn:hover {
  background: var(--color-amber);
}

/* ============================================================
   Page Hero (inner pages)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--color-surface), var(--color-bg));
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================
   Legal / Content Pages
   ============================================================ */
.content-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 60px 20px;
}

.content-page h2 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 16px;
}

.content-page h3 {
  font-size: 1.15rem;
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--color-text);
}

.content-page p {
  margin-bottom: 16px;
  line-height: 1.75;
}

.content-page ul,
.content-page ol {
  margin: 16px 0 16px 24px;
  color: var(--color-text-muted);
}

.content-page ul {
  list-style: disc;
}
.content-page ol {
  list-style: decimal;
}

.content-page li {
  margin-bottom: 10px;
  line-height: 1.65;
}

.content-page a {
  color: var(--color-secondary);
  text-decoration: underline;
}

.last-updated {
  display: inline-block;
  background: rgba(255, 215, 0, 0.1);
  color: var(--color-secondary);
  font-size: 0.8rem;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 32px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open {
  border-color: var(--color-primary);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  background: var(--color-surface);
  transition: var(--transition);
}

.faq-question:hover {
  background: rgba(255, 215, 0, 0.05);
}

.faq-question h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  flex: 1;
}

.faq-toggle {
  font-size: 1.2rem;
  color: var(--color-secondary);
  margin-left: 16px;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  background: var(--color-surface);
}

.faq-answer p {
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ============================================================
   Contact Page
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.contact-info-card h3 {
  color: var(--color-secondary);
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.contact-email-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  color: var(--color-secondary);
  font-weight: 700;
}

/* ============================================================
   Tournaments Page
   ============================================================ */
.tournament-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.tournament-card:hover {
  border-color: var(--color-secondary);
  box-shadow: var(--shadow-glow);
}

.tournament-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--color-primary),
    var(--color-secondary)
  );
}

.tournament-status {
  display: inline-block;
  background: #28a745;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.tournament-status.upcoming {
  background: var(--color-primary);
}

.tournament-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.tournament-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin: 16px 0;
}

.tournament-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tournament-meta-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tournament-meta-value {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-secondary);
}

.countdown-timer {
  display: inline-flex;
  gap: 12px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  margin-top: 16px;
}

.timer-unit {
  text-align: center;
  min-width: 48px;
}

.timer-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-secondary);
  display: block;
}

.timer-label {
  font-size: 0.65rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Leaderboard */
.leaderboard-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.leaderboard-table thead {
  background: rgba(255, 215, 0, 0.1);
}

.leaderboard-table th {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-secondary);
  padding: 16px 20px;
  text-align: left;
}

.leaderboard-table td {
  padding: 14px 20px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
}

.leaderboard-table tr:hover td {
  background: rgba(255, 215, 0, 0.03);
}

.rank-medal {
  font-size: 1.1rem;
}

.prize-coins {
  color: var(--color-secondary);
  font-weight: 700;
  font-family: var(--font-heading);
}

/* ============================================================
   Promotions Page
   ============================================================ */
.promo-hero {
  background: linear-gradient(135deg, var(--color-surface), var(--color-bg));
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.promo-hero::after {
  content: "𓂀";
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 8rem;
  opacity: 0.05;
  user-select: none;
}

/* ============================================================
   RG Page
   ============================================================ */
.rg-org-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 20px;
  transition: var(--transition);
}

.rg-org-card:hover {
  border-color: var(--color-secondary);
}

.rg-org-logo {
  width: 80px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 8px;
}

.rg-org-info h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.rg-org-info p {
  font-size: 0.875rem;
  margin-bottom: 8px;
}

.rg-org-info a {
  font-size: 0.875rem;
  font-weight: 700;
}

.rg-signs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.rg-sign-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.rg-sign-item h4 {
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.rg-sign-item p {
  font-size: 0.8rem;
}

/* ============================================================
   Responsive — Mobile First
   ============================================================ */
@media (max-width: 768px) {
  section {
    padding: 40px 0;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(26, 10, 46, 0.98);
    padding: 20px;
    gap: 20px;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .games-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .promo-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-rg-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .coin-counter-wrap {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .tournament-meta {
    gap: 16px;
  }

  .countdown-timer {
    flex-wrap: wrap;
  }

  .leaderboard-table {
    font-size: 0.8rem;
  }

  .leaderboard-table th,
  .leaderboard-table td {
    padding: 10px 12px;
  }
}

@media (max-width: 480px) {
  .games-grid {
    grid-template-columns: 1fr;
  }

  .promo-grid {
    grid-template-columns: 1fr;
  }

  .age-gate-box {
    padding: 32px 20px;
  }

  .age-gate-buttons {
    flex-direction: column;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }

  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 1024px) {
  .games-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .promo-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}
