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

:root {
  --bg-deep: #0a0a1a;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --gold: #ffd700;
  --gold-dim: #b8960c;
  --accent: #ff6b6b;
  --accent-2: #c084fc;
  --accent-3: #60a5fa;
  --text: #f0f0f5;
  --text-dim: #8888a0;
  --radius: 16px;
  --radius-sm: 10px;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg-deep);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ===== PARTICLES ===== */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-10vh) scale(1);
    opacity: 0;
  }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  z-index: 1;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.12) 0%, rgba(192, 132, 252, 0.06) 40%, transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulseGlow 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulseGlow {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
  50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__eyebrow {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  animation: fadeSlideUp 0.8s ease-out both;
}

.hero__title {
  display: flex;
  flex-direction: column;
  gap: 0.2em;
  margin-bottom: 2rem;
}

.hero__title-line {
  display: block;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  line-height: 1.05;
}

.hero__title-line--big {
  font-size: clamp(3rem, 10vw, 7rem);
  color: var(--text);
  animation: fadeSlideUp 0.8s ease-out 0.15s both;
}

.hero__title-line--accent {
  font-size: clamp(2.2rem, 7vw, 5rem);
  background: linear-gradient(135deg, var(--gold), var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeSlideUp 0.8s ease-out 0.3s both;
}

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

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  animation: fadeSlideUp 0.8s ease-out 0.45s both;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  transition: background 0.3s, border-color 0.3s;
}

.hero__badge:hover {
  background: var(--bg-card-hover);
  border-color: var(--gold);
}

.hero__badge-icon {
  font-size: 1.1rem;
}

.hero__cta {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  background: linear-gradient(135deg, var(--gold), #ffaa00);
  color: #1a1a2e;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 100px;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: fadeSlideUp 0.8s ease-out 0.6s both;
}

.hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.35);
}

/* Scroll hint */
.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  animation: fadeSlideUp 0.8s ease-out 0.9s both;
}

.hero__scroll-mouse {
  width: 26px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.hero__scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--gold);
  border-radius: 3px;
  animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes scrollWheel {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(12px); }
}

/* ===== SECTION TITLES ===== */
.section-title {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 2.5rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--accent));
  margin: 0.75rem auto 0;
  border-radius: 3px;
}

/* ===== COUNTDOWN ===== */
.countdown {
  position: relative;
  z-index: 1;
  padding: 5rem 1.5rem;
  text-align: center;
}

.countdown__grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.countdown__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 110px;
  padding: 1.5rem 0.5rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 215, 0, 0.1);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
  transition: transform 0.3s, border-color 0.3s;
}

.countdown__card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.countdown__number {
  font-size: 2.8rem;
  font-weight: 900;
  font-family: 'Playfair Display', serif;
  color: var(--gold);
  line-height: 1;
}

.countdown__label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-top: 0.5rem;
}

.countdown__separator {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gold-dim);
  padding-bottom: 1.2rem;
}

/* ===== INFO CARDS ===== */
.info {
  position: relative;
  z-index: 1;
  padding: 5rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.info__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.info__card {
  padding: 2rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  text-align: center;
  transition: transform 0.3s, background 0.3s, border-color 0.3s;
}

.info__card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: rgba(255, 215, 0, 0.2);
}

.info__card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.info__card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.info__card-text {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.65;
}

/* ===== LOCATION ===== */
.location {
  position: relative;
  z-index: 1;
  padding: 5rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.location__content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.location__map {
  display: flex;
  justify-content: center;
}

.location__map-visual {
  position: relative;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.08) 0%, transparent 70%);
  border: 2px solid rgba(255, 215, 0, 0.15);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.location__pin {
  font-size: 3rem;
  z-index: 2;
  animation: bounce 2s ease-in-out infinite;
}

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

.location__ripple {
  position: absolute;
  width: 100px;
  height: 100px;
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 50%;
  animation: ripple 2.5s ease-out infinite;
}

.location__ripple--2 {
  animation-delay: 1.2s;
}

@keyframes ripple {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(3); opacity: 0; }
}

.location__address-label {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  z-index: 2;
}

.location__details {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.location__detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  transition: border-color 0.3s;
}

.location__detail:hover {
  border-color: rgba(255, 215, 0, 0.2);
}

.location__detail-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.location__detail strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.location__detail p {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ===== CTA SECTION ===== */
.cta-section {
  position: relative;
  z-index: 1;
  padding: 5rem 1.5rem;
}

.cta-section__inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 3.5rem 2rem;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.08), rgba(192, 132, 252, 0.08));
  border: 1px solid rgba(255, 215, 0, 0.12);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
}

.cta-section__inner::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--gold), var(--accent), var(--accent-2), var(--accent-3));
  z-index: -1;
  opacity: 0.15;
}

.cta-section__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.cta-section__subtitle {
  font-size: 1.15rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}

.cta-section__stars {
  font-size: 1.8rem;
  letter-spacing: 0.3em;
  animation: twinkle 2s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ===== FOOTER ===== */
.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-dim);
  font-size: 0.85rem;
}

.footer__small {
  font-size: 0.75rem;
  margin-top: 0.3rem;
  opacity: 0.6;
}

