/* =========================================
   RESET & VARIABLES (LORO CASH THEME)
==========================================*/
* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}

:root {
  /* Fondo general */
  --bg: #0b0f19; 
  --bg2: #111827;
  
  /* Colores de marca Loro Cash */
  --primary: #10b981;        /* Verde Loro Principal */
  --primary-hover: #059669;  /* Verde Hover */
  --secondary: #00f5ff;      /* Neón Cyan */
  --accent: #f59e0b;         /* Dorado / Acento */
  
  /* Textos y Tarjetas */
  --card-bg: #1e293b;
  --card-border: rgba(16, 185, 129, 0.2);
  --text: #f8fafc;
  --muted: #94a3b8;
}

body { 
  background: radial-gradient(circle at top, #0f172a 0%, #0b0f19 60%); 
  color: var(--text); 
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; 
  min-height: 100vh; 
  display: flex; 
  flex-direction: column; 
}

/* =========================================
   HEADER & NAV
==========================================*/
header { 
  position: sticky; 
  top: 0; 
  z-index: 999; 
  padding: 16px 5%; 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  background: rgba(15, 23, 42, 0.9); 
  backdrop-filter: blur(16px); 
  border-bottom: 1px solid rgba(16, 185, 129, 0.25); 
}

.logo a {
  display: block;
  line-height: 0;
  text-decoration: none;
}

.logo img {
  border: none;
  display: block;
  height: 52px;
  width: auto;
  object-fit: contain;
}

.logo a:hover img {
  opacity: 0.9;
  filter: drop-shadow(0 0 10px rgba(16, 185, 129, 0.5));
  transition: all 0.3s ease;
}

.nav-menu { display: flex; gap: 15px; align-items: center; }
.nav-menu a { 
  color: var(--text); 
  text-decoration: none; 
  font-weight: 600; 
  padding: 8px 16px; 
  border-radius: 10px; 
  transition: 0.3s; 
}
.nav-menu a:hover { 
  background: rgba(16, 185, 129, 0.15); 
  color: var(--primary);
}

.menu-toggle { 
  display: none; 
  font-size: 26px; 
  cursor: pointer; 
  color: var(--primary); 
}

/* =========================================
   HERO SECTION (DESCRIPCIÓN PRINCIPAL)
==========================================*/
.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.hero-section {
  max-width: 1100px;
  margin: 40px auto 20px auto;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;

  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
  border: 1px solid var(--card-border);
  border-radius: 28px;
  backdrop-filter: blur(14px);

  box-shadow: 
    0 10px 35px rgba(0, 0, 0, 0.4),
    0 0 25px rgba(16, 185, 129, 0.12);
}

.hero-content { flex: 1; }

.main-title {
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
}

.title-gradient {
  background: linear-gradient(90deg, #10b981, #00f5ff, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.main-subtitle {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 25px;
}

.main-highlight {
  display: inline-block;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: var(--accent);
  padding: 10px 20px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 14px;
}

.hero-character {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-character img {
  width: 300px;
  max-width: 100%;
  filter: drop-shadow(0 0 25px rgba(16, 185, 129, 0.35));
  animation: float 3.5s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

/* =========================================
   RIFAS GRID & TARJETAS (VERTICAL - ESTILO NL CAZADOR)
==========================================*/
.rifas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 30px auto 60px auto;
  padding: 0 20px;
}

.rifa-card {
  background: var(--card-bg);
  border-radius: 20px;
  border: 1px solid var(--card-border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all 0.35s ease;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.rifa-card:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(16, 185, 129, 0.25);
}

.image-container {
  width: 100%;
  height: 220px;
  background: #050816;
  overflow: hidden;
  position: relative;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}

.rifa-card:hover .image-container img {
  transform: scale(1.05);
}

.card-body {
  padding: 24px 24px 26px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.promo-badge {
  background: rgba(16, 185, 129, 0.15);
  color: var(--primary);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  width: fit-content;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.rifa-name {
  font-size: 22px;
  color: #fff;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.rifa-desc {
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
  white-space: pre-line;
  word-break: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.price-container {
  margin-top: auto;
  padding-top: 14px;
  border-top: 2px dashed rgba(148, 163, 184, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.price-tag {
  font-size: 30px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1.1;
}

.btn-buy {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #fff;
  padding: 14px 28px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  text-align: center;
  transition: all 0.3s ease;
  display: block;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
  margin-top: 6px;
}

.btn-buy:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.55);
}

/* =========================================
   PROCESO DE PASOS
==========================================*/
.pasos-progreso {
  display: flex;
  justify-content: space-between;
  margin: 40px auto;
  max-width: 800px;
  position: relative;
  padding: 0 20px;
}

.paso-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
  text-align: center;
  opacity: 0.5; 
  transition: 0.4s;
}

.paso-card.activo { opacity: 1; transform: scale(1.05); }

.pasos-progreso::before {
  content: ""; 
  position: absolute; 
  top: 25px; 
  left: 10%; 
  right: 10%;
  height: 2px; 
  background: #334155; 
  z-index: 0;
}

.paso-circulo {
  width: 50px; 
  height: 50px; 
  background: #334155; 
  color: white;
  border-radius: 50%; 
  display: flex; 
  align-items: center; 
  justify-content: center;
  font-weight: bold; 
  font-size: 1.2rem; 
  margin-bottom: 10px;
  z-index: 1; 
  transition: 0.4s;
}

.paso-card.activo .paso-circulo { 
  background: var(--accent); 
  box-shadow: 0 0 15px var(--accent); 
}

.paso-titulo { margin: 5px 0; font-size: 1rem; color: var(--primary); }
.paso-texto { font-size: 0.8rem; color: var(--muted); }
.nota-gratis {
    background: rgba(255,215,0,0.1);
    padding: 12px;
    border-radius: 8px;
    margin: 20px auto;
    max-width: 600px;
    font-size: 0.9rem;
}

/* =========================================
   FOOTER
==========================================*/
footer { 
  background: #050814; 
  padding: 40px 20px; 
  text-align: center; 
  margin-top: auto; 
  border-top: 1px solid rgba(16, 185, 129, 0.15); 
}

.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  padding: 20px 0;
}

.social-links a:hover { transform: scale(1.15); }
.social-links img {
  width: 45px !important; 
  height: 45px !important;
  object-fit: contain !important;
}
/* =========================================
  INICIA BANNER CANAL DE WHATSAPP (FOOTER)
==========================================*/

/* ==========================================
   LOROCASH - BANNER WHATSAPP
   ESTILOS EXCLUSIVOS
========================================== */

#lc-whatsapp-banner {
    display: block !important;
    position: relative !important;
    width: calc(100% - 20px) !important;
    max-width: 720px !important;
    margin: 0 auto 30px auto !important;
    padding: 0 !important;

    background: linear-gradient(120deg, #101c32, #211438) !important;
    border: 1px solid rgba(37, 211, 102, .45) !important;
    border-radius: 16px !important;

    box-sizing: border-box !important;
    overflow: hidden !important;
}

/* ENLACE */
#lc-whatsapp-banner > #lc-whatsapp-link {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;

    width: 100% !important;
    height: auto !important;
    min-height: 88px !important;

    margin: 0 !important;
    padding: 16px 20px !important;
    gap: 15px !important;

    background: transparent !important;
    color: #ffffff !important;

    text-decoration: none !important;
    border: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;

    box-sizing: border-box !important;
}

/* IMAGEN DEL PERSONAJE LOROCASH */
#lc-whatsapp-banner #lc-whatsapp-icon {
    display: flex !important;
    flex: 0 0 120px !important;

    width: 120px !important;
    min-width: 120px !important;
    max-width: 120px !important;

    height: 120px !important;
    min-height: 120px !important;
    max-height: 120px !important;

    margin: 0 !important;
    padding: 0 !important;

    align-items: center !important;
    justify-content: center !important;

    background: transparent !important;
    border: none !important;
}

/* TAMAÑO DEL LORO */
#lc-whatsapp-banner #lc-whatsapp-icon img {
    display: block !important;

    width: 110px !important;
    height: 110px !important;

    min-width: 110px !important;
    min-height: 110px !important;

    max-width: 110px !important;
    max-height: 110px !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: contain !important;
    border: none !important;
    box-shadow: none !important;
}
/* CONTENEDOR TEXTO */
#lc-whatsapp-banner #lc-whatsapp-content {
    display: flex !important;
    flex: 1 1 auto !important;

    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;

    min-width: 0 !important;
    width: auto !important;

    margin: 0 !important;
    padding: 0 !important;
    gap: 5px !important;

    text-align: left !important;
}

/* TITULO */
#lc-whatsapp-banner #lc-whatsapp-content strong {
    display: block !important;

    width: auto !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #ffffff !important;

    font-family: "Segoe UI", Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;

    text-align: left !important;
    text-decoration: none !important;
}

