:root {
  --primary: #0070f3;
  --neon: #00e5ff;
  --bg: #000;
  --card: #0d0d0f;
  --text: #ffffff;
  --dim: #88888b;
  --border: rgba(255, 255, 255, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: none;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* --- 1. КУРСОР (ТОЧКА + КРУГ) --- */
.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  position: fixed;
  border-radius: 50%;
  z-index: 10000;
  pointer-events: none;
}
.cursor-circle {
  width: 30px;
  height: 30px;
  border: 1px solid var(--primary);
  position: fixed;
  border-radius: 50%;
  z-index: 9999;
  pointer-events: none;
  transition:
    width 0.3s,
    height 0.3s;
}

/* --- 2. ШАПКА (STYLISH HEADER) --- */
.main-header {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.logo {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -1px;
}
.logo span {
  color: var(--primary);
}
.nav-desktop a {
  text-decoration: none;
  color: var(--dim);
  margin: 0 20px;
  font-size: 14px;
  transition: 0.3s;
}
.nav-desktop a:hover {
  color: #fff;
}
.btn-header {
  background: var(--primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
}

/* --- 3. ЦЕНТРИРОВАННЫЙ ГЕРОЙ / О НАС --- */
.section-hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle at center, #0a0a0c 0%, #000 100%);
}
.container-center {
  max-width: 900px;
}
.badge-premium {
  color: var(--primary);
  letter-spacing: 4px;
  font-size: 12px;
  margin-bottom: 20px;
}
.title-main {
  font-size: clamp(3rem, 10vw, 6.5rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -4px;
}
.blue-neon {
  color: var(--primary);
  text-shadow: 0 0 20px rgba(0, 112, 243, 0.4);
}
.desc-main {
  font-size: 1.2rem;
  color: var(--dim);
  margin: 40px auto;
  max-width: 700px;
}
.stats-row {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 50px;
}
.stat-item h3 {
  font-size: 3rem;
  margin-bottom: 5px;
}
.stat-item p {
  font-size: 12px;
  color: var(--primary);
  text-transform: uppercase;
}

/* --- 4. ТАРИФЫ (ИСПРАВЛЕННЫЙ MIDDLE) --- */
.title-section {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 60px;
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 50px 30px;
  border-radius: 40px;
  transition: 0.5s;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.price-card:hover {
  border-color: var(--primary);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.price-card.middle {
  border-color: var(--primary);
  background: linear-gradient(180deg, #0d0d0f 0%, #001a35 100%);
  transform: scale(1.05);
  position: relative;
}
.p-badge {
  background: var(--primary);
  font-size: 10px;
  padding: 5px 10px;
  border-radius: 5px;
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.p-name {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 20px;
}
.p-price {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 30px;
}
.p-features {
  list-style: none;
  margin-bottom: 40px;
  flex-grow: 1;
}
.p-features li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--dim);
}

/* --- 5. ФИКС КАРТЫ И ФОРМЫ (БОЛЬШЕ НЕ КАША) --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 50px;
}
.map-box {
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid var(--border);
  height: 500px;
}
.map-box iframe {
  width: 100%;
  height: 100%;
  filter: grayscale(1) invert(1);
  border: none;
}

.form-box {
  background: var(--card);
  padding: 60px;
  border-radius: 30px;
  border: 1px solid var(--border);
}
.cyber-form input,
.cyber-form select {
  width: 100%;
  background: #161618;
  border: 1px solid #222;
  padding: 20px;
  border-radius: 15px;
  color: #fff;
  margin-bottom: 20px;
}
.btn-submit {
  width: 100%;
  padding: 20px;
  background: var(--primary);
  border: none;
  color: #fff;
  border-radius: 15px;
  font-weight: 900;
}

/* --- 6. ФИКС SVG (МАЛЕНЬКИЕ 20px) --- */
svg {
  width: 20px !important;
  height: 20px !important;
  fill: var(--dim) !important;
  transition: 0.3s;
}
svg:hover {
  fill: var(--primary) !important;
}

/* --- 7. FOOTER (CLEAN) --- */
footer {
  margin: 80px 0;
}
.footer-massive {
  padding: 80px 0;
  border-top: 1px solid var(--border);
}
.footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.f-left p {
  color: var(--dim);
  font-size: 12px;
  margin-top: 10px;
}

/* АДАПТИВНОСТЬ */
@media (max-width: 900px) {
  .price-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .nav-desktop {
    display: none;
  }
}
/* --- КНОПКИ: LIQUID NEON ENGINE --- */
.btn-primary,
.btn-card,
.btn-submit,
.btn-header {
  appearance: none;
  background: transparent;
  border: 2px solid var(--primary);
  border-radius: 16px;
  color: #fff;
  cursor: none; /* Чтобы наш кастомный курсор работал */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 20px 40px;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  overflow: hidden;
  z-index: 1;
}

/* Эффект заполнения при наведении */
.btn-primary::after,
.btn-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: -1;
}

.btn-primary:hover::after,
.btn-card:hover::after {
  transform: translateY(0);
}

.btn-primary:hover,
.btn-card:hover {
  color: #000; /* Контраст при заполнении синим */
  box-shadow: 0 0 40px var(--primary-glow);
  transform: translateY(-5px);
}

/* Специальная кнопка для Middle/Featured тарифа */
.btn-card.active {
  background: var(--primary);
  color: #000;
  box-shadow: 0 10px 30px var(--primary-glow);
}

.btn-card.active:hover {
  background: #fff;
  border-color: #fff;
  box-shadow: 0 0 50px rgba(255, 255, 255, 0.3);
}
/* --- КАРТОЧКИ КУРСОВ: GRID LAYOUT --- */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 50px;
}

.course-item {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 35px;
  border-radius: 25px;
  transition: all 0.4s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.course-item:hover {
  border-color: var(--primary);
  transform: scale(1.03) translateY(-5px);
  background: linear-gradient(135deg, #0d0d0f 0%, #001a35 100%);
}

.c-tag {
  font-size: 10px;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(0, 112, 243, 0.1);
  padding: 4px 10px;
  border-radius: 5px;
  width: fit-content;
  margin-bottom: 20px;
}

.course-item h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.course-item p {
  font-size: 0.9rem;
  color: var(--dim);
}
.menedjer {
  font-size: 12px;
  color: var(--primary);
  margin-top: 10px;
  text-align: center;
}
/* Контейнер для уведомлений */
.notification-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
}

.cyber-notification {
  background: rgba(10, 10, 15, 0.9);
  border-left: 4px solid #00f2ff;
  color: #fff;
  padding: 20px 30px;
  margin-bottom: 10px;
  border-radius: 4px;
  box-shadow: 0 0 20px rgba(0, 242, 255, 0.2);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 15px;
  transform: translateX(120%);
  transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.cyber-notification.show {
  transform: translateX(0);
}

.notification-icon {
  font-size: 24px;
  color: #00f2ff;
}

.notification-content h4 {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
}

.notification-content p {
  margin: 5px 0 0;
  font-size: 12px;
  opacity: 0.8;
}

/* Прогресс-бар исчезновения */
.notification-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: #00f2ff;
  width: 100%;
}
/* --- TEACHER CARDS STYLES --- */
.teacher-photo-box {
  width: 100%;
  height: 250px;
  background: #000;
  border-radius: 20px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}

.teacher-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  filter: grayscale(100%) contrast(120%);
  transition: 0.5s;
}

.teacher-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

/* Линия сканирования */
.scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  box-shadow: 0 0 15px var(--primary);
  z-index: 5;
  animation: scan 3s linear infinite;
  pointer-events: none;
}

@keyframes scan {
  0% {
    top: 0%;
  }
  100% {
    top: 100%;
  }
}

/* Полоски навыков */
.skill-bars {
  margin-top: 25px;
}
.skill-item {
  margin-bottom: 15px;
}
.skill-item span {
  font-size: 10px;
  color: var(--dim);
  letter-spacing: 1px;
  display: block;
  margin-bottom: 5px;
}
.bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  overflow: hidden;
}
.fill {
  height: 100%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  border-radius: 2px;
}

.teacher-card {
  border-style: solid;
  border-width: 1px;
}
#teachers {
  position: relative;
  overflow: hidden;
}
#matrix-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.15; /* Чтобы не мешал читать текст */
  pointer-events: none;
}
.teacher-card {
  position: relative;
  z-index: 2; /* Карточки поверх дождя */
}
.test-card-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 50px;
}
.test-card {
  width: 350px;
  min-height: 450px;
  background: #0a0a0a;
  border: 2px solid var(--primary);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 0 20px rgba(0, 112, 243, 0.2);
  transition: 0.3s;
}
.check-list {
  list-style: none;
  padding: 0;
}
.check-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px dashed #222;
}
.check-box {
  width: 25px;
  height: 25px;
  border: 2px solid var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.check-box.active::after {
  content: "✔";
  color: var(--primary);
}
.card-footer {
  margin-top: 30px;
  text-align: center;
  font-weight: bold;
  color: var(--primary);
  font-size: 1.2rem;
}

.container {
  padding: 20px;
}

.test-nav {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 0 10px rgba(0, 112, 243, 0.3);
  position: relative;
  z-index: 10;
}

.test-nav:hover {
  background: var(--primary);
  color: #000;
  box-shadow: 0 0 30px var(--primary);
  transform: scale(1.1);
}

.test-nav.prev::before {
  content: "«";
}
.test-nav.next::before {
  content: "»";
}

/* Эффект пульсации для стрелок */
.test-nav::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid var(--primary);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}
.binary-particle {
  position: fixed;
  top: -20px;
  font-family: "JetBrains Mono", monospace;
  font-weight: bold;
  pointer-events: none;
  z-index: 9999;
  animation: fall linear forwards;
}

