/* ============================================================
   MATE.LIVE // иэтомат.рф — production stylesheet
   Слит из stylesheets/tokens.css + stylesheets/components.css
   + landing-specific блоки из pages/Watch - Landing.html.
   Палитра — фиолет/бирюза (b388ff/18ffff) как дефолт.
   ============================================================ */

:root {
  /* Surfaces — graded blacks with cool blue undertone */
  --bg-void: #03040a;
  --bg-deep: #070914;
  --bg-panel: #0c0f1f;
  --bg-elev: #131732;
  --bg-glass: rgba(20, 26, 56, 0.42);
  --bg-glass-strong: rgba(28, 34, 70, 0.78);

  /* Lines / strokes */
  --line-1: rgba(120, 200, 255, 0.08);
  --line-2: rgba(120, 200, 255, 0.18);
  --line-3: rgba(120, 200, 255, 0.32);
  --line-hot: rgba(255, 60, 180, 0.55);

  /* Text */
  --ink-100: #e7f3ff;
  --ink-80: #b5c8e6;
  --ink-60: #7689b3;
  --ink-40: #4d5d83;
  --ink-20: #2a3556;

  /* Accents — фиолет/бирюза палитра */
  --cyan: #b388ff;
  --cyan-2: #d1b3ff;
  --cyan-dim: rgba(179, 136, 255, 0.18);
  --magenta: #18ffff;
  --magenta-2: #5cffff;
  --magenta-dim: rgba(24, 255, 255, 0.18);
  --amber: #ffb547;
  --lime: #b6ff3a;
  --red: #ff3355;
  --green: #1affb0;

  /* Player sides */
  --side-light: #e7f3ff;
  --side-dark: #1a1f3a;

  /* Glow */
  --glow: 1.4;
  --glow-cyan: 0 0 calc(8px * var(--glow)) rgba(179, 136, 255, 0.55),
               0 0 calc(24px * var(--glow)) rgba(179, 136, 255, 0.25);
  --glow-magenta: 0 0 calc(8px * var(--glow)) rgba(24, 255, 255, 0.55),
                  0 0 calc(24px * var(--glow)) rgba(24, 255, 255, 0.22);
  --glow-soft: 0 0 calc(20px * var(--glow)) rgba(179, 136, 255, 0.12);

  /* Typography */
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "IBM Plex Mono", ui-monospace, monospace;

  /* Spacing */
  --r-2: 2px;
  --r-4: 4px;
  --r-8: 8px;
  --r-12: 12px;
  --r-16: 16px;
  --r-pill: 999px;

  /* Misc */
  --gap: 24px;
  --transition: 180ms cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-display);
  background: var(--bg-void);
  color: var(--ink-100);
  font-feature-settings: "ss01", "ss02", "cv11";
  -webkit-font-smoothing: antialiased;
}

/* Mono utility */
.mono { font-family: var(--font-mono); font-feature-settings: "zero", "ss01"; }
.kbd { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; }
.upper { text-transform: uppercase; letter-spacing: 0.16em; }
.tabular { font-variant-numeric: tabular-nums; }

/* ========= Background atmosphere ========= */
.atmosphere {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(60% 50% at 20% 0%, rgba(179, 136, 255, 0.06), transparent 70%),
    radial-gradient(50% 40% at 90% 100%, rgba(24, 255, 255, 0.05), transparent 70%),
    radial-gradient(80% 60% at 50% 50%, transparent 0%, var(--bg-void) 80%);
}

.grid-overlay {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(120, 200, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 200, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(80% 60% at 50% 40%, #000 0%, transparent 90%);
}

/* Scanlines — toggleable via .scanlines on body */
.scanlines::after {
  content: "";
  position: fixed; inset: 0; pointer-events: none; z-index: 1;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 2px,
    rgba(255, 255, 255, 0.018) 2px,
    rgba(255, 255, 255, 0.018) 3px
  );
  mix-blend-mode: overlay;
}

/* ========= Frames / panels ========= */
.panel {
  position: relative;
  background: linear-gradient(180deg, var(--bg-panel), var(--bg-deep));
  border: 1px solid var(--line-2);
  border-radius: var(--r-8);
}
.panel--hot { border-color: var(--line-hot); }
.panel--glow { box-shadow: var(--glow-soft); }

/* Corner cuts */
.cut {
  --cut: 12px;
  clip-path: polygon(
    var(--cut) 0,
    100% 0,
    100% calc(100% - var(--cut)),
    calc(100% - var(--cut)) 100%,
    0 100%,
    0 var(--cut)
  );
}

/* Diagonal stripe pattern */
.hatch {
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(179, 136, 255, 0.08) 0 2px,
    transparent 2px 8px
  );
}

