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

/* ─── DARK THEME (default) ────────────────────────────────────── */
:root,
[data-theme="dark"] {
  --bg:          #0a0b02;
  --bg-card:     #131500;
  --bg-dark:     #070800;
  --purple:      #F9D900;
  --purple-dim:  #C9AE00;
  --purple-glow: rgba(249, 217, 0, 0.35);
  --teal:        #8DC900;
  --teal-glow:   rgba(141, 201, 0, 0.3);
  --text:        #F0EFD5;
  --text-muted:  #888866;
  --border:      rgba(249, 217, 0, 0.18);
  --shadow:      rgba(0,0,0,.7);
  --radius:      12px;
  --radius-lg:   20px;
  --transition:  .3s cubic-bezier(.4,0,.2,1);
}

/* ─── LIGHT THEME ─────────────────────────────────────────────── */
[data-theme="light"] {
  --bg:          #FAFAF0;
  --bg-card:     #FFFFFF;
  --bg-dark:     #F0EFDA;
  --purple:      #B89800;
  --purple-dim:  #8A7200;
  --purple-glow: rgba(184, 152, 0, 0.2);
  --teal:        #5E8800;
  --teal-glow:   rgba(94, 136, 0, 0.2);
  --text:        #1A1800;
  --text-muted:  #555533;
  --border:      rgba(184, 152, 0, 0.22);
  --shadow:      rgba(0,0,0,.12);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Exo 2', sans-serif;
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
  transition: background .3s, color .3s;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ─── SCROLLBAR ───────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--purple-dim); border-radius: 3px; }

/* ─── TYPOGRAPHY ──────────────────────────────────────────────── */
.accent { color: var(--teal); }
.section-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: .85rem;
  letter-spacing: .2em;
  color: var(--purple);
  text-transform: uppercase;
  margin-bottom: .75rem;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 3rem;
}

/* ─── LAYOUT ──────────────────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 6rem 0; }
.section-dark { background: var(--bg-dark); }

/* ─── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.6rem;
  border-radius: 8px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary {
  background: var(--purple);
  color: #fff;
  border-color: var(--purple);
  box-shadow: 0 0 20px var(--purple-glow);
}
.btn-primary:hover {
  background: #a55fff;
  border-color: #a55fff;
  box-shadow: 0 0 32px rgba(249,217,0,.55);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover {
  border-color: var(--purple);
  color: var(--purple);
  transform: translateY(-2px);
}
.btn-lg  { padding: .9rem 2rem; font-size: 1.1rem; }
.btn-sm  { padding: .45rem 1rem; font-size: .9rem; }

/* ─── NAVBAR ──────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background var(--transition), padding var(--transition), backdrop-filter var(--transition);
}
#navbar.scrolled {
  background: rgba(8,8,15,.88);
  backdrop-filter: blur(12px);
  padding: .6rem 0;
  border-bottom: 1px solid var(--border);
}
[data-theme="light"] #navbar.scrolled {
  background: rgba(244,244,251,.92);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-logo {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--text);
}
.logo-bracket { color: var(--teal); }
.nav-links {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
}
.nav-links a {
  font-family: 'Rajdhani', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--teal); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-left: 1rem;
}

/* Theme Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
  flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: var(--purple);
  color: var(--purple);
  transform: rotate(20deg);
}
.theme-toggle svg { width: 16px; height: 16px; }
[data-theme="dark"]  .icon-sun  { display: block; }
[data-theme="dark"]  .icon-moon { display: none;  }
[data-theme="light"] .icon-sun  { display: none;  }
[data-theme="light"] .icon-moon { display: block; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.burger span {
  display: block; width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ─── HERO ────────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}
.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(249,217,0,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(249,217,0,.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(249,217,0,.18) 0%, transparent 70%);
  top: -100px; left: -100px;
}
.glow-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,212,170,.14) 0%, transparent 70%);
  bottom: -50px; right: -80px;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 9rem 1.5rem 5rem;
  width: 100%;
}
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(249,217,0,.15);
  border: 1px solid rgba(249,217,0,.4);
  border-radius: 100px;
  padding: .35rem 1rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--purple);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInDown .6s .2s forwards;
}
.live-dot {
  width: 8px; height: 8px;
  background: #ef4444;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 1.5s infinite;
}

.hero-title {
  display: flex;
  flex-direction: column;
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.02em;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp .7s .4s forwards;
}
.title-line { color: var(--text); }
.title-line.accent {
  color: transparent;
  -webkit-text-stroke: 2px var(--teal);
  text-shadow: 0 0 40px var(--teal-glow);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  opacity: 0;
  animation: fadeInUp .7s .55s forwards;
}
.hero-sub em { color: var(--teal); font-style: normal; font-weight: 600; }

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeInUp .7s .7s forwards;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeInUp .7s .85s forwards;
}
.stat { text-align: center; }
.stat-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--teal);
}
.stat span { color: var(--teal); }
.stat-label {
  display: block;
  font-size: .8rem;
  letter-spacing: .08em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* Countdown in Hero */
