/* Sección del countdown */
#dont-miss-it {
  padding: 40px 0;
  position: relative;
  background: linear-gradient(135deg, #8b9d83 0%, #a8b89f 25%, #9aa592 50%, #7a8a7a 75%, #6b7a6b 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

#dont-miss-it .countdown-container {
  padding: 40px 0;
  position: relative;
}

/* Título del countdown */
.countdown-title {
  text-align: center;
  margin-bottom: 40px;
  font-family: "IBM Plex Serif", serif;
}

.countdown-title h2 {
  font-size: 2.5em;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.countdown-title p {
  font-size: 1em;
  color: #ffffff;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 2px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
  opacity: 0.95;
}

/* Contenedor del countdown */
.countdown {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/* Cada item del countdown */
.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 120px;
  transition: transform 0.3s ease;
}

.countdown-item:hover {
  transform: translateY(-5px);
}

/* Círculos con números */
.circle {
  background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
  border-radius: 50%;
  width: 120px;
  height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 2.5em;
  font-weight: 700;
  color: #6b7a6b;
  margin-bottom: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 0 4px rgba(255, 255, 255, 0.2);
  border: 3px solid rgba(107, 122, 107, 0.2);
  position: relative;
  overflow: hidden;
  font-family: "IBM Plex Serif", serif;
}

.circle::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.circle span {
  font-size: 0.3em;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
  opacity: 0.9;
}

/* Etiquetas debajo de los círculos */
.label {
  font-size: 1em;
  text-transform: uppercase;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 2px;
  font-family: "IBM Plex Serif", serif;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Mensaje cuando termina el countdown */
.countdown-finished {
  text-align: center;
  padding: 40px;
}

.countdown-finished h1 {
  font-size: 3em;
  color: #9aa592;
  font-family: "IBM Plex Serif", serif;
  font-weight: 300;
  letter-spacing: 3px;
  animation: fadeInScale 1s ease-in-out;
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Responsive - Tablets */
@media (max-width: 768px) {
  .countdown-title h2 {
    font-size: 2.5em;
  }
  
  .countdown-title p {
    font-size: 1.1em;
  }
  
  .countdown {
    gap: 25px;
  }
  
  .countdown-item {
    width: 100px;
  }
  
  .circle {
    width: 100px;
    height: 100px;
    font-size: 2em;
  }
  
  .label {
    font-size: 0.9em;
  }
}

/* Responsive - Móviles */
@media (max-width: 500px) {
  #dont-miss-it .image-divider {
    padding: 60px 0;
  }
  
  .countdown-title {
    margin-bottom: 30px;
  }
  
  .countdown-title h2 {
    font-size: 2em;
    letter-spacing: 1px;
  }
  
  .countdown-title p {
    font-size: 1em;
  }
  
  .countdown {
    gap: 15px;
  }
  
  .countdown-item {
    width: 70px;
  }
  
  .circle {
    width: 70px;
    height: 70px;
    font-size: 1.5em;
    border: 2px solid rgba(255, 255, 255, 0.3);
  }
  
  .circle span {
    font-size: 0.35em;
  }
  
  .label {
    font-size: 0.7em;
    letter-spacing: 1px;
  }
  
  .countdown-finished h1 {
    font-size: 2em;
  }
}