/* ============================================================
   Epic Fury Arcade — styles.css
   Design: Glassmorphism over cosmic indigo-to-violet gradient
   Prefix: ef-
   ============================================================ */

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

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

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

html, body {
  min-height: 100%;
  background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 50%, #7c3aed 100%);
  background-attachment: fixed;
}

body {
  font-family: 'Outfit', sans-serif;
  color: #F8FAFC;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

/* ---------- Design Tokens (custom props) ---------- */
:root {
  --primary:        #7C3AED;
  --primary-dark:   #6D28D9;
  --primary-light:  #A78BFA;
  --accent:         #F59E0B;
  --accent-dark:    #D97706;
  --bg-gradient:    linear-gradient(135deg, #1e1b4b 0%, #4c1d95 50%, #7c3aed 100%);
  --surface:        rgba(255, 255, 255, 0.08);
  --surface-hover:  rgba(255, 255, 255, 0.14);
  --border:         rgba(255, 255, 255, 0.15);
  --text:           #F8FAFC;
  --text-muted:     rgba(248, 250, 252, 0.6);
  --radius-card:    24px;
  --radius-pill:    999px;
  --radius-sm:      16px;
  --shadow:         0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255,255,255,0.1);
  --shadow-lg:      0 20px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255,255,255,0.12);
  --transition:     all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --max-w:          1180px;
  --section-py:     100px;
}

/* ---------- Utility ---------- */
.ef-wrap {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

.ef-section {
  padding-block: var(--section-py);
}

.ef-heading {
  text-align: center;
  margin-bottom: 56px;
}

.ef-heading h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
}

.ef-heading p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin-inline: auto;
}

.ef-tag {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(124, 58, 237, 0.35);
  border: 1px solid rgba(167, 139, 250, 0.4);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 16px;
}

.ef-gradient-text {
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ef-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Scroll Reveal ---------- */
.ef-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.ef-reveal-active {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Glass Panel Mixin ---------- */
.glass {
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
}

/* ---------- Buttons ---------- */
.ef-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  outline: none;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.ef-btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

.ef-btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 20px rgba(109, 40, 217, 0.5);
}

.ef-btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.65);
}

.ef-btn-secondary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #1e1b4b;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
}

.ef-btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.55);
}

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

.ef-btn-outline:hover {
  background: var(--surface-hover);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-2px);
}

.ef-btn-glow {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.6), 0 0 60px rgba(245, 158, 11, 0.2);
  animation: glowPulse 2.5s ease-in-out infinite;
}

.ef-btn-glow:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 0 50px rgba(124, 58, 237, 0.8), 0 0 90px rgba(245, 158, 11, 0.3);
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 30px rgba(124, 58, 237, 0.6), 0 0 60px rgba(245, 158, 11, 0.2); }
  50%       { box-shadow: 0 0 45px rgba(124, 58, 237, 0.85), 0 0 80px rgba(245, 158, 11, 0.35); }
}

/* ============================================================
   HEADER
   ============================================================ */
.ef-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  transition: var(--transition);
}

.ef-header.scrolled {
  background: rgba(30, 27, 75, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}

.ef-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.ef-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.ef-logo-icon {
  font-size: 1.5rem;
  filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.7));
}

.ef-nav-desktop { display: none; }

.ef-nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: var(--surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.ef-nav-toggle:hover {
  background: var(--surface-hover);
}

.ef-nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.ef-nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ef-nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.ef-nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Full-screen mobile nav */
.ef-nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 800;
  background: rgba(30, 27, 75, 0.92);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.ef-nav-mobile.open {
  opacity: 1;
  pointer-events: all;
}

.ef-nav-mobile a {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--text);
  padding: 12px 32px;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  text-align: center;
}

.ef-nav-mobile a:hover {
  color: var(--accent);
  background: var(--surface);
}

/* ============================================================
   HERO
   ============================================================ */
.ef-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}

/* Glowing orbs */
.ef-hero::before,
.ef-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.ef-hero::before {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124,58,237,0.45) 0%, transparent 70%);
  top: -120px; left: -100px;
}

