/* styleStartPage.css — updated to center hero block vertically and stack title -> signature -> buttons */
:root {
  --bg: #87CEEB;
  --window-bg: #FFD700;
  --text: #fff;
  --btn-1-bg: #FF6B6B;
  --btn-2-bg: #4ECDC4;
  --btn-3-bg: #95E1D3;
  --btn-text: #fff;
  --btn-hover: rgba(0,0,0,0.1);
  --radius: 16px;
  --font: 'Inter', sans-serif;
}

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

/* Основной фон */
body {
  font-family: var(--font);
  background: linear-gradient(180deg, #87CEEB 0%, #E0F6FF 100%);
  color: var(--text);
  min-height: 100vh;
  overflow: hidden;
  /* не центрируем весь body — внутри .hero мы сами позиционируем содержимое */
}

/* Новая обёртка: заголовок, подпись, кнопки */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: calc(100vh - 120px); /* учитывает высоту травы внизу */
  padding: 2rem 1rem 1rem;
  text-align: center;
  z-index: 2; /* поверх облаков/солнца */
  position: relative;
}

/* Заголовок */
h1 {
  margin: 0;
  font-size: clamp(2.5rem, 8vw, 6rem);
  color: #0b0b0b;
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
}

/* Подпись под заголовком */
.signature {
  margin: 0;
  margin-top: 0.2rem;
  font-family: 'Caveat', cursive;
  font-size: 1.05rem;
  color: #1b1b1b;
  opacity: 0.95;
}

/* Кнопки (группа) */
.buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 1rem;
}

/* Стили для кнопок */
.btn {
  display: inline-block;
  padding: 0.9rem 1.4rem;
  text-decoration: none;
  border-radius: var(--radius);
  font-weight: 700;
  color: var(--btn-text);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  font-size: 1rem;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 12px rgba(0,0,0,0.12);
  background: #FFF9A6;
  color: #1a1a1a;
}

/* hover/active */
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 18px rgba(0,0,0,0.18); }
.btn:active { transform: translateY(-1px); }

/* мобильная версия: кнопки по колонке */
@media (max-width: 600px) {
  .buttons { flex-direction: column; gap: 0.7rem; width: 100%; padding: 0 1rem; }
  .btn { width: 100%; text-align: center; padding: 0.85rem 1rem; font-size: 0.95rem; }
  h1 { font-size: 2.2rem; }
}

/* ==== фоновые элементы (трава, облака, солнце) ==== */
.grass {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to top, #78c850 50%, transparent 100%);
  z-index: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 10px;
  gap: 15px;
}
.grass::before,
.grass::after {
  content: '🌸🌿🌼🌷';
  font-size: 80px;
  animation: sway 3s ease-in-out infinite alternate;
}

@keyframes sway {
  from { transform: translateX(0px) rotate(-2deg); }
  to   { transform: translateX(3px) rotate(2deg); }
}
@keyframes rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.sun {
  position: absolute;
  top: -10%;
  left: 88%;
  transform: translateX(-50%);
  font-size: 200px;
  color: #ffcc00;
  z-index: 1;
  animation: sway 3s ease-in-out infinite alternate, rotate 20s linear infinite;
}
.amp1 { position:absolute; top:-7%; left:15%; font-size:150px; color:#fff; z-index:1; animation: sway 3s ease-in-out infinite alternate; }
.amp2 { position:absolute; top:-7%; left:1%;  font-size:150px; color:#fff; z-index:1; animation: sway 3s ease-in-out infinite alternate; }
.amp3 { position:absolute; top:-7%; left:73%; font-size:150px; color:#fff; z-index:1; animation: sway 3s ease-in-out infinite alternate; }

/* creator credit (фиксирован справа внизу) */
.creator-credit {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-family: 'Caveat', cursive;
  font-size: 1.5rem;
  color: #000;
  font-weight: 700;
  z-index: 100;
  opacity: 0.85;
}

.card-text { font-size:1.5rem; color:#f7c146; font-weight:700; text-align:center; padding:0 6px; line-height:1.2; }
.panel { font-size:1rem; color:#000; font-weight:500; margin-top:8px; text-align:center; }

.netlify-badge {
  display: none !important;
}