/* Corner brackets */
.brackets { position: relative; }
.brackets::before, .brackets::after {
  content: ""; position: absolute; width: 14px; height: 14px;
  border: 1px solid var(--cyan);
  pointer-events: none;
}
.brackets::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.brackets::after  { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

/* ========= Buttons ========= */
.btn {
  --btn-fg: var(--ink-100);
  --btn-bg: transparent;
  --btn-bd: var(--line-3);
  --btn-glow: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 40px; padding: 0 18px;
  font-family: var(--font-display);
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-bd);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  transition: all var(--transition);
  text-decoration: none;
}
.btn::after {
  content: ""; position: absolute; inset: -1px;
  border-radius: inherit;
  box-shadow: var(--btn-glow);
  pointer-events: none;
  transition: all var(--transition);
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  --btn-fg: #1a0033;
  --btn-bg: var(--cyan);
  --btn-bd: var(--cyan);
  --btn-glow: 0 0 calc(16px * var(--glow)) rgba(179,136,255,.55), 0 0 calc(40px * var(--glow)) rgba(179,136,255,.25);
}
.btn--primary:hover { --btn-bg: var(--cyan-2); }
.btn--ghost {
  --btn-fg: var(--cyan);
  --btn-bd: var(--line-3);
}
.btn--ghost:hover { --btn-bd: var(--cyan); --btn-glow: var(--glow-cyan); }
.btn--danger {
  --btn-fg: #001a1a;
  --btn-bg: var(--magenta);
  --btn-bd: var(--magenta);
  --btn-glow: var(--glow-magenta);
}

/* Live dot */
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px var(--red), 0 0 24px var(--red);
  animation: pulse 1.6s ease-in-out infinite;
  display: inline-block;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(0.85); }
}

/* Badges */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  height: 22px; padding: 0 10px;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid var(--line-3);
  color: var(--ink-80);
  border-radius: 2px;
  background: rgba(255,255,255,0.02);
}
.badge--live { color: var(--red); border-color: var(--red); background: rgba(255,51,85,0.08); }
.badge--cyan { color: var(--cyan); border-color: var(--cyan); background: var(--cyan-dim); }
.badge--magenta { color: var(--magenta); border-color: var(--magenta); background: var(--magenta-dim); }
.badge--ghost { color: var(--ink-60); }

/* Inputs */
.input {
  height: 40px; padding: 0 14px;
  background: var(--bg-deep);
  border: 1px solid var(--line-2);
  color: var(--ink-100);
  font-family: var(--font-mono); font-size: 13px;
  border-radius: 2px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(179,136,255,0.18); }
.input::placeholder { color: var(--ink-40); }

/* Section headers */
.sec-title {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-60);
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 14px;
}
.sec-title::before {
  content: ""; display: block; width: 6px; height: 6px;
  background: var(--cyan); border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan);
}

/* Util */
.flex { display: flex; }
.col { display: flex; flex-direction: column; }
.gap-4 { gap: 4px; } .gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; } .gap-24 { gap: 24px; }
.center { display: flex; align-items: center; justify-content: center; }
.between { display: flex; align-items: center; justify-content: space-between; }

/* ============================================================
   LANDING-SPECIFIC (был inline в Watch-Landing.html)
   ============================================================ */

