/* =========================
   BASE
   ========================= */

body {
  font-family: "Baloo 2", cursive;
  background: #f3e7dd;
  color: #5b4a42;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  text-align: center;
}

/* =========================
   LOGO
   ========================= */

.logo-wrapper {
  margin-bottom: 30px;
  position: relative;
}

.logo {
  width: 220px;
  animation: floaty 6s ease-in-out infinite;
  transition: transform 1.2s ease-in-out;
  cursor: pointer;
}

.logo.spin {
  transform: rotate(360deg);
}

/* Easter-Egg Winken */
.logo.wave {
  animation: wave 1.2s ease-in-out;
}

/* =========================
   COUNTDOWN
   ========================= */

.countdown {
  margin-top: 10px;
  gap: 16px;
  flex-wrap: wrap;
}

.time-box {
  min-width: 80px;
}

.time-box span {
  display: block;
  font-size: 2.4rem;
  font-weight: 700;
}

/* =========================
   FOOTER
   ========================= */

footer {
  margin-top: 40px;
  font-size: 0.85rem;
  opacity: 0.75;
}

footer a {
  color: #5b4a42;
  text-decoration: none;
  font-weight: 600;
}

footer a:hover {
  text-decoration: underline;
}

/* =========================
   STEAM (EASTER-EGG)
   ========================= */

.easter-steam {
  position: relative;
  height: 40px;
  margin-top: -10px;
}

.easter-steam span {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 16px;
  height: 16px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  filter: blur(6px);
  animation: steam 2.5s ease-out infinite;
}

.easter-steam span:nth-child(1) {
  margin-left: -20px;
}

.easter-steam span:nth-child(2) {
  animation-delay: .6s;
}

.easter-steam span:nth-child(3) {
  margin-left: 20px;
  animation-delay: 1.2s;
}

/* =========================
   ANIMATIONS
   ========================= */

@keyframes floaty {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

@keyframes wave {
  0%   { transform: rotate(0deg) translateY(0); }
  15%  { transform: rotate(-8deg) translateY(-4px); }
  30%  { transform: rotate(10deg) translateY(-6px); }
  45%  { transform: rotate(-6deg) translateY(-4px); }
  60%  { transform: rotate(6deg) translateY(-2px); }
  100% { transform: rotate(0deg) translateY(0); }
}

@keyframes steam {
  0% {
    transform: translate(-50%, 0) scale(.5);
    opacity: 0;
  }
  20% {
    opacity: .8;
  }
  100% {
    transform: translate(-50%, -50px) scale(1.2);
    opacity: 0;
  }
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 576px) {
  .countdown {
    flex-wrap: nowrap;
  }

  .time-box {
    min-width: 60px;
  }

  .time-box span {
    font-size: 1.8rem;
  }

  .logo {
    width: 180px;
  }
}