/* ===== RESPONSIVE — TABLET (≤ 768px) ===== */
@media (max-width: 768px) {
  .hero {
    padding: 2rem 1.2rem;
    min-height: 100svh;
  }

  .hero__glow {
    width: 400px;
    height: 400px;
  }

  .hero__eyebrow {
    font-size: 0.8rem;
  }

  .hero__meta {
    gap: 0.5rem;
  }

  .hero__badge {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .hero__cta {
    padding: 0.8rem 1.8rem;
    font-size: 0.9rem;
  }

  .section-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    margin-bottom: 2rem;
  }

  .countdown {
    padding: 3.5rem 1rem;
  }

  .countdown__card {
    width: 100px;
    padding: 1.2rem 0.4rem;
  }

  .countdown__number {
    font-size: 2.4rem;
  }

  .countdown__separator {
    font-size: 2rem;
  }

  .info {
    padding: 3.5rem 1.2rem;
  }

  .info__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .info__card {
    padding: 1.5rem 1rem;
  }

  .info__card-icon {
    font-size: 2rem;
  }

  .info__card-title {
    font-size: 1rem;
  }

  .info__card-text {
    font-size: 0.82rem;
  }

  .location {
    padding: 3.5rem 1.2rem;
  }

  .location__map-visual {
    width: 220px;
    height: 220px;
  }

  .cta-section {
    padding: 3.5rem 1.2rem;
  }

  .cta-section__inner {
    padding: 2.5rem 1.5rem;
  }

  .cta-section__title {
    font-size: clamp(1.6rem, 6vw, 2.5rem);
  }

  .footer {
    padding: 2rem 1rem;
  }
}

/* ===== RESPONSIVE — MOBILE (≤ 480px) ===== */
@media (max-width: 480px) {
  .hero {
    padding: 1.5rem 1rem;
    min-height: 100svh;
  }

  .hero__glow {
    width: 280px;
    height: 280px;
  }

  .hero__eyebrow {
    font-size: 0.7rem;
    margin-bottom: 1rem;
  }

  .hero__title-line--big {
    font-size: clamp(2.2rem, 14vw, 4rem);
  }

  .hero__title-line--accent {
    font-size: clamp(1.6rem, 10vw, 2.8rem);
  }

  .hero__meta {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.8rem;
  }

  .hero__badge {
    width: 100%;
    max-width: 260px;
    justify-content: center;
    font-size: 0.82rem;
    padding: 0.6rem 1rem;
  }

  .hero__cta {
    width: 100%;
    max-width: 260px;
    text-align: center;
    padding: 1rem 2rem;
    font-size: 0.95rem;
  }

  .section-title {
    font-size: clamp(1.3rem, 6vw, 1.8rem);
    margin-bottom: 1.5rem;
  }

  .countdown {
    padding: 3rem 0.8rem;
  }

  .countdown__grid {
    gap: 0.3rem;
  }

  .countdown__card {
    width: 72px;
    padding: 1rem 0.2rem;
  }

  .countdown__number {
    font-size: 1.8rem;
  }

  .countdown__label {
    font-size: 0.65rem;
  }

  .countdown__separator {
    font-size: 1.4rem;
    padding-bottom: 1rem;
  }

  .info {
    padding: 3rem 1rem;
  }

  .info__grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .info__card {
    padding: 1.3rem 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 1rem;
  }

  .info__card-icon {
    font-size: 2rem;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .info__card-title {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
  }

  .info__card-text {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .location {
    padding: 3rem 1rem;
  }

  .location__map-visual {
    width: 180px;
    height: 180px;
  }

  .location__pin {
    font-size: 2.2rem;
  }

  .location__address-label {
    font-size: 0.75rem;
  }

  .location__detail {
    padding: 0.8rem 1rem;
    gap: 0.8rem;
  }

  .location__detail-icon {
    font-size: 1.3rem;
  }

  .location__detail strong {
    font-size: 0.88rem;
  }

  .location__detail p {
    font-size: 0.78rem;
  }

  .cta-section {
    padding: 3rem 1rem;
  }

  .cta-section__inner {
    padding: 2rem 1rem;
    border-radius: 18px;
  }

  .cta-section__title {
    font-size: clamp(1.4rem, 7vw, 2rem);
  }

  .cta-section__subtitle {
    font-size: 1rem;
  }

  .cta-section__stars {
    font-size: 1.4rem;
  }

  .footer {
    padding: 1.5rem 1rem;
  }

  .hero__scroll-hint {
    bottom: 1rem;
  }

  .hero__scroll-mouse {
    width: 22px;
    height: 34px;
  }

  /* Убираем hover-эффекты на тач-устройствах */
  .info__card:hover,
  .countdown__card:hover,
  .hero__badge:hover,
  .location__detail:hover {
    transform: none;
    background: var(--bg-card);
    border-color: rgba(255, 255, 255, 0.06);
  }
}

/* Safe area для iPhone с вырезом */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .hero {
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
  }

  .footer {
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
  }
}

/* ===== SCROLL ANIMATIONS ===== */
.countdown,
.info,
.location,
.cta-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.countdown.visible,
.info.visible,
.location.visible,
.cta-section.visible {
  opacity: 1;
  transform: translateY(0);
}
