@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&family=Bebas+Neue&display=swap');

/* ─────────────────────────────────────────
   ПЕРЕМЕННЫЕ
───────────────────────────────────────── */
:root {
  --black: #080000;
  --white: #fff;
  --red:   #ff2020;
  --red-dim: rgba(170, 0, 10, 0.88);
}

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

html, body {
  min-height: 100%;
  background: var(--black);
}

body {
  color: var(--white);
  font-family: 'Bebas Neue', 'Share Tech Mono', sans-serif;
  overflow-x: hidden;
  image-rendering: pixelated;
  -webkit-font-smoothing: none;
  font-smooth: never;
}

a { color: inherit; text-decoration: none; }

/* ─────────────────────────────────────────
   SVG filters container
───────────────────────────────────────── */
.svg-filters {
  position: absolute;
  width: 0; height: 0;
  overflow: hidden;
}

/* ═════════════════════════════════════════
   INTRO — не меняем ни пиксела
═════════════════════════════════════════ */
#intro {
  position: fixed; inset: 0;
  background: #000;
  display: flex; align-items: center; justify-content: center;
  z-index: 999;
}
#intro-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
#typewriter-wrap {
  position: relative; z-index: 2;
  font-family: 'Share Tech Mono', monospace;
  font-size: clamp(1.1rem, 3.2vw, 2.6rem);
  color: var(--red);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 0 8px var(--red), 0 0 30px rgba(255,0,0,0.53), 0 0 65px rgba(255,0,0,0.27);
  white-space: nowrap;
}
.cursor { animation: blink .7s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ═════════════════════════════════════════
   VHS CSS LAYERS
═════════════════════════════════════════ */
.noise, .scanlines, .tracking, .bleed, .lens {
  position: fixed; inset: 0;
  z-index: 50;
  pointer-events: none;
}

/* Зерно — анимированный статик */
.noise {
  opacity: 0.16;
  background-image:
    repeating-radial-gradient(circle at 14% 22%, rgba(255,255,255,0.12) 0 1px, transparent 1px 4px),
    repeating-radial-gradient(circle at 78% 61%, rgba(255,32,32,0.14) 0 1px, transparent 1px 5px);
  mix-blend-mode: screen;
  animation: staticShift 580ms steps(2) infinite;
}

/* Горизонтальные сканлайны */
.scanlines {
  opacity: 0.20;
  background: repeating-linear-gradient(
    0deg,
    rgba(255,255,255,0.14) 0 1px,
    transparent 1px 5px,
    rgba(255,32,32,0.07) 5px 6px,
    transparent 6px 11px
  );
  mix-blend-mode: overlay;
}

/* Движущаяся VHS-полоса */
.tracking {
  opacity: 0.13;
  background:
    linear-gradient(90deg, transparent 0 9%, rgba(255,32,32,0.18) 9.2%, transparent 10% 64%,
      rgba(255,255,255,0.11) 64.4%, transparent 65%),
    linear-gradient(180deg, transparent 0 42%, rgba(255,255,255,0.22) 42.4%, transparent 43.1%);
  filter: blur(1px);
  animation: tracking 7s linear infinite;
}

/* Glamour bloom (сильное свечение как в журнале) */
.bleed {
  z-index: 49;
  opacity: 0.55;
  background:
    radial-gradient(circle at 50% 44%, rgba(255,248,239,0.14), transparent 26%),
    radial-gradient(circle at 50% 52%, rgba(255,32,32,0.36), transparent 42%),
    linear-gradient(90deg, rgba(255,32,32,0.18), transparent 14% 86%, rgba(255,32,32,0.16));
  filter: blur(18px) saturate(1.6);
  mix-blend-mode: screen;
  animation: glowPulse 5s ease-in-out infinite;
}

/* Линза / виньетка */
.lens {
  z-index: 48;
  background:
    radial-gradient(ellipse at 50% 48%, transparent 0 31%, rgba(255,255,255,0.04) 32%, transparent 43%),
    radial-gradient(ellipse at 50% 48%, transparent 0 38%, rgba(255,32,32,0.09) 54%, rgba(0,0,0,0.94) 100%),
    radial-gradient(ellipse at 50% 50%, rgba(255,255,255,0.08), transparent 18%);
  box-shadow: inset 0 0 18vw rgba(0,0,0,1);
  mix-blend-mode: multiply;
}

/* ═════════════════════════════════════════
   STAGE — здесь живёт весь эффект
   filter: fisheye-warp + discrete quantize (лесенки)
           + contrast/saturate
   transform: scale создаёт едва заметный "zoom-in"
═════════════════════════════════════════ */

.stage {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(12px, 2vw, 28px);
  padding-bottom: clamp(80px, 12vw, 110px); /* место под кнопку */
  background:
    radial-gradient(circle at 50% 36%, rgba(255,32,32,0.42), transparent 30rem),
    radial-gradient(circle at 18% 82%, rgba(255,255,255,0.12), transparent 18rem),
    linear-gradient(180deg, #120103, #050202 40%, #130204);
  filter: url("#fisheye-vhs") contrast(1.2) saturate(1.5);
  transform: scale(1.04);
  transform-origin: center center;
  animation: stageIn 900ms ease 4.45s both;
}

/* ═════════════════════════════════════════
   POSTER CARD
═════════════════════════════════════════ */
.poster {
  position: relative;
  width: min(100%, 1100px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(14px, 2.4vw, 32px);
  border: clamp(2px, 0.3vw, 4px) solid rgba(255,255,255,0.88);
  background:
    linear-gradient(90deg, rgba(255,32,32,0.13), transparent 18% 82%, rgba(255,32,32,0.14)),
    linear-gradient(180deg, rgba(255,255,255,0.03), transparent 30%, rgba(255,32,32,0.12)),
    var(--black);
  box-shadow:
    0 0 0 1px rgba(255,32,32,0.5),
    14px 14px 0 rgba(255,32,32,0.72),
    -12px -10px 0 rgba(255,255,255,0.14),
    0 0 100px rgba(255,32,32,0.5);
  border-radius: 2.4% / 4%;
  overflow: hidden;
  isolation: isolate;
  animation: posterSkew 13s steps(1) infinite;
}

/* Шумовая текстура постера */
.poster::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(90deg, transparent 0 36px, rgba(255,32,32,0.16) 36px 38px, transparent 38px 74px),
    repeating-linear-gradient(0deg, transparent 0 20px, rgba(255,255,255,0.1) 20px 22px),
    linear-gradient(90deg, transparent 0 19%, rgba(255,32,32,0.28) 19.4%, transparent 20% 78%, rgba(255,255,255,0.2) 78.3%, transparent 79%);
  mix-blend-mode: screen;
  animation: posterNoise 3.8s steps(2) infinite;
}

/* Внутренняя рамка */
.poster::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 2px dashed rgba(255,255,255,0.24);
  border-radius: 2% / 3.6%;
  box-shadow: inset 0 0 4rem rgba(0,0,0,0.7), inset 0 0 0 2px rgba(255,32,32,0.2);
  pointer-events: none;
}

/* ═════════════════════════════════════════
   HEADER
═════════════════════════════════════════ */
.head {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: clamp(80px, 12vw, 150px) 1fr clamp(58px, 8vw, 96px);
  grid-template-rows: auto auto;
  gap: clamp(8px, 1.5vw, 20px);
  align-items: start;
}

.date {
  grid-column: 1; grid-row: 1 / 3;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 6.5vw, 84px);
  line-height: 0.88;
  text-shadow:
    0.07em 0 0 var(--red),
    -0.03em 0 0 rgba(93,244,255,0.85),
    0.03em 0.03em 0 #000;
  filter: contrast(1.3);
}

