/**
 * КодГор — премиальный cinematic-дизайн мероприятия / билетов
 * Apple Event × Cyberpunk × VIP festival (тёмный фон, неон, зелёный акцент)
 */

:root {
  --ev-neon: #22c55e;
  --ev-neon-soft: rgba(34, 197, 94, 0.45);
  --ev-gold: #fbbf24;
  --ev-gold-glow: rgba(251, 191, 36, 0.55);
  --ev-ruby: #e11d48;
  --ev-ruby-soft: rgba(225, 29, 72, 0.35);
  --ev-magenta: #db2777;
  --ev-magenta-soft: rgba(219, 39, 119, 0.35);
  --ev-glass: rgba(15, 23, 42, 0.55);
  --ev-glass-border: rgba(148, 163, 184, 0.22);
  --ev-text-dim: #94a3b8;
  --ev-headline: #f8fafc;
}

body.event-page {
  overflow-x: hidden;
}

body.event-page .main {
  padding: 0;
}

/*
 * Декоративные билеты — только внутри .event-hero (не sibling под body).
 * Слои: event-hero__bg z:1 → deco билеты z:2 → event-hero__inner z:10.
 * Так они видны поверх mesh/grid, но всегда под текстом и CTA (pointer-events: none).
 */

/* ========= Декоративные билеты по бокам hero (desktop): фоновый слой ========= */
.event-deco-tickets {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: visible;
}

.event-deco-ticket {
  pointer-events: none;
  position: absolute;
  top: 24%;
  width: min(294px, 36vw);
  height: 448px;
  border-radius: 18px;
  background: linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.06) 0%,
      rgba(34, 197, 94, 0.05) 40%,
      rgba(2, 6, 23, 0.94) 100%
    ),
    rgba(8, 12, 22, 0.78);
  border: 1px solid rgba(34, 197, 94, 0.22);
  box-shadow:
    0 0 36px rgba(34, 197, 94, 0.08),
    0 28px 64px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transform-origin: center center;
  will-change: transform, filter, opacity;
}

.event-deco-ticket::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    105deg,
    transparent 36%,
    rgba(255, 255, 255, 0.14) 48%,
    rgba(34, 197, 94, 0.1) 52%,
    transparent 64%
  );
  background-size: 240% 240%;
  animation: evHoloSweep 7s ease-in-out infinite;
  opacity: 0.38;
  pointer-events: none;
}

.event-deco-ticket--right::before {
  opacity: 0.52;
}

.event-deco-ticket--left::before {
  opacity: 0.26;
}

.event-deco-ticket::after {
  content: '';
  position: absolute;
  left: 12%;
  right: 12%;
  top: 46%;
  border-top: 2px dashed rgba(148, 163, 184, 0.22);
  pointer-events: none;
}

.event-deco-ticket__inner {
  position: relative;
  padding: 28px 22px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.event-deco-ticket__brand {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(74, 222, 128, 0.72);
  font-weight: 700;
}

.event-deco-ticket__title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: rgba(248, 250, 252, 0.72);
}

.event-deco-ticket__barcode {
  margin-top: auto;
  height: 42px;
  border-radius: 8px;
  background: repeating-linear-gradient(
    90deg,
    #e2e8f0 0px,
    #e2e8f0 2px,
    transparent 2px,
    transparent 5px
  );
  opacity: 0.35;
  mix-blend-mode: screen;
}

.event-deco-ticket__qr {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  background-image:
    linear-gradient(90deg, rgba(34, 197, 94, 0.35) 50%, transparent 50%),
    linear-gradient(rgba(34, 197, 94, 0.35) 50%, transparent 50%);
  background-size: 8px 8px;
  border: 1px solid rgba(34, 197, 94, 0.28);
  opacity: 0.45;
}

/* Якорь по краю hero; transform/opacity/filter дополняются JS (cinematic scroll) */
.event-deco-ticket--left {
  left: 0;
  transform: translate3d(-220px, 0, 0) rotate(-12deg);
  border-color: rgba(34, 197, 94, 0.16);
  box-shadow:
    0 0 28px rgba(0, 0, 0, 0.65),
    0 28px 56px rgba(0, 0, 0, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.event-deco-ticket--right {
  right: 0;
  left: auto;
  transform: translate3d(220px, 0, 0) rotate(12deg);
  border-color: rgba(34, 197, 94, 0.34);
  box-shadow:
    0 0 52px rgba(34, 197, 94, 0.22),
    0 0 120px rgba(52, 211, 153, 0.08),
    0 28px 64px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

@media (max-width: 768px) {
  .event-deco-tickets {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .event-deco-ticket,
  .event-deco-ticket::before {
    animation: none !important;
  }
}

@keyframes evHoloSweep {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

/* ========= Fullscreen Hero ========= */
.event-hero {
  position: relative;
  min-height: min(100vh, 1080px);
  padding: clamp(72px, 12vh, 120px) clamp(16px, 4vw, 48px) clamp(48px, 8vh, 96px);
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.event-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #030508;
  overflow: hidden;
}

.event-hero__bg-mesh {
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(ellipse 80% 50% at 15% 10%, rgba(34, 197, 94, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 45% at 85% 85%, rgba(16, 185, 129, 0.22), transparent 50%),
    radial-gradient(ellipse 50% 40% at 50% 50%, rgba(59, 130, 246, 0.06), transparent 60%);
  animation: evMeshDrift 22s ease-in-out infinite alternate;
}

.event-hero__bg-orbs .event-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: evOrbFloat 14s ease-in-out infinite;
}

.event-hero__bg-orbs .event-orb:nth-child(1) {
  width: min(520px, 70vw);
  height: min(520px, 70vw);
  left: -10%;
  top: -8%;
  background: rgba(34, 197, 94, 0.35);
  animation-delay: 0s;
}

.event-hero__bg-orbs .event-orb:nth-child(2) {
  width: min(420px, 55vw);
  height: min(420px, 55vw);
  right: -5%;
  bottom: 10%;
  background: rgba(59, 130, 246, 0.18);
  animation-delay: -4s;
}

.event-hero__bg-orbs .event-orb:nth-child(3) {
  width: min(360px, 45vw);
  height: min(360px, 45vw);
  left: 35%;
  bottom: -12%;
  background: rgba(34, 197, 94, 0.2);
  animation-delay: -7s;
}

.event-hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34, 197, 94, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 197, 94, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 75% 70% at 50% 40%, black 20%, transparent 75%);
  opacity: 0.5;
}

.event-hero__bg-beam {
  position: absolute;
  top: -20%;
  left: 50%;
  width: 2px;
  height: 120%;
  transform: translateX(-50%) rotate(12deg);
  background: linear-gradient(
    180deg,
    transparent,
    rgba(34, 197, 94, 0.35),
    transparent
  );
  filter: blur(2px);
  animation: evBeamPulse 5s ease-in-out infinite;
}

.event-hero__bg-particles span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.85);
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.9);
  animation: evParticle 12s linear infinite;
}

.event-hero__inner {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.event-hero__badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.event-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.08);
  color: #bbf7d0;
  box-shadow: 0 0 24px rgba(34, 197, 94, 0.12);
}

.event-chip--pulse {
  animation: evChipGlow 3s ease-in-out infinite;
}

.event-hero__title {
  margin: 0 0 14px;
  font-size: clamp(28px, 4.6vw, 56px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
  color: var(--ev-headline);
  text-transform: uppercase;
  text-shadow:
    0 0 40px rgba(34, 197, 94, 0.28),
    0 0 80px rgba(34, 197, 94, 0.12);
}

.event-hero__subtitle {
  margin: 0 0 22px;
  font-size: clamp(14px, 1.8vw, 18px);
  color: #cbd5e1;
  line-height: 1.55;
  max-width: 540px;
  text-shadow: 0 0 28px rgba(34, 197, 94, 0.25);
}

.event-hero__tags {
  margin: 0 0 18px;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ev-neon);
  font-weight: 600;
}

.event-hero__meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-bottom: 22px;
  font-size: 14px;
  color: var(--ev-text-dim);
}