/* DESCRIPCIÓN */
#lc-whatsapp-banner #lc-whatsapp-content span {
    display: block !important;

    width: auto !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #a6b2c5 !important;

    font-family: "Segoe UI", Arial, sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;

    text-align: left !important;
    text-decoration: none !important;
}

/* BOTÓN */
#lc-whatsapp-banner #lc-whatsapp-action {
    display: inline-flex !important;
    flex: 0 0 auto !important;

    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    height: auto !important;

    margin: 0 !important;
    padding: 11px 18px !important;

    background: #25d366 !important;
    color: #052e16 !important;

    border: 0 !important;
    border-radius: 9px !important;

    font-family: "Segoe UI", Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;

    text-align: center !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

/* ELIMINAR SUBRAYADOS */
#lc-whatsapp-banner a,
#lc-whatsapp-banner a:link,
#lc-whatsapp-banner a:visited,
#lc-whatsapp-banner a:hover,
#lc-whatsapp-banner a:active,
#lc-whatsapp-banner a *,
#lc-whatsapp-banner a *:hover {
    text-decoration: none !important;
    border-bottom: none !important;
}

/* EFECTOS */
#lc-whatsapp-banner {
    transition: border-color .25s ease, box-shadow .25s ease;
}

#lc-whatsapp-banner:hover {
    border-color: #25d366 !important;
    box-shadow: 0 5px 25px rgba(37, 211, 102, .16) !important;
}