.hero-countdown {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2.5rem;
  opacity: 0;
  animation: fadeInUp .7s 1s forwards;
}
.hcd-label {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .15em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.hcd-units {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.hcd-unit { text-align: center; }
.hcd-num {
  display: block;
  font-family: 'Rajdhani', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--teal);
  min-width: 3ch;
  line-height: 1;
}
.hcd-sub {
  display: block;
  font-size: .7rem;
  letter-spacing: .1em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.hcd-sep {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2rem;
  color: var(--border);
  margin-bottom: 1rem;
}
.hcd-info {
  font-size: .85rem;
  color: var(--text-muted);
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: .08em;
}

/* ─── NOW PLAYING ─────────────────────────────────────────────── */
.np-card {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  max-width: 800px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.np-card:hover {
  border-color: var(--purple);
  box-shadow: 0 8px 40px var(--purple-glow);
}
.np-art {
  font-size: 3.5rem;
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: rgba(249,217,0,.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.np-info { flex: 1; }
.np-badge-live {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: 'Rajdhani', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--purple);
  text-transform: uppercase;
  margin-bottom: .4rem;
}
.np-title {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: .3rem;
}
.np-genre {
  font-size: .85rem;
  color: var(--text-muted);
  background: rgba(249,217,0,.1);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: .2rem .7rem;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
}

/* ─── ABOUT ───────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 5rem;
  align-items: start;
}
.about-avatar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.avatar-ring {
  width: 220px; height: 220px;
  border-radius: var(--radius-lg);
  background: conic-gradient(var(--purple), var(--teal), var(--purple));
  padding: 3px;
  animation: spin 10s linear infinite;
}
.avatar-inner {
  width: 100%; height: 100%;
  border-radius: calc(var(--radius-lg) - 2px);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.avatar-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 2px);
}
.avatar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
}
.tag {
  background: rgba(249,217,0,.12);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: .3rem .9rem;
  font-size: .8rem;
  color: var(--text-muted);
}
.about-text h2 { font-size: 2.4rem; font-weight: 900; margin-bottom: 1rem; }
.about-lead { font-size: 1.1rem; color: var(--text); margin-bottom: 1rem; }
.about-text p { color: var(--text-muted); margin-bottom: .75rem; }
.about-highlights { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.highlight {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), transform var(--transition);
}
.highlight:hover { border-color: var(--purple); transform: translateX(4px); }
.highlight-icon { font-size: 1.5rem; flex-shrink: 0; }
.highlight strong { display: block; font-size: .95rem; color: var(--text); }
.highlight span   { font-size: .85rem; color: var(--text-muted); }

/* ─── LIVE / STREAM ───────────────────────────────────────────── */
.stream-container { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.stream-frame {
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border);
  background: var(--bg-card);
  position: relative;
}
.stream-frame iframe { width: 100%; height: 100%; border: none; display: block; }
.stream-placeholder {
  position: absolute; inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  padding: 2rem;
}
.stream-placeholder-icon svg { width: 64px; height: 64px; color: var(--purple); opacity: .6; }
.stream-placeholder h3 { font-size: 1.4rem; font-weight: 700; }
.stream-placeholder p  { color: var(--text-muted); font-size: .95rem; }
.stream-btns { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center; margin-top: .5rem; }
.stream-chat-link { display: flex; gap: 1rem; }

/* ─── GAMES ───────────────────────────────────────────────────── */
.games-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.game-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: border-color var(--transition), transform var(--transition);
  overflow: hidden;
}
.game-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(249,217,0,.06) 0%, transparent 60%);
  border-radius: inherit;
  pointer-events: none;
}
.game-card:hover { border-color: var(--purple); transform: translateY(-6px); }
.game-card:hover .game-card-glow { opacity: 1; }
.game-card-glow {
  position: absolute; top: -40px; right: -40px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, var(--purple-glow) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}
.game-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.game-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .5rem; }
.game-card p  { font-size: .9rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.game-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.game-tags span {
  background: rgba(249,217,0,.1);
  border: 1px solid rgba(249,217,0,.25);
  border-radius: 6px;
  padding: .2rem .6rem;
  font-size: .75rem;
  color: var(--purple);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 600;
  letter-spacing: .04em;
}

/* ─── SCHEDULE ────────────────────────────────────────────────── */
.schedule-grid {
  display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem;
}
.schedule-day {
  flex: 1; min-width: 80px; max-width: 120px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem .75rem;
  text-align: center;
  transition: border-color var(--transition);
}
.schedule-day.active { border-color: rgba(249,217,0,.4); }
.day-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: .85rem; font-weight: 700; letter-spacing: .1em;
  color: var(--text-muted); text-transform: uppercase; margin-bottom: .75rem;
}
.day-status { font-family: 'Rajdhani', sans-serif; font-size: 1rem; font-weight: 700; }
.day-status.off { color: var(--text-muted); opacity: .4; }
.day-status.on { color: var(--teal); display: flex; align-items: center; justify-content: center; gap: .4rem; }
.s-dot { width: 7px; height: 7px; background: var(--teal); border-radius: 50%; display: inline-block; animation: pulse 1.5s infinite; }
.schedule-note { text-align: center; color: var(--text-muted); font-size: .85rem; margin-bottom: 2.5rem; }
.schedule-cta { text-align: center; }

