/* ═══════════════════════════════════════════════════════════════
   Play IFA Games — playifagames.org
   Design System & Full Stylesheet
   CENProject · 2026
═══════════════════════════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --bg-deep:      #0b0918;
  --bg-card:      #131025;
  --bg-alt:       #0e0b1e;
  --bg-navy:      #0a0f28;

  --gold:         #c9a227;
  --gold-light:   #f0c840;
  --gold-dim:     rgba(201, 162, 39, 0.15);
  --gold-border:  rgba(201, 162, 39, 0.25);
  --gold-glow:    rgba(201, 162, 39, 0.4);

  --amber:        #e8772a;
  --teal:         #00b4a6;
  --teal-dim:     rgba(0, 180, 166, 0.15);
  --teal-border:  rgba(0, 180, 166, 0.3);
  --purple:       #7c4dff;
  --crimson:      #b91c3a;
  --green:        #2d9e6b;

  --cream:        #f5f0e8;
  --text-body:    #c0b8d4;
  --text-muted:   #7a7298;

  --radius:       16px;
  --radius-sm:    10px;
  --radius-pill:  50px;

  --shadow:       0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-gold:  0 8px 40px rgba(201, 162, 39, 0.2);
  --shadow-teal:  0 8px 40px rgba(0, 180, 166, 0.15);

  --font-brand:   'Cinzel Decorative', serif;
  --font-display: 'Playfair Display', serif;
  --font-body:    'Inter', sans-serif;
  --font-game:    'Space Grotesk', sans-serif;

  --transition:   all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background-color: var(--bg-deep);
  color: var(--text-body);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ══════════════════════════════════════════════════════════════
   ANNOUNCE BAR
══════════════════════════════════════════════════════════════ */
.announce-bar {
  background: linear-gradient(90deg, #1a0a4e, #0e0b2e, #1a0a4e);
  border-bottom: 1px solid var(--gold-border);
  overflow: hidden;
  height: 36px;
  display: flex;
  align-items: center;
}

.announce-track {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-family: var(--font-game);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold);
  text-transform: uppercase;
  padding-left: 100%;
}

.announce-track .sep {
  opacity: 0.4;
  color: var(--cream);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 36px;
  left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: var(--transition);
}

.navbar.scrolled {
  top: 0;
  background: rgba(11, 9, 24, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gold-border);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.4);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.logo-mark {
  display: flex;
  align-items: center;
  font-family: var(--font-brand);
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
}
.logo-o   { color: var(--gold); }
.logo-bar { color: var(--cream); margin-left: 1px; }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 1px;
}
.logo-ifa {
  font-family: var(--font-brand);
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 0.18em;
}
.logo-games {
  font-family: var(--font-game);
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

/* Nav links */
.nav-links {
  display: flex;
  gap: 1.2rem;
  margin-left: auto;
  align-items: center;
}
.nav-links a {
  color: var(--text-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--cream);
  font-size: 1.4rem;
  padding: 0.25rem;
  margin-left: auto;
  line-height: 1;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-game);
  font-size: 0.875rem;
  font-weight: 700;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.btn-lg { padding: 0.875rem 2.25rem; font-size: 1rem; }

.btn-nav {
  background: var(--gold);
  color: #0b0918;
  border-color: var(--gold);
  font-size: 0.8rem;
  padding: 0.5rem 1.2rem;
}
.btn-nav:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--amber));
  color: #0b0918;
  border-color: transparent;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
  filter: brightness(1.05);
}

.btn-secondary {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-secondary:hover {
  background: var(--gold-dim);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: rgba(245, 240, 232, 0.25);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: transparent;
}
.btn-ghost:hover { color: var(--cream); }

/* ══════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 10rem 2rem 6rem;
  background: radial-gradient(ellipse 100% 80% at 50% -10%, #1f0a5e 0%, var(--bg-deep) 65%);
}

/* Background orbs */
.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: 0.35;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #3d1a9e 0%, transparent 70%);
  top: -200px; left: -100px;
  animation: orbFloat 12s ease-in-out infinite;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #c9a22730 0%, transparent 70%);
  top: 20%; right: -100px;
  animation: orbFloat 16s ease-in-out infinite reverse;
}
.orb-3 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #00b4a615 0%, transparent 70%);
  bottom: -100px; left: 30%;
  animation: orbFloat 20s ease-in-out infinite;
}

