/* ==========================================================================
   ФЕСТИВАЛЬ СТЕНДАП-КОМЕДИИ «НАРОДНЫЙ СТЕНДАП» — STANDUPFEST.ART
   Театральный стиль: Бархатный кулисный бордовый + Золотые лампы Бродвея
   ========================================================================== */

:root {
  --bg-deep: #110305;
  --bg-velvet: #1d0509;
  --bg-card: rgba(36, 7, 12, 0.86);
  --bg-card-elevated: rgba(52, 10, 17, 0.92);
  --bg-stage-wood: #23110b;

  --velvet-red: #dc2626;
  --velvet-crimson: #b91c1c;
  --velvet-dark: #7f1d1d;
  --velvet-glow: rgba(220, 38, 38, 0.42);

  --gold-bright: #fde68a;
  --gold-main: #fbbf24;
  --gold-amber: #f59e0b;
  --gold-deep: #d97706;
  --gold-glow: rgba(251, 191, 36, 0.45);

  --text-main: #fffbeb;
  --text-Soft: #fde8d7;
  --text-muted: #d6b4a6;
  --border-gold: rgba(251, 191, 36, 0.28);
  --border-gold-strong: rgba(251, 191, 36, 0.65);
  --border-crimson: rgba(220, 38, 38, 0.38);

  --success: #22c55e;
  --danger: #ef4444;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-card: 0 18px 45px rgba(0, 0, 0, 0.65), 0 0 25px rgba(185, 28, 28, 0.16);
  --shadow-gold: 0 0 28px rgba(251, 191, 36, 0.38), 0 8px 24px rgba(0, 0, 0, 0.6);
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(185, 28, 28, 0.42) 0%, transparent 70%),
    radial-gradient(circle at 15% 25%, rgba(251, 191, 36, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(220, 38, 38, 0.22) 0%, transparent 50%),
    repeating-linear-gradient(
      90deg,
      rgba(90, 8, 16, 0.18) 0px,
      rgba(40, 3, 7, 0.25) 45px,
      rgba(115, 12, 22, 0.16) 90px
    );
  color: var(--text-main);
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

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

a {
  color: var(--gold-main);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--gold-bright);
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* Фоновый Canvas софитов и золотой пыли сцены */
#stage-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   ШАПКА САЙТА (HEADER)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(17, 3, 5, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-gold);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.65);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 78px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-gold);
  padding: 3px;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #fffbeb 0%, #fbbf24 55%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 18px rgba(251, 191, 36, 0.35);
  line-height: 1.15;
}

.brand-subtitle {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--text-Soft);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--gold-bright);
  background: rgba(251, 191, 36, 0.12);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.age-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  border-radius: 8px;
  background: rgba(220, 38, 38, 0.25);
  border: 1px solid rgba(251, 191, 36, 0.5);
  color: var(--gold-bright);
  font-weight: 800;
  font-size: 0.78rem;
}

.burger-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--gold-bright);
  font-size: 1.25rem;
  cursor: pointer;
}