/* ─── CONTACT / SOCIAL ────────────────────────────────────────── */
.social-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem; max-width: 760px;
}
.social-card {
  display: flex; align-items: center; gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.social-card:hover { transform: translateY(-4px); }
.social-card.twitch:hover { border-color: var(--purple); box-shadow: 0 8px 32px var(--purple-glow); }
.social-card.discord:hover { border-color: #5865F2; box-shadow: 0 8px 32px rgba(88,101,242,.3); }
.social-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.social-card.twitch  .social-icon { background: rgba(249,217,0,.15); }
.social-card.discord .social-icon { background: rgba(88,101,242,.15); }
.social-icon svg { width: 24px; height: 24px; }
.social-card.twitch  .social-icon svg { color: var(--purple); }
.social-card.discord .social-icon svg { color: #5865F2; }
.social-info { flex: 1; }
.social-info strong { display: block; font-weight: 700; margin-bottom: .1rem; }
.social-info span   { font-size: .85rem; color: var(--text-muted); }
.social-arrow { color: var(--text-muted); font-size: 1.2rem; }

/* ─── FOOTER ──────────────────────────────────────────────────── */
footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  background: var(--bg-dark);
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-brand {
  display: flex; align-items: center; gap: .75rem;
  font-family: 'Rajdhani', sans-serif; font-size: 1.3rem; font-weight: 700;
}
.footer-sub { color: var(--text-muted); font-size: .9rem; }
.footer-links { display: flex; align-items: center; gap: .75rem; }
.footer-links a {
  font-size: .85rem; color: var(--text-muted);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--purple); }
.footer-links span { color: var(--border); }
.footer-copy { font-size: .85rem; color: var(--text-muted); }
.footer-twitch {
  display: flex; align-items: center; gap: .5rem;
  color: var(--purple);
  font-family: 'Rajdhani', sans-serif; font-weight: 600; font-size: .9rem;
  transition: color var(--transition);
}
.footer-twitch svg { width: 18px; height: 18px; }
.footer-twitch:hover { color: #a55fff; }

/* ─── LEGAL PAGES ─────────────────────────────────────────────── */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 8rem 1.5rem 6rem;
}
.legal-page h1 { font-size: 2.5rem; font-weight: 900; margin-bottom: .5rem; }
.legal-page .legal-meta { color: var(--text-muted); font-size: .9rem; margin-bottom: 3rem; }
.legal-page h2 {
  font-size: 1.25rem; font-weight: 700;
  color: var(--purple); margin: 2.5rem 0 .75rem;
  font-family: 'Rajdhani', sans-serif; letter-spacing: .04em;
}
.legal-page p  { color: var(--text-muted); margin-bottom: .75rem; line-height: 1.7; }
.legal-page a  { color: var(--teal); }
.legal-page a:hover { text-decoration: underline; }
.legal-page ul { margin: .5rem 0 .75rem 1.5rem; list-style: disc; }
.legal-page ul li { color: var(--text-muted); margin-bottom: .3rem; }
.legal-nav {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--text-muted); font-size: .9rem;
  margin-bottom: 2rem;
  transition: color var(--transition);
}
.legal-nav:hover { color: var(--purple); }
.legal-nav::before { content: '←'; }

/* ─── ANIMATIONS ──────────────────────────────────────────────── */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.8); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-avatar-wrap { flex-direction: row; align-items: center; gap: 2rem; }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .np-card { flex-direction: column; text-align: center; }
}
@media (max-width: 700px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(8,8,15,.97);
    backdrop-filter: blur(12px);
    padding: 1.5rem; border-bottom: 1px solid var(--border); gap: 1.25rem;
  }
  .games-grid { grid-template-columns: 1fr; }
  .about-avatar-wrap { flex-direction: column; }
  .hero-stats { gap: 1.5rem; }
  .footer-inner { flex-direction: column; text-align: center; }
  .hero-countdown { padding: 1.25rem 1.5rem; }
  .hcd-num { font-size: 1.8rem; }
}
@media (max-width: 480px) {
  .hero-btns { flex-direction: column; align-items: center; }
  .schedule-day { min-width: 42px; padding: 1rem .5rem; }
  .hcd-units { gap: .25rem; }
}

