/* =============================================
   WildMapleQuest.com - Global Styles
   ============================================= */

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

/* --- CSS Variables --- */
:root {
  --primary: #c0392b;
  --primary-dark: #96281b;
  --primary-light: #e74c3c;
  --secondary: #e67e22;
  --secondary-dark: #ca6f1e;
  --secondary-light: #f39c12;
  --accent: #27ae60;
  --accent-dark: #1e8449;
  --accent-light: #2ecc71;
  --gold: #d4af37;
  --gold-light: #f0c040;
  --success: #27ae60;
  --warning: #f39c12;
  --error: #e74c3c;
  --dark: #0d0d0d;
  --dark-2: #1a1a1a;
  --dark-3: #242424;
  --dark-4: #2e2e2e;
  --dark-5: #3a3a3a;
  --mid: #555;
  --light-mid: #888;
  --light: #ccc;
  --light-2: #e8e8e8;
  --white: #ffffff;
  --text-primary: #f0ece4;
  --text-secondary: #c8bfb0;
  --text-muted: #8a7f74;
  --maple-red: #c0392b;
  --maple-orange: #d35400;
  --maple-gold: #d4af37;
  --maple-green: #1e5f2e;
  --maple-brown: #6b3a2a;
  --forest: #1a3020;
  --forest-mid: #243d2c;
  --forest-light: #2e5038;
  --bg-gradient: linear-gradient(135deg, #0d1a10 0%, #1a2e1a 40%, #0f1a0f 100%);
  --card-bg: rgba(20, 30, 20, 0.8);
  --card-border: rgba(212, 175, 55, 0.2);
  --header-height: 72px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.5);
  --shadow-gold: 0 0 20px rgba(212,175,55,0.3);
  --transition: 0.25s ease;
  --transition-slow: 0.45s ease;
}

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

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --- Typography --- */
.font-display { font-family: 'Cinzel', serif; }

h1,h2,h3 { font-family: 'Cinzel', serif; line-height: 1.2; }
h4,h5,h6 { line-height: 1.3; }

.text-gradient {
  background: linear-gradient(135deg, var(--gold) 0%, var(--secondary-light) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Layout --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(212,175,55,0.4);
  padding: 4px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity var(--transition);
}

.btn:hover::before { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--maple-red), var(--maple-orange));
  color: #fff;
  box-shadow: 0 4px 16px rgba(192,57,43,0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(192,57,43,0.5);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--dark);
  box-shadow: 0 4px 16px rgba(212,175,55,0.3);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,175,55,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}

.btn-outline:hover {
  background: rgba(212,175,55,0.1);
  transform: translateY(-2px);
}

.btn-lg { padding: 18px 36px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* --- Header / Nav --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(10, 18, 10, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Cinzel', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gold);
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--maple-red), var(--maple-orange));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

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

.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--gold);
  background: rgba(212,175,55,0.08);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: all var(--transition);
}

/* --- Mobile Nav --- */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: rgba(10,18,10,0.98);
  backdrop-filter: blur(20px);
  padding: 24px;
  z-index: 999;
  border-bottom: 1px solid rgba(212,175,55,0.2);
  transform: translateY(-10px);
  opacity: 0;
  transition: all var(--transition);
}

.mobile-nav.open {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--text-secondary);
  font-size: 1rem;
}

.mobile-nav a:hover { color: var(--gold); }

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--bg-gradient);
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(192,57,43,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(212,175,55,0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(30,94,46,0.2) 0%, transparent 50%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  animation: floatParticle linear infinite;
  opacity: 0.6;
}

@keyframes floatParticle {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,175,55,0.1);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.hero-badge span { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  margin-bottom: 24px;
  line-height: 1.1;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.7;
  max-width: 560px;
}

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

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.stat-item { text-align: left; }

.stat-num {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
}

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

.hero-visual {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 45%;
  max-width: 560px;
}

.maple-decoration {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.maple-ring {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(212,175,55,0.2);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: slowSpin 30s linear infinite;
}

.maple-ring::before {
  content: '';
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  border: 1px solid rgba(192,57,43,0.2);
}

.maple-center {
  font-size: 7rem;
  animation: slowSpin 30s linear infinite reverse;
  filter: drop-shadow(0 0 30px rgba(192,57,43,0.5));
}

.floating-card {
  position: absolute;
  background: rgba(20,30,20,0.9);
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  font-size: 0.85rem;
  white-space: nowrap;
  animation: floatCard 4s ease-in-out infinite;
}

.floating-card:nth-child(2) { animation-delay: -1.3s; top: 10%; right: -20px; }
.floating-card:nth-child(3) { animation-delay: -2.6s; bottom: 15%; left: -30px; }
.floating-card:nth-child(4) { animation-delay: -0.7s; top: 55%; right: -10px; }

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

@keyframes slowSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* --- Cards --- */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover {
  border-color: rgba(212,175,55,0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.card:hover::before { opacity: 1; }

/* --- Game Cards --- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.game-card {
  background: rgba(15, 25, 15, 0.9);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-slow);
  cursor: pointer;
}

.game-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 30px rgba(212,175,55,0.15);
  border-color: rgba(212,175,55,0.5);
}

.game-thumb {
  height: 200px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-icon-large {
  font-size: 5rem;
  filter: drop-shadow(0 0 20px currentColor);
  transition: transform var(--transition);
}

.game-card:hover .game-icon-large { transform: scale(1.15) rotate(5deg); }

.game-info { padding: 24px; }

.game-tag {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 12px;
  display: inline-block;
}

.game-info h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.game-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.game-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* --- Features Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: rgba(15,25,15,0.6);
  border: 1px solid rgba(212,175,55,0.12);
  transition: all var(--transition);
}

.feature-card:hover {
  background: rgba(20,35,20,0.8);
  border-color: rgba(212,175,55,0.3);
  transform: translateY(-4px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --- Footer --- */
.site-footer {
  background: #080e08;
  border-top: 1px solid rgba(212,175,55,0.15);
  padding: 80px 0 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}

.footer-col h4 {
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 20px;
}

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

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

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

.footer-disclaimer {
  background: rgba(192,57,43,0.08);
  border: 1px solid rgba(192,57,43,0.2);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 32px;
}

.footer-disclaimer h5 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--maple-red);
  margin-bottom: 12px;
}

.footer-disclaimer p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.disclaimer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.disclaimer-links a {
  font-size: 0.78rem;
  color: var(--text-secondary);
  text-decoration: underline;
  transition: color var(--transition);
}

.disclaimer-links a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-age-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(192,57,43,0.15);
  border: 1px solid rgba(192,57,43,0.3);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--maple-red);
}

