/* ================================================================
   NEXVOLT STUDIOS — styles.css
   Riot-inspired cinematic dark theme with neon accents
================================================================ */

:root {
  /* Brand */
  --c-cyan: #00d4ff;
  --c-green: #2aff6a;
  --c-cyan-soft: #0088b8;
  --c-green-soft: #1ab84c;

  /* Surface */
  --c-bg: #05070b;
  --c-bg-2: #0a0e15;
  --c-panel: rgba(10, 14, 22, 0.72);
  --c-panel-solid: #0a0e15;
  --c-line: rgba(255, 255, 255, 0.08);
  --c-line-strong: rgba(255, 255, 255, 0.16);

  /* Text */
  --c-text: #e6ecf4;
  --c-text-dim: #8a94a3;
  --c-text-faint: #4a5362;

  /* Accents per card */
  --accent-green: #2aff6a;
  --accent-gold: #ffb73a;
  --accent-pink: #ff8fd6;
  --accent-magenta: #ff2bb8;

  /* Type */
  --f-display: "Orbitron", "Rajdhani", system-ui, sans-serif;
  --f-body: "Rajdhani", system-ui, sans-serif;

  /* Layout */
  --nav-h: 88px;
  --maxw: 1240px;
  --radius: 14px;
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.25);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.splash-active { overflow: hidden; }

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

::selection { background: var(--c-cyan); color: #001016; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--c-bg); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--c-cyan-soft), var(--c-green-soft));
  border-radius: 8px;
}

/* ================================================================
   BACKGROUND — fixed emblem pattern + vignette + noise
================================================================ */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("assets/websitebg.png");
  background-size: 620px auto;
  background-position: center top;
  background-repeat: repeat;
  background-attachment: fixed;
  opacity: 0.9;
  z-index: -3;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(0, 212, 255, 0.1), transparent 60%),
    radial-gradient(ellipse at 90% 100%, rgba(42, 255, 106, 0.08), transparent 55%),
    linear-gradient(180deg, rgba(5, 7, 11, 0.15) 0%, rgba(5, 7, 11, 0.55) 70%, rgba(5, 7, 11, 0.82) 100%);
  z-index: -2;
  pointer-events: none;
}