.ef-hero::after {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245,158,11,0.25) 0%, transparent 70%);
  bottom: -80px; right: -80px;
}

.ef-hero-orb-mid {
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(167,139,250,0.3) 0%, transparent 70%);
  top: 50%; right: 15%;
  transform: translateY(-50%);
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}

.ef-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: 80px;
}

@media (min-width: 900px) {
  .ef-hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    padding-block: 60px;
  }
}

.ef-hero-text h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 22px;
  text-shadow: 0 0 40px rgba(167,139,250,0.4);
}

.ef-hero-text p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 36px;
}

.ef-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.ef-hero-visual {
  position: relative;
}

.ef-hero-preview {
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
}

.ef-hero-preview::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(245,158,11,0.08));
  pointer-events: none;
}

/* ============================================================
   GAME SECTION
   ============================================================ */
.ef-game-bg {
  position: relative;
}

.ef-game-container {
  position: relative;
  z-index: 1;
}

.ef-game-card {
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.ef-game-frame {
  position: relative;
  background: #0d0b1f;
}

.ef-game-frame iframe {
  display: block;
  width: 100%;
  min-height: 650px;
}

.ef-game-fullscreen {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 10;
  width: 42px; height: 42px;
  background: rgba(0,0,0,0.55);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.ef-game-fullscreen:hover {
  background: rgba(124, 58, 237, 0.6);
  border-color: var(--primary-light);
}

.ef-game-details {
  padding: 28px 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--border);
}

.ef-game-details h2 {
  font-size: 1.3rem;
  font-weight: 700;
}

.ef-game-details p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 4px;
}

.ef-game-warning {
  margin-top: 20px;
  padding: 16px 24px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: rgba(245, 158, 11, 0.85);
  text-align: center;
}

/* ============================================================
   FEATURES
   ============================================================ */
.ef-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.ef-feature-card {
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 40px 32px;
  transition: var(--transition);
}

.ef-feature-card:hover {
  background: var(--surface-hover);
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(255,255,255,0.25);
  box-shadow: var(--shadow-lg);
}

.ef-feature-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
  background: rgba(124, 58, 237, 0.25);
  border: 1px solid rgba(167, 139, 250, 0.3);
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
}

.ef-feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.ef-feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================================
   HOW IT WORKS — Steps
   ============================================================ */
.ef-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  counter-reset: steps;
}

.ef-step-card {
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: 40px 32px;
  position: relative;
  transition: var(--transition);
}

.ef-step-card:hover {
  background: var(--surface-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.ef-step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(124,58,237,0.5);
}

.ef-step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.ef-step-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================================
   COMMUNITY HIGHLIGHT
   ============================================================ */
.ef-community-panel {
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
}

.ef-community-panel h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.ef-community-panel > p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 540px;
  margin-inline: auto;
  margin-bottom: 56px;
}

.ef-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.ef-stat {
  padding: 28px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.ef-stat:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-3px);
}

.ef-stat-num {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ef-stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 6px;
}

/* ============================================================
   FAQ
   ============================================================ */
.ef-faq-list {
  max-width: 780px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ef-faq-item {
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.ef-faq-item.open {
  border-color: rgba(167,139,250,0.35);
  box-shadow: 0 0 20px rgba(124,58,237,0.15);
}

.ef-faq-toggle {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  padding: 22px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: var(--transition);
}

.ef-faq-toggle:hover { background: rgba(255,255,255,0.04); }

.ef-faq-chevron {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(124,58,237,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: var(--transition);
}

.ef-faq-item.open .ef-faq-chevron { transform: rotate(180deg); background: rgba(124,58,237,0.45); }

.ef-faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.ef-faq-text {
  padding: 0 24px 22px;
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.75;
}

/* ============================================================
   ARTICLE / BLOG
   ============================================================ */
.ef-article-bg {
  position: relative;
}

.ef-article-body {
  background: var(--surface);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow);
  padding: clamp(32px, 5vw, 64px);
  max-width: 820px;
  margin-inline: auto;
}

.ef-article-body h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  margin-bottom: 20px;
}

.ef-article-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--primary-light);
}

.ef-article-body p {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.85;
  margin-bottom: 18px;
}