@keyframes fall {
  to {
    transform: translateY(110vh);
    opacity: 0;
  }
}
.branches-container {
  display: flex;
  gap: 30px;
  margin-top: 50px;
  height: 500px;
}

.branches-sidebar {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.branch-selector {
  background: #0a0a0a;
  border: 1px solid #1a1a1a;
  padding: 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  transition: 0.3s;
}

.branch-selector:hover,
.branch-selector.active {
  border-color: var(--primary);
  background: rgba(0, 112, 243, 0.05);
}

.branch-icon {
  width: 45px;
  height: 45px;
  background: var(--primary);
  color: #000;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
}

.branch-info h4 {
  margin: 0;
  font-size: 16px;
  color: #fff;
}
.branch-info span {
  font-size: 12px;
  color: var(--dim);
}

.branch-detail-panel {
  flex: 2;
  background: #0a0a0a;
  border: 1px solid var(--primary);
  border-radius: 15px;
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #222;
  padding-bottom: 20px;
  margin-bottom: 25px;
}

.status-indicator {
  color: #00ff00;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1px;
}

.info-block {
  margin-bottom: 20px;
}
.info-block h5 {
  font-size: 10px;
  color: var(--primary);
  margin-bottom: 5px;
  letter-spacing: 2px;
}
.info-block p {
  color: #eee;
  font-size: 14px;
}

.tags-row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
.tag {
  background: #111;
  border: 1px solid #333;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 11px;
  color: var(--dim);
}

.map-preview {
  flex-grow: 1;
  background: #111;
  border-radius: 10px;
  margin-top: 20px;
  position: relative;
  overflow: hidden;
}

.map-placeholder {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dim);
  font-size: 12px;
  background: url("https://www.transparenttextures.com/patterns/carbon-fibre.png");
}
.status-indicator {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 1px;
  transition: 0.5s;
}