.lp {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

/* Top nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-1);
  position: relative;
  z-index: 10;
}
.nav__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  display: flex; align-items: center; gap: 10px;
}
.nav__logo-mark {
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  line-height: 1;
  color: var(--cyan);
  text-shadow:
    0 0 calc(6px * var(--glow)) var(--cyan),
    0 0 calc(14px * var(--glow)) var(--cyan),
    0 0 calc(28px * var(--glow)) rgba(179, 136, 255, 0.55);
  user-select: none;
}
.nav__links {
  display: flex; gap: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nav__links a {
  color: var(--ink-60);
  text-decoration: none;
  transition: color var(--transition);
  position: relative;
}
.nav__links a:hover { color: var(--cyan); }
.nav__links a.active { color: var(--ink-100); }
.nav__links a.active::after {
  content: ""; position: absolute;
  left: 0; right: 0; bottom: -8px;
  height: 1px; background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
}
.nav__right { display: flex; align-items: center; gap: 16px; }

/* Marquee ticker */
.ticker {
  display: flex; align-items: center;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-1);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
}
.ticker__label {
  color: var(--cyan);
  padding: 4px 10px;
  border: 1px solid var(--cyan);
  background: var(--bg-void);
  flex-shrink: 0;
  letter-spacing: .2em;
  position: relative;
  z-index: 2;
}
.ticker__track {
  display: flex; gap: 40px;
  animation: ticker 40s linear infinite;
  white-space: nowrap;
  flex-shrink: 0;
}
.ticker__item {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink-80);
  flex-shrink: 0;
  white-space: nowrap;
}
.ticker__sep {
  color: var(--magenta);
  letter-spacing: 0;
}
.ticker__delta-up { color: var(--green); }
.ticker__delta-dn { color: var(--red); }
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* HERO */
.hero {
  position: relative;
  padding: 72px 0 56px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  border-bottom: 1px solid var(--line-1);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(50% 50% at 80% 50%, rgba(179, 136, 255, 0.12), transparent 70%),
    radial-gradient(40% 40% at 20% 100%, rgba(24, 255, 255, 0.08), transparent 70%);
  pointer-events: none;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .25em;
  color: var(--cyan);
  text-transform: uppercase;
  padding: 6px 14px;
  border: 1px solid var(--cyan);
  background: var(--cyan-dim);
}
.hero__title {
  font-size: 96px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.92;
  margin: 24px 0 0;
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(180deg, var(--cyan) 0%, var(--magenta) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub {
  font-size: 18px;
  color: var(--ink-80);
  max-width: 520px;
  margin: 24px 0 36px;
  line-height: 1.5;
  letter-spacing: -0.005em;
}
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__stats {
  display: flex; gap: 36px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line-1);
}
.hero-stat__k {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .2em;
  color: var(--ink-40); text-transform: uppercase;
}
.hero-stat__v {
  font-size: 32px; font-weight: 600;
  color: var(--ink-100);
  letter-spacing: -0.02em;
  margin-top: 4px;
  font-variant-numeric: tabular-nums;
}
.hero-stat__v--accent {
  color: var(--cyan);
  text-shadow: 0 0 calc(12px * var(--glow)) rgba(179, 136, 255, 0.5);
}

/* Hero right — featured stream preview */
.hero__visual {
  position: relative;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--cyan);
  box-shadow: var(--glow-cyan);
  background:
    repeating-linear-gradient(90deg, rgba(179,136,255,.04) 0 1px, transparent 1px 24px),
    linear-gradient(135deg, #1a0a3a, #2a0a3a 50%, #050818);
  overflow: hidden;
}
.hero__visual iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  z-index: 1;
}