/* ================================================================
   SPLASH
================================================================ */
.splash {
  position: fixed;
  inset: 0;
  background: #000;
  display: grid;
  place-items: center;
  z-index: 1000;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.splash.hide {
  opacity: 0;
  visibility: hidden;
}
/* The glitch ghost imgs use filter + mix-blend-mode which promote them to
   their own GPU compositing layer. The parent .splash's opacity transition
   doesn't reach them in sync, so they linger visibly on top of the page. Fix:
   when .hide is set, stop the glitch animations and fade the logo wrap
   explicitly with its own (slightly faster) transition. */
.splash .splash-logo-wrap {
  transition: opacity 0.35s ease;
}
.splash.hide .splash-logo-wrap {
  opacity: 0;
}
.splash.hide .glitch-layer,
.splash.hide .glitch-bars {
  animation: none !important;
}
.splash-inner {
  display: grid;
  justify-items: center;
  gap: 22px;
  animation: splash-pop 1.2s cubic-bezier(.2,.8,.2,1) both;
}
.splash-logo-wrap {
  position: relative;
  display: inline-grid;
  place-items: center;
  isolation: isolate;
}
/* ---------- GLITCH (ported from Signal Breach FrameEffects._make_glitch) ----------
   Three stacked <img> copies of the logo. Ghost copies use SVG feColorMatrix
   filters (#tint-cyan, #tint-green) to become solid-color silhouettes of the
   logo — the ghosts thus only paint on the logo's actual pixels and nothing
   else. During a burst they flash in with horizontal offsets; thin scan bars
   overlay the logo in sharp lines. Signal Breach cadence: ~100-200ms bursts,
   ~600-1400ms quiet between bursts. */
.glitch-wrap {
  position: relative;
  display: inline-block;
  line-height: 0;
}
.glitch-layer {
  display: block;
}
.glitch-main {
  position: relative;
  z-index: 1;
}
/* Ghost imgs are already alpha-clipped by feColorMatrix (4th row preserves
   alpha), so they only paint on the logo's visible pixels. We mask only the
   scan bars — the bars would otherwise span the full PNG bounding box and
   bleed onto the transparent background. Compound selectors so ghost's
   position:absolute wins over .splash-logo / .hero-logo (both later in sheet). */
.glitch-wrap .glitch-bars {
  -webkit-mask-image: url("assets/nexvoltlogo_nobg.png");
          mask-image: url("assets/nexvoltlogo_nobg.png");
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
}
.glitch-wrap img.glitch-ghost {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  opacity: 0;
  z-index: 2;
  mix-blend-mode: screen;
  will-change: opacity, transform;
}
.glitch-wrap img.glitch-ghost-cyan  { filter: url(#tint-cyan); }
.glitch-wrap img.glitch-ghost-green { filter: url(#tint-green); }

/* Scan bars: the mask (above) clips them to the logo shape so the bars only
   appear across visible logo pixels, never on transparent background. */
.glitch-bars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  mix-blend-mode: screen;
  background-image:
    linear-gradient(to bottom,
      transparent 15%,
      rgba(0, 212, 255, 0.9) 15%,
      rgba(0, 212, 255, 0.9) calc(15% + 2px),
      transparent calc(15% + 2px),
      transparent 33%,
      rgba(42, 255, 106, 0.85) 33%,
      rgba(42, 255, 106, 0.85) calc(33% + 1px),
      transparent calc(33% + 1px),
      transparent 56%,
      rgba(0, 212, 255, 0.85) 56%,
      rgba(0, 212, 255, 0.85) calc(56% + 3px),
      transparent calc(56% + 3px),
      transparent 77%,
      rgba(42, 255, 106, 0.9) 77%,
      rgba(42, 255, 106, 0.9) calc(77% + 2px),
      transparent calc(77% + 2px));
  background-size: 100% 130%;
  will-change: opacity, background-position;
}

/* Splash: 2 burst windows per cycle (at ~20% and ~55%). Negative delay starts
   the animation mid-cycle so the first burst hits early enough to be seen
   before the splash fades. */
.glitch-wrap-splash img.glitch-main        { animation: gs-main 1.8s infinite; animation-delay: -1.5s; }
.glitch-wrap-splash img.glitch-ghost-cyan  { animation: gs-cyan 1.8s infinite; animation-delay: -1.5s; }
.glitch-wrap-splash img.glitch-ghost-green { animation: gs-green 1.8s infinite; animation-delay: -1.5s; }
.glitch-wrap-splash .glitch-bars           { animation: gs-bars 1.8s infinite; animation-delay: -1.5s; }

/* Hero: single burst per cycle, very relaxed. */
.glitch-wrap-hero img.glitch-main        { animation: gh-main 3.2s infinite; }
.glitch-wrap-hero img.glitch-ghost-cyan  { animation: gh-cyan 3.2s infinite; }
.glitch-wrap-hero img.glitch-ghost-green { animation: gh-green 3.2s infinite; }
.glitch-wrap-hero .glitch-bars           { animation: gh-bars 3.2s infinite; }

/* --- SPLASH keyframes (2 burst windows, 3-4px offsets) --- */
@keyframes gs-main {
  0%, 18%, 30%, 53%, 66%, 100% { opacity: 1; transform: translate(0, 0); }
  20%, 23% { opacity: 0.75; transform: translate(-1px, 0); }
  25%, 28% { opacity: 0.8;  transform: translate(1px, 0); }
  55%, 58% { opacity: 0.75; transform: translate(-1px, 0); }
  60%, 63% { opacity: 0.8;  transform: translate(1px, 0); }
}
@keyframes gs-cyan {
  0%, 18%, 30%, 53%, 66%, 100% { opacity: 0; transform: translate(0, 0); }
  20% { opacity: 1;    transform: translate(-3px, 0); }
  23% { opacity: 0.9;  transform: translate(-4px, 1px); }
  26% { opacity: 1;    transform: translate(-3px, 0); }
  28% { opacity: 0.85; transform: translate(-4px, 0); }
  55% { opacity: 1;    transform: translate(-3px, 0); }
  58% { opacity: 0.9;  transform: translate(-4px, -1px); }
  61% { opacity: 1;    transform: translate(-3px, 0); }
  63% { opacity: 0.85; transform: translate(-4px, 0); }
}
@keyframes gs-green {
  0%, 18%, 30%, 53%, 66%, 100% { opacity: 0; transform: translate(0, 0); }
  20% { opacity: 1;    transform: translate(3px, 0); }
  23% { opacity: 0.9;  transform: translate(4px, -1px); }
  26% { opacity: 1;    transform: translate(3px, 0); }
  28% { opacity: 0.85; transform: translate(4px, 0); }
  55% { opacity: 1;    transform: translate(3px, 0); }
  58% { opacity: 0.9;  transform: translate(4px, 1px); }
  61% { opacity: 1;    transform: translate(3px, 0); }
  63% { opacity: 0.85; transform: translate(4px, 0); }
}
@keyframes gs-bars {
  0%, 18%, 30%, 53%, 66%, 100% { opacity: 0; background-position: 0 0%; }
  20% { opacity: 1;   background-position: 0 16%; }
  23% { opacity: 0.9; background-position: 0 -20%; }
  26% { opacity: 1;   background-position: 0 10%; }
  28% { opacity: 0.8; background-position: 0 -8%; }
  55% { opacity: 1;   background-position: 0 14%; }
  58% { opacity: 0.9; background-position: 0 -18%; }
  61% { opacity: 1;   background-position: 0 20%; }
  63% { opacity: 0.8; background-position: 0 -10%; }
}

/* --- HERO keyframes (1 burst per cycle, 2-3px offsets) --- */
@keyframes gh-main {
  0%, 38%, 52%, 100% { opacity: 1; transform: translate(0, 0); }
  40%, 43% { opacity: 0.8; transform: translate(-1px, 0); }
  45%, 49% { opacity: 0.85; transform: translate(1px, 0); }
}
@keyframes gh-cyan {
  0%, 38%, 52%, 100% { opacity: 0; transform: translate(0, 0); }
  40% { opacity: 0.95; transform: translate(-2px, 0); }
  43% { opacity: 0.85; transform: translate(-3px, 1px); }
  46% { opacity: 0.95; transform: translate(-2px, 0); }
  49% { opacity: 0.85; transform: translate(-3px, 0); }
}
@keyframes gh-green {
  0%, 38%, 52%, 100% { opacity: 0; transform: translate(0, 0); }
  40% { opacity: 0.95; transform: translate(2px, 0); }
  43% { opacity: 0.85; transform: translate(3px, -1px); }
  46% { opacity: 0.95; transform: translate(2px, 0); }
  49% { opacity: 0.85; transform: translate(3px, 0); }
}
@keyframes gh-bars {
  0%, 38%, 52%, 100% { opacity: 0; background-position: 0 0%; }
  40% { opacity: 0.95; background-position: 0 14%; }
  43% { opacity: 0.85; background-position: 0 -18%; }
  46% { opacity: 0.95; background-position: 0 9%; }
  49% { opacity: 0.8;  background-position: 0 -12%; }
}

@media (prefers-reduced-motion: reduce) {
  .glitch-main, .glitch-ghost, .glitch-bars {
    animation: none !important;
  }
  .glitch-ghost, .glitch-bars { opacity: 0 !important; }
}
.splash-logo {
  width: min(90vmin, 1080px);
  height: auto;
  position: relative;
  z-index: 1;
}
@keyframes splash-pop {
  0%   { transform: scale(0.7); filter: blur(12px); opacity: 0; }
  60%  { transform: scale(1.04); filter: blur(0); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

/* ================================================================
   NAV
================================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 7, 11, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--c-line);
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-display);
  font-weight: 800;
  letter-spacing: 0.22em;
  font-size: 21px;
}
.nav-brand img { width: 72px; height: 72px; }
/* Absolutely centered in the bar so the links sit exactly on the horizontal
   midline regardless of brand / actions widths. */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: 0.2em;
  font-size: 17px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.nav-links a {
  color: var(--c-text-dim);
  position: relative;
  padding: 8px 0;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 2px;
  height: 1px;
  background: linear-gradient(90deg, var(--c-cyan), var(--c-green));
  transition: right 0.3s ease;
}
.nav-links a:hover { color: var(--c-text); }
.nav-links a:hover::after { right: 0; }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--c-line-strong);
  border-radius: 999px;
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: 0.15em;
  font-size: 16px;
  color: var(--c-text-dim);
  transition: all 0.25s ease;
}
.lang-toggle:hover { border-color: var(--c-cyan); color: var(--c-text); }
.lang-chip { transition: color 0.2s ease, text-shadow 0.2s ease; }
.lang-sep { opacity: 0.4; }
html[data-lang="tr"] .lang-chip[data-lang="tr"],
html[data-lang="en"] .lang-chip[data-lang="en"] {
  color: var(--c-cyan);
  text-shadow: 0 0 8px rgba(0, 212, 255, 0.55);
}

/* ================================================================
   HERO
================================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: calc(var(--nav-h) + 40px) 24px 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 35%, rgba(5, 7, 11, 0.85) 100%);
  z-index: -1;
}
.hero-scanline {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 2px,
    rgba(255, 255, 255, 0.012) 3px,
    transparent 4px
  );
  pointer-events: none;
  z-index: -1;
  opacity: 0.6;
}
.hero-inner {
  text-align: center;
  max-width: 900px;
  display: grid;
  justify-items: center;
  gap: 24px;
}
.hero-logo-wrap {
  position: relative;
  display: inline-grid;
  place-items: center;
  isolation: isolate;
  animation: hero-float 6s ease-in-out infinite;
}
.hero-logo {
  width: min(38vw, 220px);
  position: relative;
  z-index: 1;
  display: block;
}
@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.hero-title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(44px, 8vw, 112px);
  line-height: 0.95;
  letter-spacing: 0.02em;
  margin: 0;
  display: grid;
  gap: 6px;
}
.hero-sub {
  font-size: 0.24em;
  letter-spacing: 1.3em;
  padding-left: 1.3em;
  color: var(--c-text-dim);
  font-weight: 700;
}
.t-cyan { color: var(--c-cyan); text-shadow: 0 0 20px rgba(0, 212, 255, 0.35); }
.t-green { color: var(--c-green); text-shadow: 0 0 20px rgba(42, 255, 106, 0.3); }

.hero-slogan {
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: 0.4em;
  font-size: clamp(12px, 1.4vw, 15px);
  color: var(--c-text);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  opacity: 0.85;
}
.hero-slogan-mark {
  color: var(--c-cyan);
  opacity: 0.6;
  font-family: var(--f-body);
  letter-spacing: 0;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 14px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: 0.2em;
  font-size: 12.5px;
  text-transform: uppercase;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  position: relative;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--c-cyan) 0%, var(--c-green) 100%);
  color: #001016;
  box-shadow: 0 8px 24px rgba(0, 212, 255, 0.25), 0 0 0 0 rgba(0, 212, 255, 0);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 212, 255, 0.4), 0 0 0 4px rgba(0, 212, 255, 0.12);
}
.btn-ghost {
  border-color: var(--c-line-strong);
  color: var(--c-text);
}
.btn-ghost:hover {
  border-color: var(--c-cyan);
  color: var(--c-cyan);
  box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.1);
}
.btn-play {
  background: var(--c-text);
  color: #000;
}
.btn-play:hover {
  background: var(--c-green);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(42, 255, 106, 0.35);
}
.btn-soon {
  background: transparent;
  color: var(--c-text-dim);
  border-color: var(--c-line-strong);
  cursor: not-allowed;
  pointer-events: none;
}
.btn-mail {
  font-size: 14px;
  padding: 16px 28px;
  letter-spacing: 0.1em;
  text-transform: none;
}

/* ================================================================
   SECTION COMMONS
================================================================ */
section { padding: 120px 24px; position: relative; }

.section-head {
  max-width: var(--maxw);
  margin: 0 auto 56px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 14px;
}
.section-kicker {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.5em;
  color: var(--c-cyan);
  padding: 6px 14px;
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 999px;
  background: rgba(0, 212, 255, 0.06);
}
.section-title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(34px, 5.5vw, 64px);
  line-height: 1;
  margin: 0;
  letter-spacing: 0.01em;
}
.section-title > span + span { margin-left: 0.25em; }

/* TR: oyunlar başlığı tek renk yeşil + boşluksuz */
html[data-lang="tr"] #games .section-title .t-cyan,
html[data-lang="tr"] #games .section-title .t-green {
  color: var(--c-green);
  text-shadow: 0 0 20px rgba(42, 255, 106, 0.3);
}
html[data-lang="tr"] #games .section-title > span + span { margin-left: 0; }

/* About: başlık her zaman iki satırda (SMALL STUDIO. \n BIG SPARK.) */
.about .section-title > span { display: block; }
.about .section-title > span + span { margin-left: 0; }
.section-lede {
  max-width: 640px;
  color: var(--c-text-dim);
  font-size: 16px;
  margin: 0;
}

/* ================================================================
   GAMES — cards
================================================================ */
.games { padding-top: 80px; }
.cards {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.card {
  position: relative;
  background: var(--c-panel);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), border-color 0.3s ease, box-shadow 0.35s ease;
  opacity: 0;
  transform: translateY(40px);
}
.card.in { opacity: 1; transform: translateY(0); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.8,.2,1), border-color 0.3s ease, box-shadow 0.35s ease; }
.card:hover {
  transform: translateY(-6px);
  border-color: var(--c-line-strong);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 40px rgba(0, 212, 255, 0.08);
}

.card-banner {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
}
/* Bazı banner'ların oyun ismi üstte — üstten kırpılmasın, gerekirse alttan kes */
.card-banner-top { background-position: center top; }
.card-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(10, 14, 22, 0.95) 100%);
}
.card:hover .card-banner { transform: scale(1.04); }

