/* landing.css — адаптивный, тёмный, с анимацией появления */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #0a0f13;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #eef4f8;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  padding: 24px;
}

body.loaded {
  opacity: 1;
}

.landing-wrapper {
  max-width: 820px;
  width: 100%;
  background: #0f171e;
  border: 1px solid #1a2a32;
  border-radius: 48px;
  padding: 32px 40px 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  min-height: 85vh;
  backdrop-filter: blur(2px);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.landing-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7);
}

/* ===== ШАПКА ===== */
.landing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid #1a2a32;
  flex-wrap: wrap;
  gap: 12px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  font-size: 28px;
  color: #4f8aaa;
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  color: #eef4f8;
  letter-spacing: -0.5px;
}

.logo-text span {
  color: #4f8aaa;
}

.btn-ghost {
  background: transparent;
  border: 1px solid #2f404a;
  color: #b0ccdd;
  padding: 8px 18px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-ghost:hover {
  background: #162026;
  border-color: #4f8aaa;
  color: #dce9f2;
}

/* ===== ОСНОВНОЙ БЛОК ===== */
.landing-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0 12px;
}

.landing-content {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}

/* Иконка с пульсацией */
.hero-icon {
  position: relative;
  display: inline-flex;
  margin-bottom: 28px;
  font-size: 72px;
  color: #4f8aaa;
}

.hero-icon i {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 12px rgba(60, 150, 200, 0.3));
}

.pulse-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: transparent;
  border: 2px solid rgba(79, 138, 170, 0.25);
  animation: pulse 2.4s ease-in-out infinite;
  z-index: 1;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.8;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0.1;
  }
  100% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.8;
  }
}

/* Текст */
.hero-title {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
  color: #eef4f8;
}

.hero-title span {
  background: linear-gradient(135deg, #f7b731, #f5a623);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 18px;
  color: #8aa6b8;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto 30px;
}

.hero-description strong {
  color: #dce9f2;
  font-weight: 600;
}

/* Забавный блок */
.funny-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #10181e;
  border: 1px solid #1f2f38;
  border-radius: 60px;
  padding: 10px 24px;
  margin: 0 auto 32px;
  font-size: 15px;
  color: #6d8fa0;
  width: fit-content;
  flex-wrap: wrap;
}

.emoji-big {
  font-size: 28px;
  line-height: 1;
}

.dots span {
  display: inline-block;
  animation: dotJump 1.4s infinite;
}

.dots span:nth-child(2) { animation-delay: 0.2s; }
.dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotJump {
  0%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-6px); }
}

/* Кнопки */
.landing-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 36px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 60px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: 0.25s ease;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #f7b731, #f5a623);
  color: #0a0f13;
  box-shadow: 0 4px 16px rgba(245, 166, 35, 0.25);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(245, 166, 35, 0.4);
}

.btn-secondary {
  background: transparent;
  border: 1px solid #2f404a;
  color: #b0ccdd;
}

.btn-secondary:hover {
  background: #162026;
  border-color: #4f8aaa;
  color: #dce9f2;
}

/* Социальные ссылки */
.social-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 15px;
  color: #4f6a7a;
}

.social-hint a {
  color: #5f8095;
  font-size: 20px;
  transition: 0.2s ease;
}

.social-hint a:hover {
  color: #b0ccdd;
  transform: translateY(-2px);
}

/* ===== ПОДВАЛ ===== */
.landing-footer {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #1a2a32;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  color: #4f6a7a;
  flex-wrap: wrap;
}

.landing-footer i {
  margin: 0 2px;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 700px) {
  .landing-wrapper {
    padding: 24px 20px 20px;
    border-radius: 32px;
    min-height: 80vh;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-description {
    font-size: 16px;
    padding: 0 4px;
  }

  .btn-primary,
  .btn-secondary {
    padding: 12px 24px;
    font-size: 15px;
  }

  .hero-icon {
    font-size: 56px;
  }
  .pulse-ring {
    width: 96px;
    height: 96px;
  }
}

@media (max-width: 480px) {
  body {
    padding: 12px;
  }
  .landing-wrapper {
    padding: 18px 14px 16px;
    border-radius: 24px;
  }
  .hero-title {
    font-size: 26px;
  }
  .hero-description {
    font-size: 15px;
  }
  .landing-actions {
    flex-direction: column;
    width: 100%;
  }
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  .funny-block {
    font-size: 14px;
    padding: 8px 16px;
  }
  .social-hint {
    font-size: 14px;
    gap: 12px;
  }
  .landing-footer {
    font-size: 13px;
    flex-direction: column;
    gap: 4px;
  }
}