.event-hero__meta-line strong {
  color: #e2e8f0;
  font-weight: 600;
}

.event-countdown {
  margin-bottom: 22px;
}

.event-countdown__label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ev-text-dim);
  margin-bottom: 12px;
}

.event-countdown__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 520px;
}

.event-seats-live {
  margin-top: 18px;
  max-width: 520px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 14, 12, 0.55);
}

.event-seats-live__main {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.event-seats-live__count {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1;
  color: var(--ev-neon);
  font-variant-numeric: tabular-nums;
}

.event-seats-live__label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
}

.event-seats-live__breakdown {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--ev-text-dim);
}

.event-seats-live--few .event-seats-live__count,
.event-seats-live--few .event-seats-live__label {
  color: #fbbf24;
}

.event-seats-live--few {
  border-color: rgba(251, 191, 36, 0.45);
  box-shadow: 0 0 24px rgba(251, 191, 36, 0.12);
  animation: barakat-seats-pulse 2.4s ease-in-out infinite;
}

.event-seats-live--soldout .event-seats-live__count {
  color: #94a3b8;
}

@keyframes barakat-seats-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.01);
  }
}

.event-countdown__cell {
  position: relative;
  padding: 18px 14px 14px;
  border-radius: 16px;
  text-align: center;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(2, 6, 23, 0.85));
  border: 1px solid rgba(34, 197, 94, 0.28);
  box-shadow:
    0 0 40px rgba(34, 197, 94, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.event-countdown__cell::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 180deg, transparent, rgba(34, 197, 94, 0.12), transparent);
  animation: evSpin 12s linear infinite;
  opacity: 0.5;
}

.event-countdown__value {
  position: relative;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
  line-height: 1;
}

.event-countdown__unit {
  position: relative;
  display: block;
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ev-neon);
  font-weight: 700;
}

.event-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.event-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #022c22;
  background: linear-gradient(135deg, #4ade80, var(--ev-neon));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.15),
    0 18px 50px rgba(34, 197, 94, 0.45);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  text-decoration: none;
}

.event-btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.22),
    0 22px 60px rgba(34, 197, 94, 0.55);
}

.event-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: rgba(2, 6, 23, 0.55);
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition:
    border-color 0.2s,
    background 0.2s,
    transform 0.2s;
}

.event-btn-secondary:hover {
  border-color: var(--ev-neon-soft);
  background: rgba(34, 197, 94, 0.08);
  transform: translateY(-2px);
}

.event-hero__visual {
  position: relative;
  height: min(560px, 72vh);
  perspective: 1200px;
}

.event-float-stack {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.event-float-card {
  position: absolute;
  border-radius: 20px;
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.12),
    rgba(15, 23, 42, 0.65)
  );
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.event-float-card--a {
  width: 72%;
  left: 8%;
  top: 6%;
  height: 120px;
  padding: 18px 22px;
  animation: evFloatA 8s ease-in-out infinite;
}

.event-float-card--b {
  width: 64%;
  right: 0;
  top: 38%;
  height: 100px;
  padding: 16px 20px;
  animation: evFloatB 9s ease-in-out infinite;
}

.event-float-card__tag {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--ev-gold);
  font-weight: 800;
  margin-bottom: 8px;
}

.event-float-card__text {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #f1f5f9;
}

.event-float-pass {
  position: absolute;
  left: 12%;
  bottom: 4%;
  width: 76%;
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(
      135deg,
      rgba(34, 197, 94, 0.18),
      rgba(2, 6, 23, 0.92)
    ),
    rgba(8, 12, 22, 0.88);
  border: 1px solid rgba(34, 197, 94, 0.45);
  box-shadow:
    0 0 60px rgba(34, 197, 94, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  animation: evFloatPass 10s ease-in-out infinite;
}

.event-float-pass__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.event-float-pass__label {
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--ev-neon);
  font-weight: 800;
}

.event-float-pass__qr {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.15) 50%, transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.15) 50%, transparent 50%);
  background-size: 6px 6px;
  animation: evQrPulse 2.8s ease-in-out infinite;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.event-float-pass__line {
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--ev-neon), transparent);
  margin-bottom: 10px;
  opacity: 0.85;
}

.event-float-pass__foot {
  font-size: 12px;
  color: var(--ev-text-dim);
}

.event-float-pass__foot strong {
  color: #fff;
}

.event-float-pass__event-name {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f8fafc;
}

.event-float-pass--barakat {
  background: linear-gradient(
      135deg,
      rgba(225, 29, 72, 0.12),
      rgba(34, 197, 94, 0.14),
      rgba(2, 6, 23, 0.92)
    ),
    rgba(8, 12, 22, 0.9);
  border-color: rgba(251, 191, 36, 0.38);
  box-shadow:
    0 0 48px rgba(225, 29, 72, 0.12),
    0 0 60px rgba(34, 197, 94, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.event-float-pass--barakat .event-float-pass__label {
  color: var(--ev-gold);
}

.event-float-pass--barakat .event-float-pass__line {
  background: linear-gradient(90deg, transparent, var(--ev-gold), var(--ev-neon), transparent);
}

/* Reasons */
.event-reasons {
  position: relative;
  padding: clamp(56px, 10vw, 110px) clamp(16px, 4vw, 48px);
  background: radial-gradient(ellipse 90% 60% at 50% 0%, rgba(34, 197, 94, 0.08), transparent 55%);
}

.event-reasons__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.event-reasons__title {
  margin: 0 0 12px;
  font-size: clamp(22px, 3.4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ev-headline);
}

.event-reasons__lead {
  margin: 0;
  font-size: 15px;
  color: var(--ev-text-dim);
  line-height: 1.55;
}

.event-reasons__grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.event-reason-card {
  position: relative;
  padding: 24px 22px;
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(15, 23, 42, 0.72));
  border: 1px solid var(--ev-glass-border);
  overflow: hidden;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s,
    box-shadow 0.35s;
}

.event-reason-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(34, 197, 94, 0.35),
    transparent
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.35s;
}

.event-reason-card:hover {
  transform: translateY(-8px);
  border-color: rgba(34, 197, 94, 0.45);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 0 50px rgba(34, 197, 94, 0.18);
}

.event-reason-card:hover::after {
  opacity: 1;
}

.event-reason-card__icon {
  font-size: 28px;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 12px rgba(34, 197, 94, 0.45));
}

.event-reason-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: #f8fafc;
}

.event-reason-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ev-text-dim);
}

/* Hall & seats */
.event-hall-wrap {
  position: relative;
  scroll-margin-top: 88px;
  padding: clamp(48px, 9vw, 100px) clamp(16px, 4vw, 40px) clamp(80px, 12vw, 120px);
}

.hall-booking-kicker {
  margin: 0 auto 12px;
  max-width: 720px;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ev-text-dim);
}

.event-catalog-error--hall {
  max-width: 920px;
  margin: 0 auto 16px;
  text-align: center;
}

.event-hall-wrap--lead {
  padding-top: clamp(20px, 4vw, 36px);
  padding-bottom: clamp(48px, 8vw, 72px);
}

.event-hall-more {
  margin: 28px 0 0;
  text-align: center;
  font-size: 14px;
}

.event-hall-more a {
  color: var(--ev-text-dim);
  text-decoration: none;
}

.event-hall-more a:hover {
  color: var(--ev-neon);
}

.tickets-page-info {
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.2), transparent);
}

html.tickets-direct-buy .event-hero,
html.tickets-direct-buy #event-sticky-buy,
html.tickets-direct-buy #about,
html.tickets-direct-buy #hosts,
html.tickets-direct-buy #program-detail,
html.tickets-direct-buy #program {
  display: none !important;
}

html.tickets-direct-buy .event-hall-wrap {
  padding-top: 28px;
}

html.tickets-direct-buy .event-hall-direct-link {
  display: block !important;
}

.event-hall-direct-link {
  margin: 0 0 12px;
  font-size: 13px;
}

.event-hall-direct-link a {
  color: var(--ev-text-dim);
  text-decoration: none;
}

