/* Countdown Sorteos UNISON - diseño premium Gemini (index inline) */
.countdown-wrapper {
  position: relative;
  z-index: 20;
  margin-top: 2rem;
  padding: 0 1rem;
}
.countdown {
  max-width: 700px;
  margin: 0 auto;
  background: linear-gradient(135deg, #2B2255 0%, #1A1433 100%);
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 10px 30px rgba(43, 34, 85, 0.4);
  border: 2px solid rgba(0, 210, 211, 0.4);
}
.containercd { text-align: center; }
.countdown-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #00D2D3;
  margin: 0 0 1.5rem 0;
  font-weight: 800;
}
.countdown ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.countdown li {
  flex: 1;
  max-width: 110px;
  padding: 1rem 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.countdown li span {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 4.5rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  text-shadow: 0 4px 6px rgba(0,0,0,0.4);
}
.countdown li small {
  display: block;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #FFC600;
  margin-top: 0.5rem;
  font-weight: 700;
}
@media (max-width: 640px) {
  .countdown-wrapper { padding: 0 0.5rem; }
  .countdown { padding: 1.5rem 0.75rem; border-radius: 1.25rem; }
  .countdown-label { font-size: 1.1rem; margin-bottom: 1rem; }
  .countdown ul { gap: 0.5rem; }
  .countdown li { padding: 0.75rem 0.25rem; border-radius: 0.75rem; }
  .countdown li span { font-size: 2.75rem; }
  .countdown li small { font-size: 0.9rem; margin-top: 0.25rem; }
}

/* Countdown Bootstrap (element_countdown desde COMMON) */
.cd-sorteo-wrapper {
  position: relative;
  z-index: 20;
  margin-top: 2rem;
  padding: 0 1rem;
}

.cd-sorteo {
  max-width: 700px;
  margin: 0 auto;
  background: linear-gradient(135deg, #2B2255 0%, #1A1433 100%) !important;
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 10px 30px rgba(43, 34, 85, 0.3), 0 4px 15px rgba(0,0,0,0.2);
  border: 2px solid rgba(0, 210, 211, 0.4);
}

.cd-sorteo .cd-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #00D2D3 !important;
  margin: 0 0 1.5rem 0;
  font-weight: 800;
  text-align: center;
}

.cd-sorteo .cd-grid {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.cd-sorteo .cd-grid li {
  flex: 1;
  max-width: 110px;
  padding: 1rem 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}

.cd-sorteo .cd-grid .cd-num {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 4.5rem !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  line-height: 1;
  text-shadow: 0 4px 8px rgba(0,0,0,0.5), 0 2px 4px rgba(0,0,0,0.3);
}

.cd-sorteo .cd-grid .cd-unit {
  display: block;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #FFC600 !important;
  margin-top: 0.5rem;
  font-weight: 700;
}

/* Responsive móvil - números grandes */
@media (max-width: 640px) {
  .cd-sorteo-wrapper { padding: 0 0.5rem; }
  .cd-sorteo {
    padding: 1.5rem 0.75rem;
    border-radius: 1.25rem;
  }
  .cd-sorteo .cd-label {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
  .cd-sorteo .cd-grid {
    gap: 0.5rem;
  }
  .cd-sorteo .cd-grid li {
    padding: 0.75rem 0.25rem;
    border-radius: 0.75rem;
  }
  .cd-sorteo .cd-grid .cd-num {
    font-size: 2.75rem !important;
  }
  .cd-sorteo .cd-grid .cd-unit {
    font-size: 0.9rem;
    margin-top: 0.25rem;
  }
}
