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

body {
  min-height: 100vh;
  color: #fff;
  font-family: "Georgia", serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url("foto-pareja.png");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.container {
  padding: 2rem;
  max-width: 900px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.couple {
  margin-bottom: 2.5rem;
}

.couple h1 {
  font-size: 2.5rem;
  letter-spacing: 3px;
  font-weight: normal;
}

.couple p {
  margin-top: 0.5rem;
  opacity: 0.8;
  letter-spacing: 2px;
}

.countdown {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.monthly-egg {
  position: relative;
  overflow: hidden;
  width: min(520px, 100%);
  margin: 0 auto 2rem;
  padding: 1.05rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 16px;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.04));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(2px);
}

.monthly-egg.is-hidden {
  display: none;
}

.monthly-egg-main {
  font-size: 1.22rem;
  line-height: 1.4;
}

.plane {
  position: absolute;
  top: 10px;
  left: -24px;
  font-size: 0.92rem;
  opacity: 0.68;
  animation: plane-fly 7s linear infinite;
}

.monthly-egg.is-special {
  border-color: rgba(255, 245, 176, 0.8);
  background:
    linear-gradient(125deg, rgba(255, 227, 130, 0.3), rgba(255, 255, 255, 0.08));
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}

@keyframes plane-fly {
  0% {
    transform: translateX(0) translateY(0) rotate(6deg);
    opacity: 0;
  }

  12% {
    opacity: 0.68;
  }

  50% {
    transform: translateX(280px) translateY(-5px) rotate(0deg);
  }

  100% {
    transform: translateX(560px) translateY(1px) rotate(-4deg);
    opacity: 0;
  }
}

.time-box {
  min-width: 90px;
}

.number {
  font-size: 3.2rem;
  font-weight: bold;
}

.label {
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  opacity: 0.75;
  text-transform: uppercase;
}

.magic-text {
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.95;
}

.final-line {
  margin-top: 1.5rem;
  font-style: italic;
  opacity: 0.85;
}

.footer-logo {
  padding: 1.5rem 0 2rem;
  margin-top: auto;
}

.footer-logo img {
  display: block;
  max-width: 100px;
  width: 100%;
  height: auto;
  opacity: 0.9;
  filter: brightness(0) invert(1);
}

.is-finished {
  justify-content: center;
}

.finished-message {
  font-size: 2rem;
  font-weight: bold;
}

@media (max-width: 600px) {
  .number {
    font-size: 2.2rem;
  }

  .couple h1 {
    font-size: 1.8rem;
  }

  .monthly-egg {
    padding: 0.9rem 1rem;
    margin-bottom: 1.6rem;
  }

  .monthly-egg-main {
    font-size: 1.1rem;
  }
}