.event-hall-direct-link a:hover {
  color: var(--ev-neon);
}

.event-hall-wrap__title {
  text-align: center;
  margin: 0 0 10px;
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.event-hall-wrap__sub {
  text-align: center;
  margin: 0 auto 36px;
  max-width: 560px;
  font-size: 14px;
  color: var(--ev-text-dim);
  line-height: 1.55;
}

.event-split {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 400px);
  gap: clamp(20px, 4vw, 40px);
  max-width: 1240px;
  margin: 0 auto;
  align-items: start;
}

.event-stage {
  position: relative;
  margin-bottom: 28px;
  padding: 28px 16px 48px;
  border-radius: 24px;
  background: radial-gradient(ellipse 80% 90% at 50% 100%, rgba(34, 197, 94, 0.35), transparent 72%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.35), rgba(2, 6, 23, 0.92));
  border: 1px solid rgba(34, 197, 94, 0.22);
  overflow: hidden;
}

.event-stage__label {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--ev-neon);
  font-weight: 800;
  margin-bottom: 8px;
}

.event-stage__beam {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(90%, 560px);
  height: 160%;
  background: conic-gradient(from 200deg at 50% 100%, transparent 40%, rgba(34, 197, 94, 0.18), transparent 60%);
  filter: blur(16px);
  pointer-events: none;
  animation: evStageBeam 6s ease-in-out infinite;
}

.event-seat-map {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
  width: 100%;
}

/* ——— Интерактивная схема зала (zoom / pan) ——— */
.event-hall-viewport {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(34, 197, 94, 0.22);
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.92), rgba(15, 23, 42, 0.55));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 16px 48px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.event-hall-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(2, 6, 23, 0.65);
}

.event-hall-toolbar__venue {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ev-neon);
}

.event-hall-toolbar__controls {
  display: flex;
  gap: 8px;
  align-items: center;
}

.event-hall-zoom-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.85);
  color: #e2e8f0;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  line-height: 1;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    color 0.2s;
}

.event-hall-zoom-btn:hover {
  border-color: var(--ev-neon-soft);
  color: var(--ev-neon);
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.2);
}

.event-hall-zoom-btn--text {
  width: auto;
  padding: 0 14px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
}

.event-hall-toolbar__hint {
  margin-left: auto;
  font-size: 11px;
  color: var(--ev-text-dim);
}

@media (max-width: 720px) {
  .event-hall-toolbar__hint {
    width: 100%;
    margin-left: 0;
    opacity: 0.85;
  }
}

.event-hall-scrollpad {
  position: relative;
  height: min(520px, 62vh);
  overflow: hidden;
  cursor: grab;
  touch-action: pan-x pan-y;
}

.event-hall-scrollpad .event-seat,
.event-hall-scrollpad .hall-seat {
  touch-action: manipulation;
  pointer-events: auto;
}

.event-hall-scrollpad--dragging {
  cursor: grabbing;
}

.event-hall-canvas {
  position: absolute;
  left: 0;
  top: 0;
  padding: 28px 20px 36px;
  transform-origin: 0 0;
  will-change: transform;
}

.hall-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.hall-row__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.hall-row__zone {
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--ev-text-dim);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(2, 6, 23, 0.45);
}

.hall-row__zone--vip {
  color: var(--ev-gold);
  border-color: rgba(251, 191, 36, 0.35);
  box-shadow: 0 0 18px rgba(251, 191, 36, 0.12);
}

.hall-row__num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #cbd5e1;
}

.hall-row__blocks {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
}

.hall-block {
  display: flex;
  flex-wrap: nowrap;
  gap: 3px;
}

.hall-aisle {
  flex-shrink: 0;
  align-self: stretch;
  min-height: 32px;
  border-radius: 6px;
  background: linear-gradient(
    180deg,
    rgba(34, 197, 94, 0.09),
    rgba(34, 197, 94, 0.02)
  );
  border: 1px dashed rgba(34, 197, 94, 0.18);
}

.hall-aisle--md {
  width: 16px;
}

.hall-aisle--lg {
  width: min(56px, 8vw);
}

.hall-aisle--xl {
  width: min(88px, 12vw);
}

.hall-stage-foot {
  margin-top: 20px;
  padding: 18px 16px;
  border-radius: 14px;
  text-align: center;
  background: linear-gradient(
    180deg,
    rgba(34, 197, 94, 0.22),
    rgba(2, 6, 23, 0.92)
  );
  border: 1px solid rgba(34, 197, 94, 0.35);
  box-shadow:
    0 0 40px rgba(34, 197, 94, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Сцена сверху (зритель смотрит на зал: сцена впереди, ряды ниже) */
.hall-stage-foot--top {
  margin-top: 0;
  margin-bottom: 20px;
  background: linear-gradient(
    0deg,
    rgba(34, 197, 94, 0.22),
    rgba(2, 6, 23, 0.92)
  );
}

.hall-stage-foot__label {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.42em;
  color: #ecfdf5;
  text-shadow: 0 0 28px rgba(34, 197, 94, 0.45);
}

.hall-seat {
  width: 30px;
  height: 28px;
  font-size: 10px;
  border-radius: 8px;
}

.hall-seat--ghost {
  opacity: 0.18;
  cursor: default;
  border-style: dotted;
  pointer-events: none;
}

.hall-legacy-row {
  justify-content: center;
}

@media (max-width: 520px) {
  .hall-seat {
    width: 26px;
    height: 24px;
    font-size: 9px;
  }

  .event-hall-scrollpad {
    height: min(440px, 54vh);
  }
}

.event-seat-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.event-seat-row__zone {
  width: 100%;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ev-text-dim);
  margin-bottom: 4px;
}

.event-seat {
  position: relative;
  width: 40px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.18), rgba(15, 23, 42, 0.95));
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.22s,
    box-shadow 0.22s,
    border-color 0.22s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.event-seat:hover:not(:disabled) {
  transform: translateY(-4px) scale(1.06);
  border-color: var(--ev-neon-soft);
  box-shadow: 0 0 24px rgba(34, 197, 94, 0.35);
}

.event-seat--vip-plus {
  border-color: rgba(251, 191, 36, 0.75) !important;
  background: linear-gradient(145deg, rgba(251, 191, 36, 0.28), rgba(168, 85, 247, 0.22)) !important;
  color: #fff7ed !important;
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.25);
}

.event-seat--vip-plus:hover:not(:disabled) {
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.38);
}

.event-hall-legend__swatch--vip-plus {
  background: linear-gradient(145deg, #fbbf24, #a855f7);
}

.event-seat-list__btn--vip-plus .event-seat-list__price {
  color: #fbbf24;
}

.event-seat--vip {
  border-color: rgba(251, 191, 36, 0.55);
  box-shadow:
    0 0 18px rgba(251, 191, 36, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.event-seat--vip:hover:not(:disabled) {
  box-shadow: 0 0 32px rgba(251, 191, 36, 0.45);
}

.event-seat--selected {
  border-color: var(--ev-gold);
  background: radial-gradient(ellipse at 50% 20%, rgba(250, 204, 21, 0.75), rgba(34, 197, 94, 0.85));
  color: #022c22;
  box-shadow:
    0 0 0 2px rgba(250, 204, 21, 0.55),
    0 0 28px rgba(34, 197, 94, 0.65);
  animation: evSeatPulse 1.8s ease-in-out infinite;
  z-index: 2;
}

.event-seat--dimmed {
  opacity: 0.22;
  filter: grayscale(0.5);
  pointer-events: none;
}

.event-seat--taken {
  opacity: 0.28;
  cursor: not-allowed;
  filter: grayscale(0.8);
  border-style: dashed;
}

.event-seat--taken::after {
  content: '✕';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #64748b;
}

/* Pass panel */
.event-pass-panel {
  position: sticky;
  top: 92px;
}

.event-pass-panel__glass {
  border-radius: 24px;
  padding: 26px 22px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(2, 6, 23, 0.92));
  border: 1px solid rgba(34, 197, 94, 0.28);
  box-shadow:
    0 0 60px rgba(34, 197, 94, 0.12),
    0 28px 70px rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(20px);
}

.event-pass-card {
  margin-bottom: 22px;
  padding: 22px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(34, 197, 94, 0.12), rgba(15, 23, 42, 0.85));
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 200px;
}

.event-pass-card__placeholder {
  text-align: center;
  padding: 32px 12px;
  color: var(--ev-text-dim);
  font-size: 14px;
  line-height: 1.55;
}

.event-pass-card__filled[hidden],
.event-pass-card__placeholder[hidden] {
  display: none !important;
}

.event-pass-card__filled {
  animation: evFadeUp 0.5s ease;
}

.event-pass-card__vip {
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--ev-neon);
  font-weight: 900;
  margin-bottom: 10px;
}