.time {
  display: block;
  font-family: 'Share Tech Mono', monospace;
  font-size: clamp(10px, 1.3vw, 16px);
  color: rgba(255,130,130,1);
  margin-top: 0.3em;
  letter-spacing: 0.04em;
}

h1 {
  grid-column: 2; grid-row: 1 / 3;
  margin: 0;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(72px, 15vw, 210px);
  line-height: 0.72;
  text-align: center;
  text-transform: uppercase;
  transform: scaleX(1.1);
  filter: url(#txt-glow) contrast(1.4);
  text-shadow:
    0.06em 0 0 var(--red),
    -0.04em 0 0 rgba(93,244,255,0.88),
    0 0.05em 0 rgba(0,0,0,0.88),
    0.01em 0.01em 0 var(--white);
  animation: titleBreak 5s steps(2) infinite;
}

h1::before, h1::after {
  content: attr(data-text);
  position: absolute;
  left: 0; right: 0;
  overflow: hidden;
}
h1::before {
  top: 0.05em; height: 0.24em;
  color: var(--red);
  transform: translateX(-0.022em);
  clip-path: inset(0 0 48% 0);
  opacity: 0.7;
}
h1::after {
  top: 0.42em; height: 0.22em;
  color: var(--white);
  transform: translateX(0.03em);
  clip-path: inset(46% 0 0 0);
  opacity: 0.55;
}

.badge {
  grid-column: 3; grid-row: 1;
  display: grid;
  place-items: center;
  width: clamp(54px, 7vw, 90px);
  aspect-ratio: 1;
  border: 3px solid var(--white);
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(26px, 4vw, 54px);
  line-height: 1;
  text-shadow: 0.07em 0 0 var(--red);
  box-shadow: 4px 4px 0 var(--red);
  animation: badgeHit 5.5s steps(2) infinite;
}

.fest-label {
  grid-column: 3; grid-row: 2;
  font-family: 'Share Tech Mono', monospace;
  font-size: clamp(7px, 0.9vw, 11px);
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.3;
  text-align: right;
  align-self: end;
}

/* ═════════════════════════════════════════
   ART ZONE — абсолютные фреймы
═════════════════════════════════════════ */
.art {
  position: relative;
  min-height: clamp(340px, 58vh, 580px);
  margin-top: -8px;
}

/* Базовый фрейм */
.frame {
  position: absolute;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,0.88);
  background: #0e0101;
  box-shadow:
    8px 8px 0 rgba(255,32,32,0.7),
    -4px -3px 0 rgba(255,255,255,0.13);
  filter: contrast(1.6) saturate(1.8);
  image-rendering: pixelated;
}

