/* ============================================================
   Deutsches Dosenbier — DayZ Server Website
   Dark glass · German flag accents · depth & motion
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --bg: #070709;
  --bg-elevated: #0e0e12;
  --glass: rgba(255, 255, 255, 0.045);
  --glass-strong: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.09);
  --text: #f3f3f5;
  --muted: #9b9ba6;
  --muted-2: #6b6b76;

  /* German flag accents */
  --gold: #f5c518;
  --gold-soft: #ffd84a;
  --gold-dim: rgba(245, 197, 24, 0.15);
  --red: #e30613;
  --red-soft: #ff3b45;
  --red-dim: rgba(227, 6, 19, 0.18);
  --flag-black: #111111;

  --radius: 22px;
  --radius-sm: 14px;
  --radius-pill: 999px;
  --header-h: 72px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --shadow-deep: 0 25px 60px rgba(0, 0, 0, 0.55);
  --glow-gold: 0 0 40px rgba(245, 197, 24, 0.25);
  --glow-red: 0 0 40px rgba(227, 6, 19, 0.22);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.55;
  cursor: none;
}

body.touch-device { cursor: auto; }
body.touch-device #custom-cursor,
body.touch-device #cursor-trail { display: none !important; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: none; }
body.touch-device button { cursor: pointer; }

/* ---------- Custom cursor ---------- */
#custom-cursor {
  position: fixed;
  width: 16px;
  height: 16px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 100000;
  mix-blend-mode: difference;
  box-shadow: 0 0 14px var(--gold);
  transform: translate(-50%, -50%);
  transition: width .2s var(--ease), height .2s var(--ease), border-color .2s, background .2s;
}
#custom-cursor.hover {
  width: 36px;
  height: 36px;
  background: rgba(245, 197, 24, 0.12);
  border-color: var(--gold-soft);
}
#cursor-trail {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  opacity: 0.4;
  transform: translate(-50%, -50%);
}

/* ---------- Ambient layers ---------- */
#particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  animation: orb-drift 18s ease-in-out infinite alternate;
}
.ambient-orb.gold {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(245, 197, 24, 0.45), transparent 70%);
  top: -12%;
  right: -8%;
}
.ambient-orb.red {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(227, 6, 19, 0.4), transparent 70%);
  bottom: 5%;
  left: -10%;
  animation-delay: -6s;
}
.ambient-orb.soft {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06), transparent 70%);
  top: 40%;
  left: 40%;
  animation-delay: -11s;
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(245, 197, 24, 0.06), transparent 55%),
    radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.55) 100%);
}

.scanlines {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.015) 0px,
    rgba(255, 255, 255, 0.015) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: overlay;
  opacity: 0.5;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Loader ---------- */
#site-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #070709;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}
#site-loader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-logo {
  width: 120px;
  height: auto;
  margin-bottom: 28px;
  object-fit: contain;
  background: transparent;
  animation: logo-float 2.4s ease-in-out infinite;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
}
.loader-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, var(--gold), var(--red), var(--gold));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 2.5s linear infinite;
  margin-bottom: 8px;
}
.loader-sub {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.loader-bar-track {
  width: 240px;
  height: 3px;
  background: #1a1a1f;
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.loader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--red), var(--gold));
  box-shadow: 0 0 16px var(--gold);
  transition: width 1.35s var(--ease);
}

/* ---------- Layout ---------- */
.site-wrap {
  position: relative;
  z-index: 2;
  min-height: 100vh;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(7, 7, 9, 0.72);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.35s, box-shadow 0.35s, border-color 0.35s;
}
.site-header.scrolled {
  background: rgba(7, 7, 9, 0.92);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  border-bottom-color: rgba(245, 197, 24, 0.12);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.3px;
  z-index: 2;
}
.brand img,
.brand-logo {
  width: 40px;
  height: 46px;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
  transition: transform 0.4s var(--ease);
}
.brand:hover img { transform: scale(1.06); }
.brand-text {
  background: linear-gradient(135deg, #fff 30%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-desktop a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  transition: color 0.25s, background 0.25s, transform 0.25s;
}
.nav-desktop a:hover,
.nav-desktop a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.92rem;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s, border-color 0.3s;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.18) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #d4a50f);
  color: #111;
  box-shadow: 0 8px 28px rgba(245, 197, 24, 0.35), 0 0 0 1px rgba(245, 197, 24, 0.4);
}
.btn-gold:hover {
  box-shadow: 0 14px 40px rgba(245, 197, 24, 0.5), 0 0 0 1px rgba(245, 197, 24, 0.7);
}

.btn-red {
  background: linear-gradient(135deg, var(--red), #a8040e);
  color: #fff;
  box-shadow: 0 8px 28px rgba(227, 6, 19, 0.35), 0 0 0 1px rgba(227, 6, 19, 0.4);
}
.btn-red:hover {
  box-shadow: 0 14px 40px rgba(227, 6, 19, 0.5), 0 0 0 1px rgba(227, 6, 19, 0.7);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(245, 197, 24, 0.35);
  color: #fff;
}

.btn-discord {
  background: linear-gradient(135deg, #5865f2, #4752c4);
  color: #fff;
  box-shadow: 0 8px 28px rgba(88, 101, 242, 0.35);
}
.btn-discord:hover {
  box-shadow: 0 14px 40px rgba(88, 101, 242, 0.5);
}

.btn-streamer {
  background: linear-gradient(135deg, #9146ff, #772ce8 55%, #e30613);
  color: #fff;
  box-shadow: 0 8px 28px rgba(145, 70, 255, 0.35), 0 0 0 1px rgba(145, 70, 255, 0.35);
}
.btn-streamer:hover {
  box-shadow: 0 14px 40px rgba(145, 70, 255, 0.5), 0 0 0 1px rgba(245, 197, 24, 0.35);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.02rem;
}

/* ---------- Mobile nav ---------- */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  z-index: 3;
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.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); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(7, 7, 9, 0.96);
  backdrop-filter: blur(24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}
.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}
.mobile-menu a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s, transform 0.2s;
}
.mobile-menu a:hover { color: var(--gold); transform: scale(1.05); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border-radius: var(--radius-pill);
  background: rgba(245, 197, 24, 0.08);
  border: 1px solid rgba(245, 197, 24, 0.25);
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #33ff77;
  box-shadow: 0 0 12px #33ff77;
  animation: pulse 1.8s ease-in-out infinite;
}

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  font-weight: 700;
  letter-spacing: -3px;
  line-height: 0.95;
  margin-bottom: 20px;
}
.hero h1 .line-gold {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold), #c9970a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero h1 .line-red {
  background: linear-gradient(135deg, #ff6b6b, var(--red));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.stat-pill {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  min-width: 110px;
}
.stat-pill strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
}
.stat-pill span {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(245, 197, 24, 0.15);
  animation: ring-spin 24s linear infinite;
}
.hero-ring.r1 { width: 340px; height: 340px; }
.hero-ring.r2 {
  width: 420px;
  height: 420px;
  border-color: rgba(227, 6, 19, 0.12);
  animation-direction: reverse;
  animation-duration: 32s;
}
.hero-ring.r3 {
  width: 500px;
  height: 500px;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.06);
  animation-duration: 48s;
}

.hero-logo-wrap {
  position: relative;
  z-index: 2;
  width: min(300px, 68vw);
  animation: logo-float 4.5s ease-in-out infinite;
  will-change: transform;
  /* soft glow behind can — no square box */
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.55));
}
.hero-logo-wrap::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 55%;
  width: 70%;
  height: 55%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(245, 197, 24, 0.22) 0%, rgba(227, 6, 19, 0.08) 45%, transparent 70%);
  z-index: -1;
  pointer-events: none;
  filter: blur(8px);
}
.hero-logo-wrap img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent;
  display: block;
}