/* --- Age Gate Modal --- */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.age-gate-bg {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 5, 0.97);
  backdrop-filter: blur(8px);
}

.age-gate-card {
  position: relative;
  z-index: 1;
  background: linear-gradient(145deg, #141e14, #1a2a1a);
  border: 1px solid rgba(212,175,55,0.3);
  border-radius: var(--radius-xl);
  padding: 52px 48px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 32px 80px rgba(0,0,0,0.8), 0 0 60px rgba(212,175,55,0.1);
}

.age-gate-logo {
  font-size: 3.5rem;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 20px rgba(192,57,43,0.6));
}

.age-gate-card h2 {
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 8px;
}

.age-gate-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.age-gate-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 28px;
}

.age-gate-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 0 auto 28px;
}

.age-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  background: rgba(212,175,55,0.05);
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 24px;
  cursor: pointer;
  transition: border-color var(--transition);
}

.age-checkbox-group:hover { border-color: rgba(212,175,55,0.35); }

.age-checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--gold);
  cursor: pointer;
}

.age-checkbox-group label {
  font-size: 0.88rem;
  color: var(--text-secondary);
  cursor: pointer;
  line-height: 1.5;
}

.age-gate-confirm {
  width: 100%;
  padding: 16px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--maple-red), var(--maple-orange));
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.05em;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(192,57,43,0.4);
  opacity: 0.4;
  cursor: not-allowed;
}

.age-gate-confirm.active {
  opacity: 1;
  cursor: pointer;
}

.age-gate-confirm.active:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(192,57,43,0.5);
}

.age-gate-disclaimer {
  margin-top: 16px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 8888;
  background: rgba(10, 18, 10, 0.97);
  border-top: 1px solid rgba(212,175,55,0.2);
  padding: 20px 24px;
  backdrop-filter: blur(12px);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.show { transform: translateY(0); }

.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  flex: 1;
}

.cookie-banner p a {
  color: var(--gold);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

/* --- Page Inner (non-home pages) --- */
.page-hero {
  padding: 140px 0 80px;
  background: linear-gradient(180deg, #0d1a10 0%, var(--dark) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(ellipse at 50% 0%, rgba(212,175,55,0.08) 0%, transparent 70%);
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 16px;
  position: relative;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.page-content {
  padding: 80px 0;
}

/* --- Info sections --- */
.prose {
  max-width: 760px;
  margin: 0 auto;
}

.prose h2 {
  font-size: 1.6rem;
  color: var(--gold);
  margin: 48px 0 16px;
  padding-top: 48px;
  border-top: 1px solid rgba(212,175,55,0.1);
}

.prose h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }

.prose h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 24px 0 10px;
}

.prose p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.prose ul, .prose ol {
  padding-left: 20px;
  margin-bottom: 16px;
}

.prose li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 8px;
  list-style: disc;
}

.prose ol li { list-style: decimal; }

.prose strong { color: var(--text-primary); }

/* --- Accordion (FAQs) --- */
.accordion { max-width: 760px; margin: 0 auto; }

.accordion-item {
  border: 1px solid rgba(212,175,55,0.12);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  background: rgba(15,25,15,0.5);
  transition: background var(--transition);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.accordion-header:hover { background: rgba(20,35,20,0.8); }

.accordion-icon {
  font-size: 1.2rem;
  color: var(--gold);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.accordion-item.open .accordion-icon { transform: rotate(45deg); }

.accordion-body {
  display: none;
  padding: 0 24px 20px;
  background: rgba(10,18,10,0.5);
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.accordion-item.open .accordion-body { display: block; }

/* --- Steps --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.step-item {
  text-align: center;
  position: relative;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--maple-red), var(--maple-orange));
  color: #fff;
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 0 20px rgba(192,57,43,0.4);
}

.step-item h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.step-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Community --- */
.community-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.community-card {
  background: rgba(15,25,15,0.6);
  border: 1px solid rgba(212,175,55,0.12);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}

.community-card:hover {
  border-color: rgba(212,175,55,0.3);
  transform: translateY(-4px);
}

/* --- Alert / Notice --- */
.notice {
  background: rgba(212,175,55,0.07);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 24px 0;
}

.notice p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin: 0;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .hero-visual { display: none; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .games-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .community-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 64px 0; }
  .hero h1 { font-size: 2.4rem; }
  .hero-stats { gap: 24px; }
  .age-gate-card { padding: 36px 28px; }
  .cookie-banner-inner { flex-direction: column; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}
