@charset "UTF-8";
html {
  scroll-behavior: smooth;
}

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

body {
  font-family: "Manrope", system-ui, sans-serif;
  background-color: #050505;
  color: #FFFFFF;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

.floating-nav {
  position: fixed;
  top: 32px;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.floating-nav .nav-pill {
  pointer-events: auto;
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.floating-nav .logo {
  text-decoration: none;
  font-family: "Manrope", system-ui, sans-serif;
  /* Или 'Orbitron', если ты его подключил */
  font-weight: 900;
  font-size: 1.5rem;
  display: flex;
  gap: 6px;
  letter-spacing: 0.02em;
  transition: transform 0.3s ease;
}
.floating-nav .logo .logo-filled {
  color: #FFFFFF;
  /* Залитая часть (белая) */
  transition: color 0.3s ease;
}
.floating-nav .logo .logo-outlined {
  color: transparent;
  /* Делаем текст прозрачным */
  -webkit-text-stroke: 1px #FFFFFF;
  /* Рисуем белый обводочный контур */
  transition: -webkit-text-stroke 0.3s ease;
}
.floating-nav .logo {
  /* Кислотный эффект при наведении мыши */
}
.floating-nav .logo:hover {
  transform: scale(1.05);
}
.floating-nav .logo:hover .logo-filled {
  color: #CCFF00;
}
.floating-nav .logo:hover .logo-outlined {
  -webkit-text-stroke: 1px #CCFF00;
}
.floating-nav .nav-links {
  display: flex;
  gap: 24px;
}
.floating-nav .nav-links a {
  color: #888888;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}
.floating-nav .nav-links a:hover {
  color: #CCFF00;
}
.floating-nav .menu-trigger {
  background: none;
  border: none;
  cursor: pointer;
  display: none;
}
.floating-nav .theme-toggle-btn {
  background: transparent;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease;
  /* По умолчанию (в темной теме) прячем луну */
}
.floating-nav .theme-toggle-btn .moon-icon {
  display: none;
}
.floating-nav .theme-toggle-btn:hover {
  transform: scale(1.1);
}

.bento-hero {
  padding-top: 140px;
  padding-bottom: 80px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 320px);
  gap: 24px;
}

.bento-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.bento-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.bento-main {
  grid-column: span 2;
  grid-row: span 2;
  justify-content: center;
  /* ИСПРАВЛЕНИЕ 1: Теперь текст отцентрирован по вертикали, а не прижат к низу */
  background: linear-gradient(145deg, rgb(20, 20, 20) 0%, rgb(5, 5, 5) 100%);
  position: relative;
  overflow: hidden;
  /* ИСПРАВЛЕНИЕ 2: То самое мягкое неоновое свечение в пустом углу */
  /* Наше неоновое свечение */
}
.bento-main::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(204, 255, 0, 0.2) 0%, transparent 70%);
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
  /* МАГИЯ ЗДЕСЬ: Подключаем бесконечную плавную анимацию */
  animation: auroraFloat 8s ease-in-out infinite alternate;
}
@keyframes auroraFloat {
  0% {
    opacity: 0.3;
    /* Тусклое */
    transform: scale(0.9) translate(0, 0);
    /* Начальная позиция */
  }
  50% {
    opacity: 0.8;
    /* Яркое (дыхание) */
    transform: scale(1.2) translate(-30px, 20px);
    /* Слегка раздувается и плывет влево-вниз */
  }
  100% {
    opacity: 0.4;
    /* Снова чуть тускнеет */
    transform: scale(1) translate(10px, -20px);
    /* Плывет вправо-вверх */
  }
}
.bento-main .badge {
  position: absolute;
  top: 40px;
  left: 40px;
  background: #CCFF00;
  color: #050505;
  padding: 8px 16px;
  border-radius: 100px;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  z-index: 1;
  /* Обязательно поднимаем над свечением */
}
.bento-main h1 {
  font-size: clamp(2rem, 3.5vw, 4.2rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
  position: relative;
  z-index: 1;
  /* Поднимаем над свечением */
}
.bento-main p {
  color: #888888;
  font-size: 1.2rem;
  max-width: 400px;
  position: relative;
  z-index: 1;
  /* Поднимаем над свечением */
}

.bento-image {
  grid-column: span 1;
  grid-row: span 2;
  padding: 0;
}
.bento-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.5s ease;
}
.bento-image:hover img {
  filter: grayscale(0%);
}
.bento-image .image-overlay {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.bento-action {
  grid-column: span 1;
  grid-row: span 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #CCFF00;
  color: #050505;
  cursor: pointer;
}
.bento-action .magnetic-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.bento-action .magnetic-btn span {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.bento-action .magnetic-btn svg {
  width: 40px;
  height: 40px;
  margin-top: 16px;
  transition: transform 0.3s ease;
}
.bento-action:hover svg {
  transform: translate(5px, -5px);
}

.bento-stats {
  grid-column: span 1;
  grid-row: span 1;
  justify-content: center;
  gap: 24px;
}
.bento-stats .stat-row {
  display: flex;
  flex-direction: column;
}
.bento-stats .stat-row .stat-val {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: #FFFFFF;
}
.bento-stats .stat-row .stat-lbl {
  font-size: 0.9rem;
  color: #888888;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sticky-arsenal {
  padding: 120px 0;
}

.sticky-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.sticky-media {
  position: sticky;
  top: 120px;
  height: calc(100vh - 240px);
}
.sticky-media .media-container {
  height: 100%;
  background: #111111;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.sticky-media .media-container .glass-orb {
  position: absolute;
  top: -50%;
  right: -50%;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204, 255, 0, 0.2) 0%, transparent 70%);
  filter: blur(60px);
  z-index: 0;
  pointer-events: none;
}
.sticky-media .media-container h2 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}
.sticky-media .media-container p {
  color: #888888;
  font-size: 1.2rem;
  position: relative;
  z-index: 1;
}