/* Dot grid pattern */
.hero-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle, rgba(201,162,39,0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

/* Large backdrop glyph */
.hero-backdrop-glyph {
  position: absolute;
  font-family: var(--font-brand);
  font-weight: 900;
  font-size: 40vw;
  color: var(--gold);
  opacity: 0.02;
  pointer-events: none;
  user-select: none;
  line-height: 1;
  letter-spacing: -0.05em;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
}

.hero-badge {
  display: inline-block;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  color: var(--gold);
  padding: 0.4rem 1.5rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-game);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  animation: fadeInDown 0.8s ease both;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease 0.15s both;
}
.hero-title-line1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--cream);
  letter-spacing: 0.04em;
  line-height: 1.1;
  opacity: 0.9;
}
.hero-title-line2 {
  font-family: var(--font-brand);
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 45%, var(--amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease 0.45s both;
}

/* Animated glyph row */
.hero-glyphs {
  display: flex;
  gap: 1.75rem;
  justify-content: center;
  animation: fadeInUp 0.8s ease 0.6s both;
}
.hg {
  font-family: var(--font-brand);
  font-size: 1.6rem;
  color: var(--gold);
  opacity: 0.25;
  animation: glyphPulse 3s ease infinite;
}
.hg:nth-child(2)  { animation-delay: 0.4s; }
.hg:nth-child(3)  { animation-delay: 0.8s; }
.hg:nth-child(4)  { animation-delay: 1.2s; }
.hg:nth-child(5)  { animation-delay: 1.6s; }
.hg:nth-child(6)  { animation-delay: 2.0s; }
.hg:nth-child(7)  { animation-delay: 2.4s; }
.hg:nth-child(8)  { animation-delay: 2.8s; }

.hero-scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: fadeIn 1s ease 1.2s both;
}
.scroll-arrow { animation: bounce 2s ease infinite; font-size: 1rem; }

/* ══════════════════════════════════════════════════════════════
   STATS BAR
══════════════════════════════════════════════════════════════ */
.stats-bar {
  background: linear-gradient(135deg, #140a3e, #0e0b2e, #0a1030);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  padding: 2.25rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 3.5rem;
}
.stat-num {
  font-family: var(--font-brand);
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-family: var(--font-game);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 0.3rem;
}
.stat-divider {
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, transparent, var(--gold-border), transparent);
}

