/* Techno Rave — day → night hero */

:root {
  --bg: #07070c;
  --bg-elevated: rgba(14, 12, 22, 0.82);
  --text: #f4f4f8;
  --muted: #a9a9bc;
  --accent: #4377cd;
  --accent-soft: #8db3f0;
  --accent-dim: rgba(67, 119, 205, 0.32);
  --accent-glow: rgba(67, 119, 205, 0.18);
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(67, 119, 205, 0.35);
  --overlay: rgba(5, 5, 12, 0.55);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Space Grotesk", var(--font);
  --radius: 14px;
  --radius-lg: 20px;
  --header-h: 56px;
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-hero: 1.2s var(--ease-smooth);
  --transition-bg: 1.75s var(--ease-smooth);
  --transition-overlay: 1.05s var(--ease-out);
  --transition-video-in: 1.15s var(--ease-smooth);
  --transition-video-out: 1.35s var(--ease-smooth);
  --transition-panel: 1.4s var(--ease-smooth);
  --shadow-panel: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  --shadow-glow: 0 0 40px rgba(67, 119, 205, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(67, 119, 205, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(47, 93, 168, 0.08), transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-panel);
}

body.is-night::before,
body.is-revealing::before {
  opacity: 1;
}

body.is-night,
body.is-revealing {
  overflow-x: hidden;
}

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

/* Fixed page background (night state) */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-bg);
}

body.is-night .page-bg {
  opacity: 1;
}

.page-bg picture,
.page-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-bg__day {
  display: block;
}

.page-bg__night {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

body.is-night .page-bg__day {
  display: none;
}

body.is-night .page-bg__night {
  display: block;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  padding-top: max(0.75rem, env(safe-area-inset-top));
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), transparent);
  pointer-events: none;
}

.site-header > * {
  pointer-events: auto;
}

body.is-night .site-header,
body.is-revealing .site-header {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), transparent);
}

.site-header__cta {
  padding: 0.55rem 1.1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(8, 6, 16, 0.55);
  backdrop-filter: blur(12px);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.site-header__cta:hover {
  border-color: var(--accent);
  background: rgba(67, 119, 205, 0.12);
  transform: translateY(-1px);
}

.site-header__pill {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

/* Hero */
.hero {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.is-night .hero,
body.is-revealing .hero {
  min-height: 0;
  height: 0;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
}

.hero__media {
  position: fixed;
  inset: 0;
  z-index: 1;
  background: var(--bg);
}

body.is-revealing .hero__media {
  visibility: visible;
}

body.is-night:not(.is-revealing) .hero__media,
body.is-night .hero__media {
  visibility: hidden;
}

body.is-night.is-revealing .hero__media {
  visibility: visible;
}

.hero__day {
  position: absolute;
  inset: 0;
}

.hero__day img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__night {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity var(--transition-hero);
  will-change: opacity;
}

.hero.is-blending .hero__night,
.hero.is-night-visible .hero__night {
  opacity: 1;
}

.hero__day {
  transition: opacity 0.95s var(--ease-out);
  will-change: opacity;
}

.hero.is-playing .hero__day,
.hero.is-blending .hero__day,
.hero.is-night-visible .hero__day {
  opacity: 0;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity var(--transition-video-in),
    filter var(--transition-video-out);
  will-change: opacity;
}

.hero.is-playing:not(.is-blending) .hero__video {
  opacity: 1;
  z-index: 2;
  transition: opacity var(--transition-video-in), filter var(--transition-video-out);
}

.hero.is-blending .hero__video {
  opacity: 0;
  filter: brightness(0.88);
  transition: opacity var(--transition-video-out), filter var(--transition-video-out);
}

/* Hero scrim — text readability on bright photo */
.hero__scrim {
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 70% at 50% 45%, rgba(8, 6, 18, 0.72) 0%, rgba(8, 6, 18, 0.35) 55%, transparent 100%),
    linear-gradient(to bottom, rgba(5, 4, 12, 0.5) 0%, rgba(5, 4, 12, 0.15) 35%, rgba(5, 4, 12, 0.75) 100%);
}

.hero.is-playing .hero__scrim,
.hero.is-overlay-hidden .hero__scrim,
body.is-revealing .hero__scrim,
body.is-night .hero__scrim {
  opacity: 0;
  transition: opacity 0.8s var(--ease-smooth);
}

/* Overlay */
.hero__overlay {
  position: relative;
  z-index: 5;
  width: 100%;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity var(--transition-overlay),
    transform var(--transition-overlay),
    filter var(--transition-overlay);
}

.hero.is-playing .hero__overlay,
.hero.is-overlay-hidden .hero__overlay {
  opacity: 0;
  transform: scale(1.02);
  filter: blur(8px);
  pointer-events: none;
}

.hero__card {
  width: min(100%, 26rem);
  padding: 1.75rem 1.5rem 1.5rem;
  text-align: center;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 6, 16, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(67, 119, 205, 0.08) inset,
    0 0 60px rgba(67, 119, 205, 0.12);
}

.hero__eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 5.5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}

.hero__subtitle {
  margin: 0.65rem 0 0;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}

.hero__date {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
}

/* Countdown */
.hero__countdown {
  margin: 1.25rem 0 1.25rem;
  padding: 1rem 0.5rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(67, 119, 205, 0.2);
}

.hero__countdown-label {
  margin: 0 0 0.65rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(67, 119, 205, 0.95);
}

.hero__countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
}

