﻿:root {
  --bg: #14081f;
  --bg-soft: #1f1030;
  --card: #24143a;
  --text: #fff8fb;
  --muted: #d7c4e8;
  --accent: #ff2d6f;
  --accent-2: #19c37d;
  --warn: #ffd400;
  --cyan: #22d3ee;
  --line: rgba(255, 255, 255, 0.14);
  --radius: 18px;
  --font: "Nunito", system-ui, sans-serif;
  --display: "Unbounded", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.55;
}
.page-glow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 60% 40% at 10% 0%, rgba(255, 45, 111, 0.22), transparent 60%),
    radial-gradient(ellipse 50% 35% at 90% 10%, rgba(255, 212, 0, 0.14), transparent 55%),
    radial-gradient(ellipse 40% 30% at 70% 80%, rgba(34, 211, 238, 0.1), transparent 50%);
}
body > * { position: relative; z-index: 1; }
a { color: #7dd3fc; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

.container {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(20, 8, 31, 0.78);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
}
.brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.06);
}
.brand-title {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.01em;
  font-size: 0.95rem;
}
.brand-sub { display: block; font-size: 0.75rem; color: var(--muted); }
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}
.nav-links a { color: var(--muted); font-size: 0.95rem; }
.nav-links a:hover { color: var(--text); }
.nav-links a.nav-admin { color: var(--warn); font-weight: 800; }
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.4rem;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font);
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { filter: brightness(1.08); text-decoration: none; }
.btn-glow {
  box-shadow: 0 0 0 0 rgba(255, 45, 111, 0.55);
  animation: pulseGlow 2.4s ease-in-out infinite;
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.btn-ghost-light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.2); text-decoration: none; }
.btn-ok { background: var(--accent-2); color: #fff; }
.btn-danger { background: #dc2626; color: #fff; }
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.9rem; }

.hero-stage {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}
.hero-media-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 4, 22, 0.88) 0%, rgba(12, 4, 22, 0.55) 42%, rgba(12, 4, 22, 0.18) 70%, rgba(12, 4, 22, 0.35) 100%),
    linear-gradient(180deg, rgba(12, 4, 22, 0.25) 0%, rgba(12, 4, 22, 0.15) 40%, rgba(12, 4, 22, 0.82) 100%);
}
.hero-confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 12% 22%, #ffd400 0 4px, transparent 5px),
    radial-gradient(circle at 28% 18%, #ff2d6f 0 3px, transparent 4px),
    radial-gradient(circle at 70% 14%, #22d3ee 0 4px, transparent 5px),
    radial-gradient(circle at 84% 28%, #ffd400 0 3px, transparent 4px),
    radial-gradient(circle at 18% 70%, #22d3ee 0 3px, transparent 4px),
    radial-gradient(circle at 76% 76%, #ff2d6f 0 4px, transparent 5px);
  opacity: 0.55;
  animation: confettiFloat 7s ease-in-out infinite alternate;
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding: 5rem 0 3.2rem;
  max-width: min(48%, 28rem);
  margin-left: max(1rem, calc((100% - 1100px) / 2));
  margin-right: 1rem;
  width: min(28rem, calc(100% - 2rem));
}
.hero-brand {
  margin: 0;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.4rem, 5.2vw, 3.45rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.45);
}
.hero-brand::after {
  content: "2026";
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.12em 0.28em 0.08em;
  background: var(--warn);
  color: #1a0a28;
  border-radius: 0.2em;
  font-size: 0.55em;
  vertical-align: 0.22em;
  transform: rotate(-3deg);
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
  margin: 1rem 0 0.85rem;
  color: var(--warn);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
}
.hero-title {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  line-height: 1.15;
  color: #fff;
  max-width: 16ch;
}
.hero-lead {
  margin: 0;
  color: rgba(255, 248, 251, 0.88);
  font-size: 1.12rem;
  max-width: 34ch;
  font-weight: 600;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.hero-reg-hint {
  position: absolute;
  right: max(1rem, calc((100% - 1100px) / 2));
  bottom: 2rem;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  max-width: 23rem;
  padding: 1.05rem 1.15rem 1.1rem;
  border-radius: 1.15rem;
  text-decoration: none !important;
  color: #fff !important;
  background:
    linear-gradient(145deg, rgba(28, 10, 48, 0.92) 0%, rgba(18, 6, 34, 0.88) 100%);
  border: 1.5px solid rgba(255, 212, 0, 0.75);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 0 32px rgba(255, 45, 111, 0.25);
  overflow: hidden;
  isolation: isolate;
  animation: heroRegFloat 3.6s ease-in-out infinite;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.hero-reg-hint::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 40%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 60%,
    transparent 100%
  );
  background-size: 240% 100%;
  animation: heroRegShine 3.8s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.hero-reg-hint::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  z-index: 0;
}
.hero-reg-hint:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: #ffd400;
  box-shadow:
    0 22px 52px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset,
    0 0 40px rgba(255, 212, 0, 0.35);
  text-decoration: none !important;
  color: #fff !important;
}
.hero-reg-hint__badge {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 2.35rem;
  height: 2.35rem;
  display: grid;
  place-items: center;
  border-radius: 0.7rem;
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.05rem;
  line-height: 1;
  color: #1a0a28 !important;
  background: linear-gradient(160deg, #ffe566 0%, #ffd400 55%, #f5b800 100%);
  box-shadow: 0 4px 14px rgba(255, 212, 0, 0.45);
  animation: heroRegBadge 2.8s ease-in-out infinite;
}
.hero-reg-hint__text {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.4;
  font-weight: 700;
  color: #fff !important;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
.hero-reg-hint__text strong {
  color: #ffd400 !important;
  font-weight: 800;
}

.reveal-up {
  opacity: 0;
  transform: translateY(18px);
  animation: riseIn 0.75s ease forwards;
}
.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.22s; }
.delay-3 { animation-delay: 0.34s; }
.delay-4 { animation-delay: 0.46s; }
.delay-5 { animation-delay: 0.58s; }

@keyframes riseIn {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes heroDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}
@keyframes confettiFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-12px); }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 45, 111, 0.45); }
  50% { box-shadow: 0 0 0 12px rgba(255, 45, 111, 0); }
}
@keyframes heroRegFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes heroRegShine {
  0% { background-position: 140% 0; }
  100% { background-position: -140% 0; }
}
@keyframes heroRegBadge {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 14px rgba(255, 212, 0, 0.45); }
  50% { transform: scale(1.08); box-shadow: 0 4px 18px rgba(255, 212, 0, 0.7), 0 0 0 8px rgba(255, 212, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-up { opacity: 1; transform: none; animation: none; }
  .hero-media-img, .hero-confetti, .btn-glow, .hero-reg-hint, .hero-reg-hint::before, .hero-reg-hint__badge { animation: none; }
}

.eyebrow {
  color: var(--warn);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.section { padding: 2.5rem 0; }
.section-tight { padding: 1.25rem 0 0.5rem; }
.section-title {
  font-family: var(--display);
  font-size: 1.8rem;
  margin: 0 0 1rem;
}
.page-lead {
  font-family: var(--display);
  font-size: clamp(1.55rem, 3.4vw, 2.45rem);
  line-height: 1.22;
  margin: 0 0 1.35rem;
  max-width: 52rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.card h3 {
  margin-top: 0;
  font-family: var(--display);
  font-size: 1.05rem;
}
.muted { color: var(--muted); }
.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.timeline time { color: var(--warn); font-weight: 700; }

.form {
  max-width: 640px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.field { margin-bottom: 1rem; }
.field label { display: block; margin-bottom: 0.35rem; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--text);
  font: inherit;
}
.choices {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}
.choice {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem;
  cursor: pointer;
  background: var(--bg-soft);
  text-align: center;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.choice input { margin-bottom: 0.4rem; }
.choice.is-selected,
.choice:has(input:checked) {
  border-color: var(--warn);
  background: rgba(255, 212, 0, 0.12);
  box-shadow: 0 0 0 1px rgba(255, 212, 0, 0.35);
}
.choice--personal {
  background: linear-gradient(160deg, #1a1a1a 0%, #0a0a0a 55%, #2a2a2a 100%);
  border-color: rgba(255, 255, 255, 0.22);
}
.choice--team {
  background: linear-gradient(160deg, #0f3d24 0%, #0a2818 55%, #1a6b3c 100%);
  border-color: rgba(34, 197, 94, 0.45);
}
.choice--family {
  background: linear-gradient(160deg, #123a6b 0%, #0b2448 55%, #1d5fb5 100%);
  border-color: rgba(59, 130, 246, 0.45);
}
.choice--personal:has(input:checked),
.choice--personal.is-selected {
  border-color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35), 0 0 24px rgba(0, 0, 0, 0.45);
}
.choice--team:has(input:checked),
.choice--team.is-selected {
  border-color: #4ade80;
  box-shadow: 0 0 0 1px rgba(74, 222, 128, 0.45), 0 0 24px rgba(34, 197, 94, 0.3);
}
.choice--family:has(input:checked),
.choice--family.is-selected {
  border-color: #60a5fa;
  box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.45), 0 0 24px rgba(59, 130, 246, 0.3);
}
.nom-card {
  position: relative;
  overflow: hidden;
  border-width: 1.5px;
  color: #fff;
}
.nom-card h3 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
}
.nom-card ul {
  padding-left: 1.2rem;
  margin: 0.75rem 0 0;
  line-height: 1.55;
}
.nom-card__badge {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nom-card--personal {
  background: linear-gradient(155deg, #242424 0%, #0b0b0b 48%, #1c1c1c 100%);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}
.nom-card--personal .nom-card__badge {
  background: #111;
  color: #f5f5f5;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.nom-card--team {
  background: linear-gradient(155deg, #176b3c 0%, #0a2f1c 48%, #1f8f52 100%);
  border-color: rgba(74, 222, 128, 0.55);
  box-shadow: 0 16px 40px rgba(16, 80, 45, 0.45);
}
.nom-card--team .nom-card__badge {
  background: #14532d;
  color: #bbf7d0;
  border: 1px solid rgba(74, 222, 128, 0.55);
}
.nom-card--family {
  background: linear-gradient(155deg, #1d5fb5 0%, #0b2d5c 48%, #2b7de0 100%);
  border-color: rgba(96, 165, 250, 0.55);
  box-shadow: 0 16px 40px rgba(20, 60, 120, 0.45);
}
.nom-card--family .nom-card__badge {
  background: #1e3a8a;
  color: #bfdbfe;
  border: 1px solid rgba(96, 165, 250, 0.55);
}
.nom-swatch {
  display: inline-block;
  margin-right: 0.35rem;
  padding: 0.15rem 0.45rem;
  border-radius: 0.4rem;
  font-weight: 700;
  font-size: 0.88rem;
}
.nom-swatch--personal {
  background: #111;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.nom-swatch--team {
  background: #14532d;
  color: #bbf7d0;
  border: 1px solid rgba(74, 222, 128, 0.45);
}
.nom-swatch--family {
  background: #1e3a8a;
  color: #bfdbfe;
  border: 1px solid rgba(96, 165, 250, 0.45);
}
.early-cta {
  position: relative;
  overflow: hidden;
  padding: 1.5rem 1.6rem 1.6rem;
  border: 1.5px solid rgba(255, 212, 0, 0.55);
  background:
    linear-gradient(135deg, rgba(255, 45, 111, 0.18), rgba(255, 212, 0, 0.1) 45%, rgba(25, 195, 125, 0.12));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}
.early-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.08) 50%, transparent 70%);
  pointer-events: none;
}
.early-cta__eyebrow {
  position: relative;
  margin: 0 0 0.45rem;
  color: var(--warn);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.early-cta__title {
  position: relative;
  margin: 0 0 0.7rem;
  font-family: var(--display);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.15;
}
.early-cta__text {
  position: relative;
  margin: 0;
  max-width: 46rem;
  line-height: 1.55;
  font-size: 1.05rem;
}
.early-cta__remain {
  position: relative;
  margin: 0.75rem 0 0;
}
.early-cta__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.15rem 0 0;
}
.alert {
  padding: 0.85rem 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
}
.alert-error { background: rgba(220, 38, 38, 0.2); border: 1px solid #dc2626; }
.alert-ok { background: rgba(25, 195, 125, 0.2); border: 1px solid var(--accent-2); }
.alert-warn { background: rgba(255, 212, 0, 0.12); border: 1px solid var(--warn); }
.payment-purpose { margin: 1rem 0 1.25rem; line-height: 1.55; }
.payment-purpose-code {
  display: inline-block;
  margin-top: 0.55rem;
  padding: 0.45rem 0.7rem;
  border-radius: 0.55rem;
  background: rgba(0, 0, 0, 0.35);
  color: #ffd400;
  font-size: 1.02rem;
  font-weight: 700;
  word-break: break-word;
}

.footer {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  padding: 2rem 0 3rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1.5rem;
}
.footer a { color: var(--muted); }
.footer h4 { color: var(--text); margin: 0 0 0.6rem; font-family: var(--display); }
.footer-organizer {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.footer-organizer-logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid var(--line);
}
.footer-contacts {
  margin: 0.65rem 0 0;
}
.footer-contacts a {
  color: var(--text);
  font-weight: 700;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 100;
  background: #1a0f2a;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.2rem;
  display: none;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 40px rgba(0,0,0,0.45);
}
.cookie-banner.show { display: flex; }

/* Slots Counter */
.slots-counter {
  margin: 0.5rem 0 0.5rem;
  padding: 1rem 1.15rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 212, 0, 0.45);
  background: linear-gradient(135deg, rgba(255, 212, 0, 0.12), rgba(255, 45, 111, 0.1));
}
.slots-counter--late {
  border-color: rgba(255, 45, 111, 0.5);
  background: rgba(255, 45, 111, 0.1);
}
.slots-counter-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.65rem;
}
.slots-counter-top span { color: var(--muted); }
.slots-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}
.slots-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--warn), var(--accent));
}
.slots-counter-meta { margin: 0.65rem 0 0.25rem; }
.slots-counter-note { margin: 0.35rem 0 0; font-size: 0.88rem; }

.countdown-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 0.25rem 0 0.75rem;
}
.countdown-card {
  padding: 1.15rem 1.2rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 45, 111, 0.4);
  background:
    linear-gradient(145deg, rgba(255, 45, 111, 0.16), rgba(34, 211, 238, 0.08)),
    var(--card);
}
.countdown-card--reg {
  border-color: rgba(255, 212, 0, 0.45);
  background:
    linear-gradient(145deg, rgba(255, 212, 0, 0.14), rgba(255, 45, 111, 0.08)),
    var(--card);
}
.countdown-label {
  margin: 0 0 0.85rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
.countdown-units {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}
.countdown-unit {
  text-align: center;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.65rem 0.25rem 0.55rem;
}
.countdown-unit span {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  line-height: 1;
  color: #fff;
}
.countdown-unit small {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.countdown-hint { margin: 0.75rem 0 0; font-size: 0.88rem; }
.countdown-ended { margin: 0.55rem 0 0; font-weight: 700; color: var(--warn); }

.moments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
.moments-item {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0a0412;
  /* Ближе к портрету — лица сверху не срезаются cover-кадром */
  aspect-ratio: 3 / 4;
}
.moments-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Лица участников обычно в верхней трети кадра */
  object-position: center 18%;
  display: block;
  transition: transform 0.45s ease;
}
.moments-item:hover img { transform: scale(1.04); }

.faq-list {
  display: grid;
  gap: 0.65rem;
  max-width: 820px;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.15rem 1rem 0.15rem;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.02rem;
  padding: 0.95rem 1.6rem 0.95rem 0;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--warn);
  font-size: 1.35rem;
  font-weight: 800;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p {
  margin: 0 0 1rem;
  color: var(--muted);
  padding-right: 1.5rem;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.table th, .table td {
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 0.5rem;
  text-align: left;
  vertical-align: top;
}
.badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.8rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.badge-pending { color: var(--warn); }
.badge-paid { color: #86efac; }
.badge-rejected { color: #fca5a5; }

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0 1.5rem;
}
.admin-login-card {
  max-width: 420px;
  margin: 0 auto;
  padding: 1.5rem 1.35rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(36, 20, 58, 0.92), rgba(20, 8, 31, 0.88));
}
.admin-login-card .eyebrow {
  margin: 0 0 0.35rem;
  color: var(--warn);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}
.admin-login-card .section-title { margin-bottom: 0.4rem; }
.admin-login-form {
  margin-top: 1rem;
  max-width: none;
  background: transparent;
  border: 0;
  padding: 0;
}
.admin-door {
  display: inline-block;
  margin-top: 0.35rem;
  opacity: 0.55;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  line-height: 1.3;
}
.admin-door:hover {
  opacity: 1;
  text-decoration: underline;
  color: var(--text);
}
.to-top {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 40;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  color: #1a0a28;
  background: linear-gradient(160deg, #ffe566 0%, #ffd400 55%, #f5b800 100%);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), 0 0 0 0 rgba(255, 212, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease, box-shadow 0.2s ease;
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  animation: toTopPulse 2.8s ease-in-out infinite;
}
.to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.4), 0 0 24px rgba(255, 212, 0, 0.45);
}
@keyframes toTopPulse {
  0%, 100% { box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), 0 0 0 0 rgba(255, 212, 0, 0.35); }
  50% { box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), 0 0 0 10px rgba(255, 212, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .to-top, .to-top.is-visible { animation: none; transition: none; }
}
.qr-box {
  background: #fff;
  color: #111;
  border-radius: 16px;
  padding: 1rem;
  display: inline-block;
  max-width: 100%;
}
.qr-box img {
  display: block;
  width: min(280px, 100%);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}
.contacts-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  max-width: 900px;
  align-items: start;
}
.contacts-max .qr-box {
  margin-top: 0.75rem;
}
@media (max-width: 860px) {
  .contacts-layout { grid-template-columns: 1fr; }
}
.screenshot-preview {
  display: block;
  margin-top: 0.75rem;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0a0412;
}
.screenshot-preview img {
  display: block;
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: #111;
}
.legal-content h2 { margin-top: 1.6rem; }
.legal-content ul { padding-left: 1.2rem; }
.story-block {
  max-width: 820px;
  line-height: 1.65;
}
.story-block p { margin: 0 0 0.9rem; }
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.story-card h3 { margin-bottom: 0.45rem; }

