/* * ========================================
 * Челленджи - Основные стили
 * Темная тема с яркими акцентами
 * ======================================== */

/* * CSS переменные для цветовой схемы */
:root {
  /* * Основные цвета */
  --color-primary: #1a1a1a;
  --color-secondary: #2a2a2a;
  --color-dark: #0f0f0f;
  --color-text: #ffffff;
  --color-text-muted: #b0b0b0;
  
  /* * Акцентные цвета */
  --color-accent-orange: #ff6b35;
  --color-accent-green: #4ecdc4;
  --color-accent-purple: #9b59b6;
  --color-accent-yellow: #f1c40f;
  
  /* * Градиенты */
  --gradient-primary: linear-gradient(135deg, #ff6b35, #f39c12);
  --gradient-secondary: linear-gradient(135deg, #4ecdc4, #44a08d);
  --gradient-purple: linear-gradient(135deg, #9b59b6, #8e44ad);
  
  /* * Тени */
  --shadow-small: 0 2px 10px rgba(0, 0, 0, 0.3);
  --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-large: 0 8px 40px rgba(0, 0, 0, 0.5);
  
  /* * Шрифты */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* * Размеры */
  --container-max-width: 1200px;
  --border-radius: 12px;
  --border-radius-large: 20px;
  
  /* * Переходы */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* * Сброс стилей */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-primary);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* * Адаптация для пользователей с ограниченными возможностями */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .sticky-cta .btn-primary,
  .scroll-down,
  .hero__title .highlight {
    animation: none !important;
  }

  .hero__title .highlight {
    filter: none !important;
  }
}

/* * Улучшенная видимость для фокуса (accessibility) */
*:focus-visible {
  outline: 2px solid var(--color-accent-orange);
  outline-offset: 2px;
}

a, button {
  cursor: pointer;
}

/* * Контейнер */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* * Типографика */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

.section__title {
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section__subtitle {
  font-size: 1.2rem;
  text-align: center;
  color: var(--color-text-muted);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* * Кнопки */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--gradient-primary);
  color: white;
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition-medium);
  box-shadow: var(--shadow-medium);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-large);
  filter: brightness(1.1);
}

.btn-primary.btn-large {
  padding: 1.5rem 2.5rem;
  font-size: 1.1rem;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: transparent;
  color: var(--color-text);
  text-decoration: none;
  border: 2px solid var(--color-accent-orange);
  border-radius: var(--border-radius);
  font-weight: 500;
  transition: all var(--transition-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-secondary:hover {
  background: var(--color-accent-orange);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

/* * Sticky кнопка */
.sticky-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-medium);
}

.sticky-cta.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sticky-cta .btn-primary {
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
  animation: pulse 2s infinite;
}

/* * Анимации */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

@keyframes glow {
  from { filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.5)); }
  to { filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.8)); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* * Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  z-index: 999;
  transition: all var(--transition-medium);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 20px;
}

.nav__logo h2 {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.5rem;
}

.nav__menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav__menu a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
  position: relative;
}

.nav__menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition-medium);
}

.nav__menu a:hover::after {
  width: 100%;
}

.nav__menu a:hover {
  color: var(--color-accent-orange);
}

.nav__toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text);
}

/* * Hero секция */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero__background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -2;
  overflow: hidden;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  pointer-events: none;
}

.hero__bg-image {
  opacity: 1;
  filter: brightness(1);
  transition: opacity 0.3s ease;
  object-position: center 30%;
}

.hero__flashlight {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.hero__background img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(6, 0, 18, 0.55) 0%, rgba(10, 0, 26, 0.38) 50%, rgba(5, 0, 18, 0.5) 100%);
  backdrop-filter: blur(1.5px);
  z-index: -1;
}

.hero__content {
  z-index: 1;
  max-width: 800px;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 1.5rem;
  margin-top: 8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
}

.hero__title .highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  animation: glow 2s ease-in-out infinite alternate;
}

.hero__subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  margin-bottom: 3rem;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.7;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.hero__cta .btn-primary {
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.45);
}

.hero__qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.4));
}

.qr-code, .qr-code-large {
  width: 100px;
  height: 100px;
  background: var(--color-secondary);
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-accent-orange);
}

.qr-code-large {
  width: 150px;
  height: 150px;
}