/* ─── LIVE BADGE STATES ────────────────────────────────────────── */
.live-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  background: rgba(255,255,255,.07); border: 1px solid var(--border);
  padding: .45rem 1.1rem; border-radius: 50px;
  font-size: .75rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; margin-bottom: 1.5rem;
  transition: var(--transition);
}
.live-badge.is-live {
  background: rgba(233,25,22,.15);
  border-color: rgba(233,25,22,.5);
  box-shadow: 0 0 18px rgba(233,25,22,.25);
}
.live-badge.is-live .live-dot { background: #e91916 !important; }

/* Nav live pill */
.nav-live-pill {
  display: none; align-items: center; gap: .4rem;
  background: rgba(233,25,22,.15); border: 1px solid rgba(233,25,22,.4);
  color: #ff4b4b; padding: .3rem .8rem; border-radius: 50px;
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
}
.nav-live-pill .live-dot { width: 6px; height: 6px; background: #e91916; border-radius: 50%; animation: pulse 1.4s infinite; }

/* ─── EMOTES SECTION ───────────────────────────────────────────── */
.emotes-tabs {
  display: flex; gap: .75rem; margin-bottom: 2rem; flex-wrap: wrap;
}
.emote-tab {
  background: var(--bg-card); color: var(--text-muted);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: .6rem 1.4rem; font-family: inherit; font-size: .9rem;
  font-weight: 600; cursor: pointer; transition: var(--transition);
}
.emote-tab:hover { border-color: var(--purple); color: var(--text); }
.emote-tab.active {
  background: var(--purple); color: #fff;
  border-color: var(--purple);
  box-shadow: 0 0 14px var(--purple-glow);
}

.emotes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 1rem;
}
.emote-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1rem .75rem;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  cursor: default; transition: var(--transition);
}
.emote-item:hover {
  border-color: var(--purple);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px var(--purple-glow);
}
.emote-item img { width: 56px; height: 56px; object-fit: contain; }
.emote-name {
  font-size: .7rem; font-weight: 700; color: var(--text);
  text-align: center; word-break: break-all; line-height: 1.2;
}
.emote-type {
  font-size: .62rem; color: var(--text-muted);
  background: rgba(249,217,0,.12); padding: .15rem .5rem;
  border-radius: 50px; white-space: nowrap;
}
.emotes-loading { color: var(--text-muted); font-style: italic; padding: 2rem 0; grid-column: 1/-1; text-align: center; }
.emotes-error   { color: var(--text-muted); padding: 1rem 0; grid-column: 1/-1; text-align: center; }

.emotes-affiliate-msg {
  grid-column: 1/-1; text-align: center; padding: 3rem 1.5rem;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.emote-ph-icon { font-size: 3rem; }
.emotes-affiliate-msg h3 { font-size: 1.4rem; color: var(--text); }
.emotes-affiliate-msg p  { color: var(--text-muted); max-width: 380px; line-height: 1.7; }

/* ─── FAQ SECTION ──────────────────────────────────────────────── */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }

.faq-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--purple); }

.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1.1rem 1.4rem;
  background: none; border: none; color: var(--text);
  font-family: inherit; font-size: 1rem; font-weight: 600;
  cursor: pointer; text-align: left; transition: var(--transition);
}
.faq-q:hover { color: var(--purple); }
.faq-q span:first-child { flex: 1; }