.hero-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 197, 24, 0.35), transparent 70%);
  filter: blur(40px);
  z-index: 1;
  animation: glow-pulse 3.5s ease-in-out infinite;
}

.flag-bar {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  width: 160px;
  height: 6px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  z-index: 3;
}
.flag-bar span { flex: 1; }
/* German flag: pure black must stay visible on dark UI */
.flag-bar .b { background: #000000; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14); }
.flag-bar .r { background: var(--red); }
.flag-bar .g { background: var(--gold); }

/* ---------- Sections ---------- */
section {
  padding: 100px 0;
  position: relative;
}

.section-head {
  text-align: center;
  margin-bottom: 52px;
}
.section-kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-head h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -1.5px;
  margin-bottom: 14px;
}
.section-head p {
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ---------- Cards / glass ---------- */
.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-deep);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}
.glass-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 197, 24, 0.25);
  box-shadow: var(--shadow-deep), var(--glow-gold);
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.35s;
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--gold-dim), var(--red-dim));
  border: 1px solid rgba(245, 197, 24, 0.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.feature-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.feature-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Server status panel */
.server-panel {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.server-main {
  padding: 36px;
  position: relative;
  overflow: hidden;
}
.server-main::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(245, 197, 24, 0.12), transparent 70%);
  pointer-events: none;
}
.server-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.server-main h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  letter-spacing: -1px;
  margin-bottom: 8px;
}
.server-main .desc {
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 420px;
}

.server-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.meta-box {
  padding: 14px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.meta-box .label {
  font-size: 0.7rem;
  color: var(--muted-2);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.meta-box .value {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  word-break: break-all;
}

.server-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.side-card {
  padding: 24px;
  flex: 1;
}
.side-card h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.side-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.copy-row {
  display: flex;
  gap: 8px;
}
.copy-row input {
  flex: 1;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  color: #fff;
  padding: 12px 14px;
  font-family: 'Space Grotesk', monospace;
  font-size: 0.9rem;
  outline: none;
}
.copy-row input:focus {
  border-color: rgba(245, 197, 24, 0.45);
}
.copy-btn {
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(245, 197, 24, 0.3);
  background: var(--gold-dim);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
  transition: background 0.25s, transform 0.25s;
}
.copy-btn:hover {
  background: rgba(245, 197, 24, 0.25);
  transform: scale(1.03);
}
.copy-btn.copied {
  color: #33ff77;
  border-color: rgba(51, 255, 119, 0.4);
}

/* Rules */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.rule-item {
  display: flex;
  gap: 16px;
  padding: 22px 20px;
  align-items: flex-start;
}
.rule-num {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  background: linear-gradient(135deg, var(--gold-dim), var(--red-dim));
  border: 1px solid rgba(245, 197, 24, 0.25);
  color: var(--gold);
}
.rule-item h3 {
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.rule-item p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* CTA band */
.cta-band {
  padding: 28px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(245, 197, 24, 0.12), rgba(227, 6, 19, 0.1)),
    var(--glass);
  border: 1px solid rgba(245, 197, 24, 0.22);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(245, 197, 24, 0.15), transparent 50%);
  pointer-events: none;
}
.cta-band h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -1px;
  margin-bottom: 8px;
}
.cta-band p {
  color: var(--muted);
  max-width: 420px;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
  z-index: 1;
}

/* Steps / connect */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step-card {
  padding: 28px 24px;
  position: relative;
}
.step-card::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -2px;
  background: linear-gradient(135deg, var(--gold), var(--red));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 12px;
  line-height: 1;
}
.step-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.step-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Page hero (subpages) */
.page-hero {
  padding: calc(var(--header-h) + 60px) 0 40px;
  text-align: center;
}
.page-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -2px;
  margin-bottom: 12px;
}
.page-hero p {
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
}

.content-block {
  max-width: 780px;
  margin: 0 auto 80px;
  padding: 36px;
}
.content-block h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  margin: 28px 0 10px;
  color: var(--gold-soft);
}
.content-block h2:first-child { margin-top: 0; }
.content-block p, .content-block li {
  color: var(--muted);
  margin-bottom: 10px;
}
.content-block ul {
  padding-left: 20px;
  margin-bottom: 16px;
}
.content-block a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 48px 0 28px;
  margin-top: 40px;
  position: relative;
  z-index: 2;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-brand img {
  width: 56px;
  height: auto;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45));
}
.footer-brand strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
}
.footer-brand p {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted-2);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  padding: 5px 0;
  transition: color 0.2s, transform 0.2s;
}
.footer-col a:hover {
  color: var(--gold);
  transform: translateX(3px);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--muted-2);
  font-size: 0.82rem;
}
.footer-flag {
  display: inline-flex;
  width: 28px;
  height: 10px;
  border-radius: 2px;
  overflow: hidden;
  vertical-align: middle;
  margin-right: 6px;
}
.footer-flag i { flex: 1; display: block; }
.footer-flag .b { background: #000000; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12); }
.footer-flag .r { background: var(--red); }
.footer-flag .g { background: var(--gold); }

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.4s; }

/* Toast */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(20, 20, 24, 0.95);
  border: 1px solid rgba(245, 197, 24, 0.35);
  color: #fff;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s var(--ease);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Keyframes ---------- */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.85); }
}
@keyframes logo-float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-14px) rotate(1.5deg); }
}
@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
@keyframes orb-drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, 30px) scale(1.12); }
}
@keyframes ring-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.12); }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { min-height: 320px; order: -1; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .server-panel { grid-template-columns: 1fr; }
  .server-meta { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-desktop { display: none; }
  .burger { display: flex; }
  .header-actions .btn-ghost { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .rules-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { letter-spacing: -1.5px; }
  section { padding: 72px 0; }
  .container { width: calc(100% - 28px); }
  body { cursor: auto; }
  #custom-cursor, #cursor-trail { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
/* ============================================================
   v2 — Coming Soon, Can, Live, Killfeed, Socials, Mobile
   ============================================================ */

.coming-soon-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background: linear-gradient(90deg, rgba(227,6,19,0.95), rgba(245,197,24,0.9), rgba(227,6,19,0.95));
  background-size: 200% 100%;
  animation: gradient-shift 4s linear infinite;
  color: #111;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 12px;
  text-align: center;
}
.coming-soon-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  max-width: 1100px;
  margin: 0 auto;
}
.cs-pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: #111;
  box-shadow: 0 0 0 0 rgba(0,0,0,0.4);
  animation: cs-ping 1.6s ease infinite;
}
@keyframes cs-ping {
  0% { box-shadow: 0 0 0 0 rgba(0,0,0,0.45); }
  70% { box-shadow: 0 0 0 10px rgba(0,0,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,0,0,0); }
}
.cs-sep { opacity: 0.5; }
.cs-link {
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
  color: #111;
}
.site-header.has-cs-bar { top: 36px; }
body.coming-soon-mode { --header-h: 108px; }
body.coming-soon-mode .hero { padding-top: calc(var(--header-h) + 20px); }

.live-dot.soon {
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
}
.hero-badge-soon {
  background: rgba(245,197,24,0.12);
  border-color: rgba(245,197,24,0.4);
  color: var(--gold-soft);
}
.text-gold { color: var(--gold-soft); }