/* Текстура + шум поверх фрейма */
.frame::before {
  content: "";
  position: absolute; inset: 0; z-index: 2;
  background:
    repeating-linear-gradient(90deg, transparent 0 5px, rgba(255,32,32,0.38) 5px 8px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.18) 0 2px, transparent 2px 6px);
  mix-blend-mode: hard-light;
  animation: frameSlice 5s steps(2) infinite;
}

/* Виньетка внутри фрейма */
.frame::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse at 50% 46%, transparent 0 40%, rgba(255,32,32,0.25) 62%, rgba(0,0,0,0.4) 100%);
  mix-blend-mode: multiply;
}

/* Фото артиста */
.artist-img {
  position: relative; z-index: 3;
  width: 118%; height: 118%;
  object-fit: contain;
  object-position: center bottom;
  /* Красный duotone */
  filter:
    grayscale(1)
    contrast(1.55)
    brightness(0.75)
    sepia(1)
    hue-rotate(-40deg)
    saturate(5)
    drop-shadow(10px 0 0 rgba(255,32,32,0.7))
    drop-shadow(-5px 0 0 rgba(0,0,0,0.85));
  image-rendering: pixelated;
}

/* Главное фото (БЛЭЙЗИ?) */
.main-photo {
  left: 20%; top: -1%;
  width: 60%; height: 78%;
  z-index: 1;
  border-color: rgba(255,255,255,0.7);
}
.main-photo .artist-img {
  width: 134%; height: 134%;
  transform: translateY(3%);
}

/* Lilith — левый нижний */
.left-photo {
  left: 0; bottom: 0;
  width: 36%; height: 45%;
  z-index: 3;
  transform: rotate(-4deg);
}
.left-photo .artist-img {
  width: 130%; height: 130%;
  transform: translateY(5%);
}

/* Blazer — правый нижний */
.right-photo {
  right: 0; bottom: 2%;
  width: 41%; height: 48%;
  z-index: 3;
  transform: rotate(2.5deg);
}
.right-photo .artist-img {
  width: 124%; height: 124%;
  transform: translateY(7%);
}

/* + SECRET GUESTS */
.secret {
  position: absolute;
  left: 38%; bottom: 10%;
  z-index: 5;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 4.5vw, 62px);
  line-height: 0.92;
  text-transform: uppercase;
  filter: contrast(1.4);
  text-shadow:
    0.05em 0 0 var(--red),
    -0.03em 0 0 rgba(93,244,255,0.9),
    0.016em 0.016em 0 var(--white);
  animation: secretPanic 5.8s steps(2) infinite;
}

/* ─── TAPE СТИКЕРЫ ─── */
.tape {
  position: absolute;
  z-index: 4;
  padding: 0.04em 0.22em 0.14em;
  background: var(--white);
  color: var(--black);
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(42px, 7vw, 90px);
  line-height: 0.84;
  text-transform: uppercase;
  text-shadow:
    0.045em 0 0 var(--red),
    0 0.07em 0 rgba(255,32,32,0.16),
    0.015em 0.015em 0 var(--black);
  /* Chamfer-углы — рваный скотч */
  clip-path: polygon(0 0, 95% 0, 95% 8px, 100% 8px, 100% 100%, 5% 100%, 5% calc(100% - 8px), 0 calc(100% - 8px));
  box-shadow: 7px 7px 0 var(--red-dim);
  filter: contrast(1.65);
  animation: tapeRip 6.2s steps(2) infinite;
}
.tape-left  { left: 3%;  bottom: -1%; transform: rotate( 1deg); }
.tape-right { right: 0;  bottom: -2%; transform: rotate(-1.4deg); }

/* ═════════════════════════════════════════
   FOOTER
═════════════════════════════════════════ */
.bottom {
  position: relative; z-index: 6;
  display: grid;
  grid-template-columns: minmax(70px, 0.8fr) auto minmax(70px, 0.8fr);
  gap: 16px;
  align-items: end;
  margin-top: clamp(8px, 1.8vw, 22px);
  padding-top: clamp(6px, 1vw, 14px);
  border-top: 1px solid rgba(255,32,32,0.35);
}

.label-logos {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.5vw, 18px);
  justify-self: start;
}

.label-logo {
  width: clamp(48px, 5.5vw, 80px);
  height: clamp(36px, 4.5vw, 62px);
  object-fit: contain;
}
/* Чёрные логотипы → инвертировать в белые */
.label-logo.is-dark {
  filter:
    invert(1)
    drop-shadow(3px 0 0 rgba(255,32,32,0.78))
    drop-shadow(-2px 0 0 rgba(255,255,255,0.22));
}

.place {
  text-align: center;
}
.place strong {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 4.5vw, 66px);
  line-height: 0.84;
  text-shadow: 0.06em 0 0 var(--red);
}
.place span {
  display: block;
  margin-top: 6px;
  font-family: 'Share Tech Mono', monospace;
  font-size: clamp(9px, 1.3vw, 15px);
  font-weight: normal;
  color: rgba(255,255,255,0.6);
  line-height: 1.2;
}