.faq-arrow {
  font-size: 1.4rem; color: var(--text-muted); flex-shrink: 0;
  display: inline-block; transition: transform .35s cubic-bezier(.4,0,.2,1);
  line-height: 1;
}
.faq-item.open .faq-arrow { transform: rotate(90deg); color: var(--purple); }

.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .45s cubic-bezier(.4,0,.2,1), padding .35s;
  padding: 0 1.4rem;
}
.faq-item.open .faq-a { max-height: 260px; padding: 0 1.4rem 1.2rem; }

.faq-a p { color: var(--text-muted); line-height: 1.75; }
.faq-a a { color: var(--teal); }
.faq-a a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .emotes-grid { grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); }
  .faq-q { font-size: .9rem; padding: .9rem 1rem; }
  .faq-a { padding: 0 1rem; }
  .faq-item.open .faq-a { padding: 0 1rem 1rem; }
}

/* ─── NAV DROPDOWN ─────────────────────────────────────────────── */
.nav-dropdown { position: relative; }

.nav-dd-btn {
  background: none; border: none; cursor: pointer;
  color: var(--text-muted); font-family: inherit;
  font-size: .9rem; font-weight: 600; padding: .3rem .2rem;
  display: flex; align-items: center; gap: .3rem;
  transition: color var(--transition);
}
.nav-dd-btn:hover,
.nav-dropdown.open .nav-dd-btn { color: var(--purple); }

.nav-dd-arrow {
  font-size: .7rem; display: inline-block;
  transition: transform .25s;
}
.nav-dropdown.open .nav-dd-arrow { transform: rotate(180deg); }

.nav-dd-menu {
  display: none;
  position: absolute; top: calc(100% + .75rem); left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0,0,0,.5);
  min-width: 180px;
  list-style: none;
  padding: .4rem 0;
  z-index: 200;
  animation: ddFadeIn .18s ease;
}
@keyframes ddFadeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.nav-dropdown.open .nav-dd-menu { display: block; }

.nav-dd-menu li a {
  display: block; padding: .55rem 1.1rem;
  font-size: .88rem; color: var(--text-muted);
  text-decoration: none; white-space: nowrap;
  transition: color var(--transition), background var(--transition);
}
.nav-dd-menu li a:hover {
  color: var(--purple);
  background: rgba(249,217,0,.06);
}

/* Mobile: dropdown inline in burger menu */
@media (max-width: 768px) {
  .nav-dd-menu {
    position: static; transform: none;
    box-shadow: none; border: none;
    background: rgba(249,217,0,.04);
    border-radius: var(--radius);
    margin: .25rem 0 .25rem 1rem;
    animation: none;
    padding: .2rem 0;
  }
  .nav-dropdown.open .nav-dd-menu { display: block; }
  .nav-dd-menu li a { padding: .4rem .8rem; font-size: .85rem; }
}

/* ─── KO-FI SOCIAL CARD ────────────────────────────────────────── */
.social-card.kofi .social-icon {
  font-size: 1.5rem; line-height: 1;
  background: rgba(255, 94, 91, .12);
  border: 1px solid rgba(255, 94, 91, .3);
}
.social-card.kofi:hover {
  border-color: #FF5E5B;
  box-shadow: 0 8px 32px rgba(255, 94, 91, .2);
}
.social-card.kofi:hover .social-icon {
  background: rgba(255, 94, 91, .2);
}

/* ─── KO-FI FLOATING BUTTON ────────────────────────────────────── */
.kofi-float {
  position: fixed; bottom: 5.5rem; right: 2rem; z-index: 900;
  display: flex; align-items: center; gap: .55rem;
  background: #FF5E5B; color: #fff;
  border-radius: 50px;
  padding: .65rem 1.1rem .65rem .85rem;
  text-decoration: none; font-weight: 700; font-size: .82rem;
  box-shadow: 0 4px 18px rgba(255, 94, 91, .45);
  opacity: 0; transform: translateX(120%);
  transition: opacity .35s, transform .35s, box-shadow .2s;
  pointer-events: none; white-space: nowrap;
}
.kofi-float.visible {
  opacity: 1; transform: translateX(0); pointer-events: auto;
}
.kofi-float:hover {
  box-shadow: 0 6px 24px rgba(255, 94, 91, .6);
  transform: translateY(-2px);
}
.kofi-float-icon { font-size: 1.1rem; line-height: 1; }