/* Social chips */
.hero-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s;
}
.chip:hover { transform: translateY(-2px); }
.chip-discord:hover { border-color: #5865f2; background: rgba(88,101,242,0.15); }
.chip-twitch:hover { border-color: #9146ff; background: rgba(145,70,255,0.15); }
.chip-tiktok:hover { border-color: #25f4ee; background: rgba(37,244,238,0.1); }

.btn-twitch {
  background: linear-gradient(135deg, #9146ff, #772ce8);
  color: #fff;
  box-shadow: 0 8px 28px rgba(145,70,255,0.35);
}
.btn-tiktok {
  background: linear-gradient(135deg, #25f4ee, #fe2c55);
  color: #111;
  font-weight: 800;
  box-shadow: 0 8px 28px rgba(254,44,85,0.3);
}
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.social-row.dense { margin-top: 4px; }
.social-btn {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: #fff;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s;
}
.social-btn:hover { transform: translateY(-3px) scale(1.05); }
.social-btn.discord:hover { background: rgba(88,101,242,0.25); border-color: #5865f2; }
.social-btn.twitch:hover { background: rgba(145,70,255,0.25); border-color: #9146ff; }
.social-btn.tiktok:hover { background: rgba(254,44,85,0.2); border-color: #fe2c55; }

/* Interactive Can */
.can-stage {
  position: relative;
  z-index: 2;
  width: min(320px, 72vw);
  aspect-ratio: 320 / 370;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  outline: none;
  animation: logo-float 4s ease-in-out infinite;
  filter: drop-shadow(0 20px 50px rgba(245,197,24,0.28)) drop-shadow(0 0 70px rgba(227,6,19,0.18));
  margin-bottom: 28px;
}
body.touch-device .can-stage { cursor: pointer; }
.can-stage:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 8px;
  border-radius: 20px;
}
.can-stage:active { transform: scale(0.97); }
.can-img {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
  pointer-events: none;
  transition: opacity 0.45s var(--ease), transform 0.55s var(--ease), filter 0.45s;
}
.can-open {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.92) rotate(-4deg);
}
.can-stage.open .can-closed {
  opacity: 0;
  transform: scale(1.05) rotate(3deg);
}
.can-stage.open .can-open {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}
.can-stage.open {
  animation: can-pop 0.55s var(--ease) forwards, logo-float 4s ease-in-out 0.55s infinite;
  filter: drop-shadow(0 25px 60px rgba(245,197,24,0.45)) drop-shadow(0 0 90px rgba(255,200,50,0.35));
}
@keyframes can-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.12) rotate(-2deg); }
  100% { transform: scale(1); }
}
.can-hint {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(10,10,12,0.85);
  border: 1px solid rgba(245,197,24,0.35);
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  animation: hint-bounce 1.8s ease-in-out infinite;
  z-index: 5;
}
.can-stage.open .can-hint { opacity: 0; transform: translateX(-50%) translateY(8px); transition: opacity 0.3s, transform 0.3s; }
@keyframes hint-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-6px); }
}
.can-hint-icon { font-size: 1rem; }

/* Foam particles */
.foam-layer {
  position: absolute;
  left: 50%;
  top: 8%;
  width: 0;
  height: 0;
  z-index: 4;
  pointer-events: none;
  overflow: visible;
}
.foam-bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff8e0, #f5c518 45%, rgba(245,197,24,0.2) 70%, transparent);
  opacity: 0;
  animation: foam-burst 1.1s var(--ease) forwards;
  box-shadow: 0 0 12px rgba(245,197,24,0.5);
}
@keyframes foam-burst {
  0% { opacity: 0; transform: translate(0,0) scale(0.2); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1); }
}
.foam-splash {
  position: absolute;
  left: 50%;
  top: 12%;
  width: 80px;
  height: 80px;
  margin-left: -40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,240,180,0.85), rgba(245,197,24,0.4) 40%, transparent 70%);
  opacity: 0;
  pointer-events: none;
  z-index: 3;
}
.can-stage.open .foam-splash {
  animation: splash 0.7s var(--ease) forwards;
}
@keyframes splash {
  0% { opacity: 0; transform: scale(0.3); }
  40% { opacity: 1; transform: scale(1.3); }
  100% { opacity: 0; transform: scale(1.8); }
}

/* Live stats */
.live-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.live-card {
  padding: 22px 20px;
  position: relative;
  overflow: hidden;
}
.live-card::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(245,197,24,0.12), transparent 70%);
  pointer-events: none;
}
.live-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  gap: 8px;
}
.live-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--muted);
  font-weight: 700;
}
.badge-soon, .badge-live {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.badge-soon {
  background: rgba(245,197,24,0.15);
  color: var(--gold);
  border: 1px solid rgba(245,197,24,0.35);
}
.badge-live {
  background: rgba(51,255,119,0.1);
  color: #66ff99;
  border: 1px solid rgba(51,255,119,0.3);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.live-big {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 8px;
}
.live-big.live-status {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  background: linear-gradient(135deg, var(--gold-soft), var(--red));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.live-max {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0;
}
.live-sub {
  font-size: 0.82rem;
  color: var(--muted-2);
}
.progress-track {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 99px;
  overflow: hidden;
  margin-top: 10px;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--gold));
  border-radius: 99px;
  transition: width 0.8s var(--ease);
  box-shadow: 0 0 12px rgba(245,197,24,0.5);
}

/* Combat: Killfeed + Leaderboard */
.section-tight-bottom { padding-bottom: 40px; }
.combat-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
}
.combat-panel {
  padding: 0;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  flex-direction: column;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.2);
}
.panel-head h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  letter-spacing: -0.3px;
}
.panel-tag {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.06);
  color: var(--muted);
  border: 1px solid rgba(255,255,255,0.08);
}
.panel-tag.gold {
  background: var(--gold-dim);
  color: var(--gold);
  border-color: rgba(245,197,24,0.3);
}

.killfeed-list, .lb-list {
  flex: 1;
  overflow-y: auto;
  max-height: 420px;
  padding: 8px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(245,197,24,0.3) transparent;
}

.kf-empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--muted);
}
.kf-empty-icon { font-size: 2.4rem; margin-bottom: 12px; }
.kf-empty strong {
  display: block;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  margin-bottom: 6px;
}
.kf-empty p { font-size: 0.9rem; max-width: 280px; margin: 0 auto; }

.kf-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: auto auto;
  gap: 2px 10px;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  animation: kf-in 0.5s var(--ease) both;
  transition: background 0.2s;
}
.kf-row:hover { background: rgba(245,197,24,0.04); }
@keyframes kf-in {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: translateX(0); }
}
.kf-killer {
  font-weight: 700;
  color: var(--gold-soft);
  text-align: right;
}
.kf-victim {
  font-weight: 700;
  color: #ff6b6b;
  text-align: left;
}
.kf-weapon {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 3px 8px;
  border-radius: 8px;
  align-self: center;
  white-space: nowrap;
}
.kf-meta {
  grid-column: 1 / -1;
  font-size: 0.72rem;
  color: var(--muted-2);
  text-align: center;
}