.qr-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-muted);
}

.qr-placeholder i {
  font-size: 2rem;
}

.hero__qr p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.hero__scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-down {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 2px solid var(--color-accent-orange);
  border-radius: 50%;
  color: var(--color-accent-orange);
  text-decoration: none;
  animation: bounce 2s infinite;
}

/* * Секция "О проекте" */
.about {
  padding: 6rem 0;
  background: var(--color-secondary);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, var(--color-primary), var(--color-secondary));
}

/* * Хедер секции */
.about__header {
  text-align: center;
  margin-bottom: 4rem;
}

.about__badge, .section__badge {
  display: inline-block;
  background: var(--gradient-primary);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.about__lead {
  font-size: 1.3rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  color: var(--color-text);
  line-height: 1.8;
}

.highlight-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.features--grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.feature {
  background: var(--color-primary);
  padding: 2rem;
  border-radius: var(--border-radius-large);
  text-align: center;
  transition: all var(--transition-medium);
  box-shadow: var(--shadow-medium);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-medium);
  z-index: 0;
}

.feature:hover::before {
  opacity: 0.1;
}

.feature:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--color-accent-orange);
}

.feature--animated {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.feature--animated:nth-child(1) { animation-delay: 0.1s; }
.feature--animated:nth-child(2) { animation-delay: 0.2s; }
.feature--animated:nth-child(3) { animation-delay: 0.3s; }
.feature--animated:nth-child(4) { animation-delay: 0.4s; }

.feature__icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
  background: var(--gradient-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  position: relative;
  z-index: 1;
}

.feature__icon--pulse {
  animation: pulse 2s ease-in-out infinite;
}

.feature__count {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--gradient-primary);
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
  border: 3px solid var(--color-primary);
}

.feature > * {
  position: relative;
  z-index: 1;
}

.feature h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--color-text);
  font-weight: 700;
}

.feature p {
  color: var(--color-text-muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* * Видео секция в About */
.about__video-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 5rem;
  align-items: center;
}

.about__video-content h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.about__video-content p {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.about__stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.stat {
  text-align: center;
  padding: 1.5rem;
  background: var(--color-primary);
  border-radius: var(--border-radius);
  flex: 1;
  transition: transform var(--transition-medium);
}

.stat:hover {
  transform: translateY(-5px);
}

.stat__number {
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat__label {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.about__video-placeholder {
  position: relative;
  border-radius: var(--border-radius-large);
  overflow: hidden;
  background: var(--color-primary);
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-thumb {
  text-align: center;
  color: var(--color-text-muted);
}

.video-thumb i {
  font-size: 5rem;
  color: var(--color-accent-orange);
  margin-bottom: 1rem;
  opacity: 0.7;
  transition: all var(--transition-medium);
}

.video-thumb:hover i {
  opacity: 1;
  transform: scale(1.1);
}

.video-thumb p {
  font-size: 1rem;
}

/* * Уровни сложности */
.levels {
  padding: 6rem 0;
  background: var(--color-primary);
  position: relative;
}

.levels__header {
  text-align: center;
  margin-bottom: 4rem;
}

.levels__illustration {
  max-width: 520px;
  margin: 0 auto 3rem;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
}

.levels__illustration img {
  width: 100%;
  height: auto;
}

.levels__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.level-card {
  background: var(--color-secondary);
  border-radius: var(--border-radius-large);
  overflow: visible;
  transition: all var(--transition-medium);
  box-shadow: var(--shadow-large);
  border: 3px solid transparent;
  position: relative;
}

.level-card:hover {
  transform: translateY(-15px) scale(1.03);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.level-card__ribbon {
  position: absolute;
  top: 20px;
  right: -35px;
  background: var(--gradient-secondary);
  color: white;
  padding: 0.5rem 3rem;
  font-weight: 700;
  font-size: 0.85rem;
  transform: rotate(45deg);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 10;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.level-card__ribbon--hot {
  background: var(--gradient-primary);
  animation: pulse 2s ease-in-out infinite;
}

.level-card--easy .level-card__header {
  background: var(--gradient-secondary);
}

.level-card--medium .level-card__header {
  background: var(--gradient-primary);
}

.level-card--extreme .level-card__header {
  background: var(--gradient-purple);
}

.level-card--easy:hover {
  border-color: var(--color-accent-green);
}

.level-card--medium:hover {
  border-color: var(--color-accent-orange);
}

.level-card--extreme:hover {
  border-color: var(--color-accent-purple);
}

.level-card__header {
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  position: relative;
  border-radius: var(--border-radius-large) var(--border-radius-large) 0 0;
}

.level-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  backdrop-filter: blur(10px);
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.level-card__header h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: white;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.level-subtitle {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 0.5rem;
  font-weight: 400;
}

.age-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.25);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  font-weight: 700;
  color: white;
  font-size: 0.9rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
}

.level-card__content {
  padding: 2rem;
}

.level-highlights {
  display: flex;
  justify-content: space-around;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(255, 107, 53, 0.05);
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 107, 53, 0.1);
}

.highlight-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  flex: 1;
}

.highlight-item i {
  font-size: 1.5rem;
  color: var(--color-accent-orange);
}

.highlight-item span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.level-features {
  list-style: none;
  margin-bottom: 2rem;
}

.level-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.5;
}

.level-features i {
  color: var(--color-accent-green);
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.level-price {
  text-align: center;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: var(--color-primary);
  border-radius: var(--border-radius);
}

.price-label {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.price {
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 0.25rem;
}

.price-per {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-style: italic;
}

.price-note {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
  font-style: italic;
}

.btn-level {
  width: 100%;
  justify-content: center;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.2rem 2rem;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all var(--transition-medium);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-medium);
}

.btn-level--easy {
  background: var(--gradient-secondary);
  color: white;
}

.btn-level--medium {
  background: var(--gradient-primary);
  color: white;
}

.btn-level--extreme {
  background: var(--gradient-purple);
  color: white;
}

.btn-level:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-large);
  filter: brightness(1.1);
}

.btn-level i {
  font-size: 1.3rem;
}

/* * Дни рождения */
.birthday {
  padding: 6rem 0;
  background: var(--color-secondary);
}

.birthday__header {
  text-align: center;
  margin-bottom: 4rem;
}

.birthday__content {
  max-width: 800px;
  margin: 0 auto;
}

.birthday__info {
  background: var(--color-primary);
  padding: 3rem;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-large);
  text-align: center;
}