.event-pass-card__row {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 6px;
}

.event-pass-card__price {
  font-size: 22px;
  font-weight: 800;
  color: var(--ev-gold);
  margin-bottom: 16px;
  text-shadow: 0 0 24px rgba(251, 191, 36, 0.35);
}

.event-pass-card__perks {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.65;
}

.event-pass-card__perks li::before {
  content: '✓ ';
  color: var(--ev-neon);
  font-weight: 800;
}

.event-form .event-field {
  margin-bottom: 12px;
}

.event-form label span:first-child {
  display: block;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ev-text-dim);
  margin-bottom: 6px;
}

.event-form input,
.event-form textarea {
  width: 100%;
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(2, 6, 23, 0.65);
  color: #f8fafc;
  font-size: 15px;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

.event-form input:focus,
.event-form textarea:focus {
  border-color: var(--ev-neon-soft);
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.35);
}

.event-field--invalid input,
.event-field--invalid textarea {
  border-color: rgba(249, 115, 115, 0.65) !important;
}

.event-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 14px 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ev-text-dim);
}

.event-consent a {
  color: var(--ev-neon);
}

.event-btn-submit {
  width: 100%;
  min-height: 56px;
  margin-top: 8px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #022c22;
  background: linear-gradient(135deg, #4ade80, var(--ev-neon));
  box-shadow: 0 16px 44px rgba(34, 197, 94, 0.42);
  transition:
    transform 0.2s,
    opacity 0.2s;
}

.event-btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
}

.event-btn-submit:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.event-btn-submit[aria-busy='true'] {
  opacity: 0.72;
  cursor: wait;
  transform: none;
}

.event-form-msg {
  margin-top: 12px;
  min-height: 20px;
  font-size: 13px;
}

.event-catalog-error {
  margin-top: 18px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(249, 115, 115, 0.35);
  background: rgba(127, 29, 29, 0.25);
  color: #fecaca;
  font-size: 13px;
  line-height: 1.45;
}

.event-catalog-error[hidden] {
  display: none !important;
}

/* Animations */
@keyframes evMeshDrift {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(-3%, 4%) scale(1.05);
  }
}

@keyframes evOrbFloat {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(20px, -24px);
  }
}

@keyframes evBeamPulse {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 0.75;
  }
}

@keyframes evParticle {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  100% {
    transform: translateY(-20vh) translateX(40px);
    opacity: 0;
  }
}

@keyframes evChipGlow {
  0%,
  100% {
    box-shadow: 0 0 24px rgba(34, 197, 94, 0.12);
  }
  50% {
    box-shadow: 0 0 36px rgba(34, 197, 94, 0.35);
  }
}

@keyframes evSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes evFloatA {
  0%,
  100% {
    transform: translateY(0) rotateX(8deg) rotateY(-6deg);
  }
  50% {
    transform: translateY(-14px) rotateX(10deg) rotateY(-4deg);
  }
}

@keyframes evFloatB {
  0%,
  100% {
    transform: translateY(0) rotateX(6deg) rotateY(8deg);
  }
  50% {
    transform: translateY(12px) rotateX(8deg) rotateY(6deg);
  }
}

@keyframes evFloatPass {
  0%,
  100% {
    transform: translateY(0) rotateX(4deg);
  }
  50% {
    transform: translateY(-10px) rotateX(6deg);
  }
}

@keyframes evQrPulse {
  0%,
  100% {
    opacity: 0.85;
    box-shadow: 0 0 16px rgba(34, 197, 94, 0.35);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 28px rgba(34, 197, 94, 0.55);
  }
}

@keyframes evStageBeam {
  0%,
  100% {
    opacity: 0.45;
  }
  50% {
    opacity: 0.85;
  }
}

@keyframes evSeatPulse {
  0%,
  100% {
    box-shadow: 0 0 22px rgba(34, 197, 94, 0.55);
  }
  50% {
    box-shadow: 0 0 36px rgba(34, 197, 94, 0.85);
  }
}

@keyframes evFadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 960px) {
  .event-hero__inner {
    grid-template-columns: 1fr;
  }

  .event-hero__visual {
    height: 420px;
    max-width: 420px;
    margin: 0 auto;
  }

  .event-split {
    grid-template-columns: 1fr;
  }

  .event-pass-panel {
    position: relative;
    top: auto;
  }
}

/* Телефон: карточки колонкой. Планшет/ПК (>768px): слои и 3D как на десктопе */
@media (max-width: 768px) {
  .event-hero__visual {
    height: auto;
    min-height: 0;
    max-width: 100%;
    width: 100%;
    margin: 20px auto 8px;
    perspective: none;
  }

  .event-float-stack {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    transform: none !important;
    transform-style: flat;
  }

  .event-float-card,
  .event-float-card--a,
  .event-float-card--b,
  .event-float-pass {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
  }

  .event-float-card--a,
  .event-float-card--b {
    padding: 16px 18px;
    animation: evFloatMobileCard 7s ease-in-out infinite;
  }

  .event-float-card--b {
    animation-delay: 0.35s;
  }

  .event-float-pass {
    padding: 18px 20px;
    animation: evFloatMobilePass 8s ease-in-out infinite;
  }

  .event-float-card__tag {
    font-size: 10px;
    letter-spacing: 0.14em;
    margin-bottom: 6px;
  }

  .event-float-card__text {
    font-size: 15px;
    line-height: 1.35;
  }

  .event-float-pass__foot {
    font-size: 12px;
    line-height: 1.45;
  }
}

/* Десктоп и планшет: исходная сцена с наложением карточек */
@media (min-width: 769px) {
  .event-hero__visual {
    height: min(560px, 72vh);
    max-width: none;
    width: auto;
    perspective: 1200px;
  }

  .event-float-stack {
    position: absolute;
    inset: 0;
    display: block;
    transform-style: preserve-3d;
  }

  .event-float-card {
    position: absolute;
  }

  .event-float-card--a {
    width: 72%;
    left: 8%;
    top: 6%;
    right: auto;
    bottom: auto;
    height: 120px;
    padding: 18px 22px;
    animation: evFloatA 8s ease-in-out infinite;
  }

  .event-float-card--b {
    width: 64%;
    right: 0;
    left: auto;
    top: 38%;
    bottom: auto;
    height: 100px;
    padding: 16px 20px;
    animation: evFloatB 9s ease-in-out infinite;
    animation-delay: 0s;
  }

  .event-float-pass {
    position: absolute;
    left: 12%;
    right: auto;
    top: auto;
    bottom: 4%;
    width: 76%;
    height: auto;
    padding: 22px;
    animation: evFloatPass 10s ease-in-out infinite;
  }
}