.lb-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: background 0.2s, transform 0.25s var(--ease);
}
.lb-row:hover {
  background: rgba(245,197,24,0.05);
  transform: translateX(3px);
}
.lb-rank {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  width: 36px;
  color: var(--muted);
}
.lb-row.rank-1 .lb-rank { color: var(--gold); text-shadow: 0 0 12px rgba(245,197,24,0.5); }
.lb-row.rank-2 .lb-rank { color: #c0c0c0; }
.lb-row.rank-3 .lb-rank { color: #cd7f32; }
.lb-name {
  flex: 1;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lb-stats {
  display: flex;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--muted);
}
.lb-stats b { color: #fff; font-weight: 700; }
.lb-kdr {
  color: var(--gold) !important;
  font-weight: 700;
  min-width: 36px;
  text-align: right;
}

.mobile-socials {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.mobile-socials a {
  font-size: 1rem !important;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
}

/* Mobile polish */
@media (max-width: 980px) {
  .live-grid { grid-template-columns: 1fr 1fr; }
  .combat-grid { grid-template-columns: 1fr; }
  .coming-soon-inner span:not(.cs-pulse):not(.cs-sep) { font-size: 0.78rem; }
}
@media (max-width: 720px) {
  .hide-sm { display: none !important; }
  .live-grid { grid-template-columns: 1fr; }
  .can-stage { width: min(260px, 78vw); }
  .hero-visual { min-height: 300px; margin-bottom: 12px; }
  .hero-ring.r3 { display: none; }
  .coming-soon-bar { font-size: 0.75rem; padding: 7px 10px; }
  .site-header.has-cs-bar { top: 52px; }
  body.coming-soon-mode { --header-h: 124px; }
  .cs-sep, .coming-soon-inner > span:nth-of-type(2) { display: none; }
  .kf-row {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .kf-killer, .kf-victim { text-align: center; }
  .lb-stats { gap: 6px; font-size: 0.72rem; }
  .panel-head { padding: 14px 16px; }
  .combat-panel { min-height: 280px; }
  .brand-text { font-size: 0.92rem; }
  .header-actions .btn-discord { padding: 8px 14px; font-size: 0.82rem; }
}
@media (max-width: 400px) {
  .hero h1 { font-size: 2.4rem; letter-spacing: -1px; }
  .btn-lg { padding: 14px 22px; font-size: 0.95rem; }
}

/* ============================================================
   v4 — Logo clean + Mobile fluid performance
   ============================================================ */

img[src*="logo"],
img[src*="can-"],
.brand-logo,
.loader-logo,
.hero-logo-wrap img,
.footer-brand img {
  background: transparent !important;
  image-rendering: auto;
  -webkit-user-drag: none;
}

/* Smoother global motion */
@media (prefers-reduced-motion: no-preference) {
  .glass-card {
    transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.35s ease;
  }
  .btn {
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.25s, border-color 0.25s;
  }
  .reveal {
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }
}

/* Mobile / touch: lighter, smoother, no jank */
@media (max-width: 720px) {
  html {
    scroll-padding-top: calc(var(--header-h) + 8px);
  }

  body {
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    overscroll-behavior-y: none;
  }

  /* Kill heavy layers on phone */
  .scanlines,
  .noise {
    display: none !important;
  }

  .ambient-orb {
    filter: blur(50px);
    opacity: 0.22;
    animation-duration: 28s;
  }
  .ambient-orb.soft { display: none; }

  #particles {
    opacity: 0.35;
  }

  .site-header {
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
  }

  .glass-card {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 18px;
  }
  .glass-card:hover {
    transform: none; /* no hover lift on touch */
  }

  .hero {
    min-height: auto;
    padding: calc(var(--header-h) + 24px) 0 48px;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-visual {
    min-height: 260px;
    margin-bottom: 4px;
  }

  .hero-ring.r2,
  .hero-ring.r3 {
    display: none;
  }
  .hero-ring.r1 {
    width: 260px;
    height: 260px;
    opacity: 0.6;
    animation-duration: 36s;
  }

  .hero-logo-wrap {
    width: min(220px, 58vw);
    animation-duration: 5s;
  }
  .hero-logo-wrap::before {
    width: 80%;
    height: 60%;
    opacity: 0.85;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.2rem);
    letter-spacing: -1.2px;
    line-height: 0.98;
  }

  .hero-lead {
    font-size: 0.98rem;
    margin-bottom: 22px;
  }

  .hero-cta {
    gap: 10px;
  }
  .hero-cta .btn-lg {
    flex: 1 1 auto;
    min-width: 140px;
    padding: 14px 18px;
    font-size: 0.92rem;
  }

  .hero-stats {
    gap: 10px;
  }
  .stat-pill {
    flex: 1 1 30%;
    min-width: 90px;
    padding: 12px 12px;
  }
  .stat-pill strong {
    font-size: 1.15rem;
  }

  section {
    padding: 56px 0;
  }

  .section-head {
    margin-bottom: 28px;
  }
  .section-head h2 {
    font-size: 1.75rem;
    letter-spacing: -0.8px;
  }

  .live-grid {
    gap: 12px;
  }
  .live-card {
    padding: 18px 16px;
  }
  .live-big {
    font-size: 1.85rem;
  }

  .server-main {
    padding: 22px 18px;
  }
  .server-meta {
    gap: 10px;
  }
  .meta-box {
    padding: 12px;
  }

  .combat-panel {
    min-height: 0;
  }
  .killfeed-list,
  .lb-list {
    max-height: 320px;
    -webkit-overflow-scrolling: touch;
  }

  .features-grid {
    gap: 12px;
  }
  .feature-card {
    padding: 20px 18px;
  }

  .cta-band {
    padding: 22px 18px;
    border-radius: 20px;
  }
  .cta-actions {
    width: 100%;
  }
  .cta-actions .btn {
    flex: 1;
    justify-content: center;
  }

  .coming-soon-bar {
    font-size: 0.72rem;
    padding: 8px 10px;
    line-height: 1.35;
  }
  .site-header.has-cs-bar {
    top: 48px;
  }
  body.coming-soon-mode {
    --header-h: 118px;
  }

  .mobile-menu {
    padding: env(safe-area-inset-top) 20px env(safe-area-inset-bottom);
  }
  .mobile-menu a {
    font-size: 1.45rem;
    padding: 6px 0;
  }

  .footer-grid {
    gap: 24px;
  }
  .site-footer {
    padding: 36px 0 24px;
  }

  /* Smoother scroll on iOS */
  .site-wrap {
    transform: translateZ(0);
  }
}

/* Tablet */
@media (min-width: 721px) and (max-width: 980px) {
  .hero-logo-wrap {
    width: min(260px, 40vw);
  }
  .live-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-logo-wrap,
  .loader-logo,
  .hero-ring,
  .ambient-orb,
  .live-dot {
    animation: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Discord widget section */
.discord-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: stretch;
  max-width: 900px;
  margin: 0 auto;
}
.discord-info {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.discord-info-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(88, 101, 242, 0.15);
  border: 1px solid rgba(88, 101, 242, 0.35);
  color: #7289da;
  margin-bottom: 18px;
}
.discord-info h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.45rem;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}
.discord-info > p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 18px;
}
.discord-perks {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.discord-perks li {
  position: relative;
  padding-left: 22px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
}
.discord-perks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #5865f2, var(--gold));
  box-shadow: 0 0 10px rgba(88, 101, 242, 0.5);
}
.discord-widget-wrap {
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 500px;
}
.discord-widget {
  width: 350px;
  max-width: 100%;
  height: 500px;
  border: 0;
  border-radius: 12px;
  background: #1e1f22;
  display: block;
}
@media (max-width: 820px) {
  .discord-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
  .discord-widget-wrap {
    min-height: 480px;
    padding: 10px;
  }
  .discord-widget {
    width: 100%;
    height: 480px;
  }
  .discord-info {
    padding: 24px 20px;
  }
}

/* ============================================================
   v6 — Gallery, DayZ hero BG, cleaner features, page structure
   ============================================================ */

/* Hero with DayZ screenshots */
.hero-with-bg {
  position: relative;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.4s ease, transform 8s ease;
}
.hero-bg-slide.active {
  opacity: 1;
  transform: scale(1);
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(7,7,9,0.94) 0%, rgba(7,7,9,0.78) 42%, rgba(7,7,9,0.55) 100%),
    linear-gradient(to top, rgba(7,7,9,0.95) 0%, transparent 45%);
  z-index: 1;
}
.hero-with-bg .container {
  position: relative;
  z-index: 2;
}
.hero-with-bg .hero-copy .hero-lead,
.hero-with-bg .stat-pill {
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  padding: 0;
  overflow: hidden;
  margin: 0;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.gallery-item:hover img {
  transform: scale(1.06);
}
.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 14px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #fff;
}
.gallery-item:nth-child(1) {
  grid-column: span 2;
}
.gallery-item:nth-child(1) img {
  height: 280px;
}

/* Feature cards with photo */
.feature-card-photo {
  position: relative;
  overflow: hidden;
  min-height: 200px;
}
.feature-card-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(7,7,9,0.88) 20%, rgba(7,7,9,0.72) 100%),
    var(--feat-img) center/cover no-repeat;
  z-index: 0;
  transition: transform 0.5s var(--ease);
}
.feature-card-photo:hover::after {
  transform: scale(1.05);
}
.feature-card-photo > * {
  position: relative;
  z-index: 1;
}
.feature-card-photo .feature-icon {
  background: rgba(245,197,24,0.12);
  border-color: rgba(245,197,24,0.3);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
}

