:root {
  --bg: #03141a;
  --bg-2: #062833;
  --text: #f4fbff;
  --muted: #b7d5df;
  --cyan: #3ad4ef;
  --cyan-2: #c8f6ff;
  --line: rgba(186, 230, 242, 0.18);
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --header: 76px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.55;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 70% 45% at 85% -8%, rgba(39, 198, 230, 0.28), transparent 58%),
    radial-gradient(ellipse 45% 35% at -8% 18%, rgba(10, 78, 104, 0.55), transparent 52%),
    radial-gradient(ellipse 60% 40% at 50% 115%, rgba(6, 52, 64, 0.85), transparent 50%);
  background-attachment: fixed;
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--cyan-2);
  outline-offset: 3px;
}

::selection {
  background: #145868;
  color: #fff;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 80;
  padding: 8px 12px;
  background: #fff;
  color: #042028;
  border-radius: 8px;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: var(--header);
  padding: 0 max(20px, calc((100% - 1120px) / 2));
  background: rgba(3, 20, 26, 0.55);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  background: rgba(3, 20, 26, 0.92);
  border-bottom-color: var(--line);
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  height: 40px;
  width: auto;
}

.nav {
  display: none;
  gap: 28px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--text);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--cyan-2);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 5px rgba(58, 212, 239, 0.16);
}

h1 {
  font-size: clamp(2.05rem, 4.4vw, 3.7rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.lead,
.section-head p,
.register-lead {
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 400;
}

.lead {
  max-width: 42rem;
  margin-top: 22px;
}

.hero {
  position: relative;
  padding: 18px 0 8px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 100%;
  background-image: radial-gradient(rgba(176, 228, 238, 0.16) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: linear-gradient(to bottom, #000 10%, transparent 88%);
  pointer-events: none;
}

.hero-grid,
.themes,
.ticket {
  min-width: 0;
}

.hero-grid > *,
.themes > *,
.ticket > * {
  min-width: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 36px;
  align-items: center;
}

.hero-actions,
.ticket-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 0.78rem/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.7rem;
}

.btn-solid {
  background: var(--text);
  color: #042028;
}

.btn-solid:hover {
  background: var(--cyan-2);
}

.btn-line {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.42);
}

.btn-line:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.text-link {
  color: var(--cyan-2);
  font-size: 0.95rem;
}

.hero-visual {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(186, 230, 242, 0.22);
  border-radius: 28px;
  box-shadow: var(--shadow), 0 0 80px rgba(39, 198, 230, 0.16);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 643 / 471;
  object-fit: cover;
}

.when {
  padding: 28px 0 10px;
}

.ticket {
  display: grid;
  gap: 28px;
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(10, 46, 56, 0.72), rgba(4, 24, 30, 0.88));
}

.date-xl {
  display: flex;
  align-items: center;
  gap: 0.12em;
  margin: 0 0 8px;
  font-family: var(--cond);
  font-size: clamp(4.4rem, 12vw, 7.6rem);
  font-weight: 500;
  line-height: 0.82;
  letter-spacing: 0.02em;
}

.date-xl i {
  font-style: normal;
  color: rgba(244, 251, 255, 0.38);
}

.when-line {
  color: var(--muted);
  font-size: 1.05rem;
}

.facts {
  display: grid;
  gap: 16px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.facts li {
  display: grid;
  gap: 2px;
}

.facts span,
.theme-index {
  color: var(--cyan);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.facts strong {
  font-size: 1.15rem;
  font-weight: 600;
}

.facts small,
.count-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.ticket-count .kicker {
  margin-bottom: 12px;
}

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

.count div {
  padding: 14px 6px 12px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(3, 18, 22, 0.45);
}

.count strong {
  display: block;
  font-family: var(--cond);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.04em;
}

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

.count-note {
  margin-top: 14px;
}

.section {
  padding: clamp(72px, 9vw, 112px) 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 36px;
}

.section-head p {
  margin-top: 14px;
}

.themes {
  display: grid;
  gap: 18px;
}

.theme {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(5, 32, 40, 0.72);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.theme:hover {
  border-color: rgba(58, 212, 239, 0.55);
}

.theme-visual {
  overflow: hidden;
}

.theme-visual img {
  width: 100%;
  aspect-ratio: 643 / 400;
  object-fit: cover;
  object-position: center 42%;
}

.theme-body {
  display: grid;
  gap: 8px;
  padding: 22px 22px 26px;
}

.theme-body h3 {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.theme-body p:last-child {
  color: var(--muted);
}

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

.learn-list li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px 20px;
  align-items: baseline;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.learn-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.learn-list span {
  font-family: var(--cond);
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1;
  color: var(--cyan);
}

.learn-list p {
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.register-panel {
  max-width: 40rem;
  margin-inline: auto;
  padding: clamp(32px, 5vw, 56px) clamp(22px, 4vw, 48px);
  text-align: center;
  border: 1px solid rgba(58, 212, 239, 0.35);
  border-radius: 28px;
  background:
    radial-gradient(ellipse 80% 80% at 50% 120%, rgba(58, 212, 239, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(10, 46, 56, 0.9), rgba(4, 24, 30, 0.94));
  box-shadow: 0 0 80px rgba(39, 198, 230, 0.12);
}

.register-panel .kicker {
  justify-content: center;
}

.register-panel h2 {
  margin-bottom: 14px;
}

.register-lead {
  max-width: 36rem;
  margin-inline: auto;
}

.btn-xl {
  min-height: 64px;
  margin-top: 28px;
  padding: 0 36px;
  font-size: 0.95rem;
  background: var(--cyan-2);
  box-shadow:
    0 0 0 8px rgba(58, 212, 239, 0.16),
    0 18px 40px rgba(58, 212, 239, 0.28);
}

.btn-xl:hover {
  background: #fff;
  box-shadow:
    0 0 0 10px rgba(58, 212, 239, 0.24),
    0 18px 48px rgba(58, 212, 239, 0.34);
}

.register-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  padding: 28px 0 48px;
}

.footer-inner {
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
}

.footer-inner img {
  width: min(640px, 100%);
  height: auto;
  border-radius: 16px;
}

.footer-inner p {
  color: var(--muted);
  font-size: 0.92rem;
}

.sticky-cta {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 35;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(3, 20, 26, 0.92);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(14px);
  transition: transform 0.25s ease;
}

.sticky-cta .btn {
  width: 100%;
}

.sticky-cta.is-hidden {
  transform: translateY(110%);
}

@media (min-width: 720px) {
  .nav {
    display: flex;
  }

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

  .themes {
    grid-template-columns: 1fr 1fr;
  }

  .sticky-cta {
    display: none;
  }
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
    gap: 56px;
    min-height: calc(100vh - var(--header) - 210px);
  }

  .ticket {
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    align-items: end;
    gap: 40px;
  }
}

.btn-short {
  display: none;
}

@media (max-width: 719px) {
  body {
    padding-bottom: 84px;
  }

  .site-header .btn {
    margin-left: auto;
  }

  .btn-xl {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .brand img {
    height: 32px;
  }

  .btn-full {
    display: none;
  }

  .btn-short {
    display: inline;
  }

  .date-xl {
    font-size: 4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