/* ==========================================================================
   КНОПКИ (BUTTONS)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 14px;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  line-height: 1.25;
  text-align: center;
}

.btn:active {
  transform: translateY(1px);
}

.btn-gold {
  background: linear-gradient(135deg, #fde68a 0%, #fbbf24 45%, #d97706 100%);
  color: #1a0507;
  box-shadow: 0 0 25px rgba(251, 191, 36, 0.45), 0 8px 20px rgba(0, 0, 0, 0.5);
  border: 1px solid #fef08a;
}

.btn-gold:hover {
  color: #110204;
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(251, 191, 36, 0.75), 0 12px 26px rgba(0, 0, 0, 0.65);
}

.btn-velvet {
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 60%, #7f1d1d 100%);
  color: #fffbeb;
  border: 1px solid rgba(251, 191, 36, 0.55);
  box-shadow: 0 0 22px rgba(220, 38, 38, 0.45), 0 8px 20px rgba(0, 0, 0, 0.5);
}

.btn-velvet:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 0 32px rgba(239, 68, 68, 0.7), 0 10px 24px rgba(0, 0, 0, 0.6);
}

.btn-outline-gold {
  background: rgba(251, 191, 36, 0.1);
  color: var(--gold-bright);
  border: 1px solid var(--border-gold-strong);
}

.btn-outline-gold:hover {
  background: rgba(251, 191, 36, 0.22);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.86rem;
  border-radius: 11px;
}

/* ==========================================================================
   HERO-СЕКЦИЯ (БРОДВЕЙСКАЯ СЦЕНА И КУЛИСЫ)
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 46px 0 72px;
  overflow: hidden;
  border-bottom: 2px solid var(--border-gold);
}

/* Имитация верхних софитов сцены */
.hero-spotlights {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 420px;
  background:
    radial-gradient(circle at 25% 20%, rgba(254, 240, 138, 0.28) 0%, transparent 55%),
    radial-gradient(circle at 75% 20%, rgba(254, 240, 138, 0.28) 0%, transparent 55%);
  pointer-events: none;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 42px;
  align-items: center;
}

.hero-eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.14);
  border: 1px solid var(--border-gold-strong);
  color: var(--gold-bright);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.eyebrow-badge.badge-crimson {
  background: rgba(220, 38, 38, 0.28);
  border-color: rgba(251, 191, 36, 0.5);
  color: #ffffff;
}

.marquee-title-box {
  position: relative;
  margin-bottom: 20px;
}

.hero-kicker {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #f87171;
  margin-bottom: 6px;
}

.hero-title {
  font-size: clamp(2.35rem, 4.8vw, 4.1rem);
  font-weight: 900;
  line-height: 1.04;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, #ffffff 0%, #fde68a 38%, #fbbf24 72%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 22px rgba(251, 191, 36, 0.42));
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-Soft);
  margin-bottom: 24px;
  max-width: 640px;
}

.hero-subtitle strong {
  color: var(--gold-bright);
}

/* 2x2 сетка ключевых фактов */
.hero-badges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.hero-fact-card {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 15px 16px;
  border-radius: var(--radius-md);
  background: rgba(38, 7, 12, 0.85);
  border: 1px solid var(--border-gold);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.hero-fact-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.25), rgba(185, 28, 28, 0.35));
  border: 1px solid var(--border-gold-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-bright);
  font-size: 1.15rem;
  flex-shrink: 0;
}

.hero-fact-label {
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 700;
}

.hero-fact-val {
  display: block;
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 2px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* Правая колонка Hero: Таймер + Переключатель афиш */
.hero-media-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.countdown-card {
  background: linear-gradient(145deg, rgba(50, 9, 15, 0.94), rgba(24, 4, 8, 0.94));
  border: 1px solid var(--border-gold-strong);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-gold);
  text-align: center;
}

.countdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-bright);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.countdown-live-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.35);
  border: 1px solid #f87171;
  color: #fecaca;
  font-size: 0.74rem;
}

.countdown-live-dot::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
  animation: pulseDot 1.4s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.55; }
}

.countdown-boxes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.cd-item {
  background: rgba(15, 2, 4, 0.78);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 10px 6px;
}

.cd-num {
  display: block;
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--gold-bright);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.cd-label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 3px;
  font-weight: 600;
}

/* Постер-карточка с переключателем двух афиш */
.poster-showcase-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 12px;
  background: linear-gradient(145deg, rgba(64, 11, 19, 0.9), rgba(22, 4, 7, 0.95));
  border: 2px solid var(--border-gold-strong);
  box-shadow: var(--shadow-card), 0 0 35px rgba(251, 191, 36, 0.25);
}

.poster-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.poster-tab-btn {
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid var(--border-gold);
  background: rgba(17, 3, 5, 0.75);
  color: var(--text-Soft);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.poster-tab-btn.active {
  background: linear-gradient(135deg, #fbbf24, #d97706);
  color: #1a0507;
  border-color: #fef08a;
  font-weight: 800;
}

.poster-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 724 / 1024;
  background: #140306;
}

.poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.35s ease;
}