.club-wrap {
  justify-self: end;
  display: flex;
  align-items: center;
}
.club-logo {
  width: clamp(62px, 8vw, 115px);
  max-height: 72px;
  object-fit: contain;
  filter:
    invert(1)
    drop-shadow(3px 0 0 rgba(255,32,32,0.78))
    drop-shadow(-2px 0 0 rgba(255,255,255,0.28));
}

/* ═════════════════════════════════════════
   BUY BUTTON — chamfer + glow
═════════════════════════════════════════ */
.buy-btn {
  position: fixed;
  left: 50%;
  bottom: clamp(12px, 2.5vw, 32px);
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 clamp(24px, 4vw, 48px);
  background: var(--red);
  color: var(--white);
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(14px, 2vw, 22px);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  transform: translateX(-50%);
  border: 3px solid var(--white);
  /* Chamfer-углы */
  clip-path: polygon(
    0 0,
    calc(100% - 10px) 0,
    calc(100% - 10px) 10px,
    100% 10px,
    100% 100%,
    10px 100%,
    10px calc(100% - 10px),
    0 calc(100% - 10px)
  );
  box-shadow:
    6px 6px 0 var(--white),
    12px 12px 0 rgba(0,0,0,0.82),
    -4px -4px 0 rgba(93,244,255,0.55),
    0 0 30px rgba(255,32,32,0.8),
    0 0 70px rgba(255,32,32,0.4);
  image-rendering: pixelated;
  animation: stageIn 900ms ease 4.85s both, buttonJitter 4.8s steps(2) infinite;
  transition: background 0.1s, color 0.1s;
}
.buy-btn:hover {
  background: var(--white);
  color: var(--red);
}

/* ═════════════════════════════════════════
   GLITCH TEXT
═════════════════════════════════════════ */
.glitch-text { position: relative; }
.glitch-text::before, .glitch-text::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.glitch-text::before {
  color: rgba(0,255,255,0.7);
  animation: gt-a 3.4s steps(1) infinite;
  clip-path: polygon(0 18%, 100% 18%, 100% 36%, 0 36%);
  text-shadow: none;
}
.glitch-text::after {
  color: rgba(255,0,255,0.7);
  animation: gt-b 3.4s steps(1) infinite;
  clip-path: polygon(0 65%, 100% 65%, 100% 80%, 0 80%);
  text-shadow: none;
}

/* ═════════════════════════════════════════
   KEYFRAMES
═════════════════════════════════════════ */
@keyframes stageIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes staticShift {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-2%, 1%); }
  50%  { transform: translate(2%, -1%); }
  75%  { transform: translate(-1%, -2%); }
  100% { transform: translate(1%,  2%); }
}

@keyframes tracking {
  from { transform: translateY(-35%); }
  to   { transform: translateY(35%); }
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.44; transform: scale(1); }
  50%       { opacity: 0.62; transform: scale(1.02); }
}

@keyframes titleBreak {
  0%,86%,100% { clip-path: inset(0); }
  87% { clip-path: inset(0 0 52% 0); transform: scaleX(1.1) translateX(-0.025em); }
  88% { clip-path: inset(42% 0 0 0);  transform: scaleX(1.1) translateX(0.022em); }
}

@keyframes posterSkew {
  0%,92%,100% { transform: skew(0deg,0deg); }
  93% { transform: skew( 0.7deg,-0.2deg); }
  94% { transform: skew(-0.5deg, 0.1deg); }
}

@keyframes posterNoise {
  0%,100% { transform: translate(0,0);   opacity: 0.95; }
  33%     { transform: translate(-8px,3px); opacity: 0.78; }
  66%     { transform: translate(7px,-4px); opacity: 1;    }
}

@keyframes badgeHit {
  0%,100% { transform: translate(0,0) rotate(0deg); }
  40%     { transform: translate(1px,-1px) rotate(0.5deg); }
  42%     { transform: translate(-1px,1px) rotate(-0.5deg); }
}

@keyframes frameSlice {
  0%,100% { transform: translateX(0);  opacity: 0.72; }
  35%     { transform: translateX(-2px); opacity: 0.9; }
  70%     { transform: translateX(2px);  opacity: 0.64; }
}

@keyframes tapeRip {
  0%,100% { filter: contrast(1.65); }
  32%     { filter: contrast(2.3) invert(0.04); }
}

@keyframes secretPanic {
  0%,100% { transform: translate(0,0) scale(1); }
  48%     { transform: translate(2px,-1px) scale(1.01); }
  50%     { transform: translate(-2px,1px) scale(0.995); }
}

@keyframes buttonJitter {
  0%,82%,100% { transform: translateX(-50%); }
  30%         { transform: translateX(calc(-50% - 2px)) skewX(-1.5deg); }
  31%         { transform: translateX(calc(-50% + 2px)) skewX(1.5deg); }
  83%         { transform: translateX(calc(-50% - 1px)); }
  84%         { transform: translateX(calc(-50% + 1px)); }
}