@keyframes evFloatMobileCard {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes evFloatMobilePass {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@media (max-width: 600px) {
  .event-countdown__grid {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .event-hero__title {
    font-size: 26px;
  }

  .event-seat {
    width: 36px;
    height: 32px;
    font-size: 11px;
  }
}

/* ========= Главная: cinematic banner ========= */
.event-cinematic-banner {
  position: relative;
  margin: 24px clamp(12px, 3vw, 20px) 8px;
  border-radius: clamp(20px, 4vw, 32px);
  overflow: hidden;
  isolation: isolate;
  min-height: min(420px, 78vh);
}

.event-cinematic-banner__bg {
  position: absolute;
  inset: 0;
  background: #030508;
}

.event-cinematic-banner__bg .event-hero__bg-mesh,
.event-cinematic-banner__bg .event-hero__bg-orbs,
.event-cinematic-banner__bg .event-hero__bg-grid {
  position: absolute;
  inset: 0;
}

.event-cinematic-banner__inner {
  position: relative;
  z-index: 2;
  padding: clamp(36px, 7vw, 72px) clamp(20px, 5vw, 48px);
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
}

.event-cinematic-banner__title {
  margin: 0 0 12px;
  font-size: clamp(22px, 3.8vw, 40px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 0 0 36px rgba(34, 197, 94, 0.35);
}

.event-cinematic-banner__tags {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ev-neon);
}

.event-cinematic-banner__meta {
  margin-bottom: 18px;
  font-size: 14px;
  color: var(--ev-text-dim);
}

.event-cinematic-banner__meta strong {
  color: #e2e8f0;
}

.event-cinematic-banner__urgency {
  margin: -8px 0 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(250, 204, 21, 0.95);
  text-shadow: 0 0 24px rgba(250, 204, 21, 0.35);
}

.event-cinematic-banner .event-countdown__grid {
  max-width: 100%;
}

.event-cinematic-banner__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.event-cinematic-banner__visual-mini {
  position: relative;
  height: 260px;
}

.event-cinematic-banner__visual-mini .event-float-pass {
  position: relative;
  left: auto;
  bottom: auto;
  width: 100%;
  animation: evFloatPass 9s ease-in-out infinite;
}

@media (max-width: 900px) {
  .event-cinematic-banner__inner {
    grid-template-columns: 1fr;
  }

  .event-cinematic-banner__visual-mini {
    height: auto;
  }
}

/* ========= Главная: баннер мероприятия первым экраном ========= */
.event-cinematic-banner--lead {
  margin-top: 12px;
  box-shadow:
    0 0 0 1px rgba(34, 197, 94, 0.18),
    0 32px 80px rgba(0, 0, 0, 0.55),
    0 0 120px rgba(34, 197, 94, 0.08);
}

.event-cinematic-banner--barakat {
  box-shadow:
    0 0 0 1px rgba(251, 191, 36, 0.14),
    0 32px 80px rgba(0, 0, 0, 0.55),
    0 0 100px rgba(225, 29, 72, 0.06),
    0 0 120px rgba(34, 197, 94, 0.08);
}

.event-cinematic-banner__title-main {
  display: block;
  text-transform: uppercase;
}

.event-cinematic-banner__title-script {
  display: block;
  margin-top: 4px;
  font-size: clamp(26px, 4.2vw, 44px);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--ev-gold);
  text-shadow: 0 0 40px var(--ev-gold-glow);
}

.event-cinematic-banner__lead {
  margin: 0 0 16px;
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ev-text-dim);
}

.event-cinematic-banner__seeds {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(225, 29, 72, 0.18) 0, transparent 28%),
    radial-gradient(circle at 88% 78%, rgba(225, 29, 72, 0.14) 0, transparent 32%);
  opacity: 0.85;
}

.event-orb--ruby {
  background: radial-gradient(circle, rgba(225, 29, 72, 0.35) 0%, transparent 70%) !important;
}

.event-chip--gold {
  border-color: rgba(251, 191, 36, 0.35);
  color: rgba(253, 230, 138, 0.95);
}

.event-home-wrap {
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(34, 197, 94, 0.06), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 20%, rgba(225, 29, 72, 0.04), transparent 50%),
    #050608;
}

.event-info-block--home,
.event-hosts--home,
.event-program-detail--home {
  padding-top: clamp(36px, 6vw, 56px);
  padding-bottom: clamp(36px, 6vw, 56px);
}

.event-host-card--featured {
  border-color: rgba(251, 191, 36, 0.32);
  box-shadow:
    0 0 40px rgba(251, 191, 36, 0.08),
    0 20px 50px rgba(0, 0, 0, 0.35);
}

.event-home-program-cta {
  margin: 28px 0 0;
  text-align: center;
}

/* ========= Sticky «Купить билет» ========= */
.event-sticky-cta {
  position: fixed;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: #022c22;
  background: linear-gradient(135deg, #4ade80, var(--ev-neon));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.15),
    0 18px 50px rgba(34, 197, 94, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    visibility 0.35s ease;
}

.event-sticky-cta--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.event-sticky-cta:hover {
  transform: translateY(-2px);
}

.event-sticky-cta--visible:hover {
  transform: translateY(-2px);
}

@media (min-width: 769px) {
  .event-sticky-cta {
    right: 24px;
    bottom: 24px;
  }
}

@media (max-width: 768px) {
  .event-sticky-cta {
    left: 16px;
    right: 16px;
    bottom: max(16px, env(safe-area-inset-bottom));
    width: auto;
  }

  body.event-page--sticky-cta {
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }
}

/* ========= Инфо-блоки: о мероприятии, ведущие, программа, таймлайн ========= */
.event-info-block,
.event-hosts,
.event-program-detail,
.event-timeline {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 80px) clamp(20px, 5vw, 32px);
}

.event-info-block__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.event-hosts__grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.event-host-card {
  padding: 22px;
  border-radius: 20px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(2, 6, 23, 0.88));
  border: 1px solid rgba(34, 197, 94, 0.22);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.event-host-card__avatar {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: #022c22;
  background: linear-gradient(135deg, #4ade80, var(--ev-neon));
  margin-bottom: 14px;
}

.event-host-card__avatar--gold {
  color: #422006;
  background: linear-gradient(135deg, #fde68a, var(--ev-gold));
}

.event-host-card__name {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 800;
  color: var(--ev-headline);
}

.event-host-card__role {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ev-neon);
  font-weight: 700;
}

.event-host-card__bio {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ev-text-dim);
}

.event-program-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.event-program-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  padding: 20px 22px;
  border-radius: 18px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.04), rgba(2, 6, 23, 0.9));
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.event-program-step__num {
  font-size: 28px;
  font-weight: 900;
  color: rgba(34, 197, 94, 0.45);
  line-height: 1;
}

.event-program-step h3 {
  margin: 0 0 6px;
  font-size: 17px;
  color: var(--ev-headline);
}

.event-program-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ev-text-dim);
}

.event-timeline__list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 8px;
  position: relative;
}

.event-timeline__list::before {
  content: '';
  position: absolute;
  left: 88px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--ev-neon), rgba(34, 197, 94, 0.1));
}

.event-timeline__item {
  display: grid;
  grid-template-columns: 72px 20px 1fr;
  gap: 16px;
  align-items: start;
  padding: 0 0 28px;
}

.event-timeline__time {
  font-size: 15px;
  font-weight: 800;
  color: var(--ev-gold);
  text-align: right;
  padding-top: 2px;
}

.event-timeline__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-top: 4px;
  background: var(--ev-neon);
  box-shadow: 0 0 20px var(--ev-neon-soft);
  position: relative;
  z-index: 1;
}

.event-timeline__body h3 {
  margin: 0 0 6px;
  font-size: 17px;
  color: var(--ev-headline);
}

.event-timeline__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ev-text-dim);
}

/* ========= Легенда зала и список мест ========= */
.event-hall-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin: 0 auto 20px;
  max-width: 1120px;
  padding: 0 clamp(12px, 3vw, 20px);
}

.event-hall-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ev-text-dim);
  font-weight: 600;
}

.event-hall-legend__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(15, 23, 42, 0.75);
  color: var(--ev-text-dim);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    color 0.2s,
    background 0.2s;
}

.event-hall-legend__btn:hover {
  border-color: var(--ev-neon-soft);
  color: #e2e8f0;
}

.event-hall-legend__btn--active {
  border-color: var(--ev-neon);
  color: var(--ev-neon);
  background: rgba(34, 197, 94, 0.12);
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.2);
}

.event-hall-legend__swatch {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  flex-shrink: 0;
}

.event-hall-legend__swatch--free {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(148, 163, 184, 0.4);
}

