:root {
  --ink: #18111d;
  --ink-soft: #24192a;
  --paper: #f1edf3;
  --card: #fbf9fc;
  --text: #211627;
  --muted: #766b7a;
  --purple: #8f2ad2;
  --purple-dark: #69209a;
  --purple-soft: #eadcf2;
  --line-light: #d9d1dd;
  --line-dark: rgba(255, 255, 255, 0.14);
  --wrap: min(1160px, calc(100vw - 48px));
  --font: Arial, Helvetica, ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--paper);
  font-family: var(--font);
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
::selection { color: white; background: var(--purple); }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 4px; }

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 14px;
  color: white;
  background: var(--purple-dark);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.topbar {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, 3vw);
  color: #f5eef8;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.logo span {
  color: #c977f4;
  font-size: 1.32em;
  font-weight: 800;
}

.topbar nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-cta {
  padding: 9px 14px;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
}

.hero {
  position: relative;
  min-height: 760px;
  min-height: max(760px, 100svh);
  overflow: hidden;
  color: #f6f1f8;
  background: var(--ink);
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 42%, rgba(24, 17, 29, 0.76) 58%, rgba(24, 17, 29, 0.18) 100%);
}

.hero-media {
  position: absolute;
  top: 0;
  right: 0;
  z-index: -2;
  width: 44%;
  height: 100%;
  overflow: hidden;
  background: var(--ink) center / cover no-repeat url("assets/ava.jpg");
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-media video {
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: cover;
  object-position: center 62%;
  pointer-events: none;
  filter: saturate(0.9) contrast(1.04) brightness(0.7);
  transition: opacity 220ms ease;
}

.hero-media.is-playing video { opacity: 1; }

.hero-mobile-art { display: none; }

.hero-inner {
  display: flex;
  min-height: 760px;
  min-height: max(760px, 100svh);
  align-items: center;
  padding-top: 68px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(560px, 52%);
}

.overline {
  margin: 0 0 16px;
  color: #a95ed4;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.5rem, 6vw, 6.2rem);
  font-weight: 650;
  letter-spacing: -0.06em;
  line-height: 0.94;
}

.hero h1 span { color: #bd70e8; }

.hero-text {
  max-width: 510px;
  margin: 22px 0 0;
  color: #cfc4d4;
  font-size: 1rem;
}

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

.hero-dates span {
  padding: 8px 11px;
  color: #d8cddd;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  font-size: 0.76rem;
}

.hero-dates b { color: white; }

.primary-link {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 24px;
  padding: 0 18px;
  color: white;
  background: var(--purple);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  transition: background 160ms ease, transform 160ms ease;
}

.primary-link:hover {
  background: var(--purple-dark);
  transform: translateY(-2px);
}

.events {
  padding: 88px 0 106px;
  background: var(--paper);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 30px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading .overline { grid-column: 1 / -1; color: var(--purple-dark); margin-bottom: 4px; }

.section-heading h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1;
}

.section-heading > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.event-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(22px, 3vw, 34px);
  background: var(--card);
  border: 1px solid var(--line-light);
  border-radius: 22px;
  box-shadow: 0 18px 52px rgba(52, 30, 62, 0.08);
}

.event-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-light);
}

.event-date time {
  display: flex;
  align-items: center;
  gap: 10px;
}

.event-date b {
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
}

.event-date span {
  padding: 5px 8px;
  color: var(--purple-dark);
  background: var(--purple-soft);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
}