@keyframes gt-a {
  0%,85%,100% { transform: translateX(0); opacity: 0; }
  86%         { transform: translateX(-7px); opacity: 1; }
  91%         { transform: translateX(5px);  opacity: 1; }
  93%         { opacity: 0; }
}
@keyframes gt-b {
  0%,81%,100% { transform: translateX(0); opacity: 0; }
  82%         { transform: translateX(6px);  opacity: 1; }
  87%         { transform: translateX(-4px); opacity: 1; }
  89%         { opacity: 0; }
}

/* ═════════════════════════════════════════
   RESPONSIVE
═════════════════════════════════════════ */
@media (max-width: 820px) {
  .stage { padding: 10px; padding-bottom: 90px; }

  .poster { min-height: calc(100vh - 20px); }

  .head {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto auto;
  }
  h1 {
    grid-column: 1 / -1; grid-row: 1;
    font-size: clamp(60px, 20vw, 120px);
    transform: scaleX(1);
    text-align: left;
  }
  .date { grid-column: 1; grid-row: 2; }
  .badge { grid-column: 2; grid-row: 2; }
  .fest-label { grid-column: 1 / -1; grid-row: 3; text-align: left; }

  .art { min-height: clamp(280px, 52vh, 430px); }

  .main-photo { left: 12%; width: 76%; height: 64%; }
  .left-photo  { left: 1%;  width: 45%; height: 34%; }
  .right-photo { right: 0;  width: 52%; height: 37%; }
  .secret { left: 36%; bottom: 28%; }

  .bottom { grid-template-columns: 1fr 1.3fr 1fr; gap: 10px; }

  .buy-btn { width: calc(100% - 28px); }
}

@media (max-width: 520px) {
  .tape { font-size: clamp(30px, 10vw, 48px); }
  .secret { left: 32%; bottom: 22%; }
  .label-logo { width: clamp(36px, 11vw, 52px); height: 40px; }
  .club-logo { max-height: 50px; }
  .bottom { gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }
  #intro { display: none; }
}

::-webkit-scrollbar { display: none; }

/* ═══════════════════════════════════════════════════════
   LANDING — GLOBAL VHS OVERLAYS
   (поверх всего, pointer-events: none)
═══════════════════════════════════════════════════════ */
.vhs-noise,
.vhs-scanlines,
.vhs-vignette {
  position: fixed;
  inset: 0;
  z-index: 900;
  pointer-events: none;
}

.vhs-noise {
  opacity: 0.09;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  animation: noiseShift 0.12s steps(1) infinite;
  mix-blend-mode: screen;
}

.vhs-scanlines {
  opacity: 0.18;
  background: repeating-linear-gradient(
    0deg,
    rgba(255,255,255,0.07) 0px,
    rgba(255,255,255,0.07) 1px,
    transparent 1px,
    transparent 4px
  );
}

.vhs-vignette {
  background: radial-gradient(
    ellipse at 50% 50%,
    transparent 52%,
    rgba(255,10,20,0.06) 70%,
    rgba(0,0,0,0.88) 100%
  );
}

@keyframes noiseShift {
  0%   { background-position: 0 0; }
  25%  { background-position: -30px 12px; }
  50%  { background-position: 18px -8px; }
  75%  { background-position: -12px 24px; }
  100% { background-position: 6px -18px; }
}

/* ═══════════════════════════════════════════════════════
   LANDING — MAIN WRAPPER
═══════════════════════════════════════════════════════ */
#main {
  display: block;
  background: #050505;
}
#main.hidden { display: none; }

