@charset "utf-8";
/* CSS Document */
:root{
    --verde:#0F9D58;
    --verde-oscuro:#0B6B3A;
}

body{
    margin:0;
    font-family:'Poppins', sans-serif;
    background:#fff;
    color:#222;
    overflow-x: hidden;
}


/* HEADER */
header{
    padding:20px 60px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    font-size:24px;
    font-weight:700;
    color:var(--verde);
}

/* HERO */
.hero h1{
    font-size:48px;
    font-weight:700;
    margin:20px 0 10px;
    color:#111;
}

.subheadline{
    font-size:20px;
    color:#555;
    margin-bottom:30px;
}

.hero {
    text-align: center;
    padding: 30px 20px 40px;
}

.hero img{
    max-width:700px;
    width:100%;
    filter:drop-shadow(0px 20px 30px rgba(0,0,0,0.15));
}

.hero h1{
    font-size:42px;
    margin:20px 0 10px;
}

.hero p{
    font-size:18px;
    color:#555;
}
.main-title{
    font-size:32px; /* antes 56px */
    font-weight:600;
    margin-bottom:15px;
    color:#444;
    letter-spacing:0.5px;
}
.top-message{
    font-size:14px;
    font-weight:600;
    color:#fff;
    background:#111;
    padding:8px 20px;
    border-radius:50px;
    display:inline-block;
    margin-bottom:20px;
    letter-spacing:1px;
}
.prize-title{
    font-size:34px;
    font-weight:800;
    margin:20px 0 15px;
    background:linear-gradient(90deg,#d4af37,#b8860b);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    letter-spacing:1px;
}
.modal{
    display:none;
    position:fixed;
    z-index:999;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.6);
    justify-content:center;
    align-items:center;
}

.modal-content{
    background:#fff;
    padding:30px;
    border-radius:15px;
    width:400px;
    text-align:center;
    position:relative;
}

.modal-content input{
    width:100%;
    padding:12px;
    margin:15px 0;
    border:1px solid #ccc;
    border-radius:8px;
}



.close{
    position:absolute;
    right:15px;
    top:10px;
    font-size:22px;
    cursor:pointer;
}

.slider {
    position: relative;
    width: 100%;
    max-width: 750px;
    height: 420px;
    margin: 30px auto;
    overflow: hidden;
    background: transparent; /* importante */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

/* BOTONES */
.btn{
    background:var(--verde);
    color:#fff;
    padding:16px 35px;
    border:none;
    border-radius:50px;
    font-size:16px;
    cursor:pointer;
    transition:0.3s;
    box-shadow:0 10px 20px rgba(15,157,88,0.3);
}

.btn-header{
    background:linear-gradient(90deg,#b30000,#800000);
    color:#fff;
    padding:8px 18px;
    border:none;
    border-radius:30px;
    font-size:13px;
    font-weight:600;
    cursor:pointer;
    transition:0.3s ease;
}

.btn:hover{
    background:var(--verde-oscuro);
    transform:translateY(-3px);
}

.progress-wrapper {
    width: 80%;
    max-width: 650px;
    margin: 30px auto;
}

.progress-track {
    width: 100%;
    height: 22px;
    background: #e6e6e6;
    border-radius: 50px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    width: 0%;
    border-radius: 50px;
    background: linear-gradient(90deg, #00c853, #00e676);
    transition: width 1s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-text {
    color: white;
    font-size: 12px;
    font-weight: 600;
    pointer-events: none;
}

/* efecto brillo */
.progress-fill::after {
    content: "";
    position: absolute;
    top: 0;
    left: -40%;
    width: 40%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.4) 50%,
        rgba(255,255,255,0) 100%
    );
    animation: shine 2.5s infinite;
}

@keyframes shine {
    0% { left: -40%; }
    100% { left: 120%; }
}

.ticket-price{
    font-size:22px;
    margin-top:25px;
    font-weight:500;
    color:#222;
}

.ticket-price strong{
    color:#c00000;
    font-size:26px;
    font-weight:900;
}

/* EFECTO BRILLO */
.progress-bar::after{
    content:"";
    position:absolute;
    top:0;
    left:-100%;
    height:100%;
    width:100%;
    background:linear-gradient(
        120deg,
        rgba(255,255,255,0.2),
        rgba(255,255,255,0.6),
        rgba(255,255,255,0.2)
    );
    animation:shine 3s infinite;
}

@keyframes shine{
    0%{ left:-100%; }
    100%{ left:100%; }
}

/* SECTION */
.section{
    padding:80px 20px;
    max-width:1200px;
    margin:auto;
    text-align:center;
}

/* PAQUETES */
.packages{
    display:flex;
    justify-content:center;
    gap:30px;
    flex-wrap:wrap;
    margin-top:40px;
}

.package-card{
    background:#fff;
    padding:40px 30px;
    border-radius:20px;
    width:280px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
    text-align:center;
    position:relative;
    transition:0.3s ease;
    border:2px solid transparent;
}

.package-card:hover{
    transform:translateY(-10px);
}

.package-card .price{
    font-size:22px;
    font-weight:700;
    margin:15px 0;
    color:#0F9D58;
}

.package-card.popular{
    border:2px solid #0F9D58;
    transform:scale(1.08);
    box-shadow:0 15px 40px rgba(15,157,88,0.3);
}

.badge{
    position:absolute;
    top:-15px;
    left:50%;
    transform:translateX(-50%);
    background:#0F9D58;
    color:#fff;
    padding:6px 18px;
    font-size:12px;
    font-weight:600;
    border-radius:50px;
}

/* INFO */
.info{
    background:#f8f8f8;
    padding:40px;
    border-radius:20px;
    max-width:800px;
    margin:40px auto;
    line-height:1.6;
}

/* FOOTER */
footer{
    text-align:center;
    padding:40px;
    border-top:1px solid #eee;
    color:#777;
}
/* ===== RESPONSIVE MOBILE FIX ===== */

@media (max-width: 768px) {

    .hero {
        padding: 20px 15px 20px;
    }

    .slider {
        height: 260px;   /* más compacto en móvil */
        margin: 15px auto;
    }

    .progress-wrapper {
        margin: 15px auto;
        width: 90%;
    }

    .progress-track {
        height: 18px;
    }

    .progress-text {
        font-size: 11px;
    }

    .main-title {
        font-size: 22px;
        margin-bottom: 5px;
    }

    .prize-title {
        font-size: 18px;
        margin-bottom: 10px;
    }

}
.result-grid{
    display:grid;
    grid-template-columns: repeat(auto-fill, minmax(110px,1fr));
    gap:10px;
    margin-top:15px;
    max-height:300px;
    overflow-y:auto;
}

.ticket-card{
    background:linear-gradient(135deg,#00c853,#00e676);
    color:white;
    padding:10px;
    border-radius:10px;
    font-weight:700;
    text-align:center;
    font-size:14px;
    box-shadow:0 4px 12px rgba(0,0,0,0.15);
    transition:0.2s;
}

.ticket-card:hover{
    transform:scale(1.05);
}
/* ===== FOOTER ===== */

.main-footer{
    background:#111;
    color:#fff;
    padding:50px 20px 20px;
    margin-top:80px;
}

.footer-container{
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
    max-width:1200px;
    margin:auto;
    gap:40px;
}

.footer-brand{
    flex:1;
    min-width:220px;
}

.footer-logo{
    width:160px;
    margin-bottom:15px;
}

.footer-tagline{
    font-size:14px;
    color:#aaa;
}

.footer-contact,
.footer-links{
    flex:1;
    min-width:200px;
}

.footer-contact h4,
.footer-links h4{
    margin-bottom:15px;
    font-size:16px;
    color:#fff;
}

.footer-links a{
    color:#ccc;
    text-decoration:none;
    display:block;
    margin-bottom:8px;
    transition:0.3s;
}

.footer-links a:hover{
    color:#00e676;
}

.footer-bottom{
    text-align:center;
    margin-top:40px;
    padding-top:20px;
    border-top:1px solid #333;
    font-size:13px;
    color:#777;
}

/* RESPONSIVE */
@media (max-width:768px){
    .footer-container{
        flex-direction:column;
        text-align:center;
        gap:30px;
    }

    .footer-logo{
        margin:auto;
    }
}

/* ========================= */
/* CHATBOT SUEÑO ELITE */
/* ========================= */

#chatbot{
position:fixed;
bottom:20px;
right:20px;
z-index:999999;
font-family:'Poppins', sans-serif;
}

/* BOTON FLOTANTE */

#chatbot-toggle{
width:60px;
height:60px;
background:#25D366;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
color:white;
font-size:28px;
cursor:pointer;
box-shadow:0 8px 25px rgba(0,0,0,0.3);
transition:all .25s ease;
}

#chatbot-toggle:hover{
transform:scale(1.08);
}

