:root {
    --primary: #00f2ff;
    --primary-alt: #00d2ff;
    --bg-dark: #03080c;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(10, 15, 25, 0.82);
    --glass-blur: blur(20px) saturate(180%);
    --text-main: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.6);
    --nav-height: 80px;
    --accent-gradient: linear-gradient(135deg, #00f2ff 0%, #0072ff 100%);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    z-index: 1000;
}

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-dim); font-size: 14px; text-transform: uppercase; letter-spacing: 1px; transition: 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-cta { background: var(--accent-gradient); color: #000 !important; padding: 10px 25px; border-radius: 50px; font-weight: 700 !important; cursor: pointer; }

@media (max-width: 992px) {
    .navbar { 
        height: auto; 
        padding: 15px 5%; 
        flex-direction: column; 
        gap: 15px; 
    }
    .nav-logo {
        width: 100%;
        justify-content: center;
        margin-bottom: 5px;
    }
    .nav-title-text {
        font-size: 0.9rem !important;
        text-align: center;
    }
    .nav-links { 
        position: static;
        width: 100%;
        background: transparent;
        backdrop-filter: none;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        padding: 0;
        gap: 12px;
        transform: none !important;
        display: flex !important;
        border: none;
    }
    .nav-links a { 
        font-size: 11px; 
        width: auto; 
        padding: 5px 10px; 
    }
    .nav-cta { 
        width: auto; 
        font-size: 11px !important; 
        padding: 8px 15px !important;
    }
    .hero-v3 { margin-top: 180px; } /* Ajuste para navbar más alto en móvil */
}

.menu-btn-v3 { display: none !important; }

/* NOVEDADES CAROUSEL RESPONSIVE */
.nov-item { flex: 0 0 calc(33.33% - 14px); min-width: calc(33.33% - 14px); }
@media (max-width: 992px) {
    .nov-item { flex: 0 0 calc(50% - 10px); min-width: calc(50% - 10px); }
}


/* BOTONES PROFESIONALES (NEON PREMIUM) */
.carousel-controls { 
    display: flex !important; 
    flex-direction: row !important; 
    gap: 12px !important; 
    align-items: center; 
}
.carousel-btn {
    background: rgba(0, 242, 255, 0.05);
    border: 2px solid rgba(0, 242, 255, 0.3);
    color: var(--primary);
    width: 45px;
    height: 45px;
    border-radius: 12px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex !important;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}
.carousel-btn:hover {
    background: var(--primary);
    color: #000;
    border-color: var(--primary);
    box-shadow: 0 0 25px rgba(0, 242, 255, 0.6);
    transform: translateY(-3px) scale(1.1);
}

.btn-premium {
    background: linear-gradient(90deg, #00f2ff, #00d2ff);
    color: #000;
    border: none;
    padding: 12px 25px;
    border-radius: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0, 242, 255, 0.2);
}
.btn-premium:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 242, 255, 0.4);
}

/* REDES SOCIALES CIRCULARES PREMIUM - AGRESIVO */
.social-links-v3 {
    display: flex !important;
    justify-content: center !important;
    gap: 15px !important;
    margin: 25px 0 !important;
}
.social-icon-v3 {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    border: 2px solid #00f2ff !important;
    background: rgba(0, 242, 255, 0.05) !important;
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.3) !important;
    transition: 0.3s !important;
}
.social-icon-v3:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 0 25px #00f2ff !important;
}
.social-icon-v3 span, .social-icon-v3 a {
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 24px !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
}
.social-icon-v3 img {
    width: 80% !important;
    height: 80% !important;
    object-fit: contain !important;
}

/* MODAL LOGIN */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active { display: flex; opacity: 1; }

.modal-content {
    background: var(--glass-bg);
    border: 1px solid var(--card-border);
    padding: 50px;
    border-radius: 40px;
    width: 100%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s cubic-bezier(0.85, 0, 0.15, 1);
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-modal {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 24px;
    color: var(--text-dim);
    cursor: pointer;
    transition: 0.3s;
}
.close-modal:hover { color: var(--primary); transform: rotate(90deg); }

/* GRID 3 COLUMNS */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    padding: 40px 5%;
}