/* ═══════════════════════════════════════════════════════
   1. HERO
═══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #050505;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
  padding: clamp(20px, 4vw, 60px);
  text-align: center;
  width: 100%;
}

.hero-title {
  position: relative;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 11vw, 180px);
  line-height: 0.88;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f2f2f2;
  width: 100%;
  text-shadow:
    0 0 12px #ff1f2d,
    0 0 40px rgba(255,31,45,0.7),
    0 0 100px rgba(255,31,45,0.3),
    0.04em 0 0 rgba(255,31,45,0.8),
    -0.03em 0 0 rgba(93,244,255,0.35);
  animation: heroTitleGlitch 7s steps(1) infinite;
}

.hero-title::before,
.hero-title::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-title::before {
  color: #ff1f2d;
  clip-path: polygon(0 20%, 100% 20%, 100% 38%, 0 38%);
  animation: heroGlitchA 7s steps(1) infinite;
  opacity: 0;
}
.hero-title::after {
  color: rgba(93,244,255,0.6);
  clip-path: polygon(0 62%, 100% 62%, 100% 78%, 0 78%);
  animation: heroGlitchB 7s steps(1) infinite;
  opacity: 0;
}

.blink-cursor {
  display: inline;
  color: #ff1f2d;
  text-shadow: 0 0 12px #ff1f2d, 0 0 40px rgba(255,31,45,0.7);
  animation: blink 0.7s step-end infinite;
}

.hero-sub {
  font-family: 'Share Tech Mono', monospace;
  font-size: clamp(11px, 1.8vw, 18px);
  color: rgba(242,242,242,0.55);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-cta {
  display: flex;
  gap: clamp(12px, 2vw, 24px);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: clamp(8px, 2vw, 20px);
}

.hero-socials {
  display: flex;
  gap: clamp(20px, 3vw, 36px);
  justify-content: center;
  margin-top: clamp(12px, 2vw, 20px);
}

.hero-social {
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: rgba(242,242,242,0.3);
  font-family: 'Share Tech Mono', monospace;
  font-size: clamp(10px, 1.3vw, 13px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.hero-social svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.hero-social:hover {
  color: #ff1f2d;
}

/* ═══════════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(20px, 3.5vw, 40px);
  height: clamp(44px, 6vw, 60px);
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(14px, 2vw, 20px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.1s, color 0.1s, box-shadow 0.1s;
  clip-path: polygon(
    0 0,
    calc(100% - 8px) 0,
    calc(100% - 8px) 8px,
    100% 8px,
    100% 100%,
    8px 100%,
    8px calc(100% - 8px),
    0 calc(100% - 8px)
  );
}

.btn-primary {
  background: #ff1f2d;
  color: #f2f2f2;
  border: none;
  box-shadow:
    0 0 18px rgba(255,31,45,0.7),
    0 0 50px rgba(255,31,45,0.3),
    4px 4px 0 rgba(255,255,255,0.15);
}
.btn-primary:hover {
  background: #f2f2f2;
  color: #ff1f2d;
  box-shadow:
    0 0 28px rgba(255,31,45,0.9),
    0 0 70px rgba(255,31,45,0.5),
    4px 4px 0 rgba(255,31,45,0.4);
}

.btn-secondary {
  background: transparent;
  color: #f2f2f2;
  border: 1px solid rgba(242,242,242,0.4);
  box-shadow: none;
}
.btn-secondary:hover {
  border-color: #ff1f2d;
  color: #ff1f2d;
  box-shadow: 0 0 16px rgba(255,31,45,0.4);
}

/* ═══════════════════════════════════════════════════════
   SECTION COMMON
═══════════════════════════════════════════════════════ */
.section-label {
  font-family: 'Share Tech Mono', monospace;
  font-size: clamp(10px, 1.3vw, 13px);
  color: #ff1f2d;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: clamp(32px, 5vw, 64px);
  opacity: 0.8;
}

/* ═══════════════════════════════════════════════════════
   2. LINEUP
═══════════════════════════════════════════════════════ */
.lineup {
  padding: clamp(60px, 10vw, 120px) clamp(20px, 6vw, 80px);
  background: #050505;
  border-top: 1px solid rgba(255,31,45,0.15);
}

.lineup-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.artist-card {
  position: relative;
  display: flex;
  align-items: center;
  padding: clamp(18px, 3vw, 32px) 0;
  border-bottom: 1px solid rgba(255,31,45,0.2);
  cursor: default;
  overflow: hidden;
  transition: background 0.15s;
}
.artist-card:first-child {
  border-top: 1px solid rgba(255,31,45,0.2);
}

.artist-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 3px,
      rgba(255,31,45,0.04) 3px,
      rgba(255,31,45,0.04) 4px
    );
  transition: opacity 0.15s;
}
.artist-card:hover::before { opacity: 1; }

.artist-name {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(36px, 7vw, 110px);
  letter-spacing: 0.04em;
  color: #f2f2f2;
  text-transform: uppercase;
  line-height: 1;
  transition: color 0.1s;
  position: relative;
  z-index: 1;
}

.artist-card:hover .artist-name {
  color: #ff1f2d;
  text-shadow:
    0 0 10px rgba(255,31,45,0.8),
    0 0 40px rgba(255,31,45,0.4),
    0.04em 0 0 rgba(93,244,255,0.5),
    -0.03em 0 0 rgba(255,31,45,0.6);
  animation: cardGlitch 0.3s steps(2) 1;
}

.artist-secret .artist-name {
  font-size: clamp(16px, 2.5vw, 36px);
  color: rgba(242,242,242,0.35);
  letter-spacing: 0.18em;
}
.artist-secret:hover .artist-name {
  color: rgba(255,31,45,0.6);
  text-shadow: 0 0 12px rgba(255,31,45,0.4);
  animation: none;
}

/* ═══════════════════════════════════════════════════════
   3. INFO
═══════════════════════════════════════════════════════ */
.info {
  padding: clamp(60px, 10vw, 120px) clamp(20px, 6vw, 80px);
  background: #050505;
  border-top: 1px solid rgba(255,31,45,0.15);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(clamp(140px, 18vw, 220px), 1fr));
  gap: clamp(20px, 3vw, 40px);
}

.info-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(16px, 2.5vw, 28px);
  border: 1px solid rgba(255,31,45,0.25);
  background: rgba(255,31,45,0.03);
  position: relative;
}
.info-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: #ff1f2d;
  box-shadow: 0 0 8px rgba(255,31,45,0.6);
}

.info-key {
  font-family: 'Share Tech Mono', monospace;
  font-size: clamp(9px, 1.1vw, 11px);
  color: #ff1f2d;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
}