.products-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.product-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  padding: 24px;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 32px;
  align-items: center;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.product-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}
.product-card__image {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}
.product-card__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card__image .card-price-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #fff;
  color: #000;
  padding: 6px 16px;
  border-radius: 100px;
  font-weight: 800;
  font-size: 0.9rem;
}
.product-card:hover .product-card__image img {
  transform: scale(1.05);
}
.product-card__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  /* Флекс-контейнер расталкивает заголовок и цену по краям */
}
.product-card__info .product-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.product-card__info h3 {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}
.product-card__info .card-price-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: -moz-max-content;
  width: max-content;
  padding: 10px 22px;
  font-size: 1.1rem;
  font-weight: 800;
  color: white;
  border-radius: 14px;
  --accent-color: rgba(204, 255, 0, 0.2);
  /* ИСПРАВЛЕНИЕ ЗДЕСЬ: 
  1. Градиент уходит в transparent на 85%, чтобы точно не коснуться правого края.
  2. Добавлен no-repeat, чтобы браузер не дублировал цвет. */
  background: linear-gradient(to right, var(--accent-color) 0%, transparent 85%) no-repeat;
  background-size: 100% 100%;
  /* Жестко фиксируем размер фона */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  /* Если блик все равно мерещится, можно закомментировать этот border */
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}
.product-card__info .description {
  color: #888888;
  font-size: 1.1rem;
  line-height: 1.6;
}
.product-card__actions {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}
.product-card__actions .btn {
  padding: 12px 24px;
  border-radius: 100px;
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}
.product-card__actions .btn--outline {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.08);
}
.product-card__actions .btn--outline:hover {
  background: #fff;
  color: #000;
}
.product-card__actions .btn--primary {
  background: #CCFF00;
  color: #050505;
  border-color: #CCFF00;
}
.product-card__actions .btn--primary:hover {
  background: transparent;
  color: #CCFF00;
  box-shadow: 0 0 20px rgba(204, 255, 0, 0.2);
}