.card-body {
  padding: 22px 24px 26px;
  display: grid;
  gap: 14px;
  position: relative;
  z-index: 1;
  margin-top: -60px;
}

.card-head {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  align-items: center;
  gap: 14px;
}
.card-icon {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  border: 2px solid var(--c-line-strong);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}
.card-kicker {
  display: block;
  font-family: var(--f-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--c-text-dim);
  margin-bottom: 4px;
}
.card-title {
  font-family: var(--f-display);
  font-weight: 900;
  letter-spacing: 0.05em;
  font-size: 22px;
  margin: 0;
  color: var(--c-text);
}

.badge {
  font-family: var(--f-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  padding: 5px 10px;
  border-radius: 4px;
  border: 1px solid transparent;
  white-space: nowrap;
}
.badge-live {
  background: rgba(42, 255, 106, 0.12);
  color: var(--c-green);
  border-color: rgba(42, 255, 106, 0.4);
  position: relative;
}
.badge-live::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-green);
  margin-right: 6px;
  vertical-align: middle;
  box-shadow: 0 0 8px var(--c-green);
  animation: live-blink 1.8s ease-in-out infinite;
}
@keyframes live-blink { 50% { opacity: 0.4; } }
.badge-soon {
  background: rgba(255, 179, 58, 0.08);
  color: var(--accent-gold);
  border-color: rgba(255, 179, 58, 0.3);
}