/* ─── BACK TO TOP BUTTON ───────────────────────────────────────── */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 900;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--purple); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #fff; box-shadow: 0 4px 20px var(--purple-glow);
  opacity: 0; transform: translateY(16px);
  transition: opacity .3s, transform .3s, background .2s;
  pointer-events: none;
}
.back-to-top svg { width: 20px; height: 20px; }
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover  { background: var(--purple-dim); transform: translateY(-2px); }

/* ─── COOKIE BANNER ────────────────────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1100;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(0,0,0,.4);
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-inner {
  max-width: 1200px; margin: 0 auto;
  padding: .9rem 2rem;
  display: flex; align-items: center; gap: 1rem; flex-wrap: nowrap;
}
.cookie-icon { font-size: 1.4rem; flex-shrink: 0; line-height: 1; }
.cookie-text { flex: 1; min-width: 0; }
.cookie-text p {
  color: var(--text-muted); font-size: .85rem;
  line-height: 1.5; margin: 0;
  white-space: normal;
}
.cookie-text strong { display: inline; font-size: inherit; }
.cookie-text a  { color: var(--teal); white-space: nowrap; }
.cookie-btns { display: flex; gap: .6rem; align-items: center; flex-shrink: 0; }
@media (max-width: 600px) {
  .cookie-inner { flex-wrap: wrap; padding: 1rem 1.25rem; }
  .cookie-icon  { display: none; }
}

/* ─── STREAM CHAT LAYOUT ───────────────────────────────────────── */
.stream-controls-bar {
  display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 1rem; align-items: center;
}
.stream-controls-bar .btn.active { background: var(--teal); color: var(--bg); border-color: var(--teal); }

.stream-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  transition: grid-template-columns .3s;
}
.stream-container.chat-open {
  grid-template-columns: 1fr 340px;
}
.stream-frame { /* unchanged */ }

.stream-chat-panel {
  display: none;
  height: 500px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.stream-chat-panel iframe { width: 100%; height: 100%; border: none; }
.chat-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: .9rem; text-align: center;
  padding: 1.5rem;
}

@media (max-width: 900px) {
  .stream-container.chat-open { grid-template-columns: 1fr; }
  .stream-chat-panel { height: 350px; }
}

/* ─── WISHLIST ──────────────────────────────────────────────────── */
.wishlist-grid {
  display: flex; flex-direction: column; gap: .75rem;
  max-width: 680px; margin: 0 auto;
}
.wish-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.1rem 1.4rem;
  display: flex; align-items: center; gap: 1.2rem;
  transition: var(--transition);
}
.wish-card:hover { border-color: var(--purple); transform: translateX(4px); }
.wish-card.wish-suggest { border-style: dashed; border-color: var(--teal); }
.wish-card.wish-suggest:hover { border-color: var(--teal); }

.wish-rank {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(249,217,0,.15); border: 1px solid var(--purple);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 800; color: var(--purple); flex-shrink: 0;
}
.wish-card.wish-suggest .wish-rank {
  background: rgba(0,212,170,.1); border-color: var(--teal); color: var(--teal);
}
.wish-icon { font-size: 1.6rem; flex-shrink: 0; }
.wish-info { flex: 1; min-width: 0; }
.wish-info h3 { font-size: 1rem; margin-bottom: .2rem; color: var(--text); }
.wish-genre { font-size: .8rem; color: var(--text-muted); }

.wish-status {
  padding: .3rem .85rem; border-radius: 50px;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; white-space: nowrap; flex-shrink: 0;
  text-decoration: none;
}
.wish-status.playing { background: rgba(233,25,22,.15); color: #ff6b6b; border: 1px solid rgba(233,25,22,.3); }
.wish-status.soon    { background: rgba(0,212,170,.12); color: var(--teal); border: 1px solid rgba(0,212,170,.3); }
.wish-status.planned { background: rgba(249,217,0,.12); color: var(--purple); border: 1px solid rgba(249,217,0,.25); }
.wish-status.suggest { background: rgba(0,212,170,.12); color: var(--teal); border: 1px solid rgba(0,212,170,.3); transition: background .2s; }
.wish-status.suggest:hover { background: rgba(0,212,170,.25); }

/* ─── DISCORD WIDGET ───────────────────────────────────────────── */
.discord-widget-section {
  margin-top: 3.5rem; display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
}
.discord-widget-heading {
  display: flex; align-items: center; gap: .6rem;
  font-size: 1.2rem; color: var(--text);
}
.discord-widget-wrap {
  position: relative; width: 350px; max-width: 100%;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border);
}
.discord-widget-wrap iframe { display: block; border-radius: var(--radius-lg); }

