:root {
  --bg: #f7f4fc;
  --text: #1a1428;
  --muted: #5a5270;
  --line: rgba(124, 92, 180, 0.28);
  --glass: rgba(255, 255, 255, 0.7);
  --glass-strong: rgba(255, 255, 255, 0.86);
  --grad: linear-gradient(125deg, #5b2a9e, #7c3aed 48%, #c026d3);
  --shadow: 0 22px 50px rgba(60, 32, 100, 0.14);
  --radius: 18px;
  --ok: #15803d;
  --error: #b91c1c;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(820px 420px at -12% -12%, rgba(196, 181, 253, 0.45), transparent 58%),
    radial-gradient(760px 420px at 112% 0%, rgba(251, 207, 232, 0.42), transparent 58%),
    radial-gradient(680px 360px at 60% 110%, rgba(165, 180, 252, 0.32), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #f7f4fc 58%, #f3f0ff 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

.bg-orb {
  position: fixed;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  filter: blur(28px);
  z-index: -1;
  pointer-events: none;
  animation: float 11s ease-in-out infinite;
  opacity: 0.58;
}
.orb-a { left: -70px; top: 22%; background: #d8b4fe; }
.orb-b { right: -80px; top: 45%; background: #fbcfe8; animation-delay: 1.2s; }
.orb-c { left: 44%; bottom: -120px; background: #c4b5fd; animation-delay: 2.4s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

.container { width: min(1160px, 92%); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid var(--line);
}
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  color: #1e1b4b;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
}
.menu {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.96rem;
}
.menu a {
  color: var(--muted);
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.24s ease;
}
.menu a:hover,
.menu a.active { color: #6d28d9; }
.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease;
  background: var(--grad);
}
.menu a:hover::after,
.menu a.active::after { transform: scaleX(1); }

section { padding: 78px 0; }
.hero {
  padding-top: 108px;
  padding-bottom: 84px;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 240px at 22% 20%, rgba(139, 92, 246, 0.14), transparent 66%),
    radial-gradient(460px 220px at 74% 24%, rgba(236, 72, 153, 0.12), transparent 70%);
  animation: pulseGlow 8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 36px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-card {
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(16px);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 34px;
  animation: fadeUp 0.9s ease both;
}
.hero-image {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--glass-strong);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  padding: 14px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  animation: fadeUp 1s ease both;
}
.hero-image img {
  width: 100%;
  display: block;
  border-radius: 14px;
  box-shadow: 0 20px 38px rgba(49, 46, 129, 0.22);
  transition: transform 0.35s ease;
}
.hero-image:hover { transform: translateY(-5px); box-shadow: 0 28px 52px rgba(76, 29, 149, 0.2); }
.hero-image:hover img { transform: scale(1.05); }

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

h1, h2, h3 { margin: 0 0 14px; line-height: 1.2; }
h1 {
  font-size: clamp(2.5rem, 4.9vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1e1b4b;
}
h2 {
  font-size: clamp(1.6rem, 2.9vw, 2.25rem);
  font-weight: 750;
  letter-spacing: -0.01em;
  color: #312e81;
}
h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #4c1d95;
}
p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 1.03rem;
}

.disclaimer {
  margin-top: 14px;
  border: 1px solid rgba(167, 139, 250, 0.45);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(245, 243, 255, 0.92);
  font-size: 0.95rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  border: 1px solid rgba(109, 40, 217, 0.35);
  background: var(--grad);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 14px 28px rgba(91, 33, 182, 0.32);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.2s ease;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: "";
  position: absolute;
  width: 28px;
  height: 180%;
  top: -40%;
  left: -60px;
  background: rgba(255, 255, 255, 0.45);
  transform: rotate(24deg);
  transition: left 0.45s ease;
}
.btn:hover::before { left: 120%; }
.btn:hover {
  transform: translateY(-2px) scale(1.01);
  filter: brightness(1.04);
  box-shadow: 0 18px 34px rgba(91, 33, 182, 0.4);
}
.btn:active { transform: scale(0.99); }

.glass-card,
.panel {
  border: 1px solid var(--line);
  background: var(--glass);
  backdrop-filter: blur(12px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.glass-card:hover,
.panel:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 28px 54px rgba(60, 32, 100, 0.18);
}
.block-pad,
.panel { padding: 24px; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.2), rgba(192, 38, 211, 0.18));
  border: 1px solid rgba(167, 139, 250, 0.5);
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  color: #6d28d9;
  font-size: 0.92rem;
  font-weight: 700;
}

.choose-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.timeline {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 23px;
  height: 2px;
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.35), rgba(192, 38, 211, 0.35));
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
  padding: 22px;
}
.num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(91, 33, 182, 0.32);
  margin-bottom: 10px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.card {
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(60, 32, 100, 0.14);
}