@media (max-width: 768px) {
  .product-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 16px;
  }
  .product-card__image {
    height: 50vh;
  }
  .product-card__actions {
    flex-direction: column;
  }
  .product-card__actions .btn {
    width: 100%;
  }
}
.btn-modern {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 32px;
  border-radius: 100px;
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-modern:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}
.btn-modern.btn-accent {
  background: #CCFF00;
  color: #050505;
  border-color: #CCFF00;
}
.btn-modern.btn-accent:hover {
  background: transparent;
  color: #CCFF00;
  box-shadow: 0 0 20px rgba(204, 255, 0, 0.2);
}

.events-section {
  padding: 100px 0 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Центрируем весь блок */
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  text-align: center;
  text-transform: uppercase;
}

.events-group-title {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888888;
  margin: 40px 0 30px;
  text-align: center;
  /* Центрируем подзаголовки */
}

.timeline {
  position: relative;
  width: 100%;
  max-width: 650px;
  /* МАГИЯ ЗДЕСЬ: Ограничили ширину. Больше никакого разлетания! */
  margin: 0 auto;
  /* Вертикальная линия */
}
.timeline::before {
  content: "";
  position: absolute;
  left: 80px;
  /* Выровняли линию точно по центру кружочков */
  top: 0;
  bottom: 0;
  width: 2px;
  background: #CCFF00;
  /* Кислотно-зеленая линия! */
  box-shadow: 0 0 15px rgba(204, 255, 0, 0.2);
  /* Неоновое свечение */
  z-index: 0;
}