/* Lazy-load placeholder с play-кнопкой (до клика iframe не грузится) */
.hero__visual-play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background:
    repeating-linear-gradient(90deg, rgba(179,136,255,.04) 0 1px, transparent 1px 24px),
    radial-gradient(60% 60% at 50% 40%, rgba(179,136,255,0.18), transparent 70%),
    linear-gradient(135deg, #1a0a3a, #2a0a3a 50%, #050818);
  border: 0;
  cursor: pointer;
  color: var(--ink-100);
  font-family: var(--font-display);
  z-index: 1;
  transition: all var(--transition);
}
.hero__visual-play:hover {
  background:
    repeating-linear-gradient(90deg, rgba(179,136,255,.05) 0 1px, transparent 1px 24px),
    radial-gradient(60% 60% at 50% 40%, rgba(179,136,255,0.28), transparent 70%),
    linear-gradient(135deg, #2a0e4a, #3a0e4a 50%, #060a20);
}
.hero__visual-play-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  background: var(--cyan);
  color: #1a0033;
  border-radius: 50%;
  box-shadow:
    0 0 calc(20px * var(--glow)) var(--cyan),
    0 0 calc(48px * var(--glow)) rgba(179, 136, 255, 0.45);
  transition: transform var(--transition), box-shadow var(--transition);
  padding-left: 4px; /* визуально центруем ▶ */
}
.hero__visual-play:hover .hero__visual-play-icon {
  transform: scale(1.08);
  box-shadow:
    0 0 calc(28px * var(--glow)) var(--cyan),
    0 0 calc(60px * var(--glow)) rgba(179, 136, 255, 0.55);
}
.hero__visual-play-text {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero__visual-play-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--cyan);
  text-transform: uppercase;
}
.hero__visual-play-loading {
  pointer-events: none;
  opacity: 0.7;
}
.hero__visual-play-loading .hero__visual-play-icon {
  animation: nl-spin 1s linear infinite;
}
/* Overlays must paint above the iframe */
.hero__visual-overlay-tl,
.hero__visual-overlay-bl,
.hero__visual > div {
  z-index: 2;
}
.hero__visual-board {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%) perspective(1200px) rotateX(8deg) rotateY(-12deg);
  filter: drop-shadow(0 20px 40px rgba(179,136,255,.4));
}
.hero__visual-overlay-tl {
  position: absolute; top: 16px; left: 16px;
  display: flex; gap: 8px;
}
.hero__visual-overlay-bl {
  position: absolute; bottom: 16px; left: 16px; right: 16px;
  display: flex; justify-content: space-between; align-items: flex-end;
}
.hero__visual-vs {
  font-size: 24px; font-weight: 600;
  letter-spacing: -0.01em;
}
.hero__visual-vs span { color: var(--cyan); }
.hero__visual-meta {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .2em;
  color: var(--ink-60); text-transform: uppercase;
  margin-top: 6px;
}

/* Mini holo board (hero visual) */
.mini-holo {
  width: 320px; height: 320px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-auto-rows: 1fr;
  background: var(--bg-deep);
  border: 1px solid rgba(179,136,255,.4);
  box-shadow: 0 0 40px rgba(179,136,255,.5), inset 0 0 60px rgba(179,136,255,.05);
}
.mini-holo__cell {
  width: 36px; height: 36px;
  box-shadow: inset 0 0 0 1px rgba(179,136,255,.05);
}
.mini-holo__cell--light { background: rgba(179,136,255,.08); }
.mini-holo__cell--dark { background: rgba(8,12,28,.6); }

/* SECTION HEADERS */
.section {
  padding: 80px 0;
  border-bottom: 1px solid var(--line-1);
  position: relative;
}
.section__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 40px;
}
.section__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .25em;
  color: var(--cyan); text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
}
.section__eyebrow::before {
  content: ""; display: block;
  width: 8px; height: 8px;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}
.section__title {
  font-size: 56px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 12px 0 0;
}
.section__sub {
  color: var(--ink-60);
  font-size: 14px;
  max-width: 360px;
  text-align: right;
  line-height: 1.5;
}

