/* =========================================
   VARIABLES & DESIGN SYSTEM (Trust & Authority)
   ========================================= */
:root {
    --bg-main: #E9ECEF; 
    --bg-white: #FFFFFF;
    
    --brand-blue: #1B4F72; 
    --brand-blue-dark: #154360;
    
    --text-primary: #17202A;
    --text-secondary: #2C3E50;
    
    --whatsapp-color: #25D366;
    --whatsapp-hover: #1EBE53;
    
    /* Instagram Gradient */
    --ig-gradient: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    
    /* Typography */
    --font-main: 'Inter', sans-serif;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 18px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
}

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1, h2, h3 {
    font-weight: 800;
    line-height: 1.2;
    color: var(--brand-blue);
}

a {
    text-decoration: none;
    color: inherit;
}

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
    background: var(--brand-blue);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 800;
    color: #FFF;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-text i {
    color: #F7DC6F;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    font-weight: 600;
    font-size: 1.1rem;
    color: #EAECEE;
    transition: var(--transition);
}

.nav-links a:hover {
    color: #F7DC6F;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    background: var(--bg-white);
    padding: 3rem 5%;
    border-bottom: 3px solid var(--brand-blue);
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.hero-image-wrapper {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.img-local {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    border: 5px solid var(--bg-main);
}

.hero-content {
    flex: 1;
    min-width: 300px;
}

.badge {
    display: inline-block;
    background: #D5F5E3;
    color: #186A3B;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.como-funciona {
    margin-bottom: 2rem;
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    border-left: 5px solid var(--brand-blue);
}

.como-funciona p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--text-secondary);
}

.como-funciona p i {
    color: var(--whatsapp-color);
}

.giant-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.btn-giant {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    max-width: 400px;
    padding: 1.2rem;
    font-size: 1.4rem;
    font-weight: 800;
    color: #FFF;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.btn-whatsapp {
    background-color: var(--whatsapp-color);
}

.btn-whatsapp:hover {
    background-color: var(--whatsapp-hover);
    transform: scale(1.02);
}

.btn-instagram {
    background: var(--ig-gradient);
}

.btn-instagram:hover {
    transform: scale(1.02);
}

.btn-facebook {
    background-color: #1877F2;
}

.btn-facebook:hover {
    background-color: #166ada;
    transform: scale(1.02);
}

.info-transferencia {
    font-size: 1rem;
    color: var(--brand-blue);
    background: #FEF9E7;
    display: inline-block;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    border-left: 4px solid #F1C40F;
}

.alias-tag {
    font-family: monospace;
    font-size: 1.2rem;
    background: #FFF;
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid #F1C40F;
}

/* =========================================
   PROMO SECTION
   ========================================= */
.promo-section {
    background: #FFF;
}

.promo-card {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
    background: #FDFEFE;
    border: 2px dashed #1B4F72;
    border-radius: 20px;
    flex-wrap: wrap;
}

.promo-img-wrapper {
    flex: 1;
    min-width: 280px;
}

