:root {
  --bg: #020202;
  --bg-soft: #0a0a0a;
  --text: #f5f1ea;
  --muted: #a6a097;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.24);
  --panel: rgba(255, 255, 255, 0.04);
  --panel-strong: rgba(255, 255, 255, 0.08);
  --accent: #efe8df;
  --accent-dark: #101010;
  --max-width: 1320px;
  --radius: 30px;
  --shadow: 0 26px 90px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 255, 255, 0.09), transparent 22%),
    radial-gradient(circle at 85% 22%, rgba(255, 255, 255, 0.06), transparent 18%),
    linear-gradient(180deg, #090909 0%, #030303 42%, #070707 100%);
}

img {
  display: block;
  max-width: 100%;
}

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

.noise,
.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.noise {
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 140px 140px;
  mix-blend-mode: screen;
}

.scanlines {
  opacity: 0.08;
  background:
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.02), transparent),
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.04) 0,
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px,
      transparent 4px
    );
}

.intro-screen {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3vh, 28px);
  min-height: 100svh;
  width: 100%;
  padding: 32px;
  background: #f4f4f1;
}

.intro-logo {
  width: min(74vw, 920px);
  height: auto;
  filter: contrast(1.18) brightness(0.86);
  overflow: hidden;
}

.intro-logo-texture {
  animation: logo-texture-drift 18s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes logo-texture-drift {
  0% {
    transform: translate3d(0, 0, 0);
  }

  45% {
    transform: translate3d(-220px, -36px, 0);
  }

  100% {
    transform: translate3d(-430px, 30px, 0);
  }
}

.intro-countdown {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(86vw, 900px);
  color: #080808;
}

.intro-countdown-label {
  display: block;
  margin-bottom: 12px;
  font-size: clamp(0.64rem, 1.4vw, 0.82rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.intro-countdown .flipdown {
  width: auto;
  height: auto;
  margin: 0;
}

.social-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6em;
  margin-top: 22px;
  color: #080808;
  font-size: clamp(0.72rem, 1.3vw, 0.9rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.social-line span {
  opacity: 0.62;
}

.telegram-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.32em;
  transition: opacity 0.2s ease;
}

.telegram-link:hover {
  opacity: 0.56;
}

.meta-disclaimer {
  margin: 10px 0 0;
  color: rgba(8, 8, 8, 0.48);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
}

.intro-countdown .flipdown .rotor-group-heading {
  display: none;
}

.intro-countdown .flipdown .rotor-group {
  padding-right: 18px;
}

.intro-countdown .flipdown .rotor-group:last-child {
  padding-right: 0;
}

.intro-countdown .flipdown .rotor-group::before,
.intro-countdown .flipdown .rotor-group::after {
  display: none;
}

.intro-countdown .flipdown .rotor,
.intro-countdown .flipdown .rotor-leaf,
.intro-countdown .flipdown .rotor-leaf-front,
.intro-countdown .flipdown .rotor-leaf-rear,
.intro-countdown .flipdown .rotor-top,
.intro-countdown .flipdown .rotor-bottom {
  width: 54px;
  height: 84px;
  border-radius: 0;
  font-family: "Inter", sans-serif;
  font-size: 4.3rem;
  font-weight: 900;
  line-height: 84px;
}

.intro-countdown .flipdown .rotor {
  margin: 0 3px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.13);
}

.intro-countdown .flipdown .rotor-top,
.intro-countdown .flipdown .rotor-leaf-front {
  background: #151515;
}

.intro-countdown .flipdown .rotor-bottom,
.intro-countdown .flipdown .rotor-leaf-rear {
  background: #060606;
}

.intro-countdown .flipdown .rotor-group:nth-child(4),
.intro-countdown .flipdown .rotor-group:nth-child(4) + .rotor-group {
  display: none;
}

@media (max-width: 620px) {
  .intro-countdown {
    width: min(92vw, 430px);
  }

  .intro-countdown .flipdown .rotor-group {
    padding-right: 7px;
  }

  .intro-countdown .flipdown .rotor,
  .intro-countdown .flipdown .rotor-leaf,
  .intro-countdown .flipdown .rotor-leaf-front,
  .intro-countdown .flipdown .rotor-leaf-rear,
  .intro-countdown .flipdown .rotor-top,
  .intro-countdown .flipdown .rotor-bottom {
    width: 34px;
    height: 54px;
    font-size: 2.7rem;
    line-height: 54px;
  }

  .intro-countdown .flipdown .rotor {
    margin: 0 1px;
  }
}

.hero,
.section,
.footer {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.hero {
  padding: 20px 0 50px;
}

.topbar {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: sticky;
  top: 12px;
  z-index: 12;
  width: 100%;
  margin-bottom: 34px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(10, 10, 10, 0.52);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.brand-mark {
  width: 110px;
  opacity: 0.96;
  transition: transform 0.24s ease;
}

.brand-mark:hover {
  transform: translateY(-2px);
}

.nav-link,
.eyebrow,
.stage-tag,
.countdown-label,
.hero-kicker,
.poster-note span {
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  gap: 34px;
  align-items: start;
}

.hero-copy {
  position: sticky;
  top: 24px;
  padding-top: 26px;
}

.eyebrow,
.hero-kicker,
.stage-tag,
.countdown-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
}

.hero-kicker {
  margin: 0 0 14px;
}

h1,
h2,
h3 {
  margin: 0;
}

h1,
h2 {
  font-family: "Inter", sans-serif;
  font-weight: 900;
  text-transform: uppercase;
}

h1 {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 18px;
  line-height: 0.88;
}

h1 span,
h1 em {
  display: block;
  font-style: normal;
}

h1 span {
  font-size: clamp(3rem, 7.8vw, 7rem);
}

h1 em {
  position: relative;
  left: clamp(12px, 2vw, 34px);
  font-size: clamp(3.4rem, 8.7vw, 8rem);
  color: transparent;
  -webkit-text-stroke: 1px var(--accent);
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.08);
}

.lead {
  max-width: 610px;
  margin: 28px 0 0;
  font-size: 1.12rem;
  line-height: 1.8;
  color: var(--accent);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 0.22s ease,
    background-color 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--accent-dark);
  background: var(--accent);
}

.button-secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.hero-ticker {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-ticker span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.88rem;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.03);
}