.poster-img.is-hidden {
  display: none;
}

.poster-floating-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  padding: 12px 15px;
  border-radius: 14px;
  background: rgba(17, 3, 5, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-gold-strong);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.poster-badge-text {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-main);
}

.poster-badge-price {
  padding: 6px 12px;
  border-radius: 9px;
  background: linear-gradient(135deg, #fde68a, #f59e0b);
  color: #1a0507;
  font-weight: 900;
  font-size: 0.88rem;
  white-space: nowrap;
}

/* ==========================================================================
   ОБЩИЕ СТИЛИ СЕКЦИЙ
   ========================================================================== */
.section {
  padding: 76px 0;
  position: relative;
  border-bottom: 1px solid rgba(251, 191, 36, 0.16);
}

.section-alt {
  background: linear-gradient(180deg, rgba(34, 6, 11, 0.65) 0%, rgba(17, 3, 5, 0.85) 100%);
}

.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 48px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.13);
  border: 1px solid var(--border-gold-strong);
  color: var(--gold-bright);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.85rem, 3.4vw, 2.75rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #fde68a 60%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  color: var(--text-Soft);
  font-size: 1.05rem;
}

/* ==========================================================================
   БЛОК ПРЕИМУЩЕСТВ (ЧТО ПОЛУЧАЕТ КАЖДЫЙ УЧАСТНИК)
   ========================================================================== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--velvet-red), var(--gold-main), var(--velvet-red));
}

.benefit-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-gold-strong);
}

.benefit-icon {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.22), rgba(185, 28, 28, 0.38));
  border: 1px solid var(--border-gold-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-bright);
  font-size: 1.45rem;
  margin-bottom: 18px;
}

.benefit-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--gold-bright);
  margin-bottom: 10px;
}

.benefit-text {
  color: var(--text-Soft);
  font-size: 0.95rem;
}

/* Баннер сверхзадачи */
.supergoal-banner {
  margin-top: 34px;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(127, 29, 29, 0.55) 0%, rgba(45, 8, 14, 0.92) 100%);
  border: 2px solid var(--border-gold-strong);
  box-shadow: var(--shadow-gold);
  display: flex;
  align-items: center;
  gap: 24px;
}

.supergoal-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fde68a, #f59e0b);
  color: #1a0507;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  flex-shrink: 0;
}

.supergoal-content h3 {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--gold-bright);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.supergoal-content p {
  color: var(--text-main);
  font-size: 1.02rem;
}

/* ==========================================================================
   3 ЭТАПА ФЕСТИВАЛЯ И РАСПИСАНИЕ КАСТИНГОВ
   ========================================================================== */
.stages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 42px;
}

.stage-card {
  background: var(--bg-card-elevated);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.stage-card.stage-final {
  border: 2px solid var(--gold-main);
  background: linear-gradient(160deg, rgba(82, 14, 22, 0.95) 0%, rgba(32, 6, 10, 0.96) 100%);
  box-shadow: var(--shadow-gold);
}

.stage-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fbbf24, #d97706);
  color: #1a0507;
  font-weight: 900;
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-bottom: 16px;
  align-self: flex-start;
}

.stage-title {
  font-size: 1.32rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 10px;
}

.stage-subtitle {
  font-size: 0.92rem;
  color: var(--gold-bright);
  font-weight: 700;
  margin-bottom: 16px;
}

.stage-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.stage-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--text-Soft);
}

.stage-list li i {
  color: var(--gold-main);
  margin-top: 4px;
  flex-shrink: 0;
}

.stage-Quota-box {
  padding: 13px 16px;
  border-radius: 12px;
  background: rgba(17, 3, 5, 0.68);
  border: 1px solid var(--border-gold);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold-bright);
}