/* Page hero with bg */
.page-hero-bg {
  position: relative;
  overflow: hidden;
}
.page-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(7,7,9,0.75), rgba(7,7,9,0.92)),
    var(--page-bg) center/cover no-repeat;
  z-index: 0;
}
.page-hero-bg .container {
  position: relative;
  z-index: 1;
}

.notice-soon {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(245,197,24,0.1);
  border: 1px solid rgba(245,197,24,0.3);
  color: var(--gold-soft);
}

/* Inner pages: no loader flash */
body.page-inner #site-loader {
  display: none !important;
}

/* Cleaner empty killfeed */
.kf-empty-icon { display: none !important; }

@media (max-width: 980px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-item:nth-child(1) {
    grid-column: span 2;
  }
  .gallery-item:nth-child(1) img {
    height: 220px;
  }
}
@media (max-width: 720px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .gallery-item:nth-child(1) {
    grid-column: span 1;
  }
  .gallery-item img,
  .gallery-item:nth-child(1) img {
    height: 180px;
  }
  .hero-with-bg .hero-bg-slide {
    transform: none;
  }
  .hero-bg-overlay {
    background:
      linear-gradient(to bottom, rgba(7,7,9,0.82) 0%, rgba(7,7,9,0.88) 100%);
  }
}

/* ============================================================
   v7 — Logo black stripe OK + Mobile perfection
   ============================================================ */

/* Coming soon bar — compact & clean */
.coming-soon-bar {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  line-height: 1.3;
}
.coming-soon-inner {
  flex-wrap: nowrap;
  gap: 8px;
  width: 100%;
  justify-content: center;
}
.cs-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.site-header.has-cs-bar {
  top: 36px;
}
body.coming-soon-mode {
  --cs-h: 36px;
  --header-h: calc(72px + var(--cs-h));
}
body.coming-soon-mode .hero,
body.coming-soon-mode .page-hero {
  padding-top: calc(var(--header-h) + 16px);
}