/* FEATURED EVENTS */
.events {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.event {
  position: relative;
  background: var(--bg-panel);
  border: 1px solid var(--line-2);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition);
  display: flex; flex-direction: column;
}
.event:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
  box-shadow: var(--glow-cyan);
}
.event--featured {
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px var(--cyan-dim);
}
.event__cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    repeating-linear-gradient(90deg, rgba(179,136,255,.05) 0 1px, transparent 1px 18px),
    linear-gradient(135deg, var(--bg-elev), var(--bg-deep));
}
.event__cover-art {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.event__cover-art-1 {
  background: radial-gradient(50% 50% at 50% 50%, rgba(179,136,255,.25), transparent 70%);
}
.event__cover-art-2 {
  background: radial-gradient(50% 50% at 50% 50%, rgba(24,255,255,.2), transparent 70%);
}
.event__cover-art-3 {
  background: radial-gradient(50% 50% at 50% 50%, rgba(255,46,166,.18), transparent 70%);
}
.event__cover-art-4 {
  background: radial-gradient(50% 50% at 50% 50%, rgba(255,181,71,.18), transparent 70%);
}
.event__cover-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 5, 32, 0) 30%, rgba(8, 5, 32, 0.85) 100%),
    repeating-linear-gradient(0deg, transparent 0 2px, rgba(255,255,255,.03) 2px 3px);
  pointer-events: none;
  z-index: 1;
}
/* Live photo from broadcast tour.image */
.event__cover-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: saturate(0.8) brightness(0.7) contrast(1.05) hue-rotate(-8deg);
  transition: filter var(--transition);
}
.event:hover .event__cover-photo {
  filter: saturate(1) brightness(0.85) contrast(1.05) hue-rotate(-4deg);
}
.event__cover-tl,
.event__cover-tr,
.event__cover-bl,
.event__cover-art {
  z-index: 2;
}
.event__cover-tl {
  position: absolute; top: 12px; left: 12px;
  display: flex; gap: 6px;
}
.event__cover-tr {
  position: absolute; top: 12px; right: 12px;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .15em;
  color: var(--ink-80);
}
.event__cover-bl {
  position: absolute; bottom: 12px; left: 12px;
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-60);
}
.event__cover-piece {
  font-size: 88px;
  line-height: 1;
  color: #f0fbff;
  text-shadow:
    0 0 calc(12px * var(--glow)) rgba(179, 136, 255, 0.8),
    0 0 calc(28px * var(--glow)) rgba(179, 136, 255, 0.4);
  transform: rotate(-8deg);
}
.event__body {
  padding: 18px 18px 20px;
  display: flex; flex-direction: column;
  gap: 12px;
  flex: 1;
}
.event__title {
  font-size: 18px; font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.event__matchup {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line-1);
  border-bottom: 1px solid var(--line-1);
}
.event__player {
  flex: 1;
  display: flex; flex-direction: column; gap: 2px;
}
.event__player-name {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-100);
  font-weight: 600;
}
.event__player-elo {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--ink-40);
  letter-spacing: .15em;
}
.event__vs {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--magenta);
  letter-spacing: .2em;
}
.event__meta {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-60);
}
.event__meta-time { color: var(--cyan); }
.event__cta {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 4px;
}
.event__watch {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cyan);
  display: flex; align-items: center; gap: 8px;
}
.event__watch::after {
  content: "→";
  transition: transform var(--transition);
}
.event:hover .event__watch::after { transform: translateX(4px); }

/* SCHEDULE DESK */
.schedule-desk {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  background: var(--bg-panel);
  border: 1px solid var(--line-2);
  padding: 28px;
}
.sd__sidebar {
  display: flex; flex-direction: column; gap: 18px;
  padding-right: 24px;
  border-right: 1px solid var(--line-1);
}
.sd__date {
  font-size: 48px; font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink-100);
}
.sd__date small {
  display: block;
  font-size: 14px; font-weight: 400;
  color: var(--ink-60);
  font-family: var(--font-mono);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-top: 8px;
}
.sd__filters {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 8px;
}
.sd__filter {
  padding: 6px 10px;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-60);
  border: 1px solid var(--line-2);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
}
.sd__filter:hover { color: var(--cyan); border-color: var(--cyan); }
.sd__filter.active {
  color: var(--cyan); border-color: var(--cyan);
  background: var(--cyan-dim);
  box-shadow: 0 0 8px rgba(179,136,255,.3);
}

/* Live streamers widget — sidebar */
.sd__streamers { padding-top: 4px; }
.sd__streamers-list {
  display: flex; flex-direction: column; gap: 8px;
}
.sd__streamer {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  gap: 10px;
  align-items: start;
  padding: 10px 12px;
  background: var(--bg-deep);
  border: 1px solid var(--line-1);
  transition: all var(--transition);
}
.sd__streamer:hover { border-color: var(--cyan); box-shadow: var(--glow-soft); }
.sd__streamer .live-dot { margin-top: 4px; }
.sd__streamer-info { min-width: 0; }
.sd__streamer-name {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-100);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sd__streamer-status {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-60);
  margin-top: 3px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sd__streamer-svc {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .15em;
  color: var(--ink-40);
  text-transform: uppercase;
  align-self: center;
}
.sd__streamer--yt .sd__streamer-svc { color: var(--red); }
.sd__streamer--tw .sd__streamer-svc { color: var(--magenta); }