/* Если внутри таймлайна лежат прошедшие события (past), "тушим" зеленую линию */
.timeline:has(.timeline-item.past)::before {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.timeline-item {
  display: grid;
  grid-template-columns: 70px 20px 1fr;
  /* Ужали левую колонку для компактности */
  gap: 0 20px;
  align-items: flex-start;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

/* Блок с датой слева */
.timeline-date {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
}
.timeline-date .date-day {
  font-size: 1.8rem;
  font-weight: 900;
  color: #FFFFFF;
}
.timeline-date .date-month {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #888888;
}
.timeline-date .date-year {
  font-size: 1rem;
  color: #ffffff;
}

/* Точка на линии */
.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #050505;
  border: 3px solid #CCFF00;
  box-shadow: 0 0 0 4px #050505;
  /* Эффект "вырезанной" линии под точкой */
  margin-top: 22px;
  justify-self: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
  /* Тушим точку для прошедших событий */
}
.timeline-item.past .timeline-dot {
  border-color: #888888;
}

/* Сама стеклянная карточка */
.timeline-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 24px 32px;
  transition: all 0.3s ease;
}
.timeline-card:hover {
  transform: translateX(8px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.timeline-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
}
.timeline-card__meta {
  font-size: 0.95rem;
  color: #888888;
  margin-bottom: 12px;
}
.timeline-card__desc {
  font-size: 1rem;
  color: #999;
  line-height: 1.6;
}
.timeline-card__badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.upcoming-badge {
  background: rgba(204, 255, 0, 0.1);
  color: #CCFF00;
}

.past-badge {
  background: rgba(255, 255, 255, 0.05);
  color: #888888;
}

/* Приглушаем прошедшие события */
.timeline-item.past {
  opacity: 0.5;
}
.timeline-item.past .date-day {
  color: #888888;
}
.timeline-item.past:hover {
  opacity: 1;
}

.modal-spatial {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
}
.modal-spatial.active {
  opacity: 1;
  visibility: visible;
}
.modal-spatial.active .modal-card {
  transform: scale(1) translateY(0);
}
.modal-spatial .modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.modal-spatial .modal-card {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 1000px;
  background: rgba(20, 20, 20, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  overflow: hidden;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.1);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}
.modal-spatial .close-pill {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 10px 20px;
  border-radius: 100px;
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  backdrop-filter: blur(10px);
}
.modal-spatial .close-pill:hover {
  background: #fff;
  color: #000;
}
.modal-spatial .modal-content-grid {
  display: flex;
  flex-direction: row;
  min-height: 500px;
  max-height: 700px;
}
.modal-spatial .modal-visual {
  position: relative;
  background: transparent;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1), flex 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  /* Ширина по умолчанию */
  width: 50%;
  min-width: 380px;
  flex: 0 0 50%;
}
.modal-spatial .modal-visual .gallery-track {
  /* ФИКС 1: Вместо height 100% растягиваем блок абсолютно. Он больше не схлопнется! */
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.modal-spatial .modal-visual .gallery-track img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
}
.modal-spatial .modal-visual .gallery-track img.active {
  opacity: 1;
  visibility: visible;
}
.modal-spatial .modal-visual .gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 16px;
  border-radius: 8px;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(4px);
  font-size: 1.2rem;
  transition: 0.3s;
}
.modal-spatial .modal-visual .gallery-nav:hover {
  background: rgba(255, 255, 255, 0.3);
}
.modal-spatial .modal-visual .gallery-nav.prev {
  left: 16px;
}
.modal-spatial .modal-visual .gallery-nav.next {
  right: 16px;
}
.modal-spatial .modal-data {
  flex: 1;
  min-width: 320px;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
}
.modal-spatial .modal-data h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 32px;
  letter-spacing: -0.03em;
}
.modal-spatial .modal-data .desc-scroll {
  flex-grow: 1;
  overflow-y: auto;
  padding-right: 20px;
  color: #ccc;
}
.modal-spatial .modal-data .desc-scroll::-webkit-scrollbar {
  width: 4px;
}
.modal-spatial .modal-data .desc-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}
.modal-spatial .modal-data .desc-scroll strong {
  color: #fff;
}
.modal-spatial .modal-data .desc-scroll {
  /* Делаем базовый текст чуть опрятнее */
}
.modal-spatial .modal-data .desc-scroll p {
  margin-bottom: 16px;
}
.modal-spatial .modal-data .desc-scroll ul {
  margin-bottom: 24px;
  padding-left: 20px;
}
.modal-spatial .modal-data .desc-scroll li {
  margin-bottom: 8px;
}
.modal-spatial .modal-data .desc-scroll {
  /* НОВЫЙ БЛОК: Те самые красивые плашки */
}
.modal-spatial .modal-data .desc-scroll .important-note {
  background: rgba(255, 255, 255, 0.04);
  /* Очень легкий полупрозрачный фон */
  border-left: 4px solid #fff;
  /* Белая линия слева по умолчанию */
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 0 12px 12px 0;
  /* Слегка закругляем правые углы */
  color: #eaeaea;
  font-size: 1rem;
  line-height: 1.6;
  backdrop-filter: blur(10px);
  /* Модный эффект размытия под плашкой */
}
.modal-spatial .modal-data .desc-scroll .important-note strong {
  color: #fff;
}
.modal-spatial .modal-data .action-bar {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-spatial .modal-data .action-bar .price-tag {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
}
.modal-spatial .modal-data .action-bar {
  /* ФИКС 2: Обращаемся напрямую к тегу button. Кнопка всегда будет кислотно-зелёной! */
}
.modal-spatial .modal-data .action-bar button {
  padding: 12px 24px;
  border-radius: 100px;
  font-family: "Manrope", system-ui, sans-serif;
  /* Берем шрифт из твоих переменных */
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #CCFF00;
  color: #050505;
  border: 1px solid #CCFF00;
}
.modal-spatial .modal-data .action-bar button:hover {
  background: transparent;
  color: #CCFF00;
  box-shadow: 0 0 20px rgba(204, 255, 0, 0.2);
}

/* --- ПЛАНШЕТЫ (до 1024px) --- */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .bento-main {
    grid-column: span 2;
    padding: 40px;
  }
  .bento-image {
    grid-column: span 2;
    height: 400px;
  }
  .bento-action,
  .bento-stats {
    grid-column: span 1;
    height: 250px;
  }
  .sticky-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .sticky-media {
    position: relative;
    top: 0;
    height: auto;
    padding: 60px 40px;
    min-height: 250px;
  }
  /* --- ФУЛЛСКРИН МОДАЛКА ДЛЯ ТЕЛЕФОНОВ (БЕЗ FLEX) --- */
  .modal-card {
    width: 100%;
    height: 100dvh;
    /* Строго на весь экран */
    max-height: 100dvh;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
    /* Скрываем всё, что вываливается за края экрана */
  }
  .modal-content-grid {
    display: block;
    /* ВОТ ОНО: Убрали flex, как ты и сказал! */
    height: 100%;
    width: 100%;
    overflow-y: auto;
    /* Включаем скролл прямо на всю страницу целиком */
    -webkit-overflow-scrolling: touch;
    /* Плавный скролл на айфонах */
  }
  .modal-visual {
    width: 100% !important;
    height: 40vh !important;
    /* Высота картинки */
    min-height: 280px;
    position: relative;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .modal-data {
    display: block;
    /* Никаких flex: 1 */
    padding: 24px;
    height: auto;
    overflow: visible;
    /* Текст просто свободно идет вниз */
  }
  .modal-data h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
  }
  .modal-data .desc-scroll {
    overflow: visible;
    padding-right: 0;
  }
  .modal-data .action-bar {
    display: flex;
    /* А вот кнопки внизу оставим на флексе, чтобы выровнять */
    flex-direction: column;
    gap: 16px;
    padding-top: 20px;
    margin-top: 20px;
  }
  .modal-data .action-bar .price-tag {
    font-size: 1.8rem;
    text-align: center;
  }
  .modal-data .action-bar .btn {
    width: 100%;
    padding: 16px;
  }
  .close-pill {
    top: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
}
/* --- ТЕЛЕФОНЫ (до 768px) --- */
@media (max-width: 768px) {
  /* Базовые контейнеры */
  .container {
    padding: 0 20px;
  }
  /* 1. Плавающая навигация */
  .floating-nav {
    top: 16px;
  }
  .floating-nav .nav-pill {
    padding: 12px 20px;
    width: calc(100% - 40px);
    /* Чтобы плашка не прилипала к краям экрана */
    justify-content: space-between;
    gap: 0;
  }
  .nav-links {
    display: none;
  }
  .menu-trigger {
    display: block;
    color: #FFFFFF;
  }
  .logo {
    font-size: 1.2rem;
  }
  body.light-theme .menu-trigger {
    color: #111;
  }
  /* 2. Bento Hero */
  .bento-hero {
    padding-top: 100px;
    padding-bottom: 60px;
  }
  .bento-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    /* Жестко задаем ширину всей сетке */
  }
  .bento-item {
    width: 100%;
    /* Заставляем каждый блок тянуться на все 100% */
    padding: 24px;
    border-radius: 24px;
    margin: 0;
    /* Сбрасываем возможные внешние отступы */
  }
  .bento-main {
    padding: 32px 24px;
    min-height: auto;
  }
  .bento-main h1 {
    padding-top: 70px;
    font-size: 2.6rem;
    margin-bottom: 16px;
    text-align: center;
  }
  .bento-main p {
    font-size: 1rem;
  }
  .bento-image {
    height: 62vh;
    padding: 0;
  }
  .bento-image img {
    filter: grayscale(0%);
    /* Принудительно возвращаем цвет на мобилках */
  }
  .bento-action,
  .bento-stats {
    height: auto;
    padding: 32px 24px;
  }
  .bento-stats {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 16px;
  }
  .bento-stats .stat-val {
    font-size: 2.8rem;
  }
  /* 3. Магазин и Карточки */
  .sticky-arsenal {
    padding: 60px 20px;
  }
  .sticky-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  /* Делаем обертку магазина тоже на 100% */
  .sticky-media {
    padding: 32px 24px;
    width: 100%;
  }
  .sticky-media .media-container {
    padding: 35px;
  }
  .sticky-media .media-container h2 {
    font-size: 3rem;
    text-align: center;
  }
  .sticky-media .media-container p {
    text-align: center;
  }
  .product-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 16px;
    width: 100%;
  }
  .product-card__image {
    height: 50vh;
  }
  .product-card__info h3 {
    font-size: 1.5rem;
  }
  .product-card__info .description {
    font-size: 1rem;
  }
  .product-card__actions {
    flex-direction: column;
    width: 100%;
    margin-top: 8px;
  }
  .product-card__actions .btn {
    width: 100%;
  }
  /* 4. Арены (Календарь-таймлайн) */
  .events-section {
    padding: 60px 0;
  }
  .section-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
  }
  .timeline {
    padding-left: 0;
  }
  .timeline::before {
    left: 9px;
  }
  .timeline {
    /* Сдвигаем зеленую линию точно под новые точки */
  }
  .timeline-item {
    grid-template-columns: 20px 1fr;
    gap: 0 16px;
    padding-left: 0;
  }
  .timeline-date {
    display: none;
  }
  .timeline-card {
    padding: 20px;
  }
  .timeline-card::before {
    content: attr(data-date);
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    color: #CCFF00;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }
  /* 5. Модальное окно (ФУЛЛСКРИН) */
  .modal-backdrop {
    padding: 0;
    /* На мобилке убираем все отступы по краям экрана */
  }
  .modal-card {
    width: 100%;
    height: 95dvh;
    /* Занимает ровно 100% высоты экрана (даже с учетом панелей сафари) */
    max-height: 100dvh;
    border-radius: 0;
    /* Убираем скругления, делаем встык с экраном */
    margin: 0;
    display: flex;
    flex-direction: column;
  }
  .modal-content-grid {
    flex-direction: column;
    display: flex;
  }
  .modal-spatial .modal-content-grid {
    max-height: 95dvh;
  }
  .modal-visual {
    display: none;
    width: 100% !important;
    flex: none !important;
    height: 40vh;
    /* Картинка занимает 40% экрана */
    min-height: 250px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .modal-spatial .modal-data {
    padding: 24px;
    height: 95dvh;
  }
  .modal-spatial .modal-data .desc-scroll {
    height: 100px;
    /* Вытягиваем скролл на всю высоту текстового блока */
  }
  .modal-data {
    flex: 1;
    /* Текстовый блок занимает всю оставшуюся высоту */
    padding: 24px;
    min-width: auto;
    overflow-y: auto;
    /* Включаем скролл для всего текстового блока */
  }
  .modal-data h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
  }
  .modal-data .desc-scroll {
    overflow-y: visible;
    /* Отключаем старый скролл, чтобы скроллилась вся карточка */
    padding-right: 0;
    font-size: 0.95rem;
  }
  .modal-data .action-bar {
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
    padding-top: 20px;
  }
  .modal-data .action-bar .price-tag {
    font-size: 1.8rem;
  }
  .modal-data .action-bar button {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
  }
  .modal-data .action-bar {
    /* Делаем кнопку массивнее для пальца */
  }
  .close-pill {
    top: 16px;
    right: 16px;
    padding: 8px 16px;
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.6);
    /* Добавляем темную подложку... */
    backdrop-filter: blur(8px);
    /* ...и размытие, чтобы крестик было видно поверх любой фотки */
  }
}
body.modal-locked {
  overflow: hidden;
  padding-right: 8px;
}