.ticket-box,
.contact-box {
  padding: 28px;
}
.ticket-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.ticket-form input,
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(167, 139, 250, 0.45);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  padding: 12px 14px;
  color: #312e81;
  font-size: 0.98rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.ticket-form input { flex: 1 1 320px; min-height: 48px; }
.ticket-form input:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(109, 40, 217, 0.55);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.18);
  transform: translateY(-1px);
}

.action-btn {
  min-height: 48px;
  border: 1px solid rgba(109, 40, 217, 0.35);
  border-radius: 11px;
  background: var(--grad);
  color: #fff;
  font-weight: 600;
  padding: 0 18px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 12px 24px rgba(91, 33, 182, 0.28);
}
.action-btn:hover {
  transform: translateY(-2px) scale(1.01);
  filter: brightness(1.04);
  box-shadow: 0 16px 30px rgba(91, 33, 182, 0.36);
}
.action-btn:active { transform: scale(0.98); }

.ticket-result {
  margin-top: 12px;
  min-height: 24px;
}
.ticket-result.error { color: var(--error); }
.ticket-result.success { color: var(--ok); }
.result-card {
  margin-top: 12px;
  border: 1px solid rgba(167, 139, 250, 0.42);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(245, 243, 255, 0.94);
  display: none;
}
.result-card.show { display: block; }

.contact-wrap { max-width: 760px; margin: 0 auto; }
.contact-form { display: grid; gap: 12px; }
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-submit { width: 100%; }
.contact-result { margin-top: 10px; min-height: 24px; }
.contact-result.success { color: var(--ok); }
.contact-result.error { color: var(--error); }

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(30, 27, 75, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(6px);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.age-gate.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.age-card {
  width: min(430px, 100%);
  border: 1px solid rgba(167, 139, 250, 0.5);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 28px 60px rgba(30, 27, 75, 0.35);
  padding: 24px;
  text-align: center;
}
.age-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; }
.age-actions { display: flex; gap: 10px; justify-content: center; margin-top: 12px; }
.age-note {
  margin-top: 12px;
  margin-bottom: 0;
  font-size: 0.84rem;
  color: #5b5670;
}
.age-btn {
  min-width: 112px;
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(109, 40, 217, 0.35);
  background: var(--grad);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(91, 33, 182, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.age-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 26px rgba(91, 33, 182, 0.34); }
.age-btn.secondary {
  background: #fff;
  border-color: rgba(167, 139, 250, 0.48);
  color: #5b21b6;
  box-shadow: none;
}

.site-footer {
  margin-top: 34px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 18px;
  padding: 30px 0 12px;
}
.footer-col h4 {
  margin: 0 0 10px;
  font-size: 1.03rem;
  color: #3730a3;
}
.footer-col p,
.footer-col a {
  margin: 0 0 8px;
  color: #5a5270;
  text-decoration: none;
  font-size: 0.96rem;
}
.footer-col a:hover { color: #6d28d9; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 14px 0 30px;
}
.footer-bottom p {
  margin: 0 0 9px;
  font-size: 0.92rem;
  color: #57516a;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.62s ease, transform 0.62s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid, .about-grid { grid-template-columns: 1fr; }
  .choose-grid, .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline::before { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .nav { flex-direction: column; align-items: flex-start; padding: 12px 0; }
  .menu { gap: 12px; flex-wrap: wrap; }
  .choose-grid, .timeline { grid-template-columns: 1fr; }
  .age-actions { flex-direction: column; }
  .footer-top { grid-template-columns: 1fr; }
}