/* Mobile perfection */
@media (max-width: 720px) {
  :root {
    --header-h: 60px;
  }

  body.coming-soon-mode {
    --cs-h: 34px;
    --header-h: calc(60px + var(--cs-h));
  }

  .coming-soon-bar {
    min-height: var(--cs-h);
    padding: 6px 12px;
    font-size: 0.72rem;
  }
  .coming-soon-inner {
    gap: 6px;
  }
  .cs-sep,
  .cs-text {
    display: none;
  }
  .cs-title {
    font-size: 0.75rem;
  }
  .cs-link {
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(0,0,0,0.12);
    text-decoration: none;
    font-size: 0.72rem;
  }
  .site-header.has-cs-bar {
    top: var(--cs-h);
  }

  .site-header {
    height: 60px;
    padding: 0;
  }
  .header-inner {
    width: calc(100% - 20px);
    gap: 8px;
  }
  .brand {
    gap: 8px;
    min-width: 0;
  }
  .brand-logo {
    width: 34px !important;
    height: 40px !important;
    flex-shrink: 0;
  }
  .brand-text {
    font-size: 0.88rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 42vw;
  }
  .header-actions {
    gap: 8px;
    flex-shrink: 0;
  }
  .header-actions .btn-discord {
    padding: 8px 12px;
    font-size: 0.78rem;
  }
  .burger {
    width: 40px;
    height: 40px;
  }

  .container {
    width: calc(100% - 24px);
  }

  /* Hero: content first, compact logo */
  .hero,
  .hero-with-bg {
    min-height: auto;
    padding: calc(var(--header-h) + 12px) 0 36px;
  }
  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
    text-align: center;
    align-items: center;
  }
  .hero-visual {
    order: -1;
    min-height: 0 !important;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 0 4px;
    padding: 8px 0 0;
  }
  .hero-ring {
    display: none !important;
  }
  .hero-glow {
    width: 160px;
    height: 160px;
    opacity: 0.7;
  }
  .hero-logo-wrap {
    width: min(168px, 46vw) !important;
    margin: 0 auto;
    animation-duration: 5s;
  }
  .hero-logo-wrap::before {
    width: 90%;
    height: 55%;
  }
  .flag-bar {
    width: 100px;
    height: 5px;
    bottom: -4px;
  }

  .hero-copy {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-badge {
    margin-bottom: 12px;
    font-size: 0.68rem;
    padding: 6px 12px 6px 10px;
  }
  .hero h1 {
    font-size: clamp(2.4rem, 12vw, 3.1rem);
    letter-spacing: -1.4px;
    line-height: 0.95;
    margin-bottom: 12px;
  }
  .hero-lead {
    font-size: 0.95rem;
    line-height: 1.55;
    max-width: 34em;
    margin: 0 auto 18px;
    padding: 0 4px;
  }
  .hero-cta {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
  }
  .hero-cta .btn {
    width: 100%;
    padding: 13px 10px;
    font-size: 0.88rem;
    justify-content: center;
  }
  .hero-socials {
    justify-content: center;
    margin-bottom: 16px;
    gap: 8px;
  }
  .chip {
    padding: 7px 12px;
    font-size: 0.74rem;
  }
  .hero-stats {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .stat-pill {
    min-width: 0;
    padding: 12px 8px;
    align-items: center;
    text-align: center;
  }
  .stat-pill strong {
    font-size: 1.1rem;
  }
  .stat-pill span {
    font-size: 0.65rem;
  }

  /* Sections */
  section {
    padding: 48px 0;
  }
  .section-head {
    margin-bottom: 22px;
  }
  .section-head h2 {
    font-size: 1.65rem;
    letter-spacing: -0.6px;
  }
  .section-head p {
    font-size: 0.92rem;
  }

  .live-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .live-card {
    padding: 14px 12px;
  }
  .live-big {
    font-size: 1.55rem;
  }
  .live-big.live-status {
    font-size: 1.15rem;
  }

  .server-main {
    padding: 20px 16px;
  }
  .server-main h3 {
    font-size: 1.55rem;
  }
  .server-meta {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .btn-row {
    width: 100%;
  }
  .btn-row .btn {
    flex: 1;
    justify-content: center;
  }
  .copy-row {
    flex-direction: column;
  }
  .copy-row input {
    width: 100%;
  }
  .copy-btn {
    width: 100%;
    padding: 12px;
  }
  .social-row.dense {
    flex-direction: column;
  }
  .social-row.dense .btn {
    width: 100%;
    justify-content: center;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .gallery-item:nth-child(1) {
    grid-column: auto;
  }
  .gallery-item img,
  .gallery-item:nth-child(1) img {
    height: 190px;
  }

  .discord-grid {
    max-width: 100%;
  }
  .discord-widget-wrap {
    min-height: 420px;
    padding: 8px;
  }
  .discord-widget {
    height: 420px;
    width: 100%;
  }

  .combat-grid {
    gap: 12px;
  }
  .features-grid {
    gap: 10px;
  }
  .feature-card {
    padding: 18px 16px;
    min-height: 0;
  }

  .cta-band {
    padding: 20px 16px;
    gap: 16px;
  }
  .cta-band h2 {
    font-size: 1.4rem;
  }
  .cta-actions {
    flex-direction: column;
  }
  .cta-actions .btn {
    width: 100%;
  }

  .page-hero {
    padding: calc(var(--header-h) + 28px) 0 28px;
  }
  .page-hero h1 {
    font-size: 2rem;
  }
  .content-block {
    padding: 22px 16px;
    margin-bottom: 48px;
  }

  .site-footer {
    padding: 32px 0 20px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .mobile-menu a {
    font-size: 1.35rem;
    padding: 10px 0;
  }
  .mobile-socials {
    margin-top: 12px;
  }
}

/* Very small phones */
@media (max-width: 380px) {
  .brand-text {
    max-width: 34vw;
    font-size: 0.8rem;
  }
  .hero-logo-wrap {
    width: min(148px, 50vw) !important;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero-cta {
    grid-template-columns: 1fr;
  }
  .live-grid {
    grid-template-columns: 1fr;
  }
}

/* Safe area (notch phones) */
@supports (padding: env(safe-area-inset-top)) {
  .coming-soon-bar {
    padding-top: max(6px, env(safe-area-inset-top));
  }
  body.coming-soon-mode {
    --cs-h: calc(34px + env(safe-area-inset-top));
  }
  .site-footer {
    padding-bottom: max(20px, env(safe-area-inset-bottom));
  }
}

/* ============================================================
   Streamer pages & cards
   ============================================================ */
.btn-streamer {
  background: linear-gradient(135deg, #9146ff, #772ce8 55%, #e30613);
  color: #fff;
  box-shadow: 0 8px 28px rgba(145, 70, 255, 0.35), 0 0 0 1px rgba(145, 70, 255, 0.35);
}
.btn-streamer:hover {
  box-shadow: 0 14px 40px rgba(145, 70, 255, 0.5), 0 0 0 1px rgba(245, 197, 24, 0.35);
}

.chip-youtube:hover { border-color: #ff0033; background: rgba(255,0,51,0.12); }
.chip-kick:hover { border-color: #53fc18; background: rgba(83,252,24,0.1); color: #b8ff9a; }

.streamer-page .page-hero,
.streamer-subhero {
  padding: calc(var(--header-h) + 48px) 0 24px;
}
.streamer-hero .hero-grid.streamer-hero-grid {
  align-items: center;
  gap: 36px;
}
.streamer-overlay {
  background:
    linear-gradient(120deg, rgba(7,7,9,0.92) 0%, rgba(7,7,9,0.72) 45%, rgba(20,8,40,0.75) 100%),
    radial-gradient(ellipse at 80% 20%, rgba(145,70,255,0.25), transparent 50%);
}
.streamer-hero-card { position: relative; z-index: 1; }
.streamer-perk-card {
  padding: 28px 24px;
  border: 1px solid rgba(145,70,255,0.25);
  box-shadow: 0 20px 50px rgba(0,0,0,0.45), 0 0 40px rgba(145,70,255,0.12);
}
.streamer-perk-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #c4a0ff;
  margin-bottom: 12px;
}
.streamer-badge-pulse {
  width: 10px; height: 10px; border-radius: 50%;
  background: #9146ff;
  box-shadow: 0 0 0 0 rgba(145,70,255,0.55);
  animation: streamerPulse 1.8s ease infinite;
}
@keyframes streamerPulse {
  0% { box-shadow: 0 0 0 0 rgba(145,70,255,0.5); }
  70% { box-shadow: 0 0 0 12px rgba(145,70,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(145,70,255,0); }
}
.streamer-perk-card h3 {
  font-family: " Space Grotesk\, sans-serif;
 font-size: 1.45rem;
 margin-bottom: 10px;
 letter-spacing: -0.4px;
}
.streamer-perk-card p { color: var(--muted); margin-bottom: 16px; }
.streamer-mini-list {
 list-style: none;
 display: grid;
 gap: 8px;
 margin: 0 0 20px;
}
.streamer-mini-list li {
 position: relative;
 padding-left: 22px;
 color: var(--text);
 font-size: 0.95rem;
}
.streamer-mini-list li::before {
 content: "";
 position: absolute;
 left: 0; top: 0.45em;
 width: 8px; height: 8px;
 border-radius: 50%;
 background: linear-gradient(135deg, var(--gold), #9146ff);
 box-shadow: 0 0 10px rgba(245,197,24,0.4);
}
.streamer-hero-stats {
 display: flex;
 flex-wrap: wrap;
 gap: 10px;
 margin-top: 22px;
}

.streamer-benefits-section,
.streamer-partners-section,
.streamer-cta-section,
.streamer-form-section,
.streamer-login-section,
.home-streamer-section {
 padding: 72px 0;
}
.streamer-benefits-grid {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: 16px;
}
.streamer-benefit {
 padding: 22px 20px;
 transition: transform .25s var(--ease), border-color .25s;
}
.streamer-benefit:hover {
 transform: translateY(-4px);
 border-color: rgba(145,70,255,0.35);
}
.streamer-benefit-icon {
 width: 48px; height: 48px;
 display: grid; place-items: center;
 border-radius: 14px;
 background: rgba(145,70,255,0.12);
 border: 1px solid rgba(145,70,255,0.25);
 font-size: 1.35rem;
 margin-bottom: 14px;
}
.streamer-benefit h3 {
 font-size: 0.95rem;
 color: var(--gold-soft);
 margin-bottom: 6px;
 font-weight: 600;
}
.streamer-benefit p { color: var(--muted); font-size: 0.95rem; }

.streamer-grid {
 display: grid;
 grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
 gap: 16px;
}
.streamer-card {
 padding: 20px;
 display: flex;
 flex-direction: column;
 gap: 12px;
 transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.streamer-card:hover {
 transform: translateY(-3px);
 border-color: rgba(245,197,24,0.28);
}
.streamer-card.is-live {
 border-color: rgba(227,6,19,0.45);
 box-shadow: 0 0 30px rgba(227,6,19,0.15);
}
.streamer-card.compact { padding: 16px; }
.streamer-card-top {
 display: flex;
 align-items: center;
 gap: 12px;
}
.streamer-avatar {
 width: 64px; height: 64px;
 border-radius: 18px;
 background: linear-gradient(145deg, rgba(145,70,255,0.35), rgba(227,6,19,0.25));
 border: 1px solid rgba(255,255,255,0.12);
 display: grid; place-items: center;
 font-family: "Space Grotesk", sans-serif;
 font-weight: 700;
 font-size: 1.4rem;
 position: relative;
 overflow: hidden;
 flex-shrink: 0;
}
.streamer-avatar.sm { width: 48px; height: 48px; border-radius: 14px; font-size: 1.1rem; }
.streamer-avatar img { width: 100%; height: 100%; object-fit: cover; }
.streamer-live-dot {
 position: absolute;
 right: -2px; bottom: -2px;
 width: 14px; height: 14px;
 border-radius: 50%;
 background: var(--red);
 border: 2px solid var(--bg);
 box-shadow: 0 0 10px rgba(227,6,19,0.7);
}
.streamer-card-meta h3 {
 font-family: "Space Grotesk", sans-serif;
 font-size: 1.1rem;
 letter-spacing: -0.3px;
}
.streamer-featured-tag,
.streamer-live-tag {
 display: inline-block;
 font-size: 0.68rem;
 font-weight: 700;
 letter-spacing: 0.06em;
 text-transform: uppercase;
 padding: 2px 8px;
 border-radius: 999px;
 margin-right: 4px;
 margin-top: 4px;
}
.streamer-featured-tag {
 background: rgba(245,197,24,0.15);
 color: var(--gold);
 border: 1px solid rgba(245,197,24,0.3);
}
.streamer-live-tag {
 background: rgba(227,6,19,0.18);
 color: #ff6b73;
 border: 1px solid rgba(227,6,19,0.4);
}
.streamer-bio {
 color: var(--muted);
 font-size: 0.92rem;
 flex: 1;
 line-height: 1.45;
}
.streamer-platforms {
 display: flex;
 flex-wrap: wrap;
 gap: 8px;
}
.streamer-empty,
.streamer-empty-mini {
 text-align: center;
 padding: 40px 28px;
}
.streamer-empty h3,
.streamer-empty-mini strong {
 font-family: "Space Grotesk", sans-serif;
 margin-bottom: 8px;
 display: block;
}
.streamer-empty p,
.streamer-empty-mini p {
 color: var(--muted);
 margin-bottom: 18px;
}

.streamer-cta-card {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 28px;
 padding: 32px 28px;
 background:
 linear-gradient(135deg, rgba(145,70,255,0.12), rgba(245,197,24,0.06)),
 var(--glass);
 border-color: rgba(145,70,255,0.22);
}
.streamer-cta-card h2 {
 font-family: "Space Grotesk", sans-serif;
 font-size: 1.55rem;
 margin: 6px 0 8px;
}
.streamer-cta-card p { color: var(--muted); max-width: 520px; }
.streamer-cta-actions {
 display: flex;
 flex-wrap: wrap;
 gap: 10px;
 flex-shrink: 0;
}

.container.narrow { max-width: 720px; }
.streamer-form,
.streamer-login-card {
 padding: 28px 24px;
}
.streamer-form-title {
 font-family: "Space Grotesk", sans-serif;
 margin-bottom: 18px;
 font-size: 1.25rem;
}
.streamer-form-grid label,
.streamer-form-inner label {
 display: flex;
 flex-direction: column;
 gap: 6px;
 font-size: 0.82rem;
 font-weight: 600;
 color: var(--muted);
}
.streamer-form-grid label.full { grid-column: 1 / -1; }
.streamer-form-grid input,
.streamer-form-grid textarea,
.streamer-form-inner input {
 width: 100%;
 background: rgba(0,0,0,0.35);
 border: 1px solid var(--glass-border);
 border-radius: 12px;
 color: var(--text);
 padding: 12px 14px;
 font: inherit;
 outline: none;
}
.streamer-form-grid input:focus,
.streamer-form-grid textarea:focus,
.streamer-form-inner input:focus {
 border-color: rgba(145,70,255,0.45);
 box-shadow: 0 0 0 3px rgba(145,70,255,0.12);
}
.streamer-form-grid {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 14px;
 margin-bottom: 12px;
}
.streamer-form-inner {
 display: flex;
 flex-direction: column;
 gap: 14px;
 text-align: left;
}
.form-hint { color: var(--muted-2); font-size: 0.85rem; margin-bottom: 14px; }
.form-actions {
 display: flex;
 flex-wrap: wrap;
 gap: 10px;
 margin-top: 8px;
}
.form-msg {
 padding: 12px 14px;
 border-radius: 12px;
 margin-bottom: 14px;
 font-size: 0.92rem;
}
.form-msg.ok {
 background: rgba(61,214,140,0.12);
 border: 1px solid rgba(61,214,140,0.35);
 color: #7dffc0;
}
.form-msg.err {
 background: rgba(227,6,19,0.12);
 border: 1px solid rgba(227,6,19,0.35);
 color: #ff8a90;
}
.form-msg.hidden { display: none; }
label.check {
 flex-direction: row !important;
 align-items: center;
 gap: 10px !important;
 font-weight: 500 !important;
 color: var(--text) !important;
}
label.check input { width: auto !important; }

.streamer-login-section { min-height: 60vh; display: flex; align-items: center; }
.streamer-login-card { text-align: center; max-width: 440px; margin: 0 auto; }
.streamer-login-head { margin-bottom: 20px; }
.streamer-login-head img {
 margin: 0 auto 12px;
 filter: drop-shadow(0 10px 24px rgba(0,0,0,0.45));
}
.streamer-login-head h1 {
 font-family: "Space Grotesk", sans-serif;
 font-size: 1.5rem;
}
.streamer-login-head p { color: var(--muted); margin-top: 8px; font-size: 0.92rem; }
.streamer-login-links {
 display: flex;
 flex-direction: column;
 gap: 8px;
 margin-top: 18px;
 font-size: 0.9rem;
}
.streamer-login-links a { color: var(--muted); }
.streamer-login-links a:hover { color: var(--gold); }
.streamer-panel-bar {
 display: flex;
 gap: 10px;
 margin-bottom: 16px;
 flex-wrap: wrap;
}
.streamer-tips {
 margin-top: 16px;
 padding: 20px;
}
.streamer-tips h3 { margin-bottom: 10px; font-size: 1rem; }
.streamer-tips ul {
 margin: 0;
 padding-left: 18px;
 color: var(--muted);
 display: grid;
 gap: 6px;
}

.home-streamer-layout {
 display: grid;
 grid-template-columns: 1.1fr 0.9fr;
 gap: 18px;
 align-items: start;
}
.home-streamer-cta {
 padding: 28px 24px;
 border-color: rgba(145,70,255,0.22);
}
.home-streamer-cta h3 {
 font-family: "Space Grotesk", sans-serif;
 font-size: 1.4rem;
 margin: 4px 0 10px;
}
.home-streamer-cta > p { color: var(--muted); margin-bottom: 14px; }
.home-streamer-list {
 display: grid;
 gap: 12px;
}

@media (max-width: 960px) {
 .streamer-benefits-grid { grid-template-columns: 1fr 1fr; }
 .home-streamer-layout { grid-template-columns: 1fr; }
 .streamer-cta-card { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
 .streamer-benefits-grid,
 .streamer-form-grid { grid-template-columns: 1fr; }
 .streamer-hero-grid { text-align: center; }
 .streamer-hero-stats { justify-content: center; }
}

/* ============================================================
   Apply form + header streamer CTA (v9)
   ============================================================ */
.btn-streamer.is-active {
  box-shadow: 0 0 0 2px rgba(245,197,24,0.45), 0 10px 28px rgba(145,70,255,0.4);
}
.mobile-menu a.mobile-streamer {
  background: linear-gradient(135deg, rgba(145,70,255,0.25), rgba(227,6,19,0.15));
  border: 1px solid rgba(145,70,255,0.35);
  border-radius: 14px;
  color: #fff !important;
  font-weight: 700;
  margin-top: 4px;
}

.apply-page .apply-hero {
  padding: calc(var(--header-h) + 36px) 0 8px;
}
.apply-hero-inner { max-width: 720px; }
.apply-back {
  display: inline-block;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 14px;
  font-weight: 600;
}
.apply-back:hover { color: var(--gold); }
.apply-hero h1 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  letter-spacing: -0.6px;
  margin: 8px 0 10px;
}
.apply-hero p { color: var(--muted); font-size: 1.02rem; max-width: 540px; }
.apply-steps {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.apply-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--muted-2);
  font-weight: 600;
}
.apply-step i {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-style: normal;
  font-size: 0.75rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--glass-border);
}
.apply-step.is-on { color: var(--text); }
.apply-step.is-on i {
  background: linear-gradient(135deg, #9146ff, var(--red));
  border-color: transparent;
  color: #fff;
}
.apply-step-line {
  width: 28px; height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
}

.apply-section { padding-top: 20px; padding-bottom: 80px; }
.apply-wrap { max-width: 1040px; }
.apply-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
  align-items: start;
}
.apply-side-card { padding: 22px 18px; position: sticky; top: calc(var(--header-h) + 16px); }
.apply-side-card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.05rem;
  margin-bottom: 12px;
}
.apply-howto {
  margin: 0 0 16px;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
}
.apply-platforms-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}
.ap-pill {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
}
.ap-pill.twitch { color: #c4a0ff; border-color: rgba(145,70,255,0.4); background: rgba(145,70,255,0.12); }
.ap-pill.tiktok { color: #7dffd4; border-color: rgba(0,242,234,0.35); background: rgba(0,242,234,0.08); }
.ap-pill.youtube { color: #ff8a90; border-color: rgba(255,0,51,0.35); background: rgba(255,0,51,0.1); }
.ap-pill.kick { color: #b8ff9a; border-color: rgba(83,252,24,0.35); background: rgba(83,252,24,0.08); }
.apply-side-note { color: var(--muted-2); font-size: 0.85rem; line-height: 1.45; }

.apply-form {
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(145,70,255,0.18);
}
.apply-block {
  border: none;
  margin: 0;
  padding: 22px 22px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.apply-block:last-of-type { border-bottom: none; }
.apply-block legend {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 0 0 14px;
  float: none;
}
.apply-block-num {
  width: 32px; height: 32px;
  border-radius: 10px;
  display: grid; place-items: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
  background: linear-gradient(145deg, rgba(145,70,255,0.35), rgba(245,197,24,0.2));
  border: 1px solid rgba(145,70,255,0.3);
  color: #fff;
}
.apply-block legend strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.08rem;
  color: var(--text);
}
.apply-block legend em {
  display: block;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 2px;
  font-weight: 500;
}
.apply-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  clear: both;
}
.apply-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.apply-field.full { grid-column: 1 / -1; }
.apply-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.apply-label abbr { color: var(--gold); text-decoration: none; }
.apply-label .opt { font-weight: 500; color: var(--muted-2); font-size: 0.78rem; }
.apply-field input,
.apply-field textarea {
  width: 100%;
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  color: var(--text);
  padding: 13px 14px;
  font: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  min-height: 48px;
}
.apply-field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.apply-field input:focus,
.apply-field textarea:focus {
  border-color: rgba(145,70,255,0.55);
  box-shadow: 0 0 0 3px rgba(145,70,255,0.15);
}
.apply-help { font-size: 0.78rem; color: var(--muted-2); }
.center-help { text-align: center; margin: 8px 0 4px; }

.apply-pick-label {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 10px;
  font-weight: 600;
}
.platform-pick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.platform-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 8px;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.03);
  color: var(--text);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s var(--ease), border-color .2s, background .2s, box-shadow .2s;
  min-height: 76px;
  -webkit-tap-highlight-color: transparent;
}
.platform-chip .pc-icon { font-size: 1.25rem; line-height: 1; }
.platform-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(145,70,255,0.4);
}
.platform-chip.is-active {
  border-color: rgba(145,70,255,0.65);
  background: linear-gradient(160deg, rgba(145,70,255,0.22), rgba(227,6,19,0.1));
  box-shadow: 0 8px 24px rgba(145,70,255,0.2);
}
.platform-chip[data-platform="tiktok"].is-active {
  border-color: rgba(0,242,234,0.5);
  background: linear-gradient(160deg, rgba(0,242,234,0.12), rgba(255,0,80,0.1));
}
.platform-chip[data-platform="youtube"].is-active {
  border-color: rgba(255,0,51,0.5);
  background: rgba(255,0,51,0.12);
}
.platform-chip[data-platform="kick"].is-active {
  border-color: rgba(83,252,24,0.45);
  background: rgba(83,252,24,0.08);
}

.pl-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
}
.pl-badge.twitch { background: rgba(145,70,255,0.2); color: #d4b8ff; }
.pl-badge.tiktok { background: rgba(0,242,234,0.12); color: #7dffd4; }
.pl-badge.youtube { background: rgba(255,0,51,0.15); color: #ff8a90; }
.pl-badge.kick { background: rgba(83,252,24,0.12); color: #b8ff9a; }

.apply-submit-bar {
  padding: 18px 22px 24px;
  background: linear-gradient(180deg, transparent, rgba(145,70,255,0.06));
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.apply-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.4;
  cursor: pointer;
}
.apply-consent input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: #9146ff;
}
.apply-submit {
  width: 100%;
  min-height: 52px;
  font-size: 1.05rem !important;
}
.apply-secure {
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted-2);
  margin: 0;
}

.apply-success {
  text-align: center;
  padding: 48px 28px;
  max-width: 520px;
  margin: 0 auto;
}
.apply-success.hidden,
.apply-form.hidden,
.apply-side.hidden { display: none !important; }
.apply-success-icon {
  width: 64px; height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.8rem;
  font-weight: 800;
  background: rgba(61,214,140,0.15);
  border: 1px solid rgba(61,214,140,0.4);
  color: #7dffc0;
}
.apply-success h2 {
  font-family: "Space Grotesk", sans-serif;
  margin-bottom: 10px;
}
.apply-success p { color: var(--muted); margin-bottom: 22px; }
.apply-success .form-actions { justify-content: center; }

@media (max-width: 900px) {
  .apply-layout { grid-template-columns: 1fr; }
  .apply-side-card { position: static; }
  .platform-pick { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .apply-fields { grid-template-columns: 1fr; }
  .apply-block { padding: 18px 16px 6px; }
  .apply-submit-bar { padding: 16px; }
  .apply-steps { gap: 6px; }
  .apply-step-line { width: 14px; }
  .apply-step { font-size: 0.72rem; }
  .header-actions .btn-streamer {
    display: inline-flex !important;
    padding: 10px 14px;
    font-size: 0.85rem;
  }
  .header-actions .btn-discord {
    padding: 10px 14px;
    font-size: 0.85rem;
  }
  .brand-text { display: none; }
}
/* Live watch CTA */
.btn-watch-live {
  padding: 8px 14px !important;
  font-size: 0.82rem !important;
  min-height: 0 !important;
  width: auto !important;
}

/* Streamer panel avatar upload */
.streamer-avatar-edit {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.streamer-avatar-preview {
  width: 96px;
  height: 96px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(145,70,255,0.35), rgba(227,6,19,0.25));
  border: 1px solid rgba(255,255,255,0.12);
  display: grid;
  place-items: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 2rem;
  flex-shrink: 0;
}
.streamer-avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.streamer-avatar-fields {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.streamer-avatar-fields label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}
.streamer-avatar-fields input[type="file"],
.streamer-avatar-fields input[type="text"] {
  width: 100%;
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
}
.streamer-live-title {
  color: #fff !important;
  font-weight: 600;
}
.streamer-card.is-live .streamer-live-tag {
  animation: streamerPulse 1.8s ease infinite;
}