.reveal-init {
  opacity: 0;
}

.is-revealed {
  animation: spatialReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes spatialReveal {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}
.bento-grid .bento-item:nth-child(1) {
  animation-delay: 0s;
}
.bento-grid .bento-item:nth-child(2) {
  animation-delay: 0.1s;
}
.bento-grid .bento-item:nth-child(3) {
  animation-delay: 0.2s;
}
.bento-grid .bento-item:nth-child(4) {
  animation-delay: 0.3s;
}

body.light-theme {
  background-color: #f4f5f7;
  color: #111111;
  transition: background-color 0.4s ease, color 0.4s ease;
  /* Делаем все карточки белоснежными с мягкой тенью */
}
body.light-theme .bento-item,
body.light-theme .product-card,
body.light-theme .list-item,
body.light-theme .media-container,
body.light-theme .modal-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}
body.light-theme .bento-main {
  background: linear-gradient(145deg, #ffffff 0%, #f0f0f0 100%);
}
body.light-theme .bento-main h1 {
  color: #111;
}
body.light-theme .bento-main p {
  color: #555;
}
body.light-theme {
  /* Навигация */
}
body.light-theme .floating-nav .nav-pill {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
body.light-theme .floating-nav .nav-pill .nav-links a {
  color: #555;
}
body.light-theme .floating-nav .nav-pill .nav-links a:hover {
  color: #CCFF00;
}
body.light-theme {
  /* Логотип */
}
body.light-theme .logo .logo-filled {
  color: #111;
}
body.light-theme .logo .logo-outlined {
  -webkit-text-stroke: 1px #111;
}
body.light-theme .logo:hover .logo-filled {
  color: #CCFF00;
}
body.light-theme .logo:hover .logo-outlined {
  -webkit-text-stroke: 1px #CCFF00;
}
body.light-theme {
  /* Переключение иконки в кнопке темы */
}
body.light-theme .theme-toggle-btn .sun-icon {
  display: none;
}
body.light-theme .theme-toggle-btn .moon-icon {
  display: block;
}
body.light-theme {
  /* Типографика */
}
body.light-theme .stat-val,
body.light-theme .row-header h3,
body.light-theme h2,
body.light-theme h3,
body.light-theme .price-tag,
body.light-theme .section-title {
  color: #111;
}
body.light-theme .stat-lbl,
body.light-theme .description,
body.light-theme .desc,
body.light-theme .item-date,
body.light-theme p,
body.light-theme span {
  color: #555;
}
body.light-theme .row-header .num {
  color: #999;
}
body.light-theme {
  /* Второстепенные кнопки */
}
body.light-theme .btn--outline {
  border-color: #ccc;
  color: #111;
}
body.light-theme .btn--outline:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}
body.light-theme {
  /* Интерактивный список арен */
}
body.light-theme .list-item:hover {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}
body.light-theme .list-item.past .item-status {
  background: rgba(0, 0, 0, 0.05);
  color: #888;
}
body.light-theme {
  /* Модальное окно */
}
body.light-theme .modal-backdrop {
  background: rgba(255, 255, 255, 0.7);
}
body.light-theme .modal-visual {
  border-right-color: #eee;
}
body.light-theme .modal-data .action-bar {
  border-top-color: #eee;
}
body.light-theme .modal-data .desc-scroll {
  color: #444;
}
body.light-theme .modal-data .desc-scroll strong {
  color: #111;
}
body.light-theme .modal-data .desc-scroll .important-note {
  background: rgba(0, 0, 0, 0.03);
  border-left-color: #111;
  color: #333;
}
body.light-theme .modal-data .desc-scroll .important-note strong {
  color: #111;
}
body.light-theme .close-pill {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
  color: #111;
}
body.light-theme .close-pill:hover {
  background: #111;
  color: #fff;
}
body.light-theme .gallery-nav {
  background: rgba(0, 0, 0, 0.1);
  color: #111;
  border-color: rgba(0, 0, 0, 0.1);
}
body.light-theme .gallery-nav:hover {
  background: rgba(0, 0, 0, 0.2);
}/*# sourceMappingURL=style.css.map */