/* ============================================
   Diveshure — страница-заглушка
   Десктоп (≥768px) — основные стили
   Мобильный (≤767px) — в конце файла
   ============================================ */

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

html {
  height: 100%;
  overflow: hidden;
}

body {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  font-family: 'Inter', -apple-system, sans-serif;
  background: #000B1A;
  color: #fff;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }

/* ============================================
   Page — flex-колонка, без прокрутки
   ============================================ */
.page {
  display: flex;
  flex-direction: column;
  height: 100dvh;
}

/* ============================================
   DESKTOP: Hero
   ============================================ */
.hero {
  position: relative;
  flex: 1;
  width: 100%;
  max-height: 990px;
  overflow: hidden;
}

/* Фоновое изображение на всю страницу, z=0 */
.bg-image {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,11,26,0) 9.89%, rgba(0,11,26,0.5) 95%);
}

/* ============================================
   DESKTOP: Группа декоративных кругов, z=1
   ============================================ */
.ellipses-group {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 804px;
  height: 750px;
  z-index: 1;
}

/* Стеклянная линза */
.ellipse {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background-image: radial-gradient(
    circle at 35% 25%,
    rgba(255, 255, 255, 0.14),
    rgba(255, 255, 255, 0.04) 28%,
    rgba(0, 120, 170, 0.08) 58%,
    rgba(0, 20, 40, 0.12) 100%
  );
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  backdrop-filter: blur(4px) saturate(130%) contrast(105%);
  -webkit-backdrop-filter: blur(4px) saturate(130%) contrast(105%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    inset 18px 18px 40px rgba(255, 255, 255, 0.05),
    inset -24px -24px 60px rgba(0, 0, 0, 0.22),
    0 20px 60px rgba(0, 0, 0, 0.12);
}

.ellipse--1 {
  left: -54px;
  top: 165px;
  width: 340px;
  height: 340px;
}

.ellipse--2 {
  right: 192px;
  top: -53px;
  width: 200px;
  height: 200px;
}

.ellipse--3 {
  right: -15px;
  top: 403px;
  width: 180px;
  height: 180px;
}

.ellipse--4 {
  left: 379px;
  bottom: 0;
  width: 100px;
  height: 100px;
}

/* ============================================
   DESKTOP: Card — логотип + текст, z=2
   ============================================ */
.card {
  position: absolute;
  left: 50%;
  top: 22vh;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 80px 0;
  border-radius: 40px;
}

.logo--main {
  width: 540px;
  height: 79px;
  filter: drop-shadow(0px 4px 8px rgba(0,0,0,0.25));
}

.logo__img { width: 100%; height: 100%; }

.card__text {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 32px;
  line-height: 36px;
  text-align: center;
  color: #fff;
  text-shadow: 0px 4px 8px rgba(0,0,0,0.25);
}

/* ============================================
   DESKTOP: Footer, z=3
   ============================================ */
.footer {
  position: sticky;
  bottom: 0;
  z-index: 3;
  flex-shrink: 0;
  height: 150px;
  margin-top: auto;
  background: rgba(0, 11, 26, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  height: 100%;
  padding: 40px 320px 0;
}

.logo--footer {
  width: 221px;
  height: 32px;
}

.footer__copy {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: rgba(255,255,255,0.5);
}

/* ============================================
   MOBILE: ≤ 767px
   ============================================ */
@media (max-width: 767px) {

  /* Hero */
  .hero {
    flex: 1;
    height: auto;
    max-height: none;
    overflow: hidden;
  }

  /* Круги */
  .ellipses-group {
    width: 360px;
    height: 720px;
  }

  .ellipse--1 {
    left: -176px;
    top: auto;
    width: 320px;
    height: 320px;
  }

  .ellipse--2 {
    right: -90px;
    top: 360px;
    width: 200px;
    height: 200px;
  }

  .ellipse--3 {
    display: none;
  }

  .ellipse--4 {
    display: none;
  }

  /* Card */
  .card {
    top: 165px;
    left: 50%;
    transform: translateX(-50%);
    width: 360px;
    padding: 20px 16px;
    gap: 48px;
  }

  .logo--main {
    width: 320px;
    height: 47px;
  }

  .card__text {
    font-size: 20px;
    line-height: 24px;
  }

  /* Footer */
  .footer {
    flex-shrink: 0;
    height: 150px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 40px 16px 0;
  }

  .logo--footer {
    width: 166px;
    height: 24px;
  }
}