.info-val {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(22px, 3.5vw, 48px);
  color: #f2f2f2;
  line-height: 1;
  letter-spacing: 0.04em;
}

/* новая верстка info */
.info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 60px);
}

.info-main {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 2vw, 22px);
}

.info-line {
  display: flex;
  align-items: baseline;
  gap: clamp(16px, 3vw, 48px);
  flex-wrap: wrap;
}

.info-date {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(52px, 9vw, 140px);
  color: #f2f2f2;
  line-height: 0.9;
  letter-spacing: 0.04em;
  text-shadow: 0 0 30px rgba(255,31,45,0.2);
}

.info-time {
  font-family: 'Share Tech Mono', monospace;
  font-size: clamp(14px, 2.2vw, 28px);
  color: rgba(242,242,242,0.5);
  letter-spacing: 0.1em;
}

.info-venue {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 5vw, 72px);
  color: #ff1f2d;
  line-height: 1;
  letter-spacing: 0.06em;
  text-shadow:
    0 0 14px rgba(255,31,45,0.6),
    0 0 40px rgba(255,31,45,0.25);
}

.info-address {
  font-family: 'Share Tech Mono', monospace;
  font-size: clamp(11px, 1.4vw, 16px);
  color: rgba(242,242,242,0.4);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.5;
}

.info-metro {
  color: rgba(255,31,45,0.6);
}

.info-age-badge {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(64px, 9vw, 120px);
  height: clamp(64px, 9vw, 120px);
  border: 2px solid rgba(255,31,45,0.6);
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(24px, 3.8vw, 52px);
  color: #ff1f2d;
  letter-spacing: 0.04em;
  box-shadow:
    0 0 14px rgba(255,31,45,0.3),
    inset 0 0 20px rgba(255,31,45,0.06);
  text-shadow: 0 0 12px rgba(255,31,45,0.7);
  position: relative;
}
.info-age-badge::before {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255,31,45,0.2);
}

/* ═══════════════════════════════════════════════════════
   4. VISUAL BREAK
═══════════════════════════════════════════════════════ */
.visual-break {
  position: relative;
  overflow: hidden;
  padding: clamp(50px, 8vw, 100px) clamp(20px, 6vw, 80px);
  background: #050505;
  border-top: 1px solid rgba(255,31,45,0.2);
  border-bottom: 1px solid rgba(255,31,45,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.break-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
}

.break-text {
  position: relative;
  z-index: 2;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(40px, 9vw, 140px);
  letter-spacing: 0.1em;
  color: #f2f2f2;
  text-transform: uppercase;
  text-align: center;
  text-shadow:
    0 0 14px #ff1f2d,
    0 0 50px rgba(255,31,45,0.6),
    0 0 120px rgba(255,31,45,0.25),
    0.04em 0 0 rgba(255,31,45,0.7),
    -0.03em 0 0 rgba(93,244,255,0.3);
  animation: breakPulse 4s ease-in-out infinite;
}

@keyframes breakPulse {
  0%, 100% { text-shadow:
    0 0 14px #ff1f2d,
    0 0 50px rgba(255,31,45,0.6),
    0 0 120px rgba(255,31,45,0.25),
    0.04em 0 0 rgba(255,31,45,0.7),
    -0.03em 0 0 rgba(93,244,255,0.3); }
  50% { text-shadow:
    0 0 20px #ff1f2d,
    0 0 80px rgba(255,31,45,0.9),
    0 0 160px rgba(255,31,45,0.4),
    0.04em 0 0 rgba(255,31,45,0.9),
    -0.03em 0 0 rgba(93,244,255,0.5); }
}

/* ═══════════════════════════════════════════════════════
   5. TICKETS
═══════════════════════════════════════════════════════ */
.tickets {
  padding: clamp(60px, 10vw, 120px) clamp(20px, 6vw, 80px);
  background: #050505;
  border-top: 1px solid rgba(255,31,45,0.15);
}

.ticket-block {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.ticket-tier {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(20px, 2.8vw, 36px) 0;
  border-bottom: 1px solid rgba(255,31,45,0.18);
}
.ticket-tier:first-child {
  border-top: 1px solid rgba(255,31,45,0.18);
}

.ticket-tier--rare .tier-name {
  color: #ff1f2d;
  text-shadow: 0 0 10px rgba(255,31,45,0.5);
}
.ticket-tier--rare .tier-price {
  color: #ff1f2d;
}

.tier-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.tier-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(22px, 3.2vw, 48px);
  color: #f2f2f2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}

.tier-desc {
  font-family: 'Share Tech Mono', monospace;
  font-size: clamp(9px, 1.1vw, 12px);
  color: rgba(242,242,242,0.3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.4;
}

.tier-right {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.5vw, 32px);
  flex-shrink: 0;
}

.tier-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(22px, 3.2vw, 48px);
  color: #f2f2f2;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.btn-ticket {
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════
   6. FOOTER
═══════════════════════════════════════════════════════ */
.site-footer {
  padding: clamp(32px, 5vw, 60px) clamp(20px, 6vw, 80px);
  background: #050505;
  border-top: 1px solid rgba(255,31,45,0.15);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  font-family: 'Share Tech Mono', monospace;
  font-size: clamp(9px, 1.2vw, 12px);
  color: rgba(242,242,242,0.3);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  gap: clamp(16px, 3vw, 32px);
}

.footer-nav a {
  font-family: 'Share Tech Mono', monospace;
  font-size: clamp(9px, 1.2vw, 12px);
  color: rgba(242,242,242,0.3);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.15s, text-shadow 0.15s;
}

/* ═══════════════════════════════════════════════════════
   STICKY FOOTER
═══════════════════════════════════════════════════════ */
.sticky-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 950;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 48px);
  background: rgba(5,5,5,0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,31,45,0.18);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  pointer-events: none;
}

