:root {
  --bg: #08080c;
  --bg-alt: #0e0e16;
  --panel: #121219;
  --line: rgba(255, 255, 255, 0.08);
  --text: #e9e9f2;
  --text-dim: #9a9ab0;
  --purple: #9146ff;
  --cyan: #00f0ff;
  --pink: #ff2e88;
  --green: #53fc18;
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Rajdhani', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 500;
  overflow-x: hidden;
}

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

.accent { color: var(--cyan); }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--purple);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}
.eyebrow.center { text-align: center; }

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.center { text-align: center; }

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 6rem 1.5rem;
}

/* Scanline overlay for cyber feel */
.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.02) 0px,
    rgba(255, 255, 255, 0.02) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: overlay;
  opacity: 0.5;
}

/* ===== TOP BAR ===== */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(8, 8, 12, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.topbar.scrolled {
  background: rgba(8, 8, 12, 0.9);
  border-bottom-color: rgba(145, 70, 255, 0.35);
}

.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.7rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--purple), 0 0 16px rgba(145, 70, 255, 0.6);
}
.brand-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: #fff;
}

.nav-links {
  display: flex;
  gap: 1.8rem;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-links a {
  position: relative;
  color: var(--text-dim);
  padding: 0.4rem 0.1rem;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { transform: scaleX(1); }

.social-panel {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.social-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.social-icon img { width: 17px; height: 17px; }
.social-icon:hover {
  transform: translateY(-2px);
  border-color: var(--purple);
  background: rgba(145, 70, 255, 0.12);
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6rem 1.5rem 4rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 20%;
  filter: saturate(1.1) contrast(1.05);
  transform: scale(1.05);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(145, 70, 255, 0.25), transparent 60%),
    linear-gradient(180deg, rgba(8,8,12,0.55) 0%, rgba(8,8,12,0.75) 55%, var(--bg) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 880px;
}

.hero-kicker {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 8px var(--pink), 0 0 16px var(--pink);
  animation: pulse 1.6s infinite ease-in-out;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 7vw, 4.6rem);
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 0 30px rgba(145, 70, 255, 0.5);
  margin-bottom: 1.5rem;
}

.glitch {
  position: relative;
  display: inline-block;
  color: var(--cyan);
}
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  overflow: hidden;
  background: var(--bg);
  clip-path: inset(0 0 0 0);
}
.glitch::before {
  color: var(--pink);
  animation: glitch-1 3.5s infinite linear;
}
.glitch::after {
  color: var(--purple);
  animation: glitch-2 3.5s infinite linear;
}
@keyframes glitch-1 {
  0%, 92%, 100% { clip-path: inset(0 0 100% 0); transform: translate(0); }
  93% { clip-path: inset(10% 0 60% 0); transform: translate(-3px, -1px); }
  95% { clip-path: inset(60% 0 5% 0); transform: translate(3px, 1px); }
  97% { clip-path: inset(30% 0 40% 0); transform: translate(-2px, 1px); }
}
@keyframes glitch-2 {
  0%, 90%, 100% { clip-path: inset(0 0 100% 0); transform: translate(0); }
  91% { clip-path: inset(70% 0 5% 0); transform: translate(3px, 0); }
  94% { clip-path: inset(15% 0 65% 0); transform: translate(-3px, 0); }
  96% { clip-path: inset(45% 0 25% 0); transform: translate(2px, -1px); }
}

.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.95rem 1.8rem;
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn img { width: 18px; height: 18px; }

.btn-primary {
  background: linear-gradient(135deg, var(--purple), #6f2bd6);
  color: #fff;
  box-shadow: 0 0 24px rgba(145, 70, 255, 0.45);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(145, 70, 255, 0.65);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
}
.btn-outline:hover {
  transform: translateY(-3px);
  border-color: var(--cyan);
  box-shadow: 0 8px 30px rgba(0, 240, 255, 0.25);
}

/* ===== ABOUT ===== */
.about { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: center;
}
.about-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
}
.about-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--purple);
  box-shadow: 0 0 40px rgba(145, 70, 255, 0.4);
  position: relative;
  z-index: 2;
  background: var(--panel);
}
.about-frame {
  position: absolute;
  inset: -14px;
  border: 2px dashed rgba(0, 240, 255, 0.35);
  border-radius: 50%;
  animation: spin 18s linear infinite;
  z-index: 1;
}
@keyframes spin { to { transform: rotate(360deg); } }