/* Пульсация только для онлайн статуса */
.status-indicator[style*="rgb(0, 255, 0)"] {
  text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
  animation: status-pulse 2s infinite;
}

@keyframes status-pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    opacity: 1;
  }
}

.branch-selector::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: #333; /* По умолчанию серый */
}
#crt-terminal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000; /* Полностью черный фон, чтобы скрыть сайт */
  z-index: 100000; /* Максимальный приоритет */
  display: none;
  flex-direction: column;
  padding: 5vh 5vw; /* Адаптивные отступы */
  box-sizing: border-box;
  overflow: hidden;
  font-family: "JetBrains Mono", monospace;
  color: #0070f3;
}

/* Эффект стеклянной линзы как на фото */
#crt-terminal::before {
  content: " ";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    rgba(0, 112, 243, 0.1) 0%,
    rgba(0, 0, 0, 0.8) 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* Сканирующие полосы */
#crt-terminal::after {
  content: " ";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%);
  background-size: 100% 4px;
  pointer-events: none;
  z-index: 3;
}

/* Центрируем содержимое терминала */
#term-output {
  flex-grow: 1;
  overflow-y: auto;
  z-index: 1;
  text-shadow: 0 0 8px #0070f3;
  font-size: 1.1rem;
}

.term-input-line {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1;
  padding-bottom: 20px;
}