.sd__timeline {
  display: flex; flex-direction: column;
}
.sd__row {
  display: grid;
  grid-template-columns: 80px 16px 1fr auto auto;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-1);
  align-items: center;
  transition: all var(--transition);
}
.sd__row:last-child { border-bottom: 0; }
.sd__row:hover { padding-left: 8px; }
.sd__row-time {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink-100);
  letter-spacing: 0.04em;
  font-weight: 500;
}
.sd__row--live .sd__row-time { color: var(--red); text-shadow: 0 0 8px rgba(255,51,85,.4); }
.sd__row--soon .sd__row-time { color: var(--cyan); }
.sd__indicator {
  width: 8px; height: 8px;
  background: var(--line-2);
  border-radius: 50%;
}
.sd__row--live .sd__indicator {
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
  animation: pulse 1.6s ease-in-out infinite;
}
.sd__row--soon .sd__indicator { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.sd__row-info { display: flex; flex-direction: column; gap: 2px; }
.sd__row-title {
  font-size: 14px;
  color: var(--ink-100);
  font-weight: 500;
}
.sd__row-detail {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-60);
}
.sd__row-format {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-60);
  letter-spacing: .15em;
  text-transform: uppercase;
}

/* NEWS GRID */
.news {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 16px;
}
.news__card {
  background: var(--bg-panel);
  border: 1px solid var(--line-2);
  padding: 24px;
  display: flex; flex-direction: column;
  gap: 14px;
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.news__card:hover {
  border-color: var(--cyan);
  box-shadow: var(--glow-cyan);
}
.news__card--feature {
  grid-row: span 2;
  background:
    radial-gradient(60% 50% at 80% 0%, rgba(179, 136, 255, 0.12), transparent 70%),
    var(--bg-panel);
  padding: 32px;
}
.news__tag {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .2em;
  color: var(--cyan);
  text-transform: uppercase;
  display: flex; align-items: center; gap: 8px;
}
.news__tag--magenta { color: var(--magenta); }
.news__tag--amber { color: var(--amber); }
.news__title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--ink-100);
}
.news__card--feature .news__title { font-size: 36px; line-height: 1.1; letter-spacing: -0.02em; }
.news__excerpt {
  color: var(--ink-60);
  font-size: 13px;
  line-height: 1.5;
}
.news__card--feature .news__excerpt { font-size: 15px; }
.news__meta {
  display: flex; gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line-1);
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .15em;
  color: var(--ink-40);
  text-transform: uppercase;
}
.news__meta-author { color: var(--ink-80); }
.news__feature-art {
  aspect-ratio: 16 / 9;
  margin: 0 -32px;
  background:
    radial-gradient(50% 80% at 50% 50%, rgba(179,136,255,.3), transparent 70%),
    repeating-linear-gradient(90deg, rgba(179,136,255,.05) 0 1px, transparent 1px 24px),
    linear-gradient(135deg, #1a0a3a, #050818);
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.news__feature-art-piece {
  font-size: 140px;
  color: #f0fbff;
  text-shadow:
    0 0 calc(20px * var(--glow)) rgba(179, 136, 255, 0.9),
    0 0 calc(40px * var(--glow)) rgba(179, 136, 255, 0.4);
  transform: rotate(-6deg);
}
/* Live broadcast image inside feature news card art block */
.news__feature-art-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.8) brightness(0.7) contrast(1.05) hue-rotate(-8deg);
  transition: filter var(--transition);
}
.news__card--feature:hover .news__feature-art-photo {
  filter: saturate(1) brightness(0.85) contrast(1.05) hue-rotate(-4deg);
}

/* TOP PLAYERS LEADERBOARD */
.top-players {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.tp__col {
  background: var(--bg-panel);
  border: 1px solid var(--line-2);
  padding: 20px 24px;
}
.tp__head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 14px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line-2);
}
.tp__title {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .22em;
  color: var(--ink-80);
  text-transform: uppercase;
}
.tp__row {
  display: grid;
  grid-template-columns: 28px 1fr auto auto;
  gap: 14px;
  padding: 12px 0;
  align-items: center;
  border-bottom: 1px solid var(--line-1);
}
.tp__row:last-child { border-bottom: 0; }
.tp__rank {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink-40);
  font-weight: 500;
}
.tp__row:nth-child(2) .tp__rank { color: var(--cyan); text-shadow: 0 0 6px var(--cyan); }
.tp__name {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-100);
  font-weight: 500;
}
.tp__country {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-40);
  letter-spacing: .15em;
}
.tp__elo {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-100);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.tp__delta {
  font-family: var(--font-mono);
  font-size: 11px;
  min-width: 42px;
  text-align: right;
}
.tp__delta--up { color: var(--green); }
.tp__delta--dn { color: var(--red); }