.img-promo {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.promo-content {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.promo-title {
    color: #E74C3C;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.promo-text {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.datos-importantes {
    background: #F2F4F4;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.datos-importantes strong {
    color: var(--brand-blue);
}

.btn-primary {
    display: inline-block;
    background: #E74C3C;
    color: #FFF;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 800;
    font-size: 1.2rem;
    transition: var(--transition);
}

.btn-primary:hover {
    background: #C0392B;
    transform: translateY(-2px);
}

/* =========================================
   RESULTS & JUEGOS
   ========================================= */
.section-container {
    padding: 4rem 5%;
    text-align: center;
}

.bg-light {
    background: var(--bg-white);
}

.bg-blue {
    background: var(--brand-blue);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.resultados-pizarras {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.pizarra {
    background: var(--bg-white);
    border: 1px solid #BDC3C7;
    border-radius: 12px;
    width: 100%;
    max-width: 350px;
}

.pizarra-header {
    background: var(--brand-blue);
    color: #FFF;
    padding: 1rem;
    font-weight: 700;
}

.pizarra-body strong {
    font-size: 2.2rem;
    color: #C0392B;
}

.btn-enlace {
    display: inline-block;
    border: 2px solid var(--brand-blue);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    margin-top: 1.5rem;
    transition: var(--transition);
}

.btn-enlace:hover {
    background: var(--brand-blue);
    color: #FFF;
}

.juegos-list {
    list-style: none;
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

.juegos-list li {
    font-size: 1.3rem;
    padding: 0.8rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* =========================================
   UBICACION / MAPA
   ========================================= */
.map-container {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 5px solid var(--bg-white);
}

.map-container iframe {
    display: block;
}

/* =========================================
   FOOTER
   ========================================= */
footer {
    background: var(--brand-blue-dark);
    color: #FFF;
    padding: 3rem 5%;
    text-align: center;
}

/* =========================================
   LOGO & WHATSAPP FLOAT
   ========================================= */
.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    height: 45px; 
    width: auto;
    object-fit: contain;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--whatsapp-color);
    color: #FFF;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    background-color: var(--whatsapp-hover);
}

/* =========================================
   FOOTER LOGO & ALIGNMENT
   ========================================= */
.logo-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.logo-img-footer {
    height: 40px; 
    width: auto;
    object-fit: contain;
}

/* =========================================
   LUCK GENERATOR (Generador de Suerte)
   ========================================= */
.luck-generator {
    max-width: 500px;
    margin: 2rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    background: #FFF;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid var(--brand-blue);
}

.number-display {
    font-family: 'Courier New', Courier, monospace;
    font-size: 5rem;
    font-weight: 900;
    color: #FFF;
    background: #17202A; /* Fondo oscuro tipo pizarra */
    padding: 1.5rem 2rem;
    border-radius: 12px;
    letter-spacing: 12px;
    box-shadow: inset 0 0 15px rgba(255,255,255,0.2), 0 8px 20px rgba(0,0,0,0.3);
    border: 4px solid #F1C40F; /* Borde dorado */
    min-width: 320px;
    text-align: center;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.btn-luck {
    background: #F1C40F !important;
    color: #000 !important;
    border: 3px solid #D4AC0D !important;
    box-shadow: 0 6px 0 #D4AC0D !important;
}

.btn-luck:hover {
    background: #F4D03F !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 0 #D4AC0D !important;
}

.btn-luck:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #D4AC0D !important;
}


/* =========================================
   RESPONSIVE (Mobile Overrides)
   ========================================= */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column !important;
        text-align: center !important;
        gap: 1.5rem !important;
        padding: 1.5rem 5% !important;
    }

    .nav-links {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
        gap: 1rem !important;
        flex-wrap: wrap !important;
    }

    .hero {
        padding: 2rem 5% !important;
        text-align: center !important;
    }

    .hero-container {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .hero-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
    }

    .hero-title {
        font-size: 2.2rem !important;
        text-align: center !important;
        margin: 0 auto 1.5rem !important;
    }

    .badge {
        display: block !important;
        width: fit-content !important;
        margin: 0 auto 1.5rem !important;
    }

    .como-funciona {
        text-align: left !important;
        max-width: 320px !important;
        margin: 0 auto 2rem !important;
    }

    .giant-actions {
        width: 100% !important;
        align-items: center !important;
    }

    .btn-giant {
        width: 100% !important;
        max-width: 100% !important;
    }

    .promo-card {
        padding: 1.5rem !important;
        border: 2px dashed var(--brand-blue) !important;
    }

    .promo-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .promo-title {
        text-align: center !important;
    }

    .datos-importantes {
        text-align: left !important;
        width: 100% !important;
        max-width: 300px !important;
        margin: 0 auto 1.5rem !important;
    }

    .luck-generator {
        width: 100% !important;
        padding: 1.5rem !important;
    }

    .number-display {
        font-size: 3rem !important;
        min-width: 240px !important;
        letter-spacing: 5px !important;
    }
}
