/* ───────────────────────────────────────────────────────────────
   МУЗ-ТВ. 30 лет — landing (pure HTML/CSS rebuild)
   Breakpoint: 768px (mobile-first, desktop overrides in media query)
   ─────────────────────────────────────────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: "Inter", sans-serif;
  color: #fff;
}

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

button {
  font-family: inherit;
  border: none;
  background: none;
}

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

.page {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  width: 100%;
  background-color: #0c005d;
  background-image: url("images/page_bg.png"), linear-gradient(180deg, #0c005d 0%, #1b00cf 50%, #0c005d 100%);
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

/* ── Reusable: section wrapper ───────────────────────────────── */

.section {
  width: 100%;
  max-width: 1328px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  padding-top: 64px;
}

/* ── Reusable: gradient heading (clipped text) ───────────────── */

.heading-gradient {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.1;
  font-size: clamp(36px, 7vw, 93px);
  background-image: linear-gradient(to bottom, #ff00a3 0%, #ff6aa7 80.806%, #ff83a7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ── Reusable: glass card ────────────────────────────────────── */

.glass-card {
  position: relative;
  width: 100%;
  border-radius: 32px;
  background: radial-gradient(ellipse at center, rgba(59, 60, 215, 0.5) 0%, rgba(56, 29, 161, 0.5) 100%);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow:
    inset 4px 4px 4px 0 rgba(138, 108, 255, 0.25),
    inset -4px -4px 4px 0 rgba(231, 96, 255, 0.25),
    88px 72px 140px 0 rgba(0, 0, 0, 0.32);
}

/* ── Reusable: buy-ticket buttons ────────────────────────────── */

.btn-buy {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  text-transform: uppercase;
  font-family: "Unbounded", sans-serif;
  font-weight: 600;
  color: #fff;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn-buy:hover {
  filter: brightness(1.1);
  transform: scale(1.03);
}

.btn-buy:active {
  transform: scale(0.98);
}

/* Large gradient (pink) button used inside sections */
.btn-buy--gradient {
  height: 60px;
  padding: 0 32px;
  font-size: 18px;
  font-weight: 600;
  background-image: linear-gradient(90deg, rgb(255, 0, 180) 0%, rgb(255, 0, 180) 100%);
  box-shadow: 2px 4px 16px 0 rgba(0, 0, 0, 0.16);
}

/* Header pill button */
.btn-buy--header {
  display: none;
  height: 30px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 700;
  background-image: linear-gradient(113.263deg, rgb(255, 185, 145) 0%, rgb(255, 27, 164) 49.03%, rgb(180, 0, 230) 100%);
}

/* Mobile-menu button */
.btn-buy--mobile {
  height: 44px;
  padding: 0 24px;
  font-size: 13px;
  font-weight: 700;
  background-image: linear-gradient(113.263deg, rgb(255, 185, 145) 0%, rgb(255, 27, 164) 49.03%, rgb(180, 0, 230) 100%);
}

/* ── Header ──────────────────────────────────────────────────── */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
}

.header__bg {
  position: absolute;
  inset: 0;
  background-color: rgba(12, 0, 93, 0.5);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.header__border {
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow:
    inset 1px 1px 3px 0 rgba(111, 89, 255, 0.5),
    inset -1px -1px 3px 0 rgba(27, 0, 207, 0.5);
}

.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
  padding: 0 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  height: 19px;
}

.logo__icon {
  height: 19px;
  width: 21px;
}

.logo__word {
  height: 19px;
  width: 67px;
}

.nav {
  display: none;
  gap: 16px;
  text-transform: uppercase;
  font-family: "Unbounded", sans-serif;
  font-weight: 400;
  font-size: 12px;
}

.nav__link {
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav__link:hover {
  color: #ff1ba4;
}

/* Burger */
.burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.burger__line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger.is-open .burger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.is-open .burger__line:nth-child(2) {
  opacity: 0;
}

.burger.is-open .burger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile dropdown */
.mobile-menu {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 8px 24px 24px;
  background-color: rgba(12, 0, 93, 0.95);
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu__link {
  text-transform: uppercase;
  font-family: "Unbounded", sans-serif;
  font-size: 13px;
  transition: color 0.2s ease;
}

.mobile-menu__link:hover {
  color: #ff1ba4;
}

.mobile-menu .btn-buy--mobile {
  align-self: flex-start;
}

/* ── Hero ────────────────────────────────────────────────────── */

.hero {
  position: relative;
  width: 100%;
  max-width: 1328px;
  overflow: hidden;
  padding-top: 80px;
  padding-left: 16px;
  padding-right: 16px;
}

.hero__images {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
}

.hero__img {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
}

.hero__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.hero__img--left {
  aspect-ratio: 720 / 695;
}

.hero__img--right {
  aspect-ratio: 1378 / 1408;
}

.hero__cta {
  position: absolute;
  bottom: 16px;
  left: 16px;
}

/* ── Event details ───────────────────────────────────────────── */

.event {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.event__title {
  display: flex;
  flex-direction: column;
}

.event__card {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  padding: 48px 24px;
}

.event__lead {
  margin: 0;
  width: 100%;
  font-family: "Unbounded", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.5;
  font-size: clamp(20px, 3.5vw, 45px);
}

.event__text {
  width: 100%;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  line-height: 1.5;
  font-size: clamp(14px, 2vw, 28px);
}

.event__text p {
  margin: 0 0 16px;
}

.event__text p:last-child {
  margin-bottom: 0;
}

.event__text strong {
  font-weight: 700;
}

/* ── Featured artists banner ─────────────────────────────────── */

.featured__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1447 / 312;
  overflow: hidden;
}

.featured__frame img {
  position: absolute;
  top: -43%;
  left: -4%;
  width: 121%;
  height: 276%;
  max-width: none;
  object-fit: cover;
}

/* ── Artists ─────────────────────────────────────────────────── */

.artists {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.artists__intro {
  margin: 0;
  width: 100%;
  font-family: "Unbounded", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.5;
  font-size: clamp(18px, 3vw, 45px);
}

.artists__scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 40px 24px;
}

.artist {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  flex: 0 0 140px;
  margin: 0;
}

.artist__photo {
  width: 100%;
  aspect-ratio: 258 / 444;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background-color: #fe0196;
}

.artist__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.artist__name {
  margin: 0;
  flex-shrink: 0;
  font-family: "Unbounded", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
  font-size: clamp(16px, 2vw, 32px);
  color: white;
  /* -webkit-text-stroke: 4px #fff; */
  paint-order: stroke fill;
  text-shadow: 0 0 16px #fe0196, 0 0 8px #fe0196;
}

/* ── Interactive ─────────────────────────────────────────────── */

.interactive {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.interactive__header {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.interactive__subtitle {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.5;
  color: #fff;
  font-size: clamp(16px, 3vw, 45px);
}

.interactive__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.interactive__photo {
  position: relative;
  width: 100%;
  flex-shrink: 0;
}

.interactive__photo img {
  width: 100%;
  object-fit: cover;
  border: 2px solid #fff;
}

.interactive__chooser {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
  width: 100%;
}

.interactive__choose-title {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
  color: #ff1ba4;
  font-size: clamp(18px, 3vw, 45px);
}

.styles {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.style-btn {
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: clamp(50px, 6vw, 80px);
  padding: 0 clamp(24px, 4vw, 48px);
  border-radius: 50px;
  text-transform: uppercase;
  font-family: "Unbounded", sans-serif;
  font-weight: 600;
  color: #fff;
  font-size: clamp(16px, 2vw, 28px);
  background-image: linear-gradient(90deg, rgb(255, 0, 180) 0%, rgb(255, 0, 180) 100%);
  box-shadow: 2px 4px 16px 0 rgba(0, 0, 0, 0.16);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.style-btn:hover {
  filter: brightness(1.1);
  transform: scale(1.02);
}

.style-btn:active {
  transform: scale(0.98);
}

.style-btn.is-active {
  background-image: linear-gradient(90deg, #b400e6 0%, #ff1ba4 100%);
}

.interactive__footnote {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.5;
  color: #fff;
  font-size: clamp(16px, 3vw, 45px);
}

/* ── Sponsors ────────────────────────────────────────────────── */

.sponsors {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sponsors__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 16px;
  align-items: center;
  justify-items: center;
  width: 100%;
  margin-top: 16px;
}

.sponsors__logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ── Footer ──────────────────────────────────────────────────── */

.footer {
  width: 100%;
  margin-top: 96px;
}

.footer__btn {
  cursor: pointer;
  width: 100%;
  background-color: #ff1ba4;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 24px 0;
  font-family: "Unbounded", sans-serif;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  font-size: clamp(28px, 5vw, 72px);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.footer__btn:hover {
  filter: brightness(1.1);
  transform: scale(1.02);
}

.footer__btn:active {
  transform: scale(0.98);
}

/* ───────────────────────────────────────────────────────────────
   Desktop (≥768px)
   ─────────────────────────────────────────────────────────────── */

@media (min-width: 768px) {
  .section {
    padding-left: 32px;
    padding-right: 32px;
    padding-top: 120px;
  }

  .header__inner {
    padding: 0 32px;
  }

  .nav {
    display: flex;
  }

  .btn-buy--header {
    display: inline-flex;
  }

  .burger,
  .mobile-menu {
    display: none !important;
  }

  .btn-buy--gradient {
    height: 80px;
    padding: 0 48px;
    font-size: 28px;
  }

  .hero__cta {
    bottom: 24px;
    left: 32px;
  }

  .event,
  .artists,
  .interactive {
    gap: 64px;
  }

  .event__card {
    gap: 64px;
    padding: 80px;
    border-radius: 64px;
  }

  .glass-card {
    border-radius: 64px;
  }

  .artists__intro {
    padding: 0 56px;
  }

  /* Desktop artists: even row, no horizontal scroll */
  .artists__scroll {
    overflow-x: visible;
    padding: 80px;
  }

  .artist {
    flex: 1 1 0;
    gap: 24px;
    min-width: 100px;
  }

  .artist__photo {
    border-radius: 32px;
  }

  .interactive__header,
  .interactive__chooser {
    gap: 24px;
  }

  .interactive__chooser {
    gap: 64px;
    width: auto;
  }

  .interactive__body {
    flex-direction: row;
    align-items: flex-start;
  }

  .interactive__photo {
    width: 40%;
  }

  .interactive__photo img {
    border-width: 3px;
  }

  .styles {
    gap: 32px;
  }

  .sponsors {
    gap: 24px;
  }

  .sponsors__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px 16px;
    margin-top: 32px;
  }

  .footer {
    margin-top: 240px;
  }

  .footer__btn {
    padding: 32px 0;
  }
}