.discord-widget-fallback {
  display: none;
  flex-direction: column; align-items: center; gap: 1rem;
  padding: 2.5rem 2rem; background: var(--bg-card);
  text-align: center;
}
.dwf-icon { width: 56px; height: 56px; color: #5865F2; }
.dwf-icon svg { width: 100%; height: 100%; }
.discord-widget-fallback strong { font-size: 1.1rem; color: var(--text); }
.dwf-sub  { color: var(--text-muted); font-size: .9rem; }
.dwf-hint { color: var(--text-muted); font-size: .78rem; line-height: 1.5; margin-top: .25rem; }

/* ─── AFFILIATE PROGRESS ───────────────────────────────────────── */
.affiliate-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem 2.5rem;
  max-width: 700px; margin: 0 auto;
}

.aff-header {
  display: flex; align-items: center; gap: 1.25rem;
  margin-bottom: 2rem; flex-wrap: wrap;
}
.aff-trophy { font-size: 2.4rem; flex-shrink: 0; }
.aff-header h3 { font-size: 1.3rem; margin-bottom: .2rem; color: var(--text); }
.aff-header p  { font-size: .85rem; color: var(--text-muted); margin: 0; }

/* Circular ring */
.aff-overall {
  margin-left: auto; position: relative;
  width: 72px; height: 72px; flex-shrink: 0;
}
.aff-ring { width: 72px; height: 72px; transform: rotate(-90deg); }
.aff-ring-bg   { fill: none; stroke: var(--border); stroke-width: 3.5; }
.aff-ring-fill {
  fill: none; stroke: var(--purple); stroke-width: 3.5;
  stroke-linecap: round;
  transition: stroke-dasharray 1.2s cubic-bezier(.4,0,.2,1);
}
.aff-ring-pct {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 800; color: var(--purple);
}

/* Progress bars */
.aff-bars { display: flex; flex-direction: column; gap: 1.2rem; margin-bottom: 2rem; }

.aff-bar-row { }
.aff-bar-row.done .aff-bar-label { color: var(--teal); }
.aff-bar-row.done .aff-bar-fill  { background: var(--teal) !important; }

.aff-bar-meta {
  display: flex; align-items: center; gap: .6rem;
  margin-bottom: .45rem;
}
.aff-bar-icon  { font-size: 1.1rem; flex-shrink: 0; }
.aff-bar-label { flex: 1; font-size: .9rem; font-weight: 600; color: var(--text); }
.aff-bar-val   { font-size: .82rem; color: var(--text-muted); }
.aff-pct       { font-size: .78rem; color: var(--text-muted); min-width: 32px; text-align: right; }
.aff-check     { color: var(--teal); font-weight: 800; font-size: .9rem; min-width: 32px; text-align: right; }

.aff-bar-track {
  height: 8px; background: rgba(255,255,255,.07);
  border-radius: 50px; overflow: hidden;
}
.aff-bar-fill {
  height: 100%; border-radius: 50px;
  background: linear-gradient(90deg, var(--purple-dim), var(--purple));
  transition: width 1s cubic-bezier(.4,0,.2,1);
  position: relative;
}
.aff-bar-fill::after {
  content: ''; position: absolute; right: 0; top: 0; bottom: 0;
  width: 20px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25));
  border-radius: 0 50px 50px 0;
}

/* Glow when ≥ 80% */
.aff-bar-row:not(.done) .aff-bar-fill[data-pct="80"],
.aff-bar-row:not(.done) .aff-bar-fill[data-pct="90"],
.aff-bar-row:not(.done) .aff-bar-fill[data-pct="100"] {
  box-shadow: 0 0 10px var(--purple-glow);
}