/* Таблица кастингов и открытых микрофонов (Десктоп) + Карточки (Мобайл) */
.schedule-box {
  background: var(--bg-card);
  border: 1px solid var(--border-gold-strong);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.schedule-box-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--gold-bright);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.schedule-desktop-table {
  width: 100%;
  border-collapse: collapse;
}

.schedule-desktop-table th,
.schedule-desktop-table td {
  padding: 15px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(251, 191, 36, 0.18);
  font-size: 0.94rem;
}

.schedule-desktop-table th {
  background: rgba(251, 191, 36, 0.12);
  color: var(--gold-bright);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

.schedule-desktop-table tr:hover td {
  background: rgba(251, 191, 36, 0.05);
}

.schedule-mobile-cards {
  display: none;
  flex-direction: column;
  gap: 14px;
}

.sched-m-card {
  background: rgba(17, 3, 5, 0.78);
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  padding: 16px;
}

.sched-m-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.sched-m-title {
  font-weight: 800;
  color: var(--gold-bright);
  font-size: 1rem;
}

.sched-m-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-top: 1px dashed rgba(251, 191, 36, 0.16);
  font-size: 0.88rem;
}

.sched-m-row span:first-child {
  color: var(--text-muted);
}

.sched-m-row span:last-child {
  font-weight: 700;
  color: var(--text-main);
  text-align: right;
}

/* ==========================================================================
   БЛОК ЗРИТЕЛЯМ И ЯНДЕКС БИЛЕТЫ (#tickets)
   ========================================================================== */
.tickets-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.ticket-card {
  background: var(--bg-card-elevated);
  border: 1px solid var(--border-gold-strong);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ticket-card.yandex-featured {
  background: linear-gradient(150deg, rgba(68, 12, 20, 0.95) 0%, rgba(25, 4, 8, 0.96) 100%);
  border: 2px solid var(--gold-main);
  box-shadow: var(--shadow-gold);
}

.ya-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fc3f1d;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  align-self: flex-start;
  margin-bottom: 16px;
}

.ticket-card h3 {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--gold-bright);
  margin-bottom: 12px;
}

.ticket-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 18px 0;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(17, 3, 5, 0.65);
  border: 1px solid var(--border-gold);
}

.ticket-price-val {
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--gold-bright);
}

.ticket-price-note {
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* ==========================================================================
   ОФИЦИАЛЬНОЕ ПОЛОЖЕНИЕ (#polozhenie)
   ========================================================================== */
.polo-document {
  background: linear-gradient(180deg, rgba(36, 7, 12, 0.95) 0%, rgba(20, 4, 7, 0.98) 100%);
  border: 2px solid var(--border-gold-strong);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  box-shadow: var(--shadow-card);
}

.polo-top-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-bottom: 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border-gold);
}

.polo-stamp {
  font-size: 0.85rem;
  color: var(--text-Soft);
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid var(--border-gold);
  padding: 12px 18px;
  border-radius: 12px;
}

.polo-stamp strong {
  color: var(--gold-bright);
  display: block;
  text-transform: uppercase;
}

.polo-blocks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.polo-block {
  background: rgba(15, 2, 4, 0.65);
  border: 1px solid rgba(251, 191, 36, 0.24);
  border-radius: var(--radius-md);
  padding: 22px;
}

.polo-block.full-width {
  grid-column: 1 / -1;
}

.polo-block h3 {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--gold-bright);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.polo-block p,
.polo-block li {
  font-size: 0.93rem;
  color: var(--text-Soft);
  margin-bottom: 8px;
}

.polo-block ul {
  padding-left: 18px;
}

/* ==========================================================================
   ФОРМА РЕГИСТРАЦИИ КОМИКА И ОПЛАТА ПО QR (#registration)
   ========================================================================== */
.reg-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px;
  align-items: start;
}

.reg-form-card,
.reg-info-card {
  background: var(--bg-card-elevated);
  border: 1px solid var(--border-gold-strong);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
}

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

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gold-bright);
  margin-bottom: 4px;
}