.event-hall-legend__swatch--selected {
  background: radial-gradient(ellipse at 50% 20%, rgba(34, 197, 94, 0.55), rgba(6, 78, 59, 0.95));
  border-color: var(--ev-neon);
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.4);
}

.event-hall-legend__swatch--taken {
  opacity: 0.35;
  background: #1e293b;
  border-style: dashed;
}

.event-hall-legend__swatch--vip {
  border-color: rgba(251, 191, 36, 0.55);
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.25);
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.55), rgba(120, 53, 15, 0.65));
}

.event-hall-legend__swatch--economy {
  background: #64748b;
}

.event-hall-legend__swatch--standard {
  background: #06b6d4;
}

.event-hall-legend__swatch--premium {
  background: #a855f7;
}

.event-hall-legend__price {
  margin-left: 2px;
  color: var(--ev-gold);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.event-seats-live--urgency .event-seats-live__count {
  display: none !important;
}

.event-seats-live--urgency .event-seats-live__label {
  font-size: clamp(20px, 3.2vw, 30px);
  font-weight: 800;
  color: var(--ev-gold);
  letter-spacing: 0.02em;
}

.event-seats-live--urgency .event-seats-live__main {
  justify-content: center;
}

.event-seats-live--urgency .event-seats-live__breakdown {
  display: none !important;
}

.event-seat-picker {
  margin: 20px 0;
  padding-top: 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.event-seat-picker__title {
  margin: 0 0 6px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ev-neon);
  font-weight: 800;
}

.event-seat-picker__hint {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.45;
  color: var(--ev-text-dim);
}

.event-seat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 220px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  scrollbar-width: thin;
}

.event-seat-list__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(2, 6, 23, 0.65);
  color: #e2e8f0;
  font-size: 13px;
  cursor: pointer;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}

.event-seat-list__btn:hover {
  border-color: var(--ev-neon-soft);
}

.event-seat-list__btn--selected {
  border-color: var(--ev-neon);
  background: rgba(34, 197, 94, 0.12);
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.2);
}

.event-seat-list__btn--vip .event-seat-list__price {
  color: var(--ev-gold);
}

.event-seat-list__price {
  font-weight: 800;
  color: var(--ev-neon);
  white-space: nowrap;
}

.event-seat-list__empty {
  padding: 12px;
  font-size: 13px;
  color: var(--ev-text-dim);
  text-align: center;
}

.event-pass-card__count {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ev-neon);
  font-weight: 700;
}

.event-pass-card__seats {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #cbd5e1;
  max-height: 120px;
  overflow-y: auto;
}

.event-pass-card__seats li + li {
  margin-top: 4px;
}

@media (max-width: 768px) {
  .event-timeline__list::before {
    left: 76px;
  }

  .event-timeline__item {
    grid-template-columns: 60px 16px 1fr;
    gap: 12px;
  }
}

/* Тестовое окно «оплаты» (DEMO_AUTO_CONFIRM) */
.event-demo-pay {
  margin: auto;
  padding: 0;
  border: none;
  background: transparent;
  max-width: min(420px, 92vw);
}

.event-demo-pay::backdrop {
  background: rgba(2, 6, 23, 0.82);
  backdrop-filter: blur(6px);
}

.event-demo-pay__card {
  padding: 28px 24px;
  border-radius: 20px;
  border: 1px solid rgba(34, 197, 94, 0.35);
  background: linear-gradient(165deg, rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.98));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.event-demo-pay__badge {
  margin: 0 0 10px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ev-gold);
  font-weight: 700;
}

.event-demo-pay__title {
  margin: 0 0 8px;
  font-size: 22px;
}

.event-demo-pay__sum {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 800;
  color: var(--ev-neon);
}

.event-demo-pay__note {
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ev-text-dim);
}

.event-demo-pay__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.event-demo-pay__actions .event-btn-submit {
  flex: 1;
  min-width: 140px;
}

.event-btn-ghost {
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: transparent;
  color: #e2e8f0;
  font-weight: 600;
  cursor: pointer;
}

.event-btn-ghost:hover {
  border-color: var(--ev-neon-soft);
}

/* ========= Баракат: страница билетов (PDF + cinematic) ========= */
.event-page--barakat {
  background: #030508;
}

.event-page--barakat .event-hero {
  min-height: min(92vh, 920px);
}

.event-orb--gold {
  background: radial-gradient(circle, rgba(251, 191, 36, 0.28) 0%, transparent 70%) !important;
}

.event-chip--magenta {
  border-color: rgba(219, 39, 119, 0.4);
  color: #fbcfe8;
  box-shadow: 0 0 24px rgba(219, 39, 119, 0.15);
}

.barakat-hero__seeds {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.barakat-seed {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 40% 60% 50% 50%;
  background: radial-gradient(circle at 30% 30%, #fb7185, var(--ev-ruby) 55%, #881337);
  box-shadow: 0 0 18px var(--ev-ruby-soft);
  animation: barakatSeedFloat 8s ease-in-out infinite;
}

.barakat-seed--1 { left: 8%; top: 14%; animation-delay: 0s; }
.barakat-seed--2 { right: 12%; top: 22%; width: 10px; height: 10px; animation-delay: 1.2s; }
.barakat-seed--3 { left: 18%; bottom: 18%; animation-delay: 2.4s; }
.barakat-seed--4 { right: 22%; bottom: 12%; width: 18px; height: 18px; animation-delay: 0.8s; }
.barakat-seed--5 { left: 42%; top: 8%; width: 8px; height: 8px; animation-delay: 3s; }

@keyframes barakatSeedFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.75; }
  50% { transform: translateY(-14px) rotate(18deg); opacity: 1; }
}

.barakat-hero__brand {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  color: var(--ev-text-dim);
  font-style: italic;
}

.barakat-hero__title {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-transform: none !important;
  text-shadow: none !important;
}

.barakat-hero__title-main {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--ev-ruby);
  text-shadow: 0 0 48px var(--ev-ruby-soft);
}

.barakat-hero__title-script {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  color: var(--ev-gold);
  text-shadow: 0 0 40px var(--ev-gold-glow);
}

.barakat-hero__title-script--forum {
  display: block;
  font-size: clamp(18px, 2.8vw, 28px);
  font-style: italic;
  margin-bottom: 4px;
}

.barakat-manager-cta {
  margin-top: 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
}

.barakat-manager-cta__link {
  color: var(--ev-neon);
  font-weight: 700;
  text-decoration: none;
}

.barakat-manager-cta__link:hover {
  text-decoration: underline;
}

.barakat-speaker-program {
  display: grid;
  gap: 20px;
  max-width: 920px;
  margin: 0 auto;
}

.barakat-speaker-program__card {
  padding: 28px 26px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 14, 12, 0.72);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.barakat-speaker-program__card--highlight {
  border-color: rgba(212, 168, 83, 0.45);
  background: linear-gradient(145deg, rgba(28, 12, 18, 0.9), rgba(10, 18, 14, 0.88));
}

.barakat-speaker-program__speaker {
  margin: 0 0 6px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ev-neon);
}

.barakat-speaker-program__role {
  margin: 0 0 14px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.68);
}

.barakat-speaker-program__topic {
  margin: 0 0 14px;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.25;
  color: #fff;
}

.barakat-speaker-program__body p,
.barakat-speaker-program__body li {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
}

.barakat-speaker-program__body ul {
  margin: 0 0 12px;
  padding-left: 20px;
}

.barakat-reasons-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .barakat-reasons-grid--three {
    grid-template-columns: 1fr;
  }
}

.barakat-hero__tags {
  color: var(--ev-magenta) !important;
}

.event-btn-primary--barakat {
  background: linear-gradient(135deg, #fb7185, var(--ev-ruby) 45%, var(--ev-neon));
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.12),
    0 18px 50px rgba(225, 29, 72, 0.35),
    0 0 40px rgba(34, 197, 94, 0.15);
}

.barakat-float-card {
  border-color: rgba(219, 39, 119, 0.28) !important;
}