#lc-whatsapp-banner #lc-whatsapp-action {
    transition: background .25s ease, transform .25s ease;
}

#lc-whatsapp-banner:hover #lc-whatsapp-action {
    background: #1ebe5b !important;
    transform: scale(1.04);
}

/* CELULARES */
@media screen and (max-width: 560px) {

    #lc-whatsapp-banner > #lc-whatsapp-link {
        flex-wrap: wrap !important;
        padding: 18px !important;
        justify-content: center !important;
    }

    #lc-whatsapp-banner #lc-whatsapp-icon {
        flex: 0 0 48px !important;
    }

    #lc-whatsapp-banner #lc-whatsapp-content {
        flex: 1 1 100% !important;
        align-items: center !important;
        text-align: center !important;
    }

    #lc-whatsapp-banner #lc-whatsapp-content strong,
    #lc-whatsapp-banner #lc-whatsapp-content span {
        text-align: center !important;
    }

    #lc-whatsapp-banner #lc-whatsapp-action {
        flex: 1 1 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}


/* =========================================
  TERMINA  BANNER WHATSAPP LOROCASH
========================================= */


/* =========================================
   RESPONSIVO (MÓVIL Y TABLET)
==========================================*/
@media (max-width: 900px){
  .hero-section {
    flex-direction: column-reverse;
    text-align: center;
    padding: 30px 20px;
  }
  .hero-character img { width: 220px; }
  .main-highlight { width: 100%; }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav-menu { 
    display: none; 
    position: absolute; 
    top: 70px; 
    left: 0; 
    width: 100%; 
    background: #0f172a; 
    flex-direction: column; 
    padding: 20px; 
    text-align: center;
    border-bottom: 1px solid var(--card-border);
  }
  .nav-menu.active { display: flex; }

  /* Tarjetas en móvil: una columna */
  .rifas-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 16px;
  }

  .image-container { height: 200px; }

  .card-body {
    padding: 22px 20px;
    text-align: left;
    align-items: stretch;
  }

  .promo-badge { align-self: flex-start; }

  .rifa-name { font-size: 20px; }
  .rifa-desc { font-size: 13.5px; }
  .price-tag { font-size: 26px; }

  .btn-buy {
    width: 100%;
    font-size: 15px;
    padding: 14px 20px;
  }
}

@media (max-width: 480px) {
  .rifas-grid { padding: 0 14px; }
  .image-container { height: 170px; }
  .rifa-name { font-size: 18px; }
  .price-tag { font-size: 24px; }
  .hero-section { padding: 24px 16px; }
}