@media (max-width: 768px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 15px; padding: 20px 3%; }
}

/* HERO, CAROUSELS, CARDS (Keeping simplified for index, media, nosotros) */
.hero-v3 { 
    height: 50vh; 
    position: relative; 
    overflow: hidden; 
    margin-top: var(--nav-height); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    background: #000; 
}
.hero-video { 
    position: relative; 
    max-width: 65%; 
    max-height: 65%; 
    object-fit: contain; 
    z-index: 1; 
    border-radius: 20px;
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
    .hero-v3 { height: 40vh; }
    .hero-video { max-width: 95%; max-height: 95%; }
}

.hero-overlay { 
    position: absolute; 
    inset: 0; 
    background: transparent; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    z-index: 2; 
    pointer-events: none; 
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
    padding: 20px;
}

.section-v3 { padding: 80px 5%; }
@media (max-width: 768px) {
    .section-v3 { padding: 40px 5%; }
    .title-v3 { font-size: 24px; text-align: center; }
}

/* REUSABLE CARDS */
.card-v3 {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 30px;
    padding: 30px;
    backdrop-filter: blur(15px);
    transition: 0.4s;
}
.card-v3:hover { border-color: var(--primary); transform: translateY(-5px); }

/* FORMS */
.form-input-v3 {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    color: white;
    margin-bottom: 20px;
    outline: none;
}
.form-input-v3:focus { border-color: var(--primary); }

.btn-v3 {
    padding: 15px 30px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.3s;
    text-decoration: none;
    display: inline-block;
}
.btn-primary-v3 { background: var(--accent-gradient); color: #000; }
.btn-primary-v3:hover { transform: scale(1.05); box-shadow: 0 10px 30px rgba(0, 242, 255, 0.3); }

/* OTHER UTILITIES */
.search-input { width: 100%; max-width: 500px; margin: 0 auto 50px; display: block; }
.carousel-track { display: flex; gap: 20px; transition: 0.5s cubic-bezier(0.85, 0, 0.15, 1); }
.carousel-item { min-width: calc(50% - 10px); }

@media (max-width: 768px) { 
    .carousel-item { min-width: calc(50% - 10px); } 
    .modal-content { padding: 30px 20px; border-radius: 25px; margin: 20px; }
}

/* GLOBAL IMAGES */
img { max-width: 100%; height: auto; }

/* SOCIAL BARS & INTERACTION */
.social-bar-v3 {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    padding: 10px 0;
    border-top: 1px solid var(--card-border);
}

.social-bar-v3.compact {
    margin-top: 10px;
    border: none;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(5px);
    border-radius: 50px;
    padding: 8px 15px;
    width: fit-content;
}

.social-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-dim);
    cursor: pointer;
    transition: 0.3s;
}

.social-stat .icon {
    font-size: 18px;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-stat:hover { color: white; }
.social-stat:hover .icon { transform: scale(1.2); }

.btn-like:active .icon { transform: scale(1.5); color: #ff4757; }
.btn-like.liked .icon { color: #ff4757; }

/* ANIMATIONS */
@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 0, 0, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 0, 0, 0); }
}

@keyframes titlePulse {
    from { opacity: 0.8; transform: scale(1); }
    to { opacity: 1; transform: scale(1.02); }
}

/* LIVE STREAM SPECIFIC */
/* LIGHTBOX / VISOR DE IMAGEN */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: 0.4s ease;
}

.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 100%;
    max-height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img {
    max-width: 100vw;
    max-height: 85vh;
    object-fit: contain; /* Esto asegura que la foto se vea COMPLETA */
    border-radius: 10px;
    box-shadow: 0 20px 80px rgba(0,0,0,0.8);
    border: 1px solid rgba(255,255,255,0.1);
}

.lightbox-caption {
    margin-top: 20px;
    color: white;
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    z-index: 5001;
    transition: 0.3s;
}

.lightbox-close:hover { color: var(--primary); transform: scale(1.2); }