.birthday__features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.birthday__feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--color-secondary);
  border-radius: var(--border-radius);
  transition: transform var(--transition-medium);
}

.birthday__feature:hover {
  transform: translateY(-5px);
}

.birthday__feature i {
  font-size: 2rem;
  color: var(--color-accent-orange);
}

.birthday__feature span {
  font-weight: 600;
  color: var(--color-text);
}

.birthday__price {
  margin-bottom: 2rem;
}

.birthday__price .price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.birthday__price .price-amount {
  font-size: 3rem;
  font-weight: 900;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.birthday__price .price-currency {
  font-size: 2rem;
  color: var(--color-accent-orange);
  font-weight: 700;
}

.birthday__price .price-description {
  color: var(--color-text-muted);
  font-size: 1rem;
}

/* Старые классы для совместимости */
.price-label {
  display: block;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--color-secondary);
  border: 2px dashed var(--color-text-muted);
  border-radius: var(--border-radius);
  color: var(--color-text-muted);
  min-height: 200px;
}

.image-placeholder i {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* * Галерея */
.gallery {
  padding: 6rem 0;
  background: var(--color-primary);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.gallery__item {
  border-radius: var(--border-radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition-medium);
  box-shadow: var(--shadow-medium);
}

.gallery__item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-large);
}

.gallery__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.gallery__placeholder {
  width: 100%;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--color-secondary);
  border: 2px dashed var(--color-text-muted);
  color: var(--color-text-muted);
  transition: all var(--transition-medium);
}

.gallery__placeholder i {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  opacity: 0.6;
}

.gallery__placeholder span {
  font-size: 0.9rem;
  font-weight: 500;
}

.gallery__item:hover .gallery__placeholder {
  border-color: var(--color-accent-orange);
  color: var(--color-accent-orange);
  background: rgba(255, 107, 53, 0.05);
}

.gallery__item:hover .gallery__placeholder i {
  opacity: 1;
  transform: scale(1.1);
}