/* MANDATORY (validate-input-after-interaction): Подсказки располагаются НАД полем ввода */
.hint {
  display: block;
  color: var(--text-muted);
  font-size: 0.78rem;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(14, 2, 4, 0.85);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.96rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-main);
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.22);
}

.error-msg {
  display: none;
  color: #fca5a5;
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 6px;
}

/* MANDATORY (validate-input-after-interaction): Стили ошибок ТОЛЬКО после взаимодействия (:user-invalid + fallback) */
.form-control:user-invalid,
.form-control.user-invalid-fallback {
  border-color: var(--danger);
  background-color: rgba(127, 29, 29, 0.32);
}

.form-control:user-invalid + .error-msg,
.form-control.user-invalid-fallback + .error-msg {
  display: block;
}

.form-control:user-valid,
.form-control.user-valid-fallback {
  border-color: var(--success);
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  background: rgba(15, 2, 4, 0.6);
  border: 1px solid var(--border-gold);
  margin-bottom: 20px;
}

.checkbox-field input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--gold-main);
  flex-shrink: 0;
  cursor: pointer;
}

.checkbox-field label {
  font-size: 0.84rem;
  color: var(--text-Soft);
  cursor: pointer;
}

.checkbox-field label a {
  text-decoration: underline;
}

.hp-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* Правая карточка с алгоритмом оплаты 6 500 ₽ и QR */
.fee-highlight-box {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.18), rgba(185, 28, 28, 0.35));
  border: 2px solid var(--gold-main);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  margin-bottom: 22px;
}

.fee-amount {
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--gold-bright);
  line-height: 1.1;
}

.fee-sub {
  font-size: 0.86rem;
  color: var(--text-Soft);
  margin-top: 4px;
}

.step-alg-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}

.step-alg-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-Soft);
}

.step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold-main);
  color: #1a0507;
  font-weight: 900;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ==========================================================================
   ПЛОЩАДКА, МЕТРО И КАРТА (#venue)
   ========================================================================== */
.venue-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: stretch;
}

.venue-info-card {
  background: var(--bg-card-elevated);
  border: 1px solid var(--border-gold-strong);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.metro-pills-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 18px 0 22px;
}

.metro-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 13px;
  background: rgba(15, 2, 4, 0.78);
  border: 1px solid var(--border-gold);
}

.metro-station-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 0.96rem;
}

.metro-line-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
}

.line-yellow {
  background: #ffdd00;
  box-shadow: 0 0 8px #ffdd00;
}

.line-salad {
  background: #82c91e;
  box-shadow: 0 0 8px #82c91e;
}

.line-mcd {
  background: #f76707;
  box-shadow: 0 0 8px #f76707;
}

.metro-walk-badge {
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(251, 191, 36, 0.16);
  color: var(--gold-bright);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.venue-map-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border-gold-strong);
  box-shadow: var(--shadow-card);
  min-height: 440px;
  background: #1a0609;
  position: relative;
}

.venue-map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 440px;
  border: 0;
  display: block;
}

/* ==========================================================================
   FAQ АККОРДЕОН (#faq)
   ========================================================================== */
.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 22px;
  font-weight: 800;
  font-size: 1.03rem;
  color: var(--gold-bright);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid var(--border-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gold-bright);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: '−';
  background: var(--gold-main);
  color: #1a0507;
}

.faq-answer {
  padding: 0 22px 20px;
  color: var(--text-Soft);
  font-size: 0.95rem;
  border-top: 1px solid rgba(251, 191, 36, 0.14);
  padding-top: 14px;
}

/* ==========================================================================
   МОДАЛЬНОЕ ОКНО <dialog closedby="any"> (Modern Web Guidance)
   ========================================================================== */
dialog.standup-dialog {
  margin: auto;
  width: min(92vw, 560px);
  border-radius: var(--radius-lg);
  border: 2px solid var(--gold-main);
  background: linear-gradient(160deg, #2b070d 0%, #140205 100%);
  color: var(--text-main);
  padding: 30px 26px;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.85), 0 0 40px rgba(251, 191, 36, 0.35);
}