/* CTA */
.cta-band {
  padding: 80px 48px;
  border: 1px solid var(--cyan);
  background:
    radial-gradient(60% 100% at 0% 50%, rgba(179, 136, 255, 0.15), transparent 70%),
    radial-gradient(40% 100% at 100% 50%, rgba(24, 255, 255, 0.1), transparent 70%),
    var(--bg-panel);
  position: relative;
  overflow: hidden;
  box-shadow: var(--glow-cyan);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(179, 136, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(179, 136, 255, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(80% 60% at 50% 100%, #000, transparent 80%);
}
.cta-band__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.cta-band__title {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0;
}
.cta-band__title em {
  font-style: normal;
  background: linear-gradient(180deg, var(--cyan) 0%, var(--magenta) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cta-band__sub {
  color: var(--ink-80);
  font-size: 15px;
  margin: 16px 0 0;
  line-height: 1.5;
  max-width: 440px;
}
.cta-band__form {
  display: flex; flex-direction: column; gap: 14px;
}
.cta-band__row {
  display: flex; gap: 8px;
}
.cta-band__row .input { flex: 1; height: 52px; font-size: 14px; }
.cta-band__row .btn { height: 52px; padding: 0 28px; }
.cta-band__hint {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-40);
  letter-spacing: .15em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.cta-band__hint[data-counter] [data-counter-value] {
  color: var(--ink-80);
  font-weight: 600;
  transition: color var(--transition), text-shadow var(--transition);
}
.cta-band__hint.bumped [data-counter-value] {
  color: var(--green);
  text-shadow: 0 0 8px rgba(26, 255, 176, 0.5);
}

/* ─── Newsletter form animations ─── */
@keyframes nl-shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}
.input.is-error {
  border-color: var(--red) !important;
  box-shadow: 0 0 0 3px rgba(255, 51, 85, 0.18) !important;
  animation: nl-shake 0.4s ease-in-out;
}
.btn.is-loading { opacity: 0.78; cursor: wait; pointer-events: none; }
.btn.is-success {
  --btn-fg: #001a04;
  --btn-bg: var(--green);
  --btn-bd: var(--green);
  --btn-glow: 0 0 calc(16px * var(--glow)) rgba(26, 255, 176, 0.55), 0 0 calc(40px * var(--glow)) rgba(26, 255, 176, 0.25);
  pointer-events: none;
}
.nl-spinner {
  display: inline-block;
  width: 12px; height: 12px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: nl-spin 0.7s linear infinite;
  vertical-align: -1px;
  margin-right: 6px;
}
@keyframes nl-spin { to { transform: rotate(360deg); } }
@keyframes nl-pulse {
  0%, 100% { transform: translateY(-1px) scale(1); }
  50% { transform: translateY(-1px) scale(1.04); }
}
.btn.nl-pulse { animation: nl-pulse 0.55s ease-out 2; }

/* FOOTER */
.footer {
  padding: 56px 0 32px;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 48px;
}
.footer__brand {
  display: flex; flex-direction: column; gap: 16px;
}
.footer__col-title {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .25em;
  color: var(--cyan); text-transform: uppercase;
  margin-bottom: 16px;
}
.footer__links {
  display: flex; flex-direction: column; gap: 10px;
}
.footer__links a {
  color: var(--ink-60);
  text-decoration: none;
  font-size: 13px;
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--cyan); }
.footer__bottom {
  padding: 24px 0;
  border-top: 1px solid var(--line-1);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: .2em;
  color: var(--ink-40);
  text-transform: uppercase;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* === TABLET: ≤ 1100px === */
@media (max-width: 1100px) {
  .events { grid-template-columns: repeat(2, 1fr); }
  .hero { grid-template-columns: 1fr; }
  .hero__title { font-size: 64px; }
  .news { grid-template-columns: 1fr; }
  .news__card--feature { grid-row: auto; }
  .schedule-desk { grid-template-columns: 1fr; }
  .sd__sidebar { padding-right: 0; border-right: 0; border-bottom: 1px solid var(--line-1); padding-bottom: 18px; }
  .top-players { grid-template-columns: 1fr; }
  .cta-band__inner { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr 1fr; }
}

/* === MOBILE: ≤ 720px === */
@media (max-width: 720px) {
  .lp { padding: 0 16px; }

  /* Nav: скрываем меню-ссылки и поиск (узкая полоса с brand-маркой) */
  .nav {
    padding: 16px 0;
    flex-wrap: wrap;
    gap: 12px;
  }
  .nav__links { display: none; }
  .nav__right { display: none; }

  /* Ticker — мельче */
  .ticker { padding: 8px 0; gap: 12px; font-size: 10px; }
  .ticker__label { padding: 3px 8px; }

  /* Section heads */
  .section { padding: 48px 0; }
  .section__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 28px;
  }
  .section__title { font-size: 32px; line-height: 1.05; }
  .section__sub {
    text-align: left;
    max-width: none;
    font-size: 13px;
  }

  /* Hero */
  .hero { padding: 32px 0 24px; gap: 24px; }
  .hero__title { font-size: 44px; }
  .hero__sub { font-size: 15px; margin: 16px 0 24px; line-height: 1.45; }
  .hero__cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero__cta .btn { justify-content: center; }
  .hero__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 20px;
    margin-top: 28px;
    padding-top: 20px;
  }
  .hero-stat__v { font-size: 24px; }
  .hero__visual-play-icon { width: 60px; height: 60px; font-size: 24px; }
  .hero__visual-play-text { font-size: 14px; }

  /* Featured events: 1 колонка */
  .events { grid-template-columns: 1fr; }

  /* Schedule desk */
  .schedule-desk { padding: 18px; gap: 18px; }
  .sd__date { font-size: 36px; }
  .sd__date small { font-size: 12px; }
  .sd__row {
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto auto auto;
    gap: 6px 12px;
    padding: 12px 0;
  }
  .sd__row > .sd__row-time { grid-row: 1; grid-column: 1 / 3; }
  .sd__row > .sd__indicator { display: none; }
  .sd__row > .sd__row-info { grid-row: 2; grid-column: 1 / 3; }
  .sd__row > .sd__row-format { grid-row: 3; grid-column: 1; }
  .sd__row > .badge,
  .sd__row > .btn { grid-row: 3; grid-column: 2; justify-self: end; }
  .sd__row:hover { padding-left: 0; }
  .sd__streamer { padding: 8px 10px; }

  /* News */
  .news__card { padding: 18px; gap: 12px; }
  .news__card--feature { padding: 20px; }
  .news__card--feature .news__title { font-size: 22px; }
  .news__feature-art { margin: 0 -20px; }
  .news__feature-art-piece { font-size: 100px; }

  /* Top players row — компактнее */
  .tp__col { padding: 16px 18px; }
  .tp__row { grid-template-columns: 24px 1fr auto auto; gap: 10px; padding: 10px 0; }

  /* CTA */
  .cta-band { padding: 36px 22px; }
  .cta-band__title { font-size: 28px; }
  .cta-band__sub { font-size: 14px; max-width: none; }
  .cta-band__inner { gap: 20px; }
  .cta-band__row { flex-direction: column; gap: 10px; }
  .cta-band__row .input,
  .cta-band__row .btn { height: 46px; width: 100%; }
  .cta-band__row .btn { justify-content: center; }

  /* Footer */
  .footer {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 0 20px;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 6px;
    text-align: center;
    font-size: 9px;
  }
}

/* === EXTRA SMALL: ≤ 420px === */
@media (max-width: 420px) {
  .hero__title { font-size: 38px; }
  .section__title { font-size: 28px; }
  .hero-stat__v { font-size: 20px; }
  .news__card--feature .news__title { font-size: 19px; }
  .cta-band__title { font-size: 24px; }
  .ticker__label { letter-spacing: .15em; padding: 3px 6px; font-size: 9px; }
  .ticker__item { gap: 6px; }
}