.barakat-float-card .event-float-card__tag {
  color: var(--ev-magenta) !important;
}

.event-deco-ticket--barakat {
  border-color: rgba(251, 191, 36, 0.28) !important;
}

.barakat-section {
  position: relative;
}

.barakat-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 30% at 10% 20%, rgba(225, 29, 72, 0.06), transparent 55%),
    radial-gradient(ellipse 40% 25% at 90% 80%, rgba(34, 197, 94, 0.05), transparent 50%);
}

.barakat-section__title {
  background: linear-gradient(90deg, #fff 0%, #fbcfe8 40%, var(--ev-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.barakat-about-grid .barakat-about-card {
  position: relative;
  padding-top: 28px;
}

.barakat-about-card__badge {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--ev-magenta), var(--ev-ruby));
  box-shadow: 0 0 24px var(--ev-ruby-soft);
}

.barakat-about-card h3 {
  color: var(--ev-gold);
}

/* Карусель спикеров */
.barakat-hosts {
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 80px) clamp(20px, 5vw, 32px);
}

.barakat-hosts__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 32px;
}

.barakat-carousel {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}

.barakat-carousel__viewport {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(251, 191, 36, 0.22);
  background: linear-gradient(
      165deg,
      rgba(225, 29, 72, 0.1),
      rgba(34, 197, 94, 0.06) 40%,
      rgba(2, 6, 23, 0.94)
    ),
    rgba(6, 10, 18, 0.92);
  box-shadow:
    0 0 60px rgba(225, 29, 72, 0.12),
    0 28px 70px rgba(0, 0, 0, 0.45);
  min-height: 460px;
  perspective: 1200px;
}

.barakat-carousel__track {
  position: relative;
  min-height: 460px;
}

/* Надёжный режим: один слайд, без position:absolute (не ломается на Beget/кэше) */
.barakat-host-slide {
  display: none;
  padding: 32px 28px 24px;
  text-align: center;
  position: relative;
}

.barakat-host-slide[hidden] {
  display: none !important;
}