.card-desc {
  color: var(--c-text-dim);
  font-size: 15px;
  margin: 0;
}
.card-tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.card-tags li {
  font-family: var(--f-display);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--c-line);
  border-radius: 4px;
  color: var(--c-text-dim);
}
.card-cta { margin-top: 4px; }

/* Accent per card */
.card[data-accent="green"]:hover { border-color: rgba(42, 255, 106, 0.35); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 40px rgba(42, 255, 106, 0.12); }
.card[data-accent="gold"]:hover  { border-color: rgba(255, 179, 58, 0.35); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 40px rgba(255, 179, 58, 0.12); }
.card[data-accent="pink"]:hover  { border-color: rgba(255, 143, 214, 0.35); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 40px rgba(255, 143, 214, 0.12); }
.card[data-accent="magenta"]:hover { border-color: rgba(255, 43, 184, 0.35); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55), 0 0 40px rgba(255, 43, 184, 0.12); }

/* ================================================================
   ABOUT
================================================================ */
.about-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 18px;
}
.about-body {
  color: var(--c-text-dim);
  font-size: 17px;
  margin: 0;
  line-height: 1.7;
}
.stats {
  display: flex;
  gap: 48px;
  margin-top: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.stat {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 0 18px;
  border-right: 1px solid var(--c-line);
}
.stat:last-child { border-right: 0; }
.stat-num {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 46px;
  background: linear-gradient(135deg, var(--c-cyan), var(--c-green));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.stat-label {
  font-family: var(--f-display);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--c-text-dim);
}

/* ================================================================
   CONTACT
================================================================ */
.contact-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 18px;
}
.contact-body {
  color: var(--c-text-dim);
  margin: 0 0 10px;
}