dialog.standup-dialog::backdrop {
  background-color: rgba(10, 2, 4, 0.82);
  backdrop-filter: blur(5px);
}

.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.dialog-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--gold-bright);
}

.dialog-close-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border-gold);
  background: rgba(251, 191, 36, 0.12);
  color: var(--gold-bright);
  font-size: 1.1rem;
  cursor: pointer;
}

.qr-box-visual {
  background: #ffffff;
  color: #111111;
  border-radius: 16px;
  padding: 18px;
  text-align: center;
  margin: 16px 0;
  border: 3px solid var(--gold-main);
}

/* ==========================================================================
   ФУТЕР, ПОЛОСА РАЗРАБОТЧИКА И COOKIE-БАННЕР
   ========================================================================== */
.site-footer {
  background: #0b0103;
  padding: 56px 0 32px;
  border-top: 2px solid var(--border-gold);
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1.1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-col h4 {
  color: var(--gold-bright);
  font-size: 1.02rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: var(--text-Soft);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--gold-bright);
}

.footer-legal-box {
  padding-top: 22px;
  border-top: 1px solid rgba(251, 191, 36, 0.16);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Полоса разработчика (block/developer_bar.php) */
.dev-promo-strip {
  background: linear-gradient(90deg, #160306 0%, #29070d 50%, #160306 100%);
  border-top: 1px solid var(--border-gold);
  padding: 14px 0;
  position: relative;
  z-index: 2;
}

.dev-promo-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.dev-promo-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.dev-promo-tag {
  padding: 5px 11px;
  border-radius: 8px;
  background: rgba(251, 191, 36, 0.16);
  border: 1px solid var(--border-gold);
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 700;
}

.dev-promo-title-wrap {
  display: flex;
  flex-direction: column;
}

.dev-promo-title {
  font-size: 0.92rem;
  color: #ffffff;
}

.dev-promo-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.dev-promo-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.dev-promo-author {
  display: flex;
  flex-direction: column;
  text-align: right;
}

.dev-promo-name {
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--gold-bright);
}

.dev-promo-note {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.dev-promo-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.dev-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 9px;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: #ffffff;
}

.dev-btn:hover {
  background: rgba(251, 191, 36, 0.22);
  color: var(--gold-bright);
}

/* Cookie-баннер (block/cookie_banner.php) */
.cookie-banner-wrap {
  position: fixed;
  bottom: 18px;
  left: 18px;
  right: 18px;
  max-width: 980px;
  margin: 0 auto;
  z-index: 9000;
  background: rgba(24, 4, 8, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-gold-strong);
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.8);
}

.cookie-banner-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cookie-banner-icon {
  font-size: 1.5rem;
  color: var(--gold-main);
}

.cookie-banner-text {
  font-size: 0.84rem;
  color: var(--text-Soft);
}

.btn-cookie-accept {
  padding: 10px 18px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #fde68a, #f59e0b);
  color: #1a0507;
  font-weight: 800;
  font-size: 0.84rem;
  cursor: pointer;
  white-space: nowrap;
}

/* ==========================================================================
   АДАПТИВНОСТЬ (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .burger-btn {
    display: inline-flex;
  }
  .hero-grid,
  .reg-layout,
  .venue-grid,
  .tickets-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .benefits-grid,
  .stages-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .hero-badges-grid,
  .benefits-grid,
  .stages-grid,
  .polo-blocks-grid,
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .schedule-desktop-table {
    display: none;
  }
  .schedule-mobile-cards {
    display: flex;
  }
  .supergoal-banner {
    flex-direction: column;
    text-align: center;
    padding: 22px 18px;
  }
  .polo-document {
    padding: 24px 18px;
  }
  .cookie-banner-container {
    flex-direction: column;
    text-align: center;
  }
  .header-actions .btn-sm {
    display: none;
  }
}
