/* src/public/landing.css */

/* --- ESTRUCTURA PRINCIPAL --- */
.landing-container {
    background-color: #ffffff;
    color: #343a40;
    min-height: 100vh;
}

/* Header */
.landing-header {
    background-color: #000000;
    padding: 15px 20px;
    border-bottom: 4px solid #FFC107;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-spacer { width: 32px; }

.landing-header h1 {
    color: #ffffff;
    margin: 0;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    flex-grow: 1;
}

.landing-cart-btn {
    color: #ffffff;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.landing-cart-btn:hover { color: #FFC107; }

/* --- SECCIONES --- */
.landing-section {
    padding: 60px 20px;
    border-bottom: 1px solid #f0f0f0;
}
.landing-section.alt-bg { background-color: #f8f9fa; }

.section-title {
    text-align: center;
    font-size: 2rem;
    color: #000000;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 800;
}

/* --- BANNERS RESPONSIVOS --- */
#landing-banners {
    padding: 0;
    width: 100%;
    position: relative;
    background-color: #000;
}

.banners-wrapper {
    width: 100%;
    display: grid;
    grid-template-areas: "stack";
    overflow: hidden;
    position: relative;
    aspect-ratio: 5 / 4;
}

/* Contenedor del Slide */
.banner-slide {
    grid-area: stack;
    width: 100%;
    height: 100%; 
    display: block;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.banner-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Imagen */
.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

.banner-overlay {
    grid-area: stack;
    z-index: 10;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent 30%);
    pointer-events: none;
}
.banner-overlay .cta-button { pointer-events: auto; }

.shadow-pulse {
    box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7);
    animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(255, 193, 7, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 193, 7, 0); }
}

/* --- BOTONES CTA --- */
.cta-button {
    display: inline-block;
    background-color: #FFC107;
    color: #000;
    padding: 15px 30px;
    font-weight: 800;
    text-decoration: none;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 1rem;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #e0a800;
    transform: translateY(-3px);
}

/* --- PASOS --- */
.steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.step-card {
    flex: 1 1 200px;
    background-color: #fff;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.step-icon { font-size: 2.5rem; color: #FFC107; margin-bottom: 15px; }
.step-card h3 { font-size: 1.2rem; margin-bottom: 10px; color: #212529; font-weight: 700; }
.step-card p { color: #6c757d; font-size: 0.9rem; }

/* --- REDES SOCIALES --- */
.social-links-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    color: #fff;
    font-size: 1.1rem;
    transition: transform 0.3s ease, filter 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.social-link i { font-size: 1.4rem; }

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    filter: brightness(1.1);
}

.social-link.facebook { background-color: #1877F2; }
.social-link.instagram { background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); }
.social-link.tiktok { background-color: #000000; border: 1px solid #333; }

/* --- MODAL (Age Gate) --- */
.welcome-modal-container { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 2000; }
.welcome-modal-container.visible { display: flex; justify-content: center; align-items: center; }
.welcome-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.9); backdrop-filter: blur(5px); }
.welcome-modal { position: relative; background-color: #ffffff; width: 90%; max-width: 400px; padding: 40px 30px; border-radius: 20px; text-align: center; border: 3px solid #FFC107; animation: slideUp 0.4s ease-out; }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.welcome-title { font-size: 1.6rem; color: #343a40; margin-bottom: 10px; font-weight: 800; }
.welcome-text { color: #6c757d; margin-bottom: 25px; font-weight: 500; }
.welcome-actions { display: flex; flex-direction: column; gap: 12px; }
.btn-go-store { background-color: #dc3545; color: #fff; padding: 14px; border: none; border-radius: 8px; font-weight: 800; font-size: 1rem; cursor: pointer; text-transform: uppercase; width: 100%; transition: background 0.2s; }
.btn-go-store:hover { background-color: #bb2d3b; }
.btn-stay { background: transparent; color: #6c757d; border: none; font-weight: 600; cursor: pointer; text-decoration: underline; }
.btn-stay:hover { color: #343a40; }

/* --- MEDIA QUERIES --- */

/* 2. TABLET (>= 768px) */
@media (min-width: 768px) {
    .banners-wrapper {
        aspect-ratio: 8 / 3;
    }
    /* Estilos del footer movidos a main.css */
}

/* 3. PC / ESCRITORIO (>= 1024px) */
@media (min-width: 1024px) {
    .banners-wrapper {
        aspect-ratio: 5 / 1; 
        max-width: 100%; 
    }
}