/* ===== Tokens ===== */
:root {
  --bg: #07040f;
  --bg-2: #0e0820;
  --surface: rgba(255, 255, 255, .04);
  --surface-2: rgba(255, 255, 255, .07);
  --border: rgba(255, 255, 255, .1);
  --text: #f4f0ff;
  --muted: #a99fc4;
  --pink: #ff2bd6;
  --violet: #8b5cf6;
  --cyan: #22e4ff;
  --orange: #ff9e3d;
  --grad: linear-gradient(90deg, var(--pink), var(--violet) 50%, var(--cyan));
  --radius: 20px;
  --header-h: 68px;
  --font-head: "Unbounded", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
ul { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); font-weight: 500; }
.eyebrow {
  margin: 0 0 12px;
  font: 600 .78rem/1 var(--font-body);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cyan);
}
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 8px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 8px 30px -8px rgba(255, 43, 214, .6);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px -6px rgba(255, 43, 214, .75); }
.btn--ghost { border: 1px solid var(--border); background: var(--surface); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: var(--surface-2); transform: translateY(-2px); }

/* ===== Header ===== */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(7, 4, 15, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--border);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font: 500 1.05rem var(--font-head); letter-spacing: .14em; }
.brand img { width: 40px; height: 40px; filter: drop-shadow(0 0 8px rgba(255, 43, 214, .5)); }
.nav { display: flex; gap: 6px; }
.nav a { padding: 8px 14px; border-radius: 999px; font-weight: 600; color: var(--muted); transition: color .2s, background .2s; }
.nav a:hover, .nav a.is-active { color: var(--text); background: var(--surface-2); }
.burger { display: none; }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 120px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 100%, #3a0f5c 0%, var(--bg) 60%); }
.stars {
  position: absolute; inset: 0 0 28%;
  background-image:
    radial-gradient(1px 1px at 10% 20%, #fff8, transparent),
    radial-gradient(1px 1px at 30% 70%, #fff6, transparent),
    radial-gradient(1.5px 1.5px at 55% 30%, #fffa, transparent),
    radial-gradient(1px 1px at 75% 15%, #fff7, transparent),
    radial-gradient(1px 1px at 88% 55%, #fff6, transparent),
    radial-gradient(1.5px 1.5px at 20% 45%, #fff8, transparent),
    radial-gradient(1px 1px at 65% 60%, #fff5, transparent),
    radial-gradient(1px 1px at 42% 10%, #fff7, transparent);
  background-size: 400px 300px;
  animation: twinkle 6s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .5; } to { opacity: 1; } }
.grid {
  position: absolute; left: -50%; right: -50%; bottom: 0; height: 28%; opacity: .55;
  background:
    linear-gradient(transparent 0 calc(100% - 2px), rgba(255, 43, 214, .7) 0) 0 0 / 100% 60px,
    linear-gradient(90deg, transparent 0 calc(100% - 2px), rgba(255, 43, 214, .55) 0) 0 0 / 60px 100%;
  transform: perspective(300px) rotateX(60deg);
  transform-origin: top;
  animation: grid 2.5s linear infinite;
  -webkit-mask: linear-gradient(transparent, #000 40%);
          mask: linear-gradient(transparent, #000 40%);
}
@keyframes grid { to { background-position: 0 60px, 0 0; } }
.hero::after { /* horizon line */
  content: ""; position: absolute; left: 0; right: 0; bottom: 28%; height: 1px; z-index: -1; opacity: .7;
  background: var(--grad); box-shadow: 0 0 24px 4px rgba(255, 43, 214, .5);
}

.hero__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.hero__title {
  font-size: clamp(3.4rem, 9vw, 6.5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: .14em;
  margin-right: -.14em; /* compensate trailing letter-spacing when centered */
  color: #fff;
  text-shadow: 0 0 24px rgba(255, 43, 214, .55), 0 0 2px rgba(255, 255, 255, .6);
  margin-bottom: 24px;
}
.hero__lead { max-width: 560px; margin: 0 0 32px; font-size: 1.1rem; color: #d9d2f0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hero__art { justify-self: center; position: relative; }
.hero__art img {
  width: min(420px, 70vw);
  filter: drop-shadow(0 0 28px rgba(255, 43, 214, .55)) drop-shadow(0 0 70px rgba(139, 92, 246, .3));
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-14px); } }

.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.socials a {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  transition: color .2s, background .2s, transform .2s, border-color .2s;
}
.socials a:hover { color: #fff; background: rgba(255, 43, 214, .18); border-color: rgba(255, 43, 214, .5); transform: translateY(-3px); }

.ico { width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.ico--vk { --icon: url(../icons/vk.svg); }
.ico--telegram { --icon: url(../icons/telegram.svg); }
.ico--youtube { --icon: url(../icons/youtube.svg); }
.ico--instagram { --icon: url(../icons/instagram.svg); }
.ico--x { --icon: url(../icons/x.svg); width: 17px; }
.ico--bandlink { --icon: url(../icons/bandlink.svg); }

.scroll-hint {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .35); border-radius: 14px;
}
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s infinite; }
@keyframes wheel { to { transform: translateY(14px); opacity: 0; } }

/* ===== Sections ===== */
.section { padding: clamp(72px, 10vw, 120px) 0; position: relative; }
.section__head { text-align: center; margin-bottom: 48px; }

/* Upcoming */
.soon {
  display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: clamp(28px, 5vw, 64px); align-items: center;
  padding: clamp(20px, 4vw, 44px);
  border-radius: calc(var(--radius) + 8px);
  background: linear-gradient(135deg, rgba(139, 92, 246, .14), rgba(255, 43, 214, .06) 50%, rgba(34, 228, 255, .08));
  border: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.soon::before {
  content: ""; position: absolute; width: 400px; height: 400px; right: -120px; top: -160px;
  background: radial-gradient(circle, rgba(34, 228, 255, .25), transparent 70%); pointer-events: none;
}
.soon__cover img { border-radius: var(--radius); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8), 0 0 50px rgba(139, 92, 246, .35); }
.soon__title { font-size: clamp(1.8rem, 4.5vw, 3rem); margin-bottom: 12px; }
.soon__date { color: var(--muted); margin: 0 0 28px; font-weight: 600; }
.soon__actions { margin-top: 32px; }

.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 460px; }
.countdown div {
  padding: 16px 6px 12px; text-align: center;
  border-radius: 16px; background: rgba(0, 0, 0, .35); border: 1px solid var(--border);
}
.countdown b { display: block; font: 700 clamp(1.5rem, 4vw, 2.2rem)/1 var(--font-head); font-variant-numeric: tabular-nums; }
.countdown span { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.countdown.is-out { display: none; }

/* Releases */
.releases { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
@media (max-width: 1000px) { .releases { grid-template-columns: repeat(3, 1fr); } }
.release h3 { font-size: 1rem; font-weight: 500; margin-top: 14px; transition: color .2s; }
.release__cover { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 1; background: var(--bg-2); }
.release__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.release__play {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(7, 4, 15, .45); opacity: 0; transition: opacity .3s;
}
.release__play::after {
  content: ""; width: 60px; height: 60px; border-radius: 50%;
  background: var(--grad) ;
  -webkit-mask: radial-gradient(circle, #000 69%, transparent 70%);
  box-shadow: 0 0 30px rgba(255, 43, 214, .7);
}
.release__play::before {
  content: ""; position: absolute; z-index: 1; margin-left: 5px;
  border-left: 18px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent;
}
.release:hover .release__cover img, .release:focus-visible .release__cover img { transform: scale(1.06); }
.release:hover .release__play, .release:focus-visible .release__play { opacity: 1; }
.release:hover h3 { color: var(--pink); }

/* Platforms */
.platforms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1000px; margin-inline: auto; }
.platforms a {
  display: grid; place-items: center;
  aspect-ratio: 3.4 / 1;
  padding: 0 8%;
  border-radius: 18px;
  background: #000;
  border: 2px solid rgba(255, 255, 255, .7);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.platforms img { width: 100%; height: 52%; object-fit: contain; }
/* optical balance: wordmarks without a caption read bigger, framed badges smaller */
.pf--kion img, .pf--spotify img { height: 36%; }
.pf--youtube img, .pf--deezer img { height: 44%; }
.pf--amazon img, .pf--soundcloud img, .pf--ok img, .pf--vk img, .pf--mts img { height: 58%; }
.platforms a:hover { transform: translateY(-3px); border-color: #fff; box-shadow: 0 0 0 1px rgba(255, 43, 214, .5), 0 12px 34px -10px rgba(255, 43, 214, .55); }
@media (max-width: 760px) { .platforms { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

/* Contact */
.contact {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 56px); align-items: center;
  max-width: 860px; margin-inline: auto;
}
.contact__avatar {
  width: clamp(140px, 22vw, 220px); aspect-ratio: 1; object-fit: cover; object-position: top;
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--pink), 0 0 50px rgba(255, 43, 214, .45);
}
.contact h2 { margin-bottom: 12px; }
.contact__text { color: var(--muted); margin: 0 0 20px; max-width: 480px; }
.contact__mail {
  display: inline-block;
  font: 700 clamp(1.2rem, 3.4vw, 1.8rem) var(--font-head);
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  border-bottom: 2px solid rgba(255, 43, 214, .4);
  transition: border-color .2s;
}
.contact__mail:hover { border-color: var(--cyan); }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 28px 0; color: var(--muted); font-size: .9rem; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; }
.footer p { margin: 0; }
.footer a:hover { color: var(--text); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .burger {
    display: grid; gap: 6px; place-content: center;
    width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 12px;
    background: var(--surface); cursor: pointer;
  }
  .burger span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s; }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 4px; padding: 16px;
    background: rgba(7, 4, 15, .96); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav a { padding: 14px 16px; font-size: 1.05rem; }
  .header.menu-open { background: rgba(7, 4, 15, .96); }

  .hero { text-align: center; }
  .hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .hero__art { order: -1; }
  .hero__art img { width: min(240px, 60vw); }
  .hero__lead { margin-inline: auto; }
  .hero__actions, .socials { justify-content: center; }

  .soon { grid-template-columns: 1fr; text-align: center; }
  .soon__cover { max-width: 360px; margin-inline: auto; }
  .countdown { margin-inline: auto; }

  .contact { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}
@media (max-width: 520px) {
  .releases { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .platforms { grid-template-columns: 1fr; gap: 12px; max-width: 360px; }
  .btn { padding: 13px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
