:root {
  color-scheme: dark;
  --bg: #07070b;
  --bg-soft: #11121a;
  --panel: #171821;
  --panel-strong: #202233;
  --text: #f7f4ed;
  --muted: #b7b0c7;
  --line: rgba(255, 255, 255, 0.14);
  --pink: #ff2f7d;
  --cyan: #21d7ff;
  --amber: #ffbf38;
  --blue: #4867ff;
  --green: #41e38a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 47, 125, 0.18), transparent 28rem),
    linear-gradient(180deg, #07070b 0%, #0d0d12 42%, #07070b 100%);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

body::selection {
  background: var(--pink);
  color: #fff;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 7, 11, 0.84);
  backdrop-filter: blur(16px);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-grid;
  gap: 0;
  line-height: 1;
}

.brand strong {
  font-size: clamp(1.25rem, 4vw, 1.7rem);
  letter-spacing: 0;
}

.brand span {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 0.92rem;
}

.nav-links a,
.button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 13px;
  background: rgba(255, 255, 255, 0.04);
}

.nav-links a:hover,
.button:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

.button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--pink), var(--blue));
  color: #fff;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 7, 11, 0.92), rgba(7, 7, 11, 0.56) 48%, rgba(7, 7, 11, 0.86)),
    linear-gradient(0deg, rgba(7, 7, 11, 0.96), transparent 36%),
    url("/assets/trance-life-cosmic-hero.jpg") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-inner {
  position: relative;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 88px 0 58px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 0.83rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.25rem, 8.5vw, 5.8rem);
}

.hero-copy {
  max-width: 720px;
  margin: 20px 0 0;
  color: #e7e0ee;
  font-size: clamp(1.06rem, 2.3vw, 1.35rem);
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 64px 0;
}

.section.compact {
  padding-top: 28px;
}

.section-header {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 3rem);
}

.section-header p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
}

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

.story-card,
.note,
.timeline-item,
.partner-band {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
}

.story-card {
  overflow: hidden;
}

.story-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.story-card .content,
.note,
.timeline-item,
.partner-band {
  padding: 20px;
}

.story-card h3,
.note h3,
.timeline-item h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.story-card p,
.note p,
.timeline-item p,
.partner-band p {
  margin: 0;
  color: var(--muted);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 3px 10px;
  background: rgba(33, 215, 255, 0.12);
  color: #dff8ff;
  font-size: 0.8rem;
  font-weight: 700;
}

.tag.hot {
  background: rgba(255, 47, 125, 0.16);
  color: #ffdbe9;
}

.tag.gold {
  background: rgba(255, 191, 56, 0.16);
  color: #ffefc6;
}

.feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items: stretch;
}

.feature-image {
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: url("/assets/polishuk-party-3-flyer.jpg") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.feature-body {
  display: grid;
  align-content: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
}

.feature-body h2 {
  margin: 0 0 18px;
  font-size: clamp(1.9rem, 5vw, 3.8rem);
}

.feature-body p {
  margin: 0 0 22px;
  color: var(--muted);
}

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

.partner-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 47, 125, 0.13), rgba(33, 215, 255, 0.1)),
    rgba(255, 255, 255, 0.055);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.article-hero {
  position: relative;
  min-height: 68vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 7, 11, 0.94), rgba(7, 7, 11, 0.56) 50%, rgba(7, 7, 11, 0.88)),
    linear-gradient(0deg, rgba(7, 7, 11, 0.98), transparent 38%),
    var(--hero-image, url("/assets/trance-life-cosmic-hero.jpg")) center / cover no-repeat;
}

.article-hero .hero-inner {
  padding-bottom: 44px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.article-shell {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 76px;
}

.article-shell article {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.article-shell p,
.article-shell li {
  color: #e7e1ef;
}

.article-shell h2 {
  margin: 48px 0 14px;
  font-size: clamp(1.55rem, 4vw, 2.55rem);
}

.article-shell h3 {
  margin: 32px 0 10px;
  font-size: 1.35rem;
}

.lede {
  margin-top: 0;
  color: #fff;
  font-size: clamp(1.2rem, 2.6vw, 1.55rem);
  line-height: 1.55;
}

.pullquote {
  margin: 34px 0;
  border-right: 4px solid var(--pink);
  padding: 16px 22px;
  background: rgba(255, 47, 125, 0.08);
  color: #fff;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  line-height: 1.35;
}

.poster-figure {
  margin: 34px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
}

.poster-figure img {
  width: 100%;
  max-height: 720px;
  object-fit: contain;
  background: #060609;
}

.poster-figure figcaption {
  padding: 12px 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 34px 0;
}

.fact {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.055);
}

.fact span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.fact strong {
  display: block;
  margin-top: 5px;
  line-height: 1.2;
}

.source-list {
  border-top: 1px solid var(--line);
  margin-top: 52px;
  padding-top: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.source-list a {
  color: #dff8ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

@media (max-width: 860px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nav-links a {
    padding: 8px 6px;
    font-size: 0.82rem;
    text-align: center;
  }

  .hero,
  .article-hero {
    min-height: 72vh;
  }

  .grid,
  .feature,
  .timeline,
  .partner-band,
  .facts {
    grid-template-columns: 1fr;
  }

  .feature-image {
    min-height: 320px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .nav,
  .section,
  .footer-inner,
  .article-shell,
  .hero-inner {
    width: min(100% - 22px, 1120px);
  }

  .hero-inner {
    padding-top: 64px;
  }

  .hero-actions,
  .section-actions,
  .article-nav {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