.sticky-footer.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sf-logos {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 28px);
}

.sf-logo-link {
  display: flex;
  align-items: center;
  opacity: 0.6;
  transition: opacity 0.2s, filter 0.2s;
}
.sf-logo-link:hover { opacity: 1; }

.sf-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
}
.sf-logo--dark {
  filter: invert(1) grayscale(1) brightness(2);
}
.sf-logo--light {
  filter: grayscale(1) brightness(1.8);
}

.sf-tg {
  display: flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: rgba(242,242,242,0.3);
  font-family: 'Share Tech Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  transition: color 0.2s;
}
.sf-tg:hover {
  color: #ff1f2d;
}
.sf-tg-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* отступ снизу у главного контента чтобы footer не перекрывал */
#main { padding-bottom: 44px; }
.footer-nav a:hover {
  color: #ff1f2d;
  text-shadow: 0 0 10px rgba(255,31,45,0.6);
}

/* ═══════════════════════════════════════════════════════
   LANDING KEYFRAMES
═══════════════════════════════════════════════════════ */
@keyframes heroTitleGlitch {
  0%,88%,100% { transform: translate(0,0); filter: none; }
  89% { transform: translate(-3px, 0); filter: hue-rotate(90deg); }
  90% { transform: translate(3px, 0); filter: hue-rotate(-90deg); }
  91% { transform: translate(0, 0); filter: none; }
}

@keyframes heroGlitchA {
  0%,88%,100% { opacity: 0; transform: translateX(0); }
  89% { opacity: 0.8; transform: translateX(-6px); }
  90% { opacity: 0.8; transform: translateX(4px); }
  91% { opacity: 0; }
}

@keyframes heroGlitchB {
  0%,85%,100% { opacity: 0; transform: translateX(0); }
  86% { opacity: 0.7; transform: translateX(5px); }
  87% { opacity: 0.7; transform: translateX(-3px); }
  88% { opacity: 0; }
}

@keyframes cardGlitch {
  0%   { transform: translateX(0); }
  33%  { transform: translateX(-4px) skewX(-2deg); }
  66%  { transform: translateX(4px) skewX(2deg); }
  100% { transform: translateX(0); }
}

/* ═══════════════════════════════════════════════════════
   LANDING RESPONSIVE
═══════════════════════════════════════════════════════ */
@media (max-width: 600px) {
  .hero-title {
    font-size: clamp(38px, 12vw, 80px);
    letter-spacing: 0.03em;
  }
  .info-row {
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(24px, 5vw, 40px);
  }
  .info-age-badge {
    align-self: flex-start;
  }
  .ticket-tier {
    flex-wrap: wrap;
  }
  .tier-right {
    flex-wrap: wrap;
  }
  .ticket-block {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }
  .btn {
    width: 100%;
  }
  .tier-right {
    width: 100%;
    justify-content: space-between;
  }
}

/* ═══════════════════════════════════════════════════════
   QTICKETS — сброс виджетных стилей, применяем свои
═══════════════════════════════════════════════════════ */
a.qtickets-button,
a.qtickets-button:link,
a.qtickets-button:visited {
  all: unset;
  /* восстанавливаем наши стили кнопки */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(20px, 3.5vw, 40px);
  height: clamp(44px, 6vw, 60px);
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(14px, 2vw, 20px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  background: #ff1f2d;
  color: #f2f2f2;
  box-shadow:
    0 0 18px rgba(255,31,45,0.7),
    0 0 50px rgba(255,31,45,0.3),
    4px 4px 0 rgba(255,255,255,0.15);
  clip-path: polygon(
    0 0,
    calc(100% - 8px) 0,
    calc(100% - 8px) 8px,
    100% 8px,
    100% 100%,
    8px 100%,
    8px calc(100% - 8px),
    0 calc(100% - 8px)
  );
  transition: background 0.1s, color 0.1s, box-shadow 0.1s;
}

a.qtickets-button:hover {
  background: #f2f2f2;
  color: #ff1f2d;
  box-shadow:
    0 0 28px rgba(255,31,45,0.9),
    0 0 70px rgba(255,31,45,0.5),
    4px 4px 0 rgba(255,31,45,0.4);
}

/* полноширинная версия в секции билетов */
a.qtickets-button.btn-ticket {
  align-self: stretch;
  width: 100%;
  margin-top: clamp(8px, 1.5vw, 16px);
}

@media (max-width: 380px) {
  a.qtickets-button { width: 100%; }
}