@media (max-width: 860px) {
  .story-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .hero-stage {
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
  }
  .hero-media-img { object-position: 70% center; }
  .hero-copy {
    padding: 4.5rem 1rem 1.1rem;
    margin-left: 0;
    margin-right: 0;
    max-width: none;
    width: 100%;
    box-sizing: border-box;
  }
  .hero-brand {
    font-size: clamp(1.55rem, 7vw, 2.25rem);
    max-width: 100%;
    letter-spacing: -0.04em;
    line-height: 0.95;
  }
  .hero-brand::after {
    display: block;
    margin: 0.4rem 0 0;
    width: fit-content;
    transform: rotate(-3deg);
  }
  .hero-title {
    max-width: none;
    font-size: clamp(1.15rem, 5.2vw, 1.55rem);
  }
  .hero-lead {
    max-width: none;
    font-size: 1rem;
  }
  .hero-actions {
    max-width: 100%;
    margin-bottom: 0.25rem;
  }
  .hero-reg-hint {
    position: relative;
    right: auto;
    left: auto;
    bottom: auto;
    margin: 0.35rem 1rem 1.15rem;
    max-width: none;
    width: auto;
    animation: none;
    z-index: 3;
  }
  .hero-reg-hint:hover {
    transform: none;
  }
  .grid-3, .footer-grid, .choices { grid-template-columns: 1fr; }
  .moments-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline li { grid-template-columns: 1fr; gap: 0.2rem; }
  .nav-links { display: none; }
  .cookie-banner { flex-direction: column; align-items: stretch; }

  
/* Route Section */
.route-block {
  padding: 2.25rem;
  border-radius: 24px;
}
.route-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2.5rem;
  align-items: center;
}
.route-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.route-info h3 {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 800;
  margin-top: 0;
  margin-bottom: 0.75rem;
}
.route-features {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.route-features li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.95rem;
}
.route-features li::before {
  content: "•";
  position: absolute;
  left: 0.25rem;
  color: var(--accent);
  font-size: 1.25rem;
  line-height: 1;
  top: -0.1rem;
}
.route-note {
  font-size: 0.88rem;
  line-height: 1.45;
  margin: 0;
}
.route-image-wrapper {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
  background: rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.route-image-wrapper:hover {
  transform: translateY(-4px);
}
.route-image {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 860px) {
  .route-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .moments-item:hover img { transform: none; }
}