.barakat-host-slide.is-active {
  display: block;
  animation: barakatCarouselIn 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.barakat-host-slide.is-entering {
  animation: barakatCarouselIn 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.barakat-host-slide.is-leaving {
  animation: barakatCarouselOut 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes barakatCarouselIn {
  from {
    opacity: 0;
    transform: translate3d(28px, 0, 0) scale(0.97);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
  }
}

@keyframes barakatCarouselOut {
  from {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    opacity: 0;
    transform: translate3d(-24px, 0, 0) scale(0.96);
  }
}

.barakat-host-slide__glow {
  position: absolute;
  inset: 12% 20%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(219, 39, 119, 0.18), transparent 70%);
  filter: blur(20px);
}

.barakat-host-slide__avatar-wrap {
  position: relative;
  z-index: 2;
  width: 168px;
  height: 168px;
  margin: 0 auto 18px;
}

.barakat-host-slide__avatar {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: clamp(42px, 8vw, 56px);
  letter-spacing: 0.02em;
  color: #022c22;
  background: linear-gradient(135deg, #4ade80, var(--ev-neon));
  box-shadow:
    0 0 40px rgba(34, 197, 94, 0.35),
    0 18px 40px rgba(0, 0, 0, 0.45);
  transform: scale(1);
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.barakat-host-slide.is-active .barakat-host-slide__avatar {
  animation: barakatAvatarPop 2.8s ease-out forwards;
}

@keyframes barakatAvatarPop {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.barakat-host-slide__avatar-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid transparent;
  background:
    linear-gradient(#060a12, #060a12) padding-box,
    linear-gradient(135deg, var(--ev-magenta), var(--ev-gold), var(--ev-neon)) border-box;
  animation: barakatRingSpin 5s linear infinite;
  opacity: 0.85;
  pointer-events: none;
}

.barakat-host-slide__avatar--gold {
  color: #422006;
  background: linear-gradient(135deg, #fde68a, var(--ev-gold));
  box-shadow: 0 0 32px var(--ev-gold-glow);
}

.barakat-host-slide__avatar--ruby {
  color: #fff;
  background: linear-gradient(135deg, #fb7185, var(--ev-ruby));
  box-shadow: 0 0 32px var(--ev-ruby-soft);
}

.barakat-host-slide__name {
  position: relative;
  z-index: 1;
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  color: var(--ev-headline);
}

.barakat-host-slide__role {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ev-neon);
}

.barakat-host-slide__topic {
  position: relative;
  z-index: 1;
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ev-magenta);
}

.barakat-host-slide__bio {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ev-text-dim);
  max-width: 46ch;
  margin-inline: auto;
}

.barakat-carousel__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 20px;
}

.barakat-carousel__btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(2, 6, 23, 0.8);
  color: #e2e8f0;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.barakat-carousel__btn:hover {
  border-color: var(--ev-gold);
  color: var(--ev-gold);
  transform: scale(1.05);
}

.barakat-carousel__dots {
  display: flex;
  gap: 8px;
}

.barakat-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  background: rgba(148, 163, 184, 0.35);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.barakat-carousel__dot.is-active {
  background: linear-gradient(135deg, var(--ev-magenta), var(--ev-ruby));
  box-shadow: 0 0 16px var(--ev-ruby-soft);
  transform: scale(1.2);
}

.barakat-program-step {
  border-color: rgba(219, 39, 119, 0.14);
}

.barakat-program-step .event-program-step__num {
  color: rgba(219, 39, 119, 0.55);
}

.barakat-program-step h3 {
  color: #fce7f3;
}

.barakat-timeline .event-timeline__list::before {
  background: linear-gradient(180deg, var(--ev-ruby), var(--ev-neon), rgba(34, 197, 94, 0.1));
}

.barakat-timeline .event-timeline__dot {
  background: var(--ev-ruby);
  box-shadow: 0 0 20px var(--ev-ruby-soft);
}

.barakat-reason-card {
  border-color: rgba(251, 191, 36, 0.16) !important;
}

.barakat-reason-card__icon {
  color: var(--ev-magenta) !important;
}

.barakat-reason-card h3 {
  color: var(--ev-gold);
}

@media (max-width: 768px) {
  .barakat-carousel__viewport,
  .barakat-carousel__track {
    min-height: 480px;
  }

  .barakat-host-slide {
    padding: 24px 18px 20px;
  }

  .barakat-host-slide__avatar-wrap {
    width: 140px;
    height: 140px;
  }

  .barakat-host-slide__avatar {
    font-size: 40px;
  }
}

/* ========= WOW: reveal, parallax, tilt, sparkles ========= */
[data-wow] {
  opacity: 0;
  transform: translate3d(0, 36px, 0) scale(0.96);
  filter: blur(8px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-wow].is-wow-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

[data-parallax-zone] {
  --px: 0px;
  --py: 0px;
}

.barakat-parallax-layer {
  transform: translate3d(var(--px), var(--py), 0);
  transition: transform 0.12s linear;
}

.barakat-title-glow .barakat-hero__title-main {
  animation: barakatTitlePulse 4s ease-in-out infinite;
}

@keyframes barakatTitlePulse {
  0%, 100% {
    text-shadow: 0 0 32px var(--ev-ruby-soft), 0 0 8px rgba(225, 29, 72, 0.4);
  }
  50% {
    text-shadow: 0 0 64px rgba(225, 29, 72, 0.55), 0 0 24px rgba(219, 39, 119, 0.35);
  }
}

.barakat-pass-float .event-float-pass {
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.18s ease-out;
}

[data-tilt] {
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 0.2s ease-out;
  will-change: transform;
}

.event-countdown__value.is-pulse {
  animation: barakatCountPulse 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes barakatCountPulse {
  0% { transform: scale(1); color: inherit; }
  35% { transform: scale(1.14); color: var(--ev-gold); text-shadow: 0 0 24px var(--ev-gold-glow); }
  100% { transform: scale(1); color: inherit; }
}

.barakat-sparkle-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.barakat-sparkle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 40% 60% 50% 50%;
  background: radial-gradient(circle at 30% 30%, #fda4af, var(--ev-ruby));
  box-shadow: 0 0 14px var(--ev-ruby-soft);
  opacity: 0;
  animation: barakatSparkleDrift 6s ease-in-out infinite;
}

@keyframes barakatSparkleDrift {
  0%, 100% { opacity: 0; transform: translate3d(0, 0, 0) scale(0.6); }
  20% { opacity: 0.9; }
  50% { opacity: 0.35; transform: translate3d(0, -28px, 0) scale(1); }
  80% { opacity: 0.75; }
}

@keyframes barakatRingSpin {
  to { transform: rotate(360deg); }
}

.barakat-program-step {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.barakat-program-step:hover {
  transform: translateY(-4px);
  border-color: rgba(219, 39, 119, 0.35);
  box-shadow: 0 16px 40px rgba(225, 29, 72, 0.12);
}

.barakat-about-card:hover {
  box-shadow: 0 20px 50px rgba(225, 29, 72, 0.14), 0 0 40px rgba(34, 197, 94, 0.08);
}

@media (prefers-reduced-motion: reduce) {
  .barakat-seed,
  .barakat-sparkle,
  .barakat-host-slide__avatar-ring,
  .barakat-title-glow .barakat-hero__title-main {
    animation: none !important;
  }

  [data-wow] {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .barakat-host-slide.is-active {
    animation: none;
  }

  .barakat-host-slide.is-active .barakat-host-slide__avatar {
    animation: none;
  }
}

/* ========= Бронирование: практичный UI + 5 категорий по цене ========= */
.event-hall-wrap--booking {
  padding-top: 24px;
  padding-bottom: 48px;
}

.booking-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 20px;
}

.booking-header__title {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
}

.booking-header__sub,
.booking-header__meta {
  margin: 0;
  color: var(--ev-text-dim);
  font-size: 14px;
  line-height: 1.5;
}

.booking-header__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.booking-header__phone {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(244, 63, 94, 0.45);
  background: rgba(244, 63, 94, 0.12);
  color: #fecdd3;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}

.booking-header__phone:hover {
  background: rgba(244, 63, 94, 0.22);
  color: #fff;
}

.booking-tiers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.booking-tier {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.65);
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.booking-tier--active {
  border-color: rgba(34, 197, 94, 0.65);
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.25);
  background: rgba(34, 197, 94, 0.1);
}

.booking-tier__swatch {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  flex-shrink: 0;
}

.booking-tier__price {
  color: var(--ev-text-dim);
  font-weight: 500;
}

.booking-tier__swatch--all {
  background: linear-gradient(135deg, #64748b, #22c55e, #a855f7, #f59e0b, #f43f5e);
}

.booking-tier__swatch--economy { background: #64748b; }
.booking-tier__swatch--standard { background: #06b6d4; }
.booking-tier__swatch--premium { background: #a855f7; }
.booking-tier__swatch--vip { background: #f59e0b; }
.booking-tier__swatch--vip-plus { background: #f43f5e; }

.event-hall-legend--compact {
  margin-bottom: 16px;
}

.event-hall-wrap__sub--compact {
  margin: 0 0 12px;
  font-size: 13px;
}

.event-split--booking {
  align-items: start;
  gap: 20px;
}

.event-pass-panel--booking {
  top: 88px;
}

.event-pass-panel--booking .event-pass-panel__glass {
  padding: 18px 16px;
}

.booking-order {
  margin-bottom: 16px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(2, 6, 23, 0.55);
}

.booking-order__empty {
  text-align: center;
  color: var(--ev-text-dim);
  font-size: 14px;
  line-height: 1.5;
  padding: 12px 0;
}

.booking-order__filled[hidden],
.booking-order__empty[hidden] {
  display: none !important;
}

.booking-order__title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.booking-order__seats {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.55;
  max-height: 140px;
  overflow: auto;
}

.booking-order__total {
  font-size: 24px;
  font-weight: 800;
  color: var(--ev-gold);
}

.booking-order__tier {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--ev-text-dim);
}

.booking-seat-list-details {
  margin-bottom: 16px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(2, 6, 23, 0.35);
}

.booking-seat-list-details summary {
  padding: 12px 14px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: #cbd5e1;
}

.event-seat-list--compact {
  max-height: 220px;
  overflow: auto;
  padding: 0 10px 10px;
}

.event-form--booking .event-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.barakat-hero--below-booking {
  margin-top: 8px;
}

/* Цвета мест по категории (уникальные) */
.event-seat--tier-economy,
.event-seat-list__btn--tier-economy {
  --tier-color: #64748b;
}

.event-seat--tier-standard,
.event-seat-list__btn--tier-standard {
  --tier-color: #06b6d4;
}

.event-seat--tier-premium,
.event-seat-list__btn--tier-premium {
  --tier-color: #a855f7;
}

.event-seat--tier-vip,
.event-seat-list__btn--tier-vip {
  --tier-color: #f59e0b;
}

.event-seat--tier-vip-plus,
.event-seat-list__btn--tier-vip-plus {
  --tier-color: #f43f5e;
}

.event-seat.event-seat--tier-economy,
.hall-seat.event-seat--tier-economy {
  border-color: rgba(100, 116, 139, 0.75) !important;
  background: linear-gradient(145deg, rgba(100, 116, 139, 0.35), rgba(30, 41, 59, 0.85)) !important;
  color: #e2e8f0 !important;
}

.event-seat.event-seat--tier-standard,
.hall-seat.event-seat--tier-standard {
  border-color: rgba(6, 182, 212, 0.75) !important;
  background: linear-gradient(145deg, rgba(6, 182, 212, 0.28), rgba(15, 23, 42, 0.9)) !important;
  color: #ecfeff !important;
}

.event-seat.event-seat--tier-premium,
.hall-seat.event-seat--tier-premium {
  border-color: rgba(168, 85, 247, 0.75) !important;
  background: linear-gradient(145deg, rgba(168, 85, 247, 0.3), rgba(49, 46, 129, 0.35)) !important;
  color: #f5f3ff !important;
}

.event-seat.event-seat--tier-vip,
.hall-seat.event-seat--tier-vip {
  border-color: rgba(245, 158, 11, 0.8) !important;
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.32), rgba(120, 53, 15, 0.35)) !important;
  color: #fffbeb !important;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.2);
}

.event-seat.event-seat--tier-vip-plus,
.hall-seat.event-seat--tier-vip-plus {
  border-color: rgba(244, 63, 94, 0.85) !important;
  background: linear-gradient(145deg, rgba(244, 63, 94, 0.32), rgba(136, 19, 55, 0.38)) !important;
  color: #fff1f2 !important;
  box-shadow: 0 0 14px rgba(244, 63, 94, 0.22);
}

.hall-seat.event-seat--taken {
  opacity: 0.35 !important;
  filter: grayscale(0.85) !important;
}

.event-seat-list__btn--tier-economy .event-seat-list__price { color: #94a3b8; }
.event-seat-list__btn--tier-standard .event-seat-list__price { color: #22d3ee; }
.event-seat-list__btn--tier-premium .event-seat-list__price { color: #c084fc; }
.event-seat-list__btn--tier-vip .event-seat-list__price { color: #fbbf24; }
.event-seat-list__btn--tier-vip-plus .event-seat-list__price { color: #fb7185; }

.hall-row__zone--tier-economy { color: #94a3b8; border-color: rgba(100, 116, 139, 0.45); }
.hall-row__zone--tier-standard { color: #22d3ee; border-color: rgba(6, 182, 212, 0.45); }
.hall-row__zone--tier-premium { color: #c084fc; border-color: rgba(168, 85, 247, 0.45); }
.hall-row__zone--tier-vip { color: #fbbf24; border-color: rgba(245, 158, 11, 0.45); }
.hall-row__zone--tier-vip-plus { color: #fb7185; border-color: rgba(244, 63, 94, 0.45); }

@media (max-width: 900px) {
  .event-form--booking .event-form__row {
    grid-template-columns: 1fr;
  }

  .booking-header__aside {
    align-items: flex-start;
  }
}