.hero__countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.hero__countdown-value {
  font-size: clamp(1.35rem, 5.5vw, 1.75rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: #fff;
  text-shadow: 0 0 20px rgba(67, 119, 205, 0.35);
}

.hero__countdown-name {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.hero__countdown-live {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #4377cd 0%, #2f5da8 50%, #1f3f7a 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  cursor: pointer;
  box-shadow:
    0 4px 24px rgba(67, 119, 205, 0.45),
    0 0 40px rgba(67, 119, 205, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.hero__cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow:
    0 8px 32px rgba(67, 119, 205, 0.55),
    0 0 50px rgba(67, 119, 205, 0.3);
}

.hero__cta:active {
  transform: translateY(0) scale(0.98);
}

button.hero__cta {
  font-family: inherit;
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  animation: bounce 2s ease infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

@keyframes contentFadeIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.is-revealing .main,
body.is-revealing .footer,
body.is-revealing .site-header,
body.is-night .main,
body.is-night .footer,
body.is-night .site-header {
  animation: contentFadeIn 1.35s var(--ease-smooth) 0.15s both;
}

body.is-revealing .site-header,
body.is-night .site-header {
  animation-delay: 0.35s;
}

body.is-revealing .footer,
body.is-night .footer {
  animation-delay: 0.5s;
}

/* Main content */
.main {
  position: relative;
  z-index: 20;
  background: transparent;
}

.main__inner {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem 1rem 4rem;
  padding-top: max(2rem, calc(env(safe-area-inset-top) + 3.5rem));
  padding-bottom: max(4rem, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: transparent;
  transition: background var(--transition-panel), backdrop-filter var(--transition-panel);
}

body.is-night .section h2,
body.is-night .section .lead,
body.is-night .section p,
body.is-revealing .section h2,
body.is-revealing .section .lead,
body.is-revealing .section p {
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 0, 0, 0.5);
}

body.is-night .timeline strong,
body.is-night .benefits strong,
body.is-revealing .timeline strong,
body.is-revealing .benefits strong {
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.85);
}

.section {
  margin-bottom: 0;
}

.panel {
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-panel);
}

.panel--accent {
  border-color: var(--border-strong);
  background:
    linear-gradient(145deg, rgba(67, 119, 205, 0.1) 0%, rgba(14, 12, 22, 0.88) 45%),
    var(--bg-elevated);
  box-shadow: var(--shadow-panel), var(--shadow-glow);
}

.section h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent-soft);
}

.section h2::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 2px;
  margin-top: 0.55rem;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.section .lead {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
}

.section .lead strong {
  color: #fff;
  font-weight: 600;
}

.section p {
  margin: 0 0 0.75rem;
  color: var(--muted);
}

