/* =========================================
   1. VARIABLES Y RESET (ESTILO CLEAN NEÓN)
   ========================================= */
:root {
    --bg-color: #050505;
    --card-bg: #121212;
    --text-white: #ffffff;
    --neon-green: #39ff14;
    --font-main: 'Montserrat', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: var(--font-main); }

html { scroll-behavior: smooth; }

body { 
    background-color: var(--bg-color); 
    color: var(--text-white); 
    overflow-x: hidden; 
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; width: 100%; position: relative; z-index: 2; }
.neon-text { color: var(--neon-green); text-shadow: 0 0 10px rgba(57, 255, 20, 0.6); }

/* =========================================
   2. NAVBAR
   ========================================= */
header { 
    background: rgba(0, 0, 0, 0.95); 
    padding: 15px 0; 
    position: sticky; top: 0; z-index: 1000; 
    border-bottom: 1px solid #222; 
}
.nav-bar { display: flex; justify-content: space-between; align-items: center; }
.site-logo { height: 40px; width: auto; display: block; }

.nav-links { display: flex; gap: 25px; }
.nav-links a { 
    color: #ccc; text-decoration: none; 
    font-weight: 700; font-size: 0.9rem; 
    transition: 0.3s; letter-spacing: 1px; text-transform: uppercase;
}
.nav-links a:hover { color: var(--neon-green); }

/* =========================================
   3. HERO SECTION
   ========================================= */
.hero { 
    height: 100vh; position: relative; 
    display: flex; align-items: center; justify-content: center; 
    text-align: center; overflow: hidden; background: #000; 
}
.video-bg { 
    position: absolute; top: 50%; left: 50%; 
    width: 100vw; height: 100vh; 
    object-fit: cover; z-index: 0; 
    transform: translate(-50%, -50%); opacity: 0.5; 
}
.hero-overlay { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), #050505); z-index: 1; 
}
.hero-content { position: relative; z-index: 2; max-width: 800px; padding: 20px; width: 100%; }

.hero h4 { letter-spacing: 4px; margin-bottom: 10px; color: #ccc; font-size: 0.9rem; text-transform: uppercase;}
.hero h1 { font-size: 3.5rem; font-weight: 900; line-height: 1; margin-bottom: 20px; text-transform: uppercase; font-style: italic; }
.hero p { font-size: 1.1rem; margin-bottom: 30px; color: #ddd; }
.hero-btns { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

/* BOTONES */
.btn-main { 
    background: var(--neon-green); color: black; 
    padding: 15px 30px; font-weight: 900; 
    text-decoration: none; text-transform: uppercase; 
    clip-path: polygon(10% 0, 100% 0, 100% 80%, 90% 100%, 0 100%, 0 20%);
    transition: 0.3s; display: inline-block; border: none; cursor: pointer; 
}
.btn-main:hover { transform: scale(1.05); box-shadow: 0 0 20px var(--neon-green); }

.btn-outline { 
    background: transparent; border: 2px solid white; color: white; 
    padding: 13px 30px; font-weight: 800; text-decoration: none; 
    text-transform: uppercase; transition: 0.3s; display: inline-block; 
}
.btn-outline:hover { background: white; color: black; }

/* =========================================
   4. SECCIONES
   ========================================= */
.section-padding { padding: 60px 0; }
.section-title { 
    text-align: center; font-size: 2.5rem; font-weight: 900; 
    margin-bottom: 40px; text-transform: uppercase; 
}

/* =========================================
   5. CARDS (EVENTOS)
   ========================================= */
.grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 25px; 
}

.card { 
    background: var(--card-bg); border: none; 
    transition: 0.3s; overflow: hidden; 
    display: flex; flex-direction: column; 
    border-radius: 6px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.6);
    height: 100%;
    border: 1px solid #222;
}
.card:hover { border-color: var(--neon-green); transform: translateY(-5px); }

.img-box { 
    width: 100%; aspect-ratio: 1 / 1; 
    overflow: hidden; position: relative; background: #000;
}
.img-box img { 
    width: 100%; height: 100%; 
    object-fit: cover; object-position: top center; 
    transition: 0.5s; 
}
.card:hover .img-box img { transform: scale(1.05); filter: brightness(1.1); }

.card-body { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; }
.card-date { color: var(--neon-green); font-weight: 800; font-size: 0.75rem; margin-bottom: 5px; text-transform: uppercase; letter-spacing: 1px;}
.card-title { font-size: 1.3rem; font-weight: 900; margin-bottom: 5px; text-transform: uppercase; font-style: italic; color: white; line-height: 1.1; }
.card-price { display: block; font-size: 1.4rem; font-weight: 800; color: white; margin-bottom: 15px; margin-top: auto; }

.btn-card-green {
    width: 100%; background: var(--neon-green); color: black; 
    padding: 12px 0; text-align: center; font-weight: 900;
    text-transform: uppercase; text-decoration: none; display: block; 
    clip-path: polygon(2% 0, 100% 0, 100% 80%, 98% 100%, 0 100%, 0 20%);
    transition: 0.3s; border: none; font-size: 0.9rem; cursor: pointer;
}
.btn-card-green:hover { background-color: white; box-shadow: 0 0 15px var(--neon-green); }

/* =========================================
   6. TIENDA (BARRA Y VIP)
   ========================================= */
.shop-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
    gap: 25px; 
    margin-top: 30px; 
}

