/* =========================================
   GOLDEN SCALPING ROOM - ESTILOS GLOBALES
   ========================================= */

/* 1. VARIABLES DE COLOR CORPORATIVAS */
:root { 
  --card-bg: #111827; 
  --gold: #f59e0b; 
  --green-neon: #10b981; 
  --input-bg: #1f2937; 
  --danger: #ef4444; 
  --blue-sky: #38bdf8; 
  --blue-pp: #0070ba;
}

/* 2. CONFIGURACIÓN BASE Y FONDO OSCURO */
/* Forzamos pantalla completa y fondo oscuro */
body, .page_body { 
  margin: 0 !important; 
  padding: 0 !important; 
  background-color: #0b0f19 !important; 
  font-family: 'Segoe UI', Roboto, sans-serif; 
  color: #f3f4f6; 
  display: flex; 
  flex-direction: column; 
  min-height: 100vh; 
}

/* Contenedor principal para mantener todo centrado */
.container { 
  max-width: 1000px; 
  margin: 0 auto; 
  padding: 40px 20px; 
  flex: 1; 
  display: flex; 
  flex-direction: column; 
  box-sizing: border-box; 
}

/* 3. ELEMENTOS COMPARTIDOS (BOTONES GLOBALES) */
.btn-gold { 
  background: linear-gradient(135deg, #f59e0b, #d97706); 
  color: #000 !important; 
  border: none; 
  padding: 10px 20px; 
  border-radius: 6px; 
  font-weight: bold; 
  cursor: pointer; 
  transition: all 0.2s; 
}
.btn-gold:hover { opacity: 0.9; transform: translateY(-2px); }

.btn-green { 
  background: linear-gradient(135deg, #10b981, #059669); 
  color: #fff !important; 
  border: none; 
  padding: 10px 20px; 
  border-radius: 6px; 
  font-weight: bold; 
  cursor: pointer; 
  transition: all 0.2s; 
}
.btn-green:hover { opacity: 0.9; transform: translateY(-2px); }

/* Pantalla de Carga Global */
#loading-screen, #quick-loading-screen { 
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; 
  background-color: #0b0f19; z-index: 9999999; 
  display: flex; flex-direction: column; align-items: center; justify-content: center; 
}
.spinner { 
  border: 4px solid rgba(255,255,255,0.1); width: 50px; height: 50px; 
  border-radius: 50%; border-left-color: var(--gold); 
  animation: spin 1s linear infinite; margin-bottom: 20px; 
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* 4. FOOTER PREMIUM GLOBAL */
.custom-footer { 
  background-color: #0b0f19; 
  border-top: 1px solid #1f2937; 
  padding: 30px 20px; 
  width: 100%; 
  box-sizing: border-box; 
  margin-top: auto; 
}
.footer-container { 
  max-width: 1000px; 
  margin: 0 auto; 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  gap: 15px; 
}
.footer-brand { color: #f3f4f6 !important; font-size: 1.1rem; font-weight: bold; letter-spacing: 1px; }
.footer-brand span { color: var(--gold) !important; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: #9ca3af !important; text-decoration: none; font-size: 0.9rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--gold) !important; }
@media (min-width: 768px) { .footer-container { flex-direction: row; justify-content: space-between; } }

/* =========================================================
   👑 MODO LUXURY: TARJETAS FÍSICAS (RATIO 4:5 + INTERACCIÓN)
   ========================================================= */
.luxury-card { 
  position: relative; 
  width: 100%; 
  aspect-ratio: 4 / 5; 
  border-radius: 16px; 
  overflow: hidden; 
  background-color: #0b0f19; 
  border: 1px solid #1f2937; 
  box-shadow: 0 10px 25px rgba(0,0,0,0.4); 
  cursor: pointer; 
  box-sizing: border-box; 
  -webkit-tap-highlight-color: transparent; 
}

.luxury-img-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.luxury-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.luxury-img-secondary { opacity: 0; } /* Segunda imagen oculta por defecto */

/* Capa de información (Cristal Ahumado) - Oculta por defecto */
.luxury-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(180deg, rgba(11,15,25,0.85) 0%, rgba(11,15,25,0.1) 40%, rgba(11,15,25,0.95) 100%); display: flex; flex-direction: column; justify-content: space-between; padding: 20px; box-sizing: border-box; opacity: 0; transition: opacity 0.3s ease; z-index: 2; }
.luxury-header { display: flex; justify-content: space-between; align-items: flex-start; }
.luxury-badge { background: rgba(245, 158, 11, 0.2); color: var(--gold); border: 1px solid var(--gold); padding: 4px 10px; border-radius: 4px; font-size: 0.65rem; font-weight: bold; text-transform: uppercase; letter-spacing: 1px; backdrop-filter: blur(4px); }
.luxury-price { color: var(--green-neon); font-size: 1.15rem; font-weight: 800; text-shadow: 0 2px 4px rgba(0,0,0,0.8); }
.luxury-info h3 { color: #fff; font-size: 1.15rem; margin: 0 0 5px 0; font-weight: bold; line-height: 1.2; text-shadow: 0 2px 4px rgba(0,0,0,0.8); }
.luxury-btn { width: 100%; background: var(--gold); color: #000 !important; border: none; padding: 11px; border-radius: 6px; font-weight: bold; font-size: 0.9rem; text-align: center; text-decoration: none; display: block; box-sizing: border-box; transition: 0.2s;}
.luxury-btn:hover { background: #d97706; }

/* 🖱️ EFECTO EN COMPUTADORAS (HOVER) */
@media (hover: hover) {
  .luxury-card:hover .luxury-overlay { opacity: 1; }
  .luxury-card:hover .luxury-img-primary.has-secondary { opacity: 0; }
  .luxury-card:hover .luxury-img-secondary { opacity: 1; transform: scale(1.05); }
  .luxury-card:hover .luxury-img-primary:not(.has-secondary) { transform: scale(1.05); }
}

/* 📱 EFECTO EN MÓVILES (Fijado por Javascript al tocar) */
.luxury-card.reveal-touch .luxury-overlay { opacity: 1 !important; }
.luxury-card.reveal-touch .luxury-img-primary.has-secondary { opacity: 0; }
.luxury-card.reveal-touch .luxury-img-secondary { opacity: 1; transform: scale(1.05); }
.luxury-card.reveal-touch .luxury-img-primary:not(.has-secondary) { transform: scale(1.05); }