/* === OFERTAS DREAM GIRLS - VERSIÓN NOCTURNA ELEGANTE === */
:root {
  --noche-fondo: #121212;
  --noche-card: #1a1a1a;
  --noche-borde: #333333;
  --noche-texto: #f5f5f5;
  --noche-subtexto: #b0b0b0;
  --noche-dorado: #d4af37;
  --noche-dorado-claro: #ffd700;
  --noche-dorado-oscuro: #b8941f;
  --noche-sombra: 0 8px 32px rgba(212, 175, 55, 0.15);
  --noche-sombra-intensa: 0 12px 40px rgba(212, 175, 55, 0.25);
  --noche-brillo: 0 0 20px rgba(212, 175, 55, 0.3);
}

/* Fondo general oscuro */
.ofertas-page {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 30%, #232323 100%);
  color: var(--noche-texto);
  min-height: 100vh;
}

/* Cabecera de ofertas */
.oferta-section {
  padding-top: 3rem;
  padding-bottom: 5rem;
}

.oferta-titulo {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--noche-texto);
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
  position: relative;
}

.oferta-titulo::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--noche-dorado), transparent);
  border-radius: 2px;
}

.oferta-descripcion {
  font-size: 1.2rem;
  color: var(--noche-subtexto);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Tarjetas de productos - Versión Nocturna */
.oferta-galeria-card {
  background: var(--noche-card);
  border: 1px solid var(--noche-borde);
  border-radius: 1.5rem;
  box-shadow: var(--noche-sombra);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 2, 0.6, 1);
  overflow: hidden;
  position: relative;
  animation: card-nocturna-in 0.8s cubic-bezier(.4,2,.6,1);
}

@keyframes card-nocturna-in {
  from { 
    opacity: 0; 
    transform: translateY(40px) scale(0.98);
  }
  to { 
    opacity: 1; 
    transform: none;
  }
}

.oferta-galeria-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 1px solid transparent;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, 
    rgba(212, 175, 55, 0.1) 0%, 
    rgba(212, 175, 55, 0.05) 30%, 
    transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.oferta-galeria-card:hover {
  box-shadow: var(--noche-sombra-intensa), var(--noche-brillo);
  border-color: var(--noche-dorado);
  transform: translateY(-12px) scale(1.03);
}

/* Contenedor de imagen con marco dorado */
.oferta-galeria-imgbox {
  background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
  padding: 1.5rem 1.5rem 1rem 1.5rem;
  border-radius: 1.5rem 1.5rem 0 0;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--noche-borde);
}

.oferta-galeria-imgbox::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 1rem;
  pointer-events: none;
  z-index: 1;
}

.oferta-galeria-img {
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  transition: all 0.5s cubic-bezier(.4,2,.6,1);
  cursor: zoom-in;
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
  position: relative;
  z-index: 2;
  filter: brightness(0.95);
}

.oferta-galeria-card:hover .oferta-galeria-img {
  transform: scale(1.08);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
  filter: brightness(1.05);
}

/* Cuerpo de la tarjeta */
.oferta-galeria-body {
  padding: 1.5rem;
  background: transparent;
  position: relative;
  z-index: 2;
}

.oferta-galeria-nombre {
  color: var(--noche-texto);
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  letter-spacing: 0.01em;
  text-align: center;
}

/* Precios con estilo nocturno */
.oferta-galeria-precio-box {
  margin-bottom: 1.2rem;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 0.8rem;
}

.oferta-galeria-precio-final {
  color: var(--noche-dorado);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.oferta-galeria-precio-original {
  color: var(--noche-subtexto);
  text-decoration: line-through;
  font-size: 1.1rem;
  margin-left: 0.5rem;
  font-weight: 500;
}

/* Badge de descuento con brillo */
.oferta-galeria-descuento-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: linear-gradient(135deg, var(--noche-dorado), var(--noche-dorado-oscuro));
  color: #121212;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 1.2em;
  padding: 0.4em 1em;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  z-index: 3;
  animation: pulse-dorado 2s infinite;
}

@keyframes pulse-dorado {
  0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

/* Globos de información nocturnos */
.oferta-galeria-info-globos {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.oferta-globo-info {
  background: rgba(212, 175, 55, 0.1);
  color: var(--noche-dorado);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 1.2em;
  padding: 0.3em 1em;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  transition: all 0.3s ease;
}

.oferta-globo-info:hover {
  background: rgba(212, 175, 55, 0.2);
  transform: translateY(-2px);
}

.oferta-globo-info i {
  font-size: 1em;
  opacity: 0.9;
}

/* Botón de WhatsApp nocturno */
.oferta-galeria-btn-wsp {
  display: inline-block;
  background: linear-gradient(135deg, var(--noche-dorado), var(--noche-dorado-oscuro));
  color: #121212;
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 2rem;
  padding: 0.8rem 2.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  border: none;
  margin-top: 0.5rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.oferta-galeria-btn-wsp::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
  z-index: -1;
}

.oferta-galeria-btn-wsp:hover, .oferta-galeria-btn-wsp:focus {
  color: #121212;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
  transform: translateY(-3px);
  text-decoration: none;
}

.oferta-galeria-btn-wsp:hover::before {
  left: 100%;
}

/* Modal Nocturno */
#lightboxModal .modal-content {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--noche-borde);
  border-radius: 1rem;
  overflow: hidden;
}

#lightboxModal .modal-body {
  background: transparent;
}

#lightboxImage {
  border: 2px solid rgba(212, 175, 55, 0.3);
  border-radius: 0.5rem;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
}