/* * Безопасность */
.safety {
  padding: 6rem 0;
  background: var(--color-secondary);
}

.safety__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.safety__item {
  background: var(--color-primary);
  padding: 2rem;
  border-radius: var(--border-radius-large);
  text-align: center;
  transition: transform var(--transition-medium);
  box-shadow: var(--shadow-medium);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.safety__item:hover {
  transform: translateY(-5px);
}

.safety__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--gradient-purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
}

.safety__item h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.safety__item p {
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* * Отзывы */
.reviews {
  padding: 6rem 0;
  background: var(--color-primary);
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.review {
  background: var(--color-secondary);
  padding: 2rem;
  border-radius: var(--border-radius-large);
  box-shadow: var(--shadow-medium);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform var(--transition-medium);
}

.review:hover {
  transform: translateY(-5px);
}

.review__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.review__avatar {
  width: 72px;
  height: 72px;
  background: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.review__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.review__info h4 {
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.review__rating {
  display: flex;
  gap: 0.2rem;
}

.review__rating i {
  color: var(--color-accent-yellow);
  font-size: 0.9rem;
}

.review__text {
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* * Контакты */
.contacts {
  padding: 6rem 0;
  background: var(--color-secondary);
  position: relative;
  overflow: hidden;
}

.contacts::before {
  content: '💬';
  position: absolute;
  top: 10%;
  left: 5%;
  font-size: 10rem;
  opacity: 0.03;
  transform: rotate(-20deg);
}

.contacts__header {
  text-align: center;
  margin-bottom: 4rem;
}

.contacts__content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
  align-items: stretch;
}

.contacts__info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 400px;
  height: fit-content;
}

.contacts__cta {
  display: flex;
  justify-content: center;
  align-items: stretch;
  height: 100%;
}

.cta-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.contact__card {
  background: var(--color-primary);
  padding: 1.5rem;
  border-radius: var(--border-radius-large);
  transition: all var(--transition-medium);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.contact__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.contact__card:hover::before {
  opacity: 1;
}

.contact__card:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent-orange);
  box-shadow: var(--shadow-large);
}

.contact__card--phone:hover {
  border-color: var(--color-accent-green);
}

.contact__card--telegram:hover {
  border-color: #0088cc;
}

.contact__icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.contact__card--phone .contact__icon {
  background: var(--gradient-secondary);
  box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
}

.contact__card--telegram .contact__icon {
  background: linear-gradient(135deg, #0088cc, #005f99);
  box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
}

.contact__content h3 {
  margin-bottom: 0.5rem;
  color: var(--color-text);
  font-size: 1.1rem;
  font-weight: 600;
}

.contact__content p {
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.contact__content a {
  color: var(--color-accent-orange);
  text-decoration: none;
  transition: all var(--transition-fast);
  font-weight: 600;
  font-size: 1.1rem;
}

.contact__card--phone a {
  color: var(--color-accent-green);
}

.contact__card--telegram a {
  color: #0088cc;
}

.contact__content a:hover {
  filter: brightness(1.2);
  text-decoration: underline;
}

.contact__hint {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-style: italic;
  margin-top: 0.25rem;
}

.contacts__cta {
  display: flex;
  justify-content: center;
  align-items: start;
}

.cta-block {
  text-align: center;
  background: var(--color-primary);
  padding: 2rem;
  border-radius: var(--border-radius-large);
  width: 100%;
  box-shadow: var(--shadow-large);
  border: 2px solid rgba(255, 107, 53, 0.2);
}

.cta-block h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--color-text);
  font-weight: 700;
}

.cta-block p {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.6;
}

.cta-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
  text-align: left;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.cta-feature i {
  color: var(--color-accent-green);
  font-size: 1rem;
}

.cta-feature span {
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 500;
}

.map-section {
  margin-top: 4rem;
}

.map-container {
  position: relative;
}

.cta-map {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-map .map-actions {
  margin-top: 1rem;
  justify-content: center;
}

.map-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-map {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--color-primary);
  color: var(--color-text);
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition-medium);
  border: 2px solid transparent;
}

.btn-map:hover {
  background: var(--color-accent-orange);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.btn-map i {
  font-size: 1rem;
}

.map-placeholder {
  width: 100%;
  height: 300px;
  background: var(--color-primary);
  border-radius: var(--border-radius-large);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--color-accent-green);
  color: var(--color-text-muted);
}

.map-placeholder i {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* * Footer */
.footer {
  background: var(--color-dark);
  padding: 3rem 0 1rem;
}

.footer__content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: start;
}

.footer__logo h3 {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.footer__logo p {
  color: var(--color-text-muted);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__links a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--color-accent-orange);
}

.footer__social {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--color-secondary);
  border-radius: 50%;
  color: var(--color-text);
  text-decoration: none;
  transition: all var(--transition-medium);
}