.event-city {
  color: var(--purple-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.venue {
  padding: 26px 0 22px;
}

.venue > span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.venue h3 {
  margin: 4px 0 0;
  color: var(--text);
  font-size: clamp(2.2rem, 4vw, 3.7rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
}

.lineup-frame {
  flex: 1;
  padding: 18px;
  background: #f0ebf3;
  border: 1px solid #ded5e2;
  border-radius: 14px;
}

.lineup-frame h4 {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-align: center;
  text-transform: uppercase;
}

.lineup {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lineup li {
  position: relative;
  display: flex;
  min-height: 46px;
  align-items: center;
  padding: 8px 0;
  border-top: 1px solid #ddd3e1;
}

.lineup li::before {
  content: "";
  position: absolute;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple);
}

.match {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
  align-items: center;
  padding: 0 18px;
}

.match b {
  min-width: 0;
  color: #36283c;
  font-size: clamp(0.7rem, 1vw, 0.82rem);
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.match b:first-child { text-align: right; }
.match b:last-child { text-align: left; }

.match b.guest {
  justify-self: start;
  width: max-content;
  max-width: 100%;
  padding: 5px 8px;
  color: white;
  background: var(--purple-dark);
  border-radius: 6px;
  font-size: clamp(0.76rem, 1.08vw, 0.9rem);
  font-weight: 800;
  letter-spacing: 0.025em;
  box-shadow: 0 4px 12px rgba(105, 32, 154, 0.2);
}

.match i {
  color: var(--purple);
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.buy-button {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
  padding: 0 18px;
  color: white;
  background: var(--purple);
  border-radius: 9px;
  font-size: 0.78rem;
  font-weight: 650;
  transition: background 160ms ease, transform 160ms ease;
}

.buy-button:hover {
  background: var(--purple-dark);
  transform: translateY(-2px);
}

.buy-button b { font-weight: 600; }

.about {
  padding: 100px 0;
  color: #eee7f2;
  background: var(--ink-soft);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.65fr);
  gap: clamp(50px, 9vw, 120px);
}

.about h2 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.about h2 span { color: #bd70e8; }

.about-copy {
  color: #c4b9c9;
}

.about-copy .lead {
  margin-top: 0;
  color: #eee7f2;
  font-size: 1.12rem;
  font-weight: 500;
}

.formats {
  margin: 34px 0 0;
  padding: 0;
  border-top: 1px solid var(--line-dark);
  list-style: none;
}

.formats li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-dark);
}

.formats li > span {
  color: #b668df;
  font-size: 0.7rem;
  font-weight: 700;
}

.formats p { margin: 0; }
.formats b { display: block; color: #eee7f2; font-size: 0.85rem; font-weight: 600; }
.formats small { display: block; margin-top: 3px; color: #aa9eaf; }

.contacts {
  padding: 78px 0;
  color: white;
  background: var(--purple-dark);
}

.contacts .overline { color: #dab1ed; }

.contacts-grid {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: clamp(40px, 8vw, 100px);
  align-items: start;
}

.contacts h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.045em;
}

.socials {
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.socials a {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.84rem;
  font-weight: 600;
}

.socials a:hover { background: rgba(255, 255, 255, 0.08); }
.socials span { max-width: 68%; overflow-wrap: anywhere; text-align: right; }

.footer {
  color: #a99dad;
  background: #0d0910;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  min-height: 104px;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-inner > a:last-child { justify-self: end; color: white; }
.mobile-buy { display: none; }

@media (max-width: 900px) {
  :root { --wrap: min(100% - 32px, 720px); }

  .hero-copy { width: min(500px, 62%); }
  .hero::after { background: linear-gradient(90deg, var(--ink) 0%, var(--ink) 48%, rgba(24, 17, 29, 0.58) 76%, rgba(24, 17, 29, 0.2) 100%); }

  .event-grid { grid-template-columns: 1fr; }
  .event-card { padding: 28px; }
  .match b { font-size: 0.82rem; }

  .about-grid,
  .contacts-grid { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner p { display: none; }
}

@media (max-width: 640px) {
  :root { --wrap: calc(100vw - 28px); }

  body { padding-bottom: 58px; }

  .topbar {
    min-height: 62px;
    padding-inline: 14px;
  }

  .topbar nav > a:first-child { display: none; }

  .hero {
    min-height: 0;
    padding-top: 62px;
    background: #130d17;
  }

  .hero::after {
    display: none;
  }

  .hero-media {
    display: block;
    position: relative;
    top: auto;
    right: auto;
    z-index: 1;
    width: min(78vw, 330px);
    height: auto;
    aspect-ratio: 9 / 16;
    margin: 0 auto;
    clip-path: none;
    background-color: #130d17;
    background-position: center;
    background-size: contain;
  }

  .hero-media video {
    object-fit: contain;
    object-position: center;
    filter: saturate(0.95) contrast(1.03) brightness(0.8);
  }

  .hero-inner {
    position: relative;
    z-index: 2;
    min-height: 0;
    align-items: flex-start;
    padding: 28px 0 34px;
  }

  .hero-copy { width: 100%; }
  .hero h1 { font-size: clamp(2.75rem, 13vw, 4rem); line-height: 0.96; }
  .hero-text { margin-top: 14px; font-size: 0.9rem; }
  .hero-dates { gap: 7px; margin-top: 16px; }
  .hero-dates span { padding: 6px 8px; font-size: 0.66rem; }
  .primary-link { display: none; }

  .events { padding: 64px 0 76px; }

  .section-heading {
    display: block;
    margin-bottom: 24px;
  }

  .section-heading h2 { font-size: 2.4rem; }
  .section-heading > p:last-child { margin-top: 10px; }

  .event-grid { gap: 16px; }

  .event-card {
    padding: 17px;
    border-radius: 17px;
  }

  .event-header { padding-bottom: 15px; }
  .event-date time { gap: 7px; }
  .event-date b { font-size: 0.88rem; }
  .event-date span { padding: 4px 6px; font-size: 0.67rem; }
  .event-city { font-size: 0.65rem; }

  .venue { padding: 19px 0 17px; }
  .venue h3 { font-size: 2.55rem; }

  .lineup-frame {
    padding: 13px 10px;
    border-radius: 11px;
  }

  .lineup li {
    min-height: 52px;
    padding: 7px 0;
  }

  .lineup li::before { left: 1px; }

  .match {
    grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
    padding: 0 15px;
  }

  .match b {
    font-size: clamp(0.66rem, 3vw, 0.76rem);
    line-height: 1.25;
  }

  .match b:first-child,
  .match b:last-child { text-align: center; }

  .match i { font-size: 0.6rem; }

  .match b.guest {
    justify-self: center;
    padding: 4px 6px;
    font-size: clamp(0.68rem, 3.1vw, 0.78rem);
  }

  .buy-button {
    min-height: 50px;
    margin-top: 15px;
    padding-inline: 15px;
    font-size: 0.73rem;
  }

  .about { padding: 76px 0; }
  .about-grid { gap: 38px; }
  .about h2 { font-size: clamp(2.7rem, 12vw, 4rem); }
  .about-copy .lead { font-size: 1rem; }

  .contacts { padding: 64px 0; }
  .contacts-grid { gap: 32px; }
  .socials a { min-height: 54px; }
  .socials span { max-width: 62%; font-size: 0.72rem; }

  .footer-inner { min-height: 90px; }

  .mobile-buy {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 58px;
    color: white;
    background: rgba(24, 17, 29, 0.96);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(14px);
  }

  .mobile-buy a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 0.72rem;
    font-weight: 600;
  }

  .mobile-buy a:first-child { background: var(--purple); }
  .mobile-buy b { font-weight: 700; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  .hero-media video { display: none; }
  .hero-media { background: center / cover no-repeat url("assets/ava.jpg"); }
}