.ef-article-body p:last-child { margin-bottom: 0; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.ef-cta-section {
  padding-block: 80px;
}

.ef-cta-inner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-dark) 100%);
  border-radius: var(--radius-card);
  padding: clamp(48px, 8vw, 96px) clamp(32px, 5vw, 80px);
  text-align: center;
  box-shadow: 0 20px 60px rgba(124,58,237,0.4), 0 0 80px rgba(245,158,11,0.15);
  position: relative;
  overflow: hidden;
}

.ef-cta-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.ef-cta-inner h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.ef-cta-inner p {
  font-size: 1.05rem;
  opacity: 0.88;
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

.ef-cta-inner .ef-btn {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.4);
  color: #fff;
  backdrop-filter: blur(8px);
}

.ef-cta-inner .ef-btn:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-3px);
}

/* ============================================================
   FOOTER
   ============================================================ */
.ef-footer {
  background: rgba(15, 12, 40, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-top: 1px solid var(--border);
  padding-top: 72px;
  padding-bottom: 40px;
}

.ef-footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px 32px;
  margin-bottom: 56px;
}

.ef-footer-brand .ef-logo {
  margin-bottom: 14px;
}

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

.ef-footer-age {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(245,158,11,0.15);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
}

.ef-footer-links h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 18px;
}

.ef-footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ef-footer-links a {
  color: var(--text-muted);
  font-size: 0.92rem;
  transition: color 0.25s ease;
}

.ef-footer-links a:hover { color: var(--text); }

.ef-footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
}

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

.ef-footer-disclaimer {
  width: 100%;
  color: rgba(248,250,252,0.35);
  font-size: 0.82rem;
  text-align: center;
  margin-top: 10px;
  line-height: 1.6;
}

/* ============================================================
   AGE MODAL
   ============================================================ */
#ageModal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15,12,40,0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

#ageModal.hidden { display: none; }

.ef-modal-box {
  background: rgba(30,27,75,0.95);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
  padding: clamp(36px, 5vw, 64px);
  max-width: 480px;
  width: 100%;
  text-align: center;
}

.ef-modal-box .ef-logo-icon { font-size: 2.5rem; display: block; margin-bottom: 20px; }

.ef-modal-box h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.ef-modal-box p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

.ef-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
#cookieBanner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 8000;
  width: min(600px, calc(100vw - 32px));
  background: rgba(20,17,55,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg);
  padding: 24px 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

#cookieBanner.hidden { display: none; }

#cookieBanner p {
  flex: 1;
  font-size: 0.88rem;
  color: var(--text-muted);
  min-width: 200px;
}

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

/* ============================================================
   TOAST
   ============================================================ */
.ef-toast-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 7000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ef-toast {
  padding: 14px 22px;
  background: rgba(30,27,75,0.95);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  font-size: 0.9rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  animation: toastIn 0.4s ease forwards;
  max-width: 320px;
}

.ef-toast.success { border-color: rgba(52,211,153,0.4); color: #6ee7b7; }
.ef-toast.error   { border-color: rgba(248,113,113,0.4); color: #fca5a5; }

@keyframes toastIn {
  from { opacity: 0; transform: translateY(16px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ============================================================
   GAME PAGE — full-bleed layout
   ============================================================ */
.ef-game-page-hero {
  padding-top: calc(72px + 40px);
  padding-bottom: 40px;
}

.ef-game-page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 10px;
}

.ef-game-page-hero p {
  color: var(--text-muted);
}

/* ============================================================
   WHITE PAGE (minimal)
   ============================================================ */
.ef-white-hero {
  padding-top: calc(72px + 32px);
  padding-bottom: 24px;
  text-align: center;
}

.ef-white-hero h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 10px;
}

.ef-white-hero p { color: var(--text-muted); }

/* ============================================================
   RESPONSIVE HELPERS
   ============================================================ */
@media (max-width: 640px) {
  :root { --section-py: 64px; }
  .ef-game-frame iframe { min-height: 380px !important; }
  .ef-footer-cols { grid-template-columns: 1fr 1fr; }
  #cookieBanner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 400px) {
  .ef-footer-cols { grid-template-columns: 1fr; }
}