.hero-stack {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 18px;
}

.poster-column {
  position: relative;
  padding-top: 60px;
}

.poster-note {
  position: absolute;
  top: 0;
  left: 18px;
  display: flex;
  gap: 10px;
  z-index: 2;
}

.poster-note span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.68rem;
}

.poster-frame,
.gallery-card,
.info-card,
.lineup-panel,
.cta-panel,
.experience article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    var(--panel);
  box-shadow: var(--shadow);
}

.tilted-frame {
  transform: rotate(-3deg);
  transform-origin: center;
}

.tilted-frame img {
  width: 100%;
}

.countdown-card {
  position: absolute;
  right: -36px;
  bottom: 36px;
  width: min(320px, calc(100% - 24px));
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: rgba(7, 7, 7, 0.8);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.countdown div {
  padding: 14px 10px;
  border-radius: 18px;
  text-align: center;
  background: var(--panel-strong);
}

.countdown strong {
  display: block;
  font-family: "Inter", sans-serif;
  font-weight: 800;
  font-size: 1.54rem;
}

.countdown span {
  display: block;
  margin-top: 6px;
  font-size: 0.68rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.info-rail {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 24px;
}

.info-chip {
  align-self: flex-end;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.84rem;
  color: var(--accent);
  background: rgba(255, 255, 255, 0.04);
}

.info-card {
  padding: 22px;
}

.info-card h2 {
  margin: 12px 0;
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  line-height: 0.95;
}

.info-card p {
  margin: 0;
  line-height: 1.75;
  color: var(--accent);
}

.info-card a,
.manifesto a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.accent-card,
.accent-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.04);
}

.section {
  padding: 58px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 0.94;
}

.manifesto {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 30px;
  align-items: start;
}

.manifesto-copy {
  display: grid;
  gap: 22px;
}

.manifesto-text,
.experience p,
.cta-panel p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.82;
  color: var(--accent);
}

.lineups {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.lineup-panel {
  padding: 28px 30px;
}

.lineup-panel h3 {
  margin-top: 12px;
  font-size: clamp(1.55rem, 2.6vw, 2.7rem);
  line-height: 1.02;
  text-transform: uppercase;
}

.gallery-section {
  overflow: visible;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 18px;
  grid-auto-rows: 240px;
}

.gallery-card {
  position: relative;
  background: #0b0b0b;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.04);
  transition:
    transform 0.5s ease,
    filter 0.4s ease;
}

.gallery-card:hover img {
  transform: scale(1.04);
  filter: grayscale(100%) contrast(1.15);
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.22));
}

.gallery-large {
  grid-row: span 2;
}

.gallery-tall {
  grid-row: span 2;
  transform: translateY(42px);
}

.gallery-wide {
  grid-column: span 2;
  transform: translateY(-26px);
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.experience article {
  padding: 24px;
}

.experience span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.experience h3,
.cta-panel h2 {
  margin-bottom: 14px;
}

.cta-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 34px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 12px 0 34px;
  color: var(--muted);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand img {
  width: 74px;
}

.footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

@media (max-width: 1180px) {
  .hero-layout,
  .manifesto,
  .lineups,
  .gallery-grid,
  .experience-grid,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    position: static;
    padding-top: 0;
  }

  .hero-stack {
    grid-template-columns: 1fr;
  }

  .info-rail {
    padding-top: 8px;
  }

  .info-chip {
    align-self: flex-start;
  }

  .gallery-grid {
    grid-auto-rows: 280px;
  }

  .gallery-tall,
  .gallery-wide {
    transform: none;
  }

  .cta-panel,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .hero {
    padding-top: 18px;
  }

  .topbar {
    top: 10px;
    margin-bottom: 24px;
    padding: 12px 14px;
  }

  .brand-mark {
    width: 92px;
  }

  .lead,
  .manifesto-text,
  .experience p,
  .cta-panel p,
  .info-card p {
    font-size: 1rem;
  }

  .hero-ticker {
    gap: 10px;
  }

  .hero-ticker span {
    font-size: 0.8rem;
  }

  .poster-column {
    padding-top: 44px;
  }

  .tilted-frame {
    transform: none;
  }

  .countdown-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin: -22px 16px 0;
    width: auto;
  }

  .countdown strong {
    font-size: 1.28rem;
  }

  .lineup-panel,
  .info-card,
  .experience article,
  .cta-panel {
    padding: 22px;
  }

  .gallery-grid {
    grid-auto-rows: 220px;
  }

  .gallery-large,
  .gallery-tall,
  .gallery-wide {
    grid-row: span 1;
    grid-column: auto;
  }

  .footer-brand {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}