#term-prompt {
  background: transparent;
  border: none;
  color: #0070f3;
  font-family: inherit;
  font-size: 1.1rem;
  outline: none;
  flex-grow: 1;
  text-shadow: 0 0 8px #0070f3;
}
#matrix-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* Матрица будет фоном внутри терминала */
  opacity: 0.15; /* Делаем её неяркой, чтобы видеть команды */
  pointer-events: none;
}
/* Основной контейнер заголовка */
.title-main {
  /* Возвращаем широкий футуристичный шрифт */
  font-family: "Orbitron", sans-serif;
  font-weight: 900; /* Максимальная жирность */
  text-transform: uppercase;
  font-size: 3rem;
  letter-spacing: 2px; /* Небольшой разнос букв для стиля */
  color: #ffffff;
  margin-bottom: 20px;
  text-align: center;

  /* Мягкое неоновое свечение */
  filter: drop-shadow(0 0 10px rgba(0, 112, 243, 0.6));
}

/* Переливающаяся часть (ФИЛИАЛЫ) */
.title-main .blue-neon {
  background: linear-gradient(
    to right,
    #0070f3 10%,
    #ffffff 40%,
    #ffffff 60%,
    #0070f3 90%
  );
  background-size: 200% auto;

  /* Применяем градиент к тексту */
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  /* Плавная волна */
  animation: shine-wave 4s linear infinite;
  font-weight: 900;
}

/* Анимация движения волны */
@keyframes shine-wave {
  to {
    background-position: 200% center;
  }
}
.title-main {
  .title-main .blue-neon:hover {
    animation: glitch 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
    text-shadow:
      0.05em 0 0 rgba(255, 0, 0, 0.75),
      -0.025em -0.05em 0 rgba(0, 255, 0, 0.75),
      0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
  }

  @keyframes glitch {
    0% {
      transform: translate(0);
    }
    20% {
      transform: translate(-3px, 3px);
    }
    40% {
      transform: translate(-3px, -3px);
    }
    60% {
      transform: translate(3px, 3px);
    }
    80% {
      transform: translate(3px, -3px);
    }
    100% {
      transform: translate(0);
    }
  }
}

.blue-neon {
  .title-main .blue-neon:hover {
    animation: glitch 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
    text-shadow:
      0.05em 0 0 rgba(255, 0, 0, 0.75),
      -0.025em -0.05em 0 rgba(0, 255, 0, 0.75),
      0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
  }

  @keyframes glitch {
    0% {
      transform: translate(0);
    }
    20% {
      transform: translate(-3px, 3px);
    }
    40% {
      transform: translate(-3px, -3px);
    }
    60% {
      transform: translate(3px, 3px);
    }
    80% {
      transform: translate(3px, -3px);
    }
    100% {
      transform: translate(0);
    }
  }
}

.news-container {
  max-width: 600px;
  margin: 40px auto;
  background: rgba(0, 112, 243, 0.05); /* Очень слабый синий фон */
  border: 1px solid rgba(0, 112, 243, 0.3);
  border-radius: 8px;
  padding: 15px;
  font-family: "JetBrains Mono", monospace;
  backdrop-filter: blur(5px);
  box-shadow: 0 0 20px rgba(0, 112, 243, 0.1);
  position: relative;
  overflow: hidden;
}

.news-header {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(0, 112, 243, 0.2);
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.live-indicator {
  width: 8px;
  height: 8px;
  background-color: #ff0000;
  border-radius: 50%;
  box-shadow: 0 0 5px #ff0000;
  animation: blink 1s infinite;
}

.news-title {
  color: #0070f3;
  font-size: 0.8rem;
  font-weight: bold;
  letter-spacing: 2px;
}

.news-body {
  height: 100px; /* Фиксированная высота для тикера */
  overflow-y: hidden;
  color: #ffffff;
  font-size: 0.9rem;
  line-height: 1.6;
}

.news-item {
  margin-bottom: 8px;
  opacity: 0.8;
  border-left: 2px solid #0070f3;
  padding-left: 10px;
  animation: slideIn 0.5s ease-out forwards;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

@keyframes slideIn {
  from {
    transform: translateX(-20px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
.map-container {
  width: 100%;
  height: 300px; /* Высота как на твоем макете */
  background: #000;
  border: 1px dashed rgba(0, 112, 243, 0.4);
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: inset 0 0 15px rgba(0, 112, 243, 0.2);
}

/* Эффект сетки поверх карты */
.map-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%),
    linear-gradient(
      90deg,
      rgba(255, 0, 0, 0.03),
      rgba(0, 255, 0, 0.01),
      rgba(0, 0, 255, 0.03)
    );
  background-size:
    100% 2px,
    3px 100%;
  pointer-events: none; /* Чтобы можно было крутить карту */
}
