/* ---------- Базовые настройки ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Nunito', sans-serif;
  background: linear-gradient(180deg, #FFF0F5 0%, #FFE4E1 100%);
  color: #5D4037;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  overflow-x: hidden;
}

/* ---------- Облачка ---------- */
.cloud {
  position: fixed;
  background: #ffffff;
  border-radius: 50%;
  opacity: 0.65;
  box-shadow: 0 10px 30px rgba(248, 187, 208, 0.35);
  animation: float 12s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

.cloud::before,
.cloud::after {
  content: '';
  position: absolute;
  background: #ffffff;
  border-radius: 50%;
}

.cloud-1 {
  width: 120px;
  height: 120px;
  top: 8%;
  left: 6%;
}
.cloud-1::before { width: 80px; height: 80px; top: -30px; left: 20px; }
.cloud-1::after  { width: 90px; height: 90px; top: 10px; left: -40px; }

.cloud-2 {
  width: 90px;
  height: 90px;
  top: 20%;
  right: 10%;
  animation-delay: -3s;
}
.cloud-2::before { width: 60px; height: 60px; top: -25px; left: 15px; }
.cloud-2::after  { width: 70px; height: 70px; top: 5px; left: -30px; }

.cloud-3 {
  width: 150px;
  height: 150px;
  bottom: 10%;
  left: 4%;
  animation-delay: -6s;
}
.cloud-3::before { width: 100px; height: 100px; top: -40px; left: 25px; }
.cloud-3::after  { width: 110px; height: 110px; top: 15px; left: -50px; }

.cloud-4 {
  width: 100px;
  height: 100px;
  bottom: 15%;
  right: 8%;
  animation-delay: -9s;
}
.cloud-4::before { width: 70px; height: 70px; top: -28px; left: 18px; }
.cloud-4::after  { width: 80px; height: 80px; top: 8px; left: -35px; }

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50%      { transform: translateY(-20px) translateX(10px); }
}

/* ---------- Карточка с контентом ---------- */
.card {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 32px;
  padding: 48px 40px;
  max-width: 640px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(248, 187, 208, 0.45);
  text-align: center;
  backdrop-filter: blur(6px);
}

/* ---------- Заголовки ---------- */
h1 {
  font-family: 'Comfortaa', cursive;
  font-size: 2rem;
  color: #D81B60;
  margin-bottom: 24px;
  line-height: 1.3;
}

p {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 18px;
  color: #5D4037;
}

/* ---------- Фото ---------- */
.photo {
  width: 100%;
  max-width: 360px;
  border-radius: 24px;
  margin: 20px auto;
  display: block;
  box-shadow: 0 10px 25px rgba(248, 187, 208, 0.5);
}

/* ---------- Навигация ---------- */
.nav {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.nav a {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  background: #F8BBD0;
  color: #5D4037;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.25s ease;
  box-shadow: 0 6px 16px rgba(248, 187, 208, 0.6);
}

.nav a:hover {
  background: #F48FB1;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(244, 143, 177, 0.7);
}

.nav a.secondary {
  background: #FFF0F5;
  color: #D81B60;
  box-shadow: 0 4px 12px rgba(248, 187, 208, 0.4);
}

.nav a.secondary:hover {
  background: #FFE4E1;
}

/* ---------- Подпись внизу ---------- */
.footer-note {
  margin-top: 28px;
  font-size: 0.9rem;
  color: #B07A8E;
  font-style: italic;
}

/* ---------- Мобильная версия ---------- */
@media (max-width: 500px) {
  .card { padding: 32px 22px; }
  h1 { font-size: 1.5rem; }
  p { font-size: 1.05rem; }
  .cloud { opacity: 0.4; }
}