.event-meta {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.event-meta li {
  margin: 0 0 0.5rem;
  padding: 0.65rem 0.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(67, 119, 205, 0.08);
  border: 1px solid rgba(67, 119, 205, 0.2);
  border-radius: var(--radius);
}

.about__ps {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
}

/* Timeline */
.timeline__heading {
  margin: 1.5rem 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.timeline__heading:first-of-type {
  margin-top: 0;
}

.timeline__note {
  margin: -0.25rem 0 0.75rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.timeline {
  list-style: none;
  margin: 0 0 0.5rem;
  padding: 0;
  border-left: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.timeline li {
  display: grid;
  grid-template-columns: 6.25rem 1fr;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  position: relative;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.timeline li:hover {
  border-color: rgba(67, 119, 205, 0.25);
  background: rgba(67, 119, 205, 0.06);
}

.timeline li::before {
  display: none;
}

.timeline time {
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--accent-soft);
  align-self: center;
}

.timeline strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: #fff;
}

.timeline span {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Benefits */
.benefits {
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefits li {
  padding: 0;
  border-bottom: none;
}

.benefits__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.05rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.benefits__icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.85rem;
  color: var(--accent-soft);
  background: rgba(67, 119, 205, 0.15);
  box-shadow: 0 0 20px rgba(67, 119, 205, 0.2);
}

.benefits strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  color: #fff;
}

/* Form */
.form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.25rem;
}

.event__poster {
  width: 100%;
  height: auto;
  margin: 0.35rem 0 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.lineup__poster {
  width: 100%;
  height: auto;
  margin: 0.75rem 0 0.25rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.form__field span {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.form__field input[type="text"],
.form__field input[type="email"] {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form__field input::placeholder {
  color: rgba(169, 169, 188, 0.65);
}

.form__field input[type="text"]:focus,
.form__field input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.form__submit {
  margin-top: 0.25rem;
  padding: 0.95rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #5e8edc 0%, #4377cd 50%, #2f5da8 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(67, 119, 205, 0.35);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.form__submit:hover:not(:disabled) {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(67, 119, 205, 0.45);
}

.form__submit:active:not(:disabled) {
  transform: translateY(0);
}

.form__submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.form__note {
  font-size: 0.75rem;
  color: var(--muted);
  opacity: 0.7;
}

/* Register card */
.register-card {
  margin-top: 1.25rem;
  padding: 1.5rem 1.25rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(67, 119, 205, 0.14), rgba(0, 0, 0, 0.45));
  text-align: center;
  box-shadow: var(--shadow-glow);
}

.register-card__label {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.register-card__name {
  margin: 0.5rem 0;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
}

.register-card__meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.register-card__status {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  color: var(--text);
}

/* FAQ */
.faq {
  margin-bottom: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.faq + .faq {
  margin-top: 0.5rem;
}

.faq[open] {
  border-color: var(--border-strong);
  background: rgba(67, 119, 205, 0.06);
}

.faq summary {
  padding: 1rem 2.5rem 1rem 1rem;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  list-style: none;
  position: relative;
  transition: color 0.2s ease;
}

.faq summary:hover {
  color: var(--accent-soft);
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.2s ease;
}

.faq[open] summary::after {
  content: "−";
}

.faq p {
  margin: 0;
  padding: 0 1rem 1rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

/* Footer */
.footer {
  position: relative;
  z-index: 20;
  padding: 1.75rem 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(5, 4, 10, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45);
  transition: background var(--transition-panel), backdrop-filter var(--transition-panel);
}

body.is-revealing .footer {
  background: rgba(5, 4, 10, 0.88);
  backdrop-filter: blur(10px);
}

body.is-night .footer {
  background: rgba(5, 4, 10, 0.94);
  backdrop-filter: blur(8px);
}

body.is-night .footer p,
body.is-revealing .footer p {
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.95), 0 0 32px rgba(0, 0, 0, 0.6);
}

.footer p:first-child {
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1.25rem;
  margin-top: 0.35rem;
}

.footer__links a {
  color: var(--accent-soft);
  text-decoration: none;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.9);
  transition: color 0.2s ease, opacity 0.2s ease;
}

.footer__links a:hover {
  color: #fff;
}

.footer__links a + a {
  margin-left: 0;
}

.footer__partner {
  margin: 0 auto 1rem;
  text-align: center;
}

.footer__partner-title {
  margin: 0 0 0.45rem;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer__partner-logo {
  display: block;
  width: min(100%, 124px);
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
}

/* Language switcher */
.site-header__lang {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0.2rem;
  font-size: 0.8125rem;
  font-family: var(--font-display);
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(8, 6, 16, 0.55);
  backdrop-filter: blur(12px);
}

.site-header__lang a {
  padding: 0.35rem 0.65rem;
  color: var(--muted);
  text-decoration: none;
  border-radius: 999px;
  opacity: 1;
  transition: color 0.2s ease, background 0.2s ease;
}

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

.site-header__lang a[aria-current="page"] {
  color: #fff;
  background: rgba(67, 119, 205, 0.25);
}

.site-header__lang-sep {
  width: 1px;
  height: 1rem;
  background: var(--border);
}

/* Form checkboxes + errors */
.form__field--checkbox {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.form__field--checkbox:hover {
  border-color: rgba(255, 255, 255, 0.08);
}

.form__field--checkbox span {
  display: inline;
  margin-bottom: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
}

.form__field--checkbox input {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0;
  flex-shrink: 0;
  accent-color: var(--accent);
}

.form__error {
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius);
  color: #ffb4b4;
  background: rgba(255, 80, 80, 0.1);
  border: 1px solid rgba(255, 120, 120, 0.25);
  margin: 0;
  font-size: 0.875rem;
}

/* Success modal */
.modal[hidden] {
  display: none !important;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  border: none;
  cursor: pointer;
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  background: linear-gradient(160deg, rgba(28, 22, 40, 0.98), rgba(14, 12, 22, 0.98));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6), var(--shadow-glow);
  text-align: center;
  animation: modalIn 0.35s var(--ease-out) both;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal__icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #5e8edc, #2f5da8);
  box-shadow: 0 0 30px rgba(67, 119, 205, 0.45);
}

.modal__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.modal__body {
  margin: 0 0 1.25rem;
  color: var(--muted);
  line-height: 1.6;
}

.modal__close {
  width: 100%;
  padding: 0.85rem 1rem;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #5e8edc 0%, #4377cd 50%, #2f5da8 100%);
  color: #fff;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.modal__close:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

body.modal-open {
  overflow: hidden;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(10, 10, 15, 0.96);
  border-top: 1px solid var(--accent-dim);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-banner a {
  color: var(--accent);
}

.cookie-banner__btn {
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: rgba(67, 119, 205, 0.12);
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cookie-banner__btn:hover {
  background: rgba(67, 119, 205, 0.22);
}

.cookie-banner__btn--muted {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

.cookie-banner__btn--muted:hover {
  background: rgba(255, 255, 255, 0.14);
}

.form__field--checkbox a {
  color: var(--accent-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (min-width: 640px) {
  .main__inner {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .panel {
    padding: 1.5rem 1.35rem;
  }

  .hero__card {
    width: min(100%, 24rem);
    padding: 2rem 1.75rem 1.65rem;
  }
}

/* Legal pages */
.legal-page {
  min-height: 100vh;
  padding: 2rem 1.25rem 4rem;
  background: var(--bg);
}

.legal-page__inner {
  max-width: 720px;
  margin: 0 auto;
}

.legal-page__nav {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.legal-page__nav a {
  color: var(--accent);
}

.legal-page h1 {
  margin-top: 0;
}

.legal-page h2 {
  margin-top: 2rem;
  font-size: 1.1rem;
}

.legal-page ul {
  padding-left: 1.25rem;
}

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

  .hero__overlay,
  .hero__night,
  .hero__day,
  .hero__video,
  .page-bg {
    transition: none;
  }

  .hero__scroll-hint,
  body.is-revealing .main,
  body.is-revealing .footer,
  body.is-revealing .site-header,
  body.is-night .main,
  body.is-night .footer,
  body.is-night .site-header {
    animation: none;
  }
}

.post-event {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.post-event__bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.post-event__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  filter: blur(2px) saturate(0.85);
  transform: scale(1.05);
}

.post-event__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 20%, rgba(67, 119, 205, 0.18), transparent 55%),
    linear-gradient(to bottom, rgba(7, 7, 12, 0.35), rgba(7, 7, 12, 0.92) 70%, rgba(7, 7, 12, 1));
}

.post-event__header,
.post-event__main,
.post-event__footer {
  position: relative;
  z-index: 1;
}

.post-event__header {
  display: flex;
  justify-content: flex-end;
  padding: calc(1rem + env(safe-area-inset-top, 0px)) 1.25rem 0;
}

.post-event__lang {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(14, 12, 22, 0.72);
  border: 1px solid var(--border);
  font-size: 0.875rem;
}

.post-event__lang a {
  color: var(--muted);
  text-decoration: none;
}

.post-event__lang a[aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}

.post-event__main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem 1.25rem 3rem;
  max-width: 42rem;
  margin: 0 auto;
}

.post-event__eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent-soft);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-event__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 7vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.post-event__lead {
  margin: 0 0 0.85rem;
  font-size: 1.15rem;
  color: var(--text);
}

.post-event__body {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 1rem;
  max-width: 34rem;
}

.post-event__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.35rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-glow);
  transition: transform 0.2s var(--ease-out), background 0.2s var(--ease-out);
}

.post-event__cta:hover {
  transform: translateY(-1px);
  background: #5288de;
}

.post-event__footer {
  margin-top: auto;
  padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
}