.social-link:hover {
  background: var(--color-accent-orange);
  transform: translateY(-2px);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  text-align: center;
}

.footer__bottom p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* * Модальное окно */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: none;
}

.modal.active {
  display: block;
}

.modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.modal__content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.modal__close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10001;
}

.modal__image img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--border-radius);
}

.modal__navigation {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.modal__prev,
.modal__next {
  background: rgba(0, 0, 0, 0.7);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 1rem;
  cursor: pointer;
  border-radius: 50%;
  pointer-events: auto;
  transition: background var(--transition-fast);
}

.modal__prev:hover,
.modal__next:hover {
  background: rgba(0, 0, 0, 0.9);
}

/* * Адаптивность */
@media (max-width: 768px) {
  /* * Навигация */
  .nav__menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--color-primary);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 2rem;
    transition: left var(--transition-medium);
  }
  
  .nav__menu.active {
    left: 0;
  }
  
  .nav__toggle {
    display: block;
  }
  
  /* * Hero */
  .hero__cta {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .hero__qr {
    order: 2;
  }
  
  /* * Секции */
  .features, .features--grid {
    grid-template-columns: 1fr;
  }

  .about__video-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about__stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .levels__grid {
    grid-template-columns: 1fr;
  }

  .level-highlights {
    flex-direction: column;
    gap: 1rem;
  }

  .highlight-item {
    flex-direction: row;
    justify-content: flex-start;
  }
  
  /* Birthday section responsive */
  .birthday {
    padding: 4rem 0;
  }
  
  .birthday__info {
    padding: 2rem;
  }
  
  .birthday__features {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
  }
  
  .birthday__feature {
    padding: 1rem;
  }
  
  .birthday__feature i {
    font-size: 1.5rem;
  }
  
  .birthday__feature span {
    font-size: 0.9rem;
  }
  
  .birthday__price .price-amount {
    font-size: 2.5rem;
  }
  
  .birthday__price .price-currency {
    font-size: 1.5rem;
  }
  
  /* Safety section responsive */
  .safety__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contacts__content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contacts__info {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .cta-block {
    padding: 1.5rem;
  }

  .map-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .btn-map {
    width: 100%;
    justify-content: center;
  }
  
  .footer__content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  
  .footer__social {
    justify-content: center;
  }
  
  /* * Отступы */
  .container {
    padding: 0 15px;
  }
  
  section {
    padding: 4rem 0 !important;
  }
  
  /* * Модальное окно */
  .modal__overlay {
    padding: 1rem;
  }
  
  .modal__navigation {
    position: static;
    transform: none;
    margin-top: 1rem;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 2rem;
  }
  
  .section__title {
    font-size: 2rem;
  }
  
  .btn-primary.btn-large {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
  
  .level-card,
  .feature,
  .safety__item {
    padding: 1.5rem;
  }
  
  .cta-block {
    padding: 2rem;
  }
}

.animate-on-scroll {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

/* * Утилиты */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* * Cookie Notice */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-secondary);
  border-top: 3px solid var(--color-accent-orange);
  padding: 1.5rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
  z-index: 10000;
  transform: translateY(100%);
  transition: transform var(--transition-medium);
}

.cookie-notice.show {
  transform: translateY(0);
}

.cookie-notice__content {
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-notice__content p {
  margin: 0;
  color: var(--color-text);
  font-size: 0.95rem;
  flex: 1;
  min-width: 250px;
}

.btn-cookie {
  padding: 0.75rem 2rem;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.btn-cookie:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

@media (max-width: 768px) {
  .cookie-notice__content {
    flex-direction: column;
    text-align: center;
  }
  
  .btn-cookie {
    width: 100%;
  }
}