.aff-cta { border-top: 1px solid var(--border); padding-top: 1.5rem; text-align: center; }
.aff-cta-text { color: var(--text-muted); margin-bottom: 1rem; font-size: .95rem; }
.aff-cta-btns { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

@media (max-width: 600px) {
  .affiliate-card { padding: 1.5rem 1.25rem; }
  .aff-header { gap: .9rem; }
  .aff-overall { margin-left: 0; }
}

/* ─── SETUP SECTION ────────────────────────────────────────────── */
.setup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.setup-category {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.setup-category:hover {
  border-color: var(--purple);
  box-shadow: 0 0 24px rgba(249,217,0,.12);
}

.setup-cat-header {
  display: flex; align-items: center; gap: .75rem;
  padding: 1.1rem 1.5rem;
  background: rgba(249,217,0,.07);
  border-bottom: 1px solid var(--border);
}
.setup-cat-icon { font-size: 1.4rem; }
.setup-cat-header h3 {
  font-size: 1rem; font-weight: 700;
  color: var(--purple); letter-spacing: .05em;
  text-transform: uppercase;
}

.setup-list {
  list-style: none;
  padding: .5rem 0;
}

.setup-item {
  display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
  padding: .8rem 1.5rem;
  border-bottom: 1px solid rgba(249,217,0,.06);
  transition: background var(--transition);
}
.setup-item:last-child { border-bottom: none; }
.setup-item:hover { background: rgba(249,217,0,.04); }

.setup-item-info {
  display: flex; flex-direction: column; gap: .15rem; min-width: 0;
}
.setup-item-name {
  font-size: .95rem; font-weight: 600; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.setup-item-type {
  font-size: .75rem; color: var(--text-muted);
}

.setup-buy {
  flex-shrink: 0;
  padding: .3rem .85rem;
  background: rgba(249,217,0,.1);
  border: 1px solid rgba(249,217,0,.3);
  border-radius: 50px;
  color: var(--purple);
  font-size: .75rem; font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition);
}
.setup-buy:hover {
  background: var(--purple);
  color: var(--bg);
  box-shadow: 0 0 12px rgba(249,217,0,.35);
}

@media (max-width: 600px) {
  .setup-grid { grid-template-columns: 1fr; }
  .setup-item { padding: .75rem 1.1rem; }
}

/* ─── SCROLL PROGRESS BAR ──────────────────────────────────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 9999;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--purple-dim), var(--purple));
  transition: width .1s linear;
  pointer-events: none;
}

/* ─── ANKÜNDIGUNGS-BANNER ───────────────────────────────────────── */
.announce-banner {
  position: fixed; top: 3px; left: 0; right: 0; z-index: 1300;
  background: var(--purple);
  color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; padding: .55rem 3rem;
  font-size: .85rem; font-weight: 700;
  transform: translateY(-110%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.announce-banner.visible { transform: translateY(0); }
.announce-banner a { color: inherit; text-decoration: underline; }

.announce-close {
  position: absolute; right: 1rem;
  background: none; border: none; cursor: pointer;
  color: inherit; font-size: 1rem; line-height: 1;
  opacity: .7; padding: .2rem .4rem;
  transition: opacity .2s;
}
.announce-close:hover { opacity: 1; }

/* ─── HERO VIEWER COUNT ─────────────────────────────────────────── */
.hero-viewer-count {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(249,217,0,.12);
  border: 1px solid rgba(249,217,0,.3);
  border-radius: 50px; padding: .3rem .9rem;
  font-size: .78rem; font-weight: 700; color: var(--purple);
  margin-bottom: .75rem;
  animation: pulse 2s infinite;
}

/* ─── TYPING ANIMATION ──────────────────────────────────────────── */
.typed-text { color: var(--purple); font-style: normal; }
.typed-cursor {
  display: inline-block; color: var(--purple);
  font-weight: 300; margin-left: 1px;
  animation: blink .75s step-end infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ─── LOADING SCREEN ───────────────────────────────────────────── */
.loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--bg, #0a0b02);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .55s ease, visibility .55s ease;
}
.loader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.loader-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(249,217,0,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(249,217,0,.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 0%, transparent 100%);
}
.loader-glow {
  position: absolute;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(249,217,0,.13) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.loader-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.loader-logo {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(3.5rem, 10vw, 6rem);
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--text, #F0EFD5);
  opacity: 0;
  transform: scale(.9) translateY(14px);
  animation: loaderLogoIn .6s .05s cubic-bezier(.34,1.4,.64,1) forwards;
}
.loader-bracket { color: var(--teal, #8DC900); }
.loader-sub {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(.9rem, 2.5vw, 1.25rem);
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--purple, #F9D900);
  opacity: 0;
  animation: loaderFadeUp .4s .38s ease forwards;
}
.loader-bar-wrap {
  width: 200px;
  height: 2px;
  background: rgba(255,255,255,.1);
  border-radius: 50px;
  overflow: hidden;
  margin-top: .75rem;
  opacity: 0;
  animation: loaderFadeIn .3s .5s ease forwards;
}
.loader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--purple-dim, #C9AE00), var(--purple, #F9D900), var(--teal, #8DC900));
  border-radius: 50px;
}
@keyframes loaderLogoIn {
  to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes loaderFadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes loaderFadeIn {
  to { opacity: 1; }
}
