.countdown-section {
  background: url("../media/CountdownBG.png") center center / contain no-repeat;
  aspect-ratio: 4098 / 1011;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
  margin-bottom: 140px;
}

.countdown-overlay {
  background-color: rgba(0, 0, 0, 0);
  width: 100%;
  padding: 10px 20px;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 10px;
  position: relative;
  z-index: 2;
}

.countdown-container {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-content: center;
  gap: clamp(32px, 6vw, 100px);
  align-items: center;
  text-align: center;
  color: #fff0d6;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.countdown-item {
  min-width: 0;
}

.countdown-item span {
  display: block;
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 800;
  font-family: "Righteous", sans-serif;
  line-height: 1;
}

.countdown-item p {
  font-family: "Bellota", serif;
  font-size: clamp(18px, 2.2vw, 26px);
  margin: 8px 0 0 0;
}

@media (max-width: 1024px) {
  .countdown-section {
    background-image:
      linear-gradient(to bottom, rgba(255, 240, 214, 0.18), rgba(77, 8, 122, 0.56)),
      url("../media/CountdownBG.png");
    background-position: center, center 20%;
    background-size: cover, cover;
    background-repeat: no-repeat, no-repeat;
    aspect-ratio: auto;
    min-height: auto;
    padding: 32px 20px;
    margin-bottom: 100px;
  }

  .countdown-overlay {
    padding: 10px;
  }

  .countdown-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
    max-width: 700px;
    margin: 0 auto;
  }

  .countdown-item {
    width: 100%;
    min-width: 0;
    text-align: center;
    padding: 18px 10px;
    background-color: rgba(62, 1, 76, 0.14);
    border: 1px solid rgba(255, 240, 214, 0.22);
    border-radius: 20px;
    box-shadow: 0 10px 24px rgba(25, 0, 34, 0.1);
  }

  .countdown-item span {
    font-size: clamp(48px, 7vw, 64px);
  }

  .countdown-item p {
    font-size: clamp(20px, 2.8vw, 24px);
    margin-top: 6px;
  }
}

@media (max-width: 768px) {
  .countdown-section {
    background-image:
      linear-gradient(to bottom, rgba(255, 240, 214, 0.24), rgba(77, 8, 122, 0.72)),
      url("../media/CountdownBG.png");
    background-position: center, center 18%;
    background-size: cover, cover;
    background-repeat: no-repeat, no-repeat;
    aspect-ratio: auto;
    min-height: auto;
    padding: 32px 16px;
    margin-bottom: 80px;
  }

  .countdown-overlay {
    background-color: transparent;
    padding: 10px;
  }

  .countdown-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
    max-width: 520px;
    margin: 0 auto;
  }

  .countdown-item {
    width: 100%;
    min-width: 0;
    text-align: center;
    padding: 16px 8px;
    background-color: rgba(62, 1, 76, 0.16);
    border: 1px solid rgba(255, 240, 214, 0.24);
    border-radius: 20px;
    box-shadow: 0 12px 28px rgba(25, 0, 34, 0.12);
  }

  .countdown-item span {
    font-size: clamp(42px, 11vw, 64px);
  }

  .countdown-item p {
    font-size: clamp(18px, 4.5vw, 24px);
    margin-top: 6px;
  }
}

@media (max-width: 420px) {
  .countdown-section {
    padding: 24px 12px;
    background-position: center, center 14%;
  }

  .countdown-container {
    gap: 14px 12px;
  }

  .countdown-item {
    padding: 14px 6px;
  }

  .countdown-item span {
    font-size: clamp(36px, 11vw, 48px);
  }

  .countdown-item p {
    font-size: 17px;
  }
}
