/* Обнуление */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden; /* 🔥 Только горизонтальный скролл убираем */
  overflow-y: auto;  /* ✅ Вертикальный — разрешён, но контент должен влезать */
}

body {
  font-family: 'Gidole', sans-serif;
  background-color: #ffdfc499;
  color: #5f5f5f;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  line-height: 1.6;
}

/* Основной контент */
.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards 0.3s;
  animation-fill-mode: both;
}

/* Заголовок */
.title {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
  color: #5f5f5f;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.2s;
  animation-fill-mode: both;
}

/* Подзаголовок */
.tagline {
  font-size: 1.1rem;
  color: #5f5f5f;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.4s;
  animation-fill-mode: both;
}

/* Бренд с сердцем */
.love {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #d44d4d;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.6s;
  animation-fill-mode: both;
}

.heart {
  font-size: 1.4em;
  animation: heartbeat 1.5s ease-in-out infinite;
  display: inline-block;
}

@keyframes heartbeat {
  0% { transform: scale(1); }
  14% { transform: scale(1.1); }
  28% { transform: scale(1); }
  42% { transform: scale(1.1); }
  70% { transform: scale(1); }
}

/* Преимущества с иконками */
.features {
  list-style: none;
  margin: 1.5rem 0;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 0.8s;
  animation-fill-mode: both;
}

.features li {
  margin: 0.6rem 0;
  font-size: 1.1rem;
  color: #5f5f5f;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.features i {
  color: #5f5f5f;
  font-size: 1.1rem;
  min-width: 18px;
  text-align: center;
}

/* Соцсети */
.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards 1.1s;
  animation-fill-mode: both;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #5f5f5f;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: scale(0.8);
}

.social-btn i {
  color: #ffdfc4;
  font-size: 1.8rem;
}

.wb-logo {
  width: 70%;
  height: auto;
  transition: filter 0.3s;
}

.ozon-logo {
  width: 60%;
  height: auto;
  border-radius: 4px;
  transition: transform 0.3s;
}

/* Ховер */
.social-btn:hover {
  background-color: #ffdfc4;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.social-btn:hover i {
  color: #5f5f5f;
}

.social-btn:hover .wb-logo {
  filter: invert(0);
}

.social-btn:hover .ozon-logo {
  transform: rotate(5deg);
}

/* Анимация кнопок */
.social-btn:nth-child(1) {
  animation: popIn 0.4s ease forwards 1.4s;
}

.social-btn:nth-child(2) {
  animation: popIn 0.4s ease forwards 1.6s;
}

.social-btn:nth-child(3) {
  animation: popIn 0.4s ease forwards 1.8s;
}

@keyframes popIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Футер — всегда внизу, видим */
.footer {
  text-align: center;
  padding: 1rem 0;
  font-size: 1rem;
  color: #5f5f5f;
  opacity: 0;
  animation: fadeIn 0.8s ease forwards 2s;
  animation-fill-mode: both;
  flex-shrink: 0;
}

/* Анимации */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Адаптив */
@media (max-width: 480px) {
  .title {
    font-size: 2.2rem;
  }

  .tagline,
  .love {
    font-size: 1rem;
  }

  .features li {
    font-size: 1rem;
    gap: 0.5rem;
  }

  .features i {
    font-size: 1rem;
  }

  .social-btn {
    width: 50px;
    height: 50px;
  }

  .wb-logo {
    width: 65%;
  }

  .ozon-logo {
    width: 55%;
  }

  .social-links {
    gap: 1.2rem;
  }

  .footer {
    font-size: 0.95rem;
    padding: 0.8rem 0;
  }

  .content {
    padding: 1rem;
  }
}