.shop-card { 
    background: #1a1a1a; border: 1px solid #333; 
    border-radius: 10px; padding: 20px; position: relative; 
    display: flex; flex-direction: column; transition: 0.3s; overflow: hidden;
}
.shop-card:hover { border-color: var(--neon-green); transform: translateY(-5px); }

.shop-img-box {
    width: 100%; height: 200px; overflow: hidden;
    border-radius: 8px; margin-bottom: 15px; background: #000; border: 1px solid #333;
}
.shop-img-box img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.vip-header { display: flex; justify-content: space-between; align-items: start; margin-bottom: 10px; }
.vip-thumb { width: 60px; height: 60px; border-radius: 50%; border: 2px solid #a64bf4; object-fit: cover; flex-shrink: 0; margin-left: 10px; background: #000; }

.shop-title { font-size: 1.2rem; font-weight: 800; color: #fff; margin: 0; text-transform: uppercase; }
.shop-desc { color: #888; font-size: 0.85rem; margin-bottom: 15px; line-height: 1.4; white-space: pre-line; }
.shop-footer { margin-top: auto; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #333; padding-top: 15px; }
.shop-price { font-size: 1.4rem; font-weight: 900; color: white; }

.status-tag { position: absolute; top: 10px; right: 10px; padding: 3px 8px; border-radius: 4px; font-size: 0.7rem; font-weight: 900; text-transform: uppercase; z-index: 5; }
.st-libre { background: var(--neon-green); color: black; }
.st-ocupada { background: #333; color: #888; border: 1px solid #555; }

.btn-add { 
    background: #fff; color: #000; border: none; 
    padding: 10px 20px; font-weight: 900; cursor: pointer; 
    border-radius: 6px; text-transform: uppercase; font-size: 0.9rem;
}
.btn-add:hover { background: var(--neon-green); box-shadow: 0 0 15px var(--neon-green); }

/* =========================================
   7. SPONSORS (CARRUSEL INFINITO - TAMAÑO UNIFICADO)
   ========================================= */
.sponsors-section { 
    background: #020202; 
    padding: 80px 0; 
    text-align: center; 
    border-top: 1px solid var(--neon-green); 
    position: relative; 
    overflow: hidden;
    box-shadow: inset 0 20px 50px rgba(0,0,0,0.8);
}

.sponsors-title {
    margin-bottom: 60px; 
    letter-spacing: 12px; 
    font-size: 0.9rem; 
    color: #444;
    text-transform: uppercase; 
    font-weight: 900; 
    text-shadow: 0 2px 2px rgba(0,0,0,0.8);
}

/* El Marco */
.slider {
    height: 120px; 
    margin: auto; 
    overflow: hidden; 
    position: relative; 
    width: 100%; 
    display: flex; 
    align-items: center;
}

/* Sombras laterales (Fade negro) */
.slider::before, .slider::after {
    background: linear-gradient(to right, #020202 0%, rgba(0,0,0,0) 100%);
    content: ""; 
    height: 100%; 
    position: absolute; 
    width: 150px; 
    z-index: 2; 
    pointer-events: none;
}
.slider::before { left: 0; top: 0; }
.slider::after { right: 0; top: 0; transform: rotateZ(180deg); }

/* La Pista */
.slide-track {
    display: flex; 
    gap: 80px; /* Espacio equilibrado */
    width: max-content; 
    animation: scroll 45s linear infinite;
}

/* CAJA DEL LOGO (TAMAÑO FIJO) */
.slide {
    height: 100px;      
    width: 200px;       
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    filter: grayscale(100%) opacity(0.4); 
    transition: all 0.4s ease;
    cursor: pointer;
}

.slide:hover { 
    filter: grayscale(0%) opacity(1) drop-shadow(0 0 15px rgba(255,255,255,0.8)); 
    transform: scale(1.1); 
}

/* LA IMAGEN ADENTRO (SE AJUSTA A LA CAJA) */
.slide img { 
    width: 100% !important;
    height: 100% !important;
    max-width: 160px !important; /* Tope de ancho */
    max-height: 80px !important; /* Tope de alto */
    object-fit: contain !important; 
    display: block;
}

@keyframes scroll { 
    0% { transform: translateX(0); } 
    100% { transform: translateX(-50%); } 
}

/* =========================================
   8. MODAL FLYER & MAPA VIP
   ========================================= */
/* MODAL */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9); z-index: 9999;
    display: none; align-items: center; justify-content: center;
    backdrop-filter: blur(8px);
}
.modal-flyer {
    background: #111;
    background-image: radial-gradient(circle at top right, #222, #000);
    border: 1px solid #333; padding: 40px 30px; 
    border-radius: 20px; width: 90%; max-width: 380px;
    text-align: left; position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    color: white;
}
@keyframes slideUp { from { transform: translateY(50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.flyer-title { font-size: 1.8rem; font-weight: 900; text-transform: uppercase; line-height: 1; margin: 0; }
.flyer-sub { color: #888; font-size: 0.9rem; margin-top: 5px; font-weight: 600; text-transform: uppercase; }
.flyer-price { font-size: 3rem; font-weight: 900; color: white; margin: 20px 0; letter-spacing: -2px; }
.flyer-list { list-style: none; padding: 0; margin: 0 0 30px 0; }
.flyer-list li { font-size: 0.9rem; margin-bottom: 10px; color: #ccc; display: flex; align-items: flex-start; font-weight: 500; text-transform: uppercase; }
.flyer-list li::before { content: '•'; color: var(--neon-green); margin-right: 10px; font-size: 1.2rem; line-height: 1; }

.btn-flyer { width: 100%; padding: 18px; background: #fff; color: black; border: none; border-radius: 8px; font-weight: 900; font-size: 1rem; cursor: pointer; text-transform: uppercase; transition: 0.2s; display: block; text-align: center; }
.btn-flyer:hover { background: var(--neon-green); box-shadow: 0 0 20px var(--neon-green); }
.close-flyer { position: absolute; top: 20px; right: 20px; color: #555; font-size: 1.5rem; cursor: pointer; }

/* MAPA VIP */
.vip-map-wrapper {
    max-width: 1000px; margin: 0 auto; background: #0a0a0a; border: 1px solid #333; border-radius: 20px; padding: 30px 10px; overflow-x: auto; box-shadow: 0 0 50px rgba(0,0,0,0.5);
}
.vip-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 10px; min-width: 600px; }
.vip-seat { background: #151515; border: 2px solid #333; border-radius: 12px; padding: 10px 5px; text-align: center; cursor: pointer; transition: 0.3s; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 70px; }
.vip-seat.libre { border-color: #a64bf4; color: #a64bf4; }
.vip-seat.libre:hover { background: #a64bf4; color: white; }
.vip-seat.ocupada { opacity: 0.3; border-color: #444; cursor: not-allowed; }

/* CARRITO FLOTANTE */
#cart-float {
    position: fixed; bottom: 20px; right: 20px; background: var(--neon-green); color: #000;
    padding: 15px 25px; border-radius: 50px; font-weight: 800; box-shadow: 0 0 20px rgba(57,255,20,0.4);
    display: none; cursor: pointer; z-index: 9990; border: 2px solid white;
}

/* SELECTOR CANTIDAD */
.qty-select { padding: 10px; background: #111; color: white; border: 1px solid #444; border-radius: 4px; font-weight: bold; outline: none; }

/* =========================================
   9. INFO Y FOOTER (BOTÓN ADMIN ARREGLADO)
   ========================================= */
.info-bar { padding: 60px 0; background: #000; text-align: center; }
.info-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 30px; }
.info-item { min-width: 200px; }
.info-item i { font-size: 2rem; color: var(--neon-green); margin-bottom: 15px; }
.info-item h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 10px; text-transform: uppercase; }
.info-item p { font-size: 0.9rem; color: #888; }
.big-phone { font-size: 1.5rem; font-weight: 900; color: white; text-decoration: none; display: block; margin-top: 5px; }
.dress-highlight { font-size: 1rem; font-weight: 700; color: white; }

footer { background: #050505; padding: 40px 0; text-align: center; border-top: 1px solid #222; }
.footer-logo-img { height: 30px; margin-bottom: 20px; }
.socials { margin-bottom: 20px; display: flex; justify-content: center; gap: 15px; }
.socials a { 
    color: black; background: var(--neon-green); width: 35px; height: 35px; 
    display: flex; align-items: center; justify-content: center; border-radius: 50%; text-decoration: none; font-size: 1rem;
}

/* LINK ADMIN MEJORADO (DISCRETO Y PRO) */
.admin-link { 
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 20px;
    color: #444; /* Gris oscuro para no molestar */
    text-decoration: none; 
    font-size: 0.8rem; 
    font-weight: 700; 
    text-transform: uppercase;
    transition: all 0.3s ease;
    padding: 5px 15px;
    border-radius: 20px;
    border: 1px solid transparent;
}

.admin-link:hover { 
    color: var(--neon-green); 
    border-color: var(--neon-green);
    text-shadow: 0 0 10px rgba(57, 255, 20, 0.4);
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.1);
}

/* =========================================
   10. REDES FLOTANTES
   ========================================= */
.floating-socials { position: fixed; bottom: 20px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 15px; }
.social-btn { width: 50px; height: 50px; border-radius: 50%; background: #000; color: white; display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 1.4rem; border: 1px solid #333; transition: 0.3s ease; box-shadow: 0 4px 10px rgba(0,0,0,0.5); }
.social-btn:hover { transform: scale(1.1); }
.social-btn.tiktok:hover { background: #00f2ea; border-color: #00f2ea; color: black; box-shadow: 0 0 15px #00f2ea; }
.social-btn.instagram:hover { background: #E1306C; border-color: #E1306C; color: white; box-shadow: 0 0 15px #E1306C; }

/* =========================================
   11. RESPONSIVE
   ========================================= */
@media screen and (max-width: 768px) {
    .nav-bar { flex-direction: column; gap: 15px; padding: 10px 0; }
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1rem; }
    .vip-grid { grid-template-columns: 1fr; text-align: center; }
    .vip-image { order: -1; margin-bottom: 20px; }
    .info-grid { flex-direction: column; gap: 40px; }
    
    /* SLIDER MOVIL */
    .slider::before, .slider::after { width: 50px; }
    .slide { width: 140px; gap: 30px; }
    .slide img { max-height: 40px !important; }

    /* AJUSTE TARJETAS */
    .grid { grid-template-columns: 1fr; padding: 0 10px; }
    .img-box { aspect-ratio: 1 / 1; }
    .card-title { font-size: 1.2rem; }
    .card-price { font-size: 1.2rem; }
    .card-body { padding: 15px; }
    .btn-card-green { padding: 12px 0; font-size: 0.9rem; }
}