/* ══════════════════════════════════════════════════════════════
   SECTION COMMONS
══════════════════════════════════════════════════════════════ */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-game);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.3rem 1.1rem;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}
.ifa-tag   { color: var(--gold); border-color: var(--gold-border); }
.orisa-tag { color: var(--teal); border-color: var(--teal-border); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════════
   GAMES SECTIONS
══════════════════════════════════════════════════════════════ */
.games-section {
  padding: 7rem 0;
}

.orisa-section {
  background: linear-gradient(180deg, var(--bg-deep) 0%, #07121e 50%, var(--bg-deep) 100%);
}

/* ── Games Grid ── */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.game-card-wide { grid-column: span 2; }

/* ── Game Card ── */
.game-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}
.game-card:hover {
  border-color: var(--gold-glow);
  transform: translateY(-5px);
  box-shadow: var(--shadow-gold);
}
.orisa-card {
  border-color: var(--teal-border);
}
.orisa-card:hover {
  border-color: rgba(0, 180, 166, 0.6);
  box-shadow: var(--shadow-teal);
}

/* ── Reveal Animation ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════════════════════════
   CARD ART AREAS
══════════════════════════════════════════════════════════════ */
.card-art {
  position: relative;
  height: 190px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Faint glyph watermark */
.art-glyph-bg {
  position: absolute;
  bottom: -12px; right: -8px;
  font-family: var(--font-brand);
  font-size: 6rem;
  font-weight: 900;
  color: #ffffff;
  opacity: 0.035;
  pointer-events: none;
  letter-spacing: -0.1em;
  line-height: 1;
  user-select: none;
}

/* Art content centering */
.card-art-main {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%; height: 100%;
}

/* Hover overlay */
.card-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 9, 24, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 10;
  backdrop-filter: blur(2px);
}
.game-card:hover .card-hover-overlay { opacity: 1; }
.hover-play {
  font-family: var(--font-game);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  border: 2px solid var(--gold);
  padding: 0.6rem 1.75rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.05em;
  transform: translateY(4px);
  transition: transform 0.25s ease;
}
.orisa-overlay .hover-play {
  color: var(--teal);
  border-color: var(--teal);
}
.game-card:hover .hover-play { transform: translateY(0); }

/* ── Quiz Art ── */
.quiz-art {
  background: linear-gradient(145deg, #190940 0%, #2d1266 60%, #4a1a8a 100%);
}
.big-symbol {
  font-family: var(--font-brand);
  font-size: 5.5rem;
  font-weight: 900;
  color: var(--gold);
  text-shadow: 0 0 60px rgba(201, 162, 39, 0.6), 0 0 120px rgba(201, 162, 39, 0.3);
  line-height: 1;
  animation: symbolGlow 3s ease infinite;
}

/* ── Match Art ── */
.match-art {
  background: linear-gradient(145deg, #091e2a 0%, #0d3d50 55%, #1a5a6a 100%);
}
.flip-pair {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}
.flip-face {
  width: 72px; height: 95px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-brand);
  font-size: 2.2rem;
  font-weight: 900;
  border: 2px solid rgba(201, 162, 39, 0.35);
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}
.face-front {
  background: linear-gradient(145deg, #1a5a6a, #2d9e6b);
  color: var(--gold);
}
.face-back {
  background: linear-gradient(145deg, #0d3d50, #1a5a6a);
  color: var(--cream);
  font-family: var(--font-game);
  font-size: 1rem;
  font-weight: 700;
  transform: rotateY(8deg);
}

/* ── Binary Art ── */
.binary-art {
  background: linear-gradient(145deg, #02091a 0%, #091525 55%, #0c1e3d 100%);
}
.binary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem 0.8rem;
}
.binary-grid span {
  font-family: var(--font-game);
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal);
  text-shadow: 0 0 12px rgba(0, 180, 166, 0.7);
  text-align: center;
  line-height: 1;
}
.binary-grid span:nth-child(2n) { color: rgba(0, 180, 166, 0.35); }
.binary-grid span:nth-child(3n) { color: rgba(0, 180, 166, 0.6); }

/* ── IfaBin Live Card ── */
.game-card--live {
  display: block;
  text-decoration: none;
  border-color: var(--gold-glow);
  box-shadow: 0 0 0 1px rgba(201,162,39,0.15), var(--shadow-gold);
  position: relative;
}
.game-card--live:hover {
  border-color: var(--gold-light);
  transform: translateY(-6px);
  box-shadow: 0 0 0 1px rgba(201,162,39,0.3), 0 12px 50px rgba(201,162,39,0.3);
}

.binary-art--live {
  background: linear-gradient(145deg, #0a0618 0%, #140a2e 40%, #1a0d3a 70%, #0e1428 100%);
}

.card-live-badge {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 5;
  background: linear-gradient(135deg, var(--gold), var(--amber));
  color: #0a0618;
  font-family: var(--font-game);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  padding: 0.28rem 0.75rem;
  border-radius: var(--radius-pill);
  animation: livePulse 2.5s ease infinite;
}
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 8px rgba(201,162,39,0.5); }
  50%       { box-shadow: 0 0 22px rgba(201,162,39,0.9), 0 0 40px rgba(201,162,39,0.4); }
}

.ifabin-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
}
.ifabin-icon__row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.ifabin-icon__row--sub { opacity: 0.5; }
.ibi {
  font-family: var(--font-brand);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  transition: transform 0.3s ease;
}
.ibi--o   { color: var(--gold); text-shadow: 0 0 16px rgba(201,162,39,0.7); }
.ibi--bar { color: var(--cream); opacity: 0.85; }
.game-card--live:hover .ibi { transform: scale(1.08); }
.ifabin-icon__label {
  font-family: var(--font-game);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: 0.2rem;
}

.hover-play--live {
  background: linear-gradient(135deg, var(--gold), var(--amber));
  color: #0b0918 !important;
  border-color: transparent !important;
  box-shadow: 0 0 20px rgba(201,162,39,0.5);
}

.badge-live {
  background: linear-gradient(135deg, var(--gold), var(--amber));
  color: #0b0918;
  border: none;
  font-weight: 800;
  animation: livePulse 2.5s ease infinite;
}

/* ── Gates Art ── */
.gates-art {
  background: linear-gradient(145deg, #190308 0%, #3d0a1a 55%, #6b1030 100%);
}
.gate-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 120px; height: 130px;
}
.gate-arch {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 115px;
  border: 4px solid var(--gold);
  border-bottom: none;
  border-radius: 55px 55px 0 0;
  box-shadow: 0 0 30px rgba(201, 162, 39, 0.35), inset 0 0 20px rgba(201, 162, 39, 0.06);
}
.gate-arch::before {
  content: '';
  position: absolute;
  top: 12px; left: 12px; right: 12px; bottom: 0;
  border: 2px solid rgba(201, 162, 39, 0.25);
  border-bottom: none;
  border-radius: 44px 44px 0 0;
}
.gate-num {
  font-family: var(--font-brand);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold);
  text-shadow: 0 0 24px rgba(201, 162, 39, 0.7);
  position: relative;
  z-index: 1;
  margin-bottom: 4px;
}