.floating-contact {
  background: rgba(26, 26, 26, 0.9);
  border: 1px solid var(--noche-dorado);
  color: var(--noche-texto);
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.floating-contact .precio-final {
  color: var(--noche-dorado);
  font-weight: bold;
}

.floating-contact .precio-original {
  color: var(--noche-subtexto);
}

.floating-contact .descuento.destacado {
  color: var(--noche-dorado);
}

.btn-galeria-lightbox {
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid var(--noche-dorado);
  color: var(--noche-dorado);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn-galeria-lightbox:hover {
  background: var(--noche-dorado);
  color: #121212;
  transform: scale(1.1);
}

/* Efectos de partículas doradas en hover */
.oferta-galeria-card:hover::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  animation: particulas-doradas 2s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes particulas-doradas {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
  .oferta-titulo {
    font-size: 2.2rem;
  }
  
  .oferta-descripcion {
    font-size: 1rem;
  }
  
  .oferta-galeria-card {
    margin-bottom: 1.5rem;
  }
  
  .oferta-galeria-info-globos {
    gap: 0.4rem;
  }
  
  .oferta-globo-info {
    font-size: 0.8rem;
    padding: 0.2em 0.8em;
  }
}

/* === ELEMENTOS NUEVOS PARA LA VERSIÓN NOCTURNA === */

/* Elementos decorativos de fondo */
.oferta-background-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.bg-element {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  animation: float-element 20s infinite linear;
}

.bg-element-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 5%;
  animation-duration: 25s;
}

.bg-element-2 {
  width: 200px;
  height: 200px;
  top: 60%;
  right: 10%;
  animation-duration: 30s;
}

.bg-element-3 {
  width: 150px;
  height: 150px;
  bottom: 20%;
  left: 15%;
  animation-duration: 35s;
}

@keyframes float-element {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

/* Cabecera decorativa */
.oferta-header-decorativo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.decorativo-estrella {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--noche-dorado);
  border-radius: 50%;
  animation: twinkle 3s infinite;
}

.decorativo-estrella-1 {
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}

.decorativo-estrella-2 {
  top: 60%;
  right: 25%;
  animation-delay: 1s;
}

.decorativo-estrella-3 {
  bottom: 30%;
  left: 30%;
  animation-delay: 2s;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.5); }
}

.oferta-subtitulo-decorativo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--noche-dorado);
  font-size: 1.1rem;
  font-weight: 600;
}

/* Contador de ofertas */
.contador-ofertas {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--noche-dorado);
  border-radius: 2rem;
  padding: 1rem 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
}

.contador-numero {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--noche-dorado);
  line-height: 1;
}

.contador-texto {
  font-size: 0.9rem;
  color: var(--noche-subtexto);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Indicador de destacado */
.oferta-destacado-indicador {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
  color: #121212;
  padding: 0.4rem 1rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  animation: pulse-destacado 2s infinite;
}

@keyframes pulse-destacado {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Overlay de imagen */
.oferta-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(18, 18, 18, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.oferta-galeria-imgbox:hover .oferta-img-overlay {
  opacity: 1;
}

.btn-outline-dorado {
  border: 2px solid var(--noche-dorado);
  color: var(--noche-dorado);
  background: transparent;
  transition: all 0.3s ease;
}

.btn-outline-dorado:hover {
  background: var(--noche-dorado);
  color: #121212;
}

/* Mini thumbs */
.oferta-mini-thumbs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.oferta-mini-thumb {
  width: 40px;
  height: 50px;
  object-fit: cover;
  border-radius: 0.5rem;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.3s ease;
}

.oferta-mini-thumb:hover,
.oferta-mini-thumb.active {
  border-color: var(--noche-dorado);
  opacity: 1;
  transform: scale(1.1);
}

/* Estados vacíos */
.oferta-empty-state {
  padding: 3rem 1rem;
}

.texto-dorado-suave {
  color: var(--noche-dorado);
  opacity: 0.8;
}

.texto-subtitulo {
  color: var(--noche-subtexto);
}

/* CTA mejorado */
.cta-ofertas {
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid var(--noche-dorado);
  border-radius: 1.5rem;
  padding: 2.5rem;
  backdrop-filter: blur(10px);
}

.cta-titulo {
  color: var(--noche-texto);
  font-family: 'Playfair Display', serif;
}

.cta-descripcion {
  color: var(--noche-subtexto);
  font-size: 1.1rem;
}

.btn-dorado-cta {
  background: linear-gradient(135deg, var(--noche-dorado), var(--noche-dorado-oscuro));
  color: #121212;
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: 2rem;
  border: none;
  transition: all 0.3s ease;
}

.btn-dorado-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

/* Modal mejorado */
.modal-header-nocturno {
  background: rgba(26, 26, 26, 0.95);
  border-bottom: 1px solid var(--noche-borde);
  backdrop-filter: blur(10px);
}

.btn-close-dorado {
  filter: invert(1) sepia(1) saturate(5) hue-rotate(10deg);
  opacity: 0.8;
}

.contador-imagenes-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(26, 26, 26, 0.8);
  color: var(--noche-dorado);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.btn-reset-zoom {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid var(--noche-dorado);
  color: var(--noche-dorado);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.btn-reset-zoom:hover {
  background: var(--noche-dorado);
  color: #121212;
}

.bg-noche-elevado {
  background: rgba(33, 33, 33, 0.95) !important;
}

.shadow-intenso {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6) !important;
}

/* Responsive adicional */
@media (max-width: 768px) {
  .contador-ofertas {
    padding: 0.8rem 1.5rem;
  }
  
  .contador-numero {
    font-size: 2rem;
  }
  
  .oferta-subtitulo-decorativo {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .cta-ofertas {
    padding: 1.5rem;
  }
  
  .floating-contact {
    margin: 1rem !important;
    padding: 1.5rem !important;
  }
}