/* VENTANA CHAT */

#chatbot-window{
width:320px;
height:420px;
background:#ffffff;
border-radius:15px;
box-shadow:0 15px 40px rgba(0,0,0,0.25);
position:absolute;
bottom:75px;
right:0;
display:none;
flex-direction:column;
overflow:hidden;
}

/* HEADER */

.chat-header{
background:#25D366;
color:white;
padding:14px 15px;
font-weight:600;
display:flex;
justify-content:space-between;
align-items:center;
font-size:14px;
}

/* BODY CHAT */

#chat-body{
flex:1;
padding:15px;
overflow-y:auto;
background:#fafafa;
}

/* MENSAJES BOT */

.bot-msg{
background:#f1f1f1;
padding:10px 12px;
border-radius:10px;
margin-bottom:10px;
max-width:80%;
font-size:14px;
line-height:1.4;
}

/* MENSAJES USUARIO */

.user-msg{
background:#25D366;
color:white;
padding:10px 12px;
border-radius:10px;
margin-bottom:10px;
margin-left:auto;
max-width:80%;
font-size:14px;
line-height:1.4;
}

/* BOTONES OPCIONES */

.chat-options{
margin-top:10px;
}

.chat-options button{
width:100%;
padding:9px;
margin:6px 0;
border:none;
border-radius:8px;
background:#eeeeee;
cursor:pointer;
font-size:13px;
transition:0.2s;
}

.chat-options button:hover{
background:#dddddd;
}

/* INPUT AREA */

.chat-input-area{
display:flex;
border-top:1px solid #ddd;
background:white;
}

.chat-input-area input{
flex:1;
border:none;
padding:10px;
outline:none;
font-size:14px;
}

.chat-input-area button{
background:#25D366;
border:none;
color:white;
padding:10px 15px;
cursor:pointer;
font-size:16px;
}

/* SCROLL */

#chat-body::-webkit-scrollbar{
width:6px;
}

#chat-body::-webkit-scrollbar-thumb{
background:#ccc;
border-radius:10px;
}

/* RESPONSIVE */

@media(max-width:500px){

#chatbot-window{
width:92vw;
right:0;
}

}