/* ── Ayo Art ── */
.ayo-art {
  background: linear-gradient(145deg, #160900 0%, #3a1a00 55%, #6b3500 100%);
  height: 140px;
}
.ayo-main {
  padding: 0 1.5rem;
}
.ayo-board-preview {
  width: 100%;
}
.ayo-row {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.ayo-pit {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #8b5e00, #3d2200);
  border: 2px solid rgba(201, 162, 39, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-game);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold);
  box-shadow: inset 0 3px 10px rgba(0,0,0,0.6), 0 2px 6px rgba(201, 162, 39, 0.15);
  flex-shrink: 0;
}
.ayo-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 0.5rem;
}
.ayo-label {
  font-family: var(--font-game);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ayo-vs {
  font-family: var(--font-game);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── Orisa Quiz Art ── */
.orisa-quiz-art {
  background: linear-gradient(145deg, #0d0828 0%, #1c0a50 55%, #2d0a7a 100%);
}
.orisa-trio {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.osym {
  font-size: 2.5rem;
  filter: drop-shadow(0 0 12px rgba(124, 77, 255, 0.6));
  transition: transform 0.3s ease;
}
.osym.big { font-size: 3.5rem; }
.game-card:hover .osym { transform: scale(1.1); }

/* ── Orisa Match Art ── */
.orisa-match-art {
  background: linear-gradient(145deg, #002624 0%, #004840 55%, #006858 100%);
}
.orisa-face {
  background: linear-gradient(145deg, #006858, #00b4a6) !important;
  color: var(--cream) !important;
  font-family: var(--font-game) !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  border-color: rgba(0, 180, 166, 0.4) !important;
}
.orisa-face.face-back {
  background: linear-gradient(145deg, #004840, #006858) !important;
  font-size: 2.2rem !important;
}

/* ── Quest Art ── */
.quest-art {
  background: linear-gradient(145deg, #080830 0%, #160860 55%, #240896 100%);
}
.quest-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  z-index: 1;
}
.quest-stars-row {
  display: flex;
  gap: 1rem;
  font-size: 2rem;
  color: var(--gold);
}
.quest-stars-row span:nth-child(2n) {
  color: rgba(201, 162, 39, 0.35);
  font-size: 1.4rem;
  margin-top: 4px;
}
.quest-arrow {
  font-size: 2.5rem;
  color: var(--teal);
  opacity: 0.7;
  animation: arrowSlide 2s ease infinite;
}

/* ── Realm Art ── */
.realm-art {
  background: linear-gradient(145deg, #080f08 0%, #102010 55%, #183018 100%);
}
.realm-rings {
  position: relative;
  width: 110px; height: 110px;
}
.rring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.r1 { width: 110px; height: 110px; border-color: rgba(0, 180, 166, 0.5); animation: spin 12s linear infinite; }
.r2 { width: 75px; height: 75px; border-color: rgba(0, 180, 166, 0.3); animation: spin 8s linear infinite reverse; }
.r3 { width: 40px; height: 40px; border-color: rgba(0, 180, 166, 0.6); background: rgba(0, 180, 166, 0.12); }

/* ══════════════════════════════════════════════════════════════
   CARD BODY
══════════════════════════════════════════════════════════════ */
.card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.card-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.tag {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-game);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.tag-ifa       { background: var(--gold-dim);               color: var(--gold); }
.tag-orisa     { background: var(--teal-dim);               color: var(--teal); }
.tag-quiz      { background: rgba(124,  77, 255, 0.15);     color: #a67cff; }
.tag-memory    { background: rgba(  0, 180, 166, 0.15);     color: var(--teal); }
.tag-puzzle    { background: rgba( 45, 158, 107, 0.15);     color: #4ad89a; }
.tag-adventure { background: rgba(185,  28,  58, 0.15);     color: #ff6b8a; }
.tag-strategy  { background: rgba(232, 119,  42, 0.15);     color: var(--amber); }
.tag-board     { background: rgba( 90,  60,   0, 0.35);     color: #c9922a; }
.tag-new       { background: rgba(  0, 200, 100, 0.15);     color: #00c864; }
.tag-upcoming  { background: rgba(124,  77, 255, 0.12);     color: #9d80ff; }

.card-title {
  font-family: var(--font-game);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.card-title--yoruba {
  font-family: 'Noto Serif', serif;
  font-weight: 600;
}

.card-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.1rem;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.card-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 0.28rem 0.75rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-game);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.badge-soon     { background: var(--gold-dim);   color: var(--gold);  border: 1px solid var(--gold-border); }
.badge-orisa    { background: var(--teal-dim);   color: var(--teal);  border: 1px solid var(--teal-border); }
.badge-upcoming { background: rgba(124,77,255,.12); color: #9d80ff;   border: 1px solid rgba(124,77,255,.25); }

/* ══════════════════════════════════════════════════════════════
   FEATURES SECTION
══════════════════════════════════════════════════════════════ */
.features-section {
  padding: 7rem 0;
  background: linear-gradient(180deg, var(--bg-deep) 0%, #0c0920 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
}
.feature-card:hover {
  border-color: var(--gold-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.feature-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.feature-card h3 {
  font-family: var(--font-game);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 0.5rem;
}
.feature-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ══════════════════════════════════════════════════════════════
   ABOUT SECTION
══════════════════════════════════════════════════════════════ */
.about-section {
  padding: 7rem 0;
  background: linear-gradient(135deg, #0d0a2e 0%, var(--bg-deep) 50%, #0a140e 100%);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: center;
}

/* Symbol ring */
.about-visual { display: flex; justify-content: center; }
.symbol-ring-wrap {
  position: relative;
  width: 300px; height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ring-outer {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(201, 162, 39, 0.3);
  animation: spin 24s linear infinite;
}
.ring-outer::before {
  content: '';
  position: absolute;
  top: -5px; left: 50%;
  width: 10px; height: 10px;
  background: var(--gold);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 10px var(--gold);
}
.ring-mid {
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, 0.15);
  animation: spin 18s linear infinite reverse;
}
.ring-inner {
  position: absolute;
  inset: 60px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 10, 78, 0.8), transparent);
  border: 1px dashed rgba(201, 162, 39, 0.12);
}
.ring-glyph {
  position: relative;
  z-index: 2;
  font-family: var(--font-brand);
  font-size: 4.5rem;
  font-weight: 900;
  color: var(--gold);
  text-shadow: 0 0 40px rgba(201, 162, 39, 0.5), 0 0 80px rgba(201, 162, 39, 0.2);
  letter-spacing: 0.1em;
}

/* About text */
.about-content .section-tag { display: inline-block; margin-bottom: 1rem; }
.about-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.25;
  margin-bottom: 1.5rem;
}
.about-content p {
  font-size: 0.975rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.about-content strong { color: var(--gold); font-weight: 600; }
.about-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* ══════════════════════════════════════════════════════════════
   PLATFORM STRIP
══════════════════════════════════════════════════════════════ */
.platform-strip {
  background: linear-gradient(90deg, #1a0a4e, #0e0b2e, #0a1a3e, #0e0b2e, #1a0a4e);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  padding: 1.5rem 2rem;
}
.strip-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}
.strip-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 2rem;
  font-family: var(--font-game);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-body);
  letter-spacing: 0.03em;
}
.strip-icon { font-size: 1.1rem; }
.strip-divider {
  width: 1px;
  height: 24px;
  background: linear-gradient(180deg, transparent, rgba(201,162,39,0.2), transparent);
}

/* ══════════════════════════════════════════════════════════════
   NEWSLETTER SECTION
══════════════════════════════════════════════════════════════ */
.newsletter-section {
  padding: 7rem 0;
  background: linear-gradient(135deg, #160a4e 0%, #0d0a2e 50%, #0a1040 100%);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
}
.newsletter-inner {
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
}
.nl-glyph {
  font-family: var(--font-brand);
  font-size: 4rem;
  font-weight: 900;
  color: var(--gold);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 1rem;
  text-shadow: 0 0 40px rgba(201, 162, 39, 0.4);
}
.newsletter-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--cream);
  margin-bottom: 0.75rem;
  font-weight: 700;
}
.newsletter-inner > p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1rem;
}
.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto 1rem;
}
.nl-input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-pill);
  padding: 0.8rem 1.5rem;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
  min-width: 0;
}
.nl-input:focus { border-color: var(--gold); }
.nl-input::placeholder { color: var(--text-muted); }
.nl-note {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.footer { background: #06040e; }

.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 3rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  border-bottom: 1px solid rgba(201, 162, 39, 0.1);
}

.footer-logo { margin-bottom: 1rem; }
.footer-tagline {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gold);
  font-style: italic;
  margin-bottom: 0.5rem;
}
.footer-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.footer-links {
  display: flex;
  gap: 3rem;
  justify-content: flex-end;
}
.footer-col h4 {
  font-family: var(--font-game);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul a {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--gold); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════════════
   COMICS SECTIONS
══════════════════════════════════════════════════════════════ */
.ifa-comics-section {
  background: linear-gradient(180deg, var(--bg-deep) 0%, #0e0825 50%, var(--bg-deep) 100%);
}

.orisa-comics-section {
  background: linear-gradient(180deg, var(--bg-deep) 0%, #051218 50%, var(--bg-deep) 100%);
}

/* ── Comics Grid (same layout as games-grid) ── */
.comics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* ── Comic Card (inherits game-card, adds teal override for Orisa) ── */
.orisa-comic-card {
  border-color: var(--teal-border);
}
.orisa-comic-card:hover {
  border-color: rgba(0, 180, 166, 0.6);
  box-shadow: var(--shadow-teal);
}

/* ── Comic Art Area ── */
.comic-art {
  height: 190px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.comic-art--wide { height: 140px; }

/* Ifa Comics art — deep indigo with gold halftone dots */
.ifa-comic-art {
  background: linear-gradient(145deg, #130630 0%, #241060 55%, #361888 100%);
}
.ifa-comic-art::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(201,162,39,0.13) 1.5px, transparent 1.5px);
  background-size: 13px 13px;
  pointer-events: none;
  z-index: 0;
}

/* Orisa Comics art — deep teal with teal halftone dots */
.orisa-comic-art {
  background: linear-gradient(145deg, #041820 0%, #0a2c38 55%, #0e4050 100%);
}
.orisa-comic-art::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,180,166,0.13) 1.5px, transparent 1.5px);
  background-size: 13px 13px;
  pointer-events: none;
  z-index: 0;
}

/* Inner panel border — simulates a comic-book frame */
.comic-panel-border {
  position: absolute;
  inset: 9px;
  border-radius: 5px;
  pointer-events: none;
  z-index: 1;
}
.ifa-comic-art  .comic-panel-border { border: 2px solid rgba(201,162,39,0.18); }
.orisa-comic-art .comic-panel-border { border: 2px solid rgba(0,180,166,0.18); }

/* Large issue number — very faint, like a cover watermark */
.comic-cover-num {
  font-family: var(--font-brand);
  font-size: 7rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--gold);
  opacity: 0.14;
  position: relative;
  z-index: 2;
  text-shadow: 0 0 60px rgba(201,162,39,0.5);
}
.orisa-cover-num {
  color: var(--teal);
  text-shadow: 0 0 60px rgba(0,180,166,0.5);
}

/* Sacred Gates visual for card 2 */
.comic-gates-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  position: relative;
  z-index: 2;
}
.comic-gate-arch {
  width: 88px;
  height: 78px;
  border: 3px solid rgba(201,162,39,0.38);
  border-bottom: none;
  border-radius: 44px 44px 0 0;
  box-shadow: 0 0 20px rgba(201,162,39,0.18), inset 0 0 12px rgba(201,162,39,0.05);
}
.comic-gate-num {
  font-family: var(--font-brand);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--gold);
  text-shadow: 0 0 18px rgba(201,162,39,0.65);
  position: relative;
  z-index: 2;
}

/* O| glyph grid for Babalawo Chronicles wide card */
.comic-glyph-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem 1.5rem;
  position: relative;
  z-index: 2;
}
.cgg {
  font-family: var(--font-brand);
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
  color: var(--gold);
  opacity: 0.13;
  text-align: center;
}
.cgg--bar { opacity: 0.08; }

/* Tag styles for comics */
.tag-comics      { background: rgba(201,162,39,0.12); color: #d4a62a; }
.tag-orisacomics { background: rgba(0,180,166,0.12);  color: var(--teal); }

/* ══════════════════════════════════════════════════════════════
   KEYFRAME ANIMATIONS
══════════════════════════════════════════════════════════════ */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes glyphPulse {
  0%, 100% { opacity: 0.2; text-shadow: none; }
  50%       { opacity: 0.7; text-shadow: 0 0 20px rgba(201, 162, 39, 0.5); }
}
@keyframes symbolGlow {
  0%, 100% { text-shadow: 0 0 40px rgba(201, 162, 39, 0.4), 0 0 80px rgba(201, 162, 39, 0.15); }
  50%       { text-shadow: 0 0 60px rgba(201, 162, 39, 0.8), 0 0 120px rgba(201, 162, 39, 0.4); }
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(7px); }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  33%       { transform: translate(30px, -20px); }
  66%       { transform: translate(-20px, 15px); }
}
@keyframes arrowSlide {
  0%, 100% { transform: translateX(0); opacity: 0.7; }
  50%       { transform: translateX(6px); opacity: 1; }
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 960px) {
  .game-card-wide { grid-column: span 1; }
  .comic-art--wide { height: 190px; }
  .ayo-art { height: 190px; }
  .ayo-pit { width: 38px; height: 38px; font-size: 0.8rem; }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-visual { display: none; }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-links { justify-content: flex-start; flex-wrap: wrap; gap: 2rem; }
}

/* Mobile */
@media (max-width: 768px) {
  .announce-bar { height: 30px; }
  .announce-track { font-size: 0.65rem; }

  .navbar { top: 30px; }
  .navbar.scrolled { top: 0; }

  .nav-links {
    display: none;
    position: fixed;
    top: 30px; left: 0; right: 0;
    background: rgba(11, 9, 24, 0.98);
    backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 4rem 2rem 2rem;
    border-bottom: 1px solid var(--gold-border);
    gap: 1.5rem;
    font-size: 1rem;
    height: 100vh;
    z-index: 999;
  }
  .nav-links.nav-open { display: flex; }
  .navbar.scrolled .nav-links { top: 0; }
  .btn-nav { display: none; }
  .nav-toggle { display: block; }

  .hero { padding: 8rem 1.5rem 5rem; min-height: 100svh; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn-lg { width: 100%; max-width: 300px; justify-content: center; }

  .stats-bar { padding: 1.75rem 1.5rem; gap: 0.5rem; }
  .stat { padding: 0.5rem 2rem; }
  .stat-divider { display: none; }

  .games-grid { grid-template-columns: 1fr; }
  .comics-grid { grid-template-columns: 1fr; }
  .comic-art--wide { height: 190px; }
  .ayo-row { gap: 0.35rem; }
  .ayo-pit { width: 36px; height: 36px; font-size: 0.75rem; }

  .newsletter-form { flex-direction: column; }
  .nl-input { text-align: center; }

  .footer-bottom { flex-direction: column; text-align: center; }

  .strip-container { gap: 0.5rem 0; }
  .strip-divider { display: none; }
  .strip-item { padding: 0.4rem 1rem; }
}

/* Small mobile */
@media (max-width: 480px) {
  .section-container { padding: 0 1.25rem; }
  .games-section { padding: 5rem 0; }
  .features-section { padding: 5rem 0; }
  .about-section { padding: 5rem 0; }
  .newsletter-section { padding: 5rem 0; }

  .hero-glyphs { gap: 1rem; }
  .hg { font-size: 1.2rem; }

  .stat-num { font-size: 2.2rem; }

  .footer-links { flex-direction: column; gap: 1.75rem; }
}