/* ================================================================
   FOOTER
================================================================ */
.footer {
  border-top: 1px solid var(--c-line);
  background: rgba(5, 7, 11, 0.6);
  padding: 32px 24px;
  backdrop-filter: blur(10px);
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-brand { display: inline-flex; align-items: center; gap: 14px; }
.footer-brand img { width: 42px; height: 42px; }
.footer-brand strong {
  display: block;
  font-family: var(--f-display);
  font-size: 14px;
  letter-spacing: 0.22em;
}
.footer-brand span {
  display: block;
  font-size: 12px;
  color: var(--c-text-dim);
}
.footer-meta {
  font-size: 12px;
  color: var(--c-text-faint);
  letter-spacing: 0.05em;
}
.footer-meta .sep { margin: 0 6px; opacity: 0.6; }

/* ================================================================
   REVEAL-ON-SCROLL
================================================================ */
.reveal { opacity: 0; transform: translateY(32px); }
.reveal.in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.8,.2,1);
}

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  section { padding: 80px 20px; }
  .hero { padding-bottom: 100px; }
}
@media (max-width: 560px) {
  .nav { padding: 0 16px; }
  .nav-brand span { display: none; }
  .hero-cta { flex-direction: column; width: 100%; max-width: 320px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .stats { gap: 20px; }
  .stat { padding: 0 12px; }
  .stat-num { font-size: 38px; }
  .card-banner { height: 180px; }
  .card-head { grid-template-columns: 56px 1fr; grid-template-rows: auto auto; }
  .card-head .badge { grid-column: 2; justify-self: start; }
  .card-icon { width: 56px; height: 56px; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