.about-text p { color: var(--text-dim); line-height: 1.7; margin-bottom: 1rem; font-size: 1.05rem; }
.about-text h2 { color: #fff; }

.about-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--cyan);
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ===== SOCIALS ===== */
.socials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
  margin-top: 3rem;
}
.social-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 2rem 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.social-card-icon { width: 36px; height: 36px; margin-bottom: 0.4rem; }
.social-card-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}
.social-card-sub { font-size: 0.85rem; color: var(--text-dim); }

.social-card:hover { transform: translateY(-6px); }
.social-card[data-platform="twitch"]:hover { border-color: #9146ff; box-shadow: 0 10px 30px rgba(145,70,255,0.3); }
.social-card[data-platform="youtube"]:hover { border-color: #ff0000; box-shadow: 0 10px 30px rgba(255,0,0,0.25); }
.social-card[data-platform="kick"]:hover { border-color: #53fc18; box-shadow: 0 10px 30px rgba(83,252,24,0.25); }
.social-card[data-platform="tiktok"]:hover { border-color: #ffffff; box-shadow: 0 10px 30px rgba(255,255,255,0.15); }
.social-card[data-platform="discord"]:hover { border-color: #5865f2; box-shadow: 0 10px 30px rgba(88,101,242,0.3); }

/* ===== CONTACT ===== */
.contact {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  text-align: center;
}
.contact-inner { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }
.contact h2 { color: #fff; }
.contact p { color: var(--text-dim); max-width: 480px; }
.contact-cta-row { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.contact-email { font-size: 0.9rem; }
.contact-email a { color: var(--cyan); border-bottom: 1px solid transparent; transition: border-color 0.2s ease; }
.contact-email a:hover { border-color: var(--cyan); }

/* ===== FOOTER ===== */
.footer { border-top: 1px solid var(--line); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2.5rem 1.5rem;
}
.footer-brand { gap: 0.5rem; }
.footer-brand .brand-logo { width: 30px; height: 30px; }
.footer-brand .brand-name { font-size: 0.9rem; }
.footer-socials { display: flex; gap: 0.9rem; }
.footer-socials img { width: 18px; height: 18px; opacity: 0.75; transition: opacity 0.2s ease; }
.footer-socials img:hover { opacity: 1; }
.footer-copy { color: var(--text-dim); font-size: 0.85rem; }

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; text-align: center; }
  .about-media { max-width: 240px; margin: 0 auto; }
  .about-stats { justify-content: center; }
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(8, 8, 12, 0.97);
    backdrop-filter: blur(14px);
    padding: 1.5rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; }
  .social-panel { display: none; }
  .burger { display: flex; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; width: 100%; }
  .btn { justify-content: center; }
}

/* ===== ARTICLE ===== */
.nav-links a.active { color: var(--cyan); }

.article { padding-top: 76px; }

.article-hero {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  padding: 3rem 0 2.5rem;
}
.article-hero .section-inner { padding: 0 1.5rem; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  transition: color 0.2s ease;
}
.back-link:hover { color: var(--cyan); }

.back-link-bottom { margin-top: 3rem; margin-bottom: 0; }

.article-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: #fff;
  text-align: center;
  max-width: 820px;
  margin: 0 auto 1rem;
  line-height: 1.3;
}

.article-meta {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.article-body {
  max-width: 760px;
  padding-top: 3rem;
  padding-bottom: 5rem;
}
.article-body p {
  color: var(--text-dim);
  line-height: 1.75;
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}
.article-body p strong { color: #fff; }
.article-body h2 {
  color: #fff;
  font-size: 1.4rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.sources-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.sources-list li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.9rem 1.1rem;
  transition: border-color 0.2s ease;
}
.sources-list li:hover { border-color: var(--purple); }
.sources-list a { color: var(--cyan); font-size: 0.95rem; line-height: 1.5; }
.sources-list a:hover { text-decoration: underline; }
