/* === ОБЩИЕ НАСТРОЙКИ === */
html, body {
  margin: 0;
  padding: 0;
  background: #010101;
  height: 100%;
  overflow: hidden; /* убираем скролл */
}

body.admin-bar {
  margin-top: 0 !important;
}

/* === ГЛАВНЫЙ КАДР === */
.hero {
  position: relative;
  width: 1440px;
  height: 900px;
  margin: 0 auto;
  background: #010101;
  overflow: hidden;
  z-index: 0;
  transform-origin: top center;
  transform: scale(var(--scale, 1));
}

/* === ЛОГОТИП === */
.hero__logo {
  position: absolute;
  top: 30px;
  left: 27px;
  width: 1386px;
  height: 420px;
  z-index: 1;
}

.hero__logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* === НОУТБУК === */
.hero__image {
  position: absolute;
  top: 365px;
  left: 231px;
  right: 231px;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 2;
}

.hero__image img {
  width: 100%;
  height: auto;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* === СТЕКЛО === */
.hero__glass {
  position: absolute;
  bottom: 100px;
  left: 50px;
  width: 1340px;
  height: 533px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 30px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.4);
  z-index: 3;
  overflow: hidden;
}

/* === ВНУТРЕННИЙ КОНТЕЙНЕР СОДЕРЖИМОГО === */
.hero__content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  max-width: 700px;
  z-index: 10; /* поверх стекла */
}

/* === ЗАГОЛОВОК === */
.hero__content h1 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 60px;
  color: #ffffff;
  line-height: 1.15;
  margin: 0 0 20px;
  text-shadow: 0 0 40px rgba(255, 255, 255, 0.25);
  animation: fadeIn 1s ease forwards;
}

/* === ПОДЗАГОЛОВОК === */
.hero__content p {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-size: 20px;
  color: #e5e5e5;
  line-height: 1.6;
  margin-bottom: 45px;
  text-shadow: 0 0 25px rgba(255, 255, 255, 0.15);
  animation: fadeIn 1.2s ease forwards 0.2s;
}

/* === КНОПКА === */
.hero__btn {
  display: inline-block;
  padding: 14px 45px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: #fff;
  text-decoration: none;
  border-radius: 35px;
  background: linear-gradient(90deg, #3cf0ff 0%, #ff00cc 100%);
  box-shadow: 0 0 25px rgba(255, 0, 204, 0.35);
  transition: all 0.3s ease;
  animation: fadeIn 1.4s ease forwards 0.4s;
}

.hero__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 40px rgba(255, 0, 204, 0.6);
}

/* === FOOTER (внутри hero) === */
.site-footer {
  position: absolute;
  bottom: 25px;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 5;
  transform: none !important;
}

.site-footer p {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 16px;
  color: #ededed;
  margin: 0;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
  opacity: 0;
  animation: fadeIn 0.6s ease forwards 0.3s;
}

/* === АНИМАЦИЯ ПОЯВЛЕНИЯ === */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === HEADER === */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  background: transparent;
}

/* === НАВИГАЦИЯ === */
.main-nav {
  width: 100%;
  max-width: 1440px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 100px;
  position: relative;
}

/* Левая и правая части меню */
.nav-left,
.nav-right {
  display: flex;
  gap: 50px;
  align-items: center;
}

/* Центр под логотип */
.nav-center {
  flex: 0 0 300px;
}

/* Ссылки */
.main-nav a {
  position: relative;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #ededed;
  text-decoration: none;
  padding-bottom: 8px;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: #ffffff;
}

/* === ПОДСВЕТКА ГРАДИЕНТНАЯ ЛИНИЯ === */
.menu-indicator {
  position: absolute;
  bottom: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, #3cf0ff 0%, #ff00cc 100%);
  border-radius: 10px;
  transition: all 0.4s ease;
}

/* Активная ссылка */
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #3cf0ff 0%, #ff00cc 100%);
  border-radius: 10px;
}
