/* Сезонные страницы (осень, зима). Подключаются после styles.css */
.season-fx { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 45; }

body[data-season] .hero__bg { background: var(--season-overlay), var(--season-photo) center / cover no-repeat, linear-gradient(135deg, #101010, #3a1222 60%, #c72a59); }
body[data-season="autumn"] {
  --season-overlay: radial-gradient(circle at 85% 15%, rgba(232, 137, 44, .35), transparent 45%), linear-gradient(105deg, rgba(10, 10, 10, .9) 0%, rgba(16, 16, 16, .72) 45%, rgba(16, 16, 16, .25) 100%);
  --season-photo: url("https://images.unsplash.com/photo-1507371341162-763b5e419408?auto=format&fit=crop&w=2000&q=70");
}
body[data-season="winter"] {
  --season-overlay: radial-gradient(circle at 85% 15%, rgba(120, 170, 230, .3), transparent 45%), linear-gradient(105deg, rgba(10, 12, 18, .9) 0%, rgba(14, 18, 28, .7) 45%, rgba(14, 18, 28, .25) 100%);
  --season-photo: url("https://images.unsplash.com/photo-1483728642387-6c3bdd6c93e5?auto=format&fit=crop&w=2000&q=70");
}
@media (max-width: 900px) {
  body[data-season="autumn"] { --season-photo: url("https://images.unsplash.com/photo-1507371341162-763b5e419408?auto=format&fit=crop&w=1200&q=70"); }
  body[data-season="winter"] { --season-photo: url("https://images.unsplash.com/photo-1483728642387-6c3bdd6c93e5?auto=format&fit=crop&w=1200&q=70"); }
}
@media (max-width: 600px) {
  body[data-season="autumn"] { --season-photo: url("https://images.unsplash.com/photo-1507371341162-763b5e419408?auto=format&fit=crop&w=800&q=70"); }
  body[data-season="winter"] { --season-photo: url("https://images.unsplash.com/photo-1483728642387-6c3bdd6c93e5?auto=format&fit=crop&w=800&q=70"); }
}

/* Счётчик дней до каникул на первом экране */
.countdown {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 26px; padding: 10px 18px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-size: 15px; color: rgba(255, 255, 255, .9);
  animation: heroIn .9s .25s cubic-bezier(.22, .61, .36, 1) both;
}
.countdown strong { font: 800 18px/1 var(--font-head); color: var(--c-accent-light); }

/* Пасхалки. «Сумерки»: холодный туманный цвет Форкса поверх страницы */
body.forks::after {
  content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none;
  background: linear-gradient(180deg, rgba(170, 190, 195, .22), rgba(35, 65, 70, .38));
  backdrop-filter: saturate(.45) hue-rotate(-18deg) brightness(.93);
  -webkit-backdrop-filter: saturate(.45) hue-rotate(-18deg) brightness(.93);
  animation: forksIn 1.4s ease both;
}
@keyframes forksIn { from { opacity: 0; } }
.egg-toast {
  position: fixed; z-index: 70; left: 50%; bottom: 24px; transform: translateX(-50%);
  width: min(400px, calc(100% - 32px)); padding: 22px 22px 20px;
  background: rgba(18, 26, 28, .92); color: rgba(255, 255, 255, .86);
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35); font-size: 14px; line-height: 1.5;
  animation: eggToast .6s .3s cubic-bezier(.22, .61, .36, 1) both;
}
@keyframes eggToast { from { opacity: 0; transform: translate(-50%, 24px); } }
.egg-toast p + p { margin-top: 8px; }
.egg-toast .btn { margin-top: 14px; }
.egg-toast__eyebrow { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #9fc2b8; }
.egg-toast__title { font: 800 20px/1.2 var(--font-head); color: #fff; }
.egg-toast__quote { font-style: italic; color: #d8e6e2; }
.egg-toast__close {
  position: absolute; top: 10px; right: 12px; width: 32px; height: 32px;
  border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff;
  font-size: 20px; line-height: 1; cursor: pointer;
}
.egg-toast__close:hover { background: rgba(255, 255, 255, .16); }

/* «Холодное сердце»: снег растаял, страница теплеет */
body.summer::after {
  content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none;
  background: linear-gradient(200deg, rgba(255, 196, 92, .28), rgba(255, 140, 90, .12) 45%, rgba(0, 180, 190, .14));
  backdrop-filter: sepia(.25) saturate(1.35) brightness(1.04);
  -webkit-backdrop-filter: sepia(.25) saturate(1.35) brightness(1.04);
  animation: forksIn 1.6s ease both;
}
.egg-toast--olaf { background: rgba(40, 24, 10, .9); }
.egg-toast--olaf .egg-toast__eyebrow { color: #ffd36b; }
.egg-toast--kevin .egg-toast__eyebrow { color: var(--c-accent-light); }

/* «Один дома»: крик «КЕВИН!» на весь экран */
.egg-shout {
  position: fixed; z-index: 80; inset: 0; display: grid; place-items: center; pointer-events: none;
  font: 800 clamp(64px, 16vw, 200px)/1 var(--font-head); color: #fff; letter-spacing: .02em;
  text-shadow: 0 6px 0 var(--c-accent), 0 18px 40px rgba(0, 0, 0, .45);
  animation: eggShout 1.9s cubic-bezier(.22, .61, .36, 1) both;
}
@keyframes eggShout {
  0% { opacity: 0; transform: scale(.3) rotate(-8deg); }
  18% { opacity: 1; transform: scale(1.12) rotate(3deg); }
  26% { transform: scale(1) rotate(-2deg); }
  34% { transform: scale(1.04) rotate(1deg); }
  75% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.3); }
}
