/* VARIABLES & BASE */
:root {
    --bg-deep: #050505; /* Deep Black para pantallas OLED */
    --bg-surface: #0f0f0f;
    --neon-green: #00AD43; /* Verde Ferxxo */
    --neon-purple: #7000FF; /* Morado Alien */
    --gold: #D4AF37;
    --text-main: #F2F2F2;
    --text-muted: #9CA3AF;
    --font-syne: 'Syne', sans-serif;
    --font-inter: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: var(--font-inter);
    overflow-x: hidden;
}

/* TYPOGRAPHY */
.font-syne { font-family: var(--font-syne); }
.fw-extra-bold { font-weight: 800; }
.text-xs { font-size: 0.75rem; }
.ls-1 { letter-spacing: 0.05em; }
.ls-2 { letter-spacing: 0.1em; }
.ls-3 { letter-spacing: 0.2em; }

.text-outline {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
    color: transparent;
}

/* COLORS & UTILS */
.text-neon-green { color: var(--neon-green); }
.text-neon-purple { color: var(--neon-purple); }
.text-gold { color: var(--gold); }
.bg-deep { background-color: var(--bg-deep); }
.border-white-10 { border-color: rgba(255,255,255,0.1) !important; }
.section-padding { padding: 120px 0; }
.cursor-pointer { cursor: pointer; }

/* UTILS MODAL */
.bg-white-05 { background-color: rgba(255,255,255,0.05); }

/* BUTTONS */
.btn-neon-green {
    background-color: var(--neon-green);
    color: #000;
    transition: all 0.3s ease;
}
.btn-neon-green:hover {
    box-shadow: 0 0 20px rgba(0, 173, 67, 0.6);
    transform: translateY(-2px);
    background-color: #00c44b;
}

.btn-white {
    background-color: #fff;
    color: #000;
    transition: all 0.3s ease;
}
.btn-white:hover {
    background-color: var(--neon-green);
    box-shadow: 0 0 15px rgba(0, 173, 67, 0.5);
    transform: translateY(-2px);
}

.hover-bg-white:hover {
    background-color: #fff;
    color: #000;
}

/* NAVBAR */
.navbar { transition: background-color 0.4s ease, backdrop-filter 0.4s ease; }
.navbar.scrolled {
    background-color: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.filter-invert { filter: invert(1); }
.hover-glow:hover { text-shadow: 0 0 10px rgba(255,255,255,0.5); }

/* HERO VIDEO */
.video-wrapper { z-index: 0; }
.overlay-dark {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(5,5,5,0.3), rgba(5,5,5,0.95));
    z-index: 1;
}

/* CHARACTER CARDS */
.character-card img {
    filter: grayscale(100%);
    transition: filter 0.5s ease, transform 0.5s ease;
}
.character-card:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}
.gradient-bottom {
    background: linear-gradient(to top, rgba(5,5,5,1), transparent);
}

/* GLASSMORPHISM CARDS */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}
.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}
.glass-card.border-neon-green:hover { border-color: var(--neon-green); box-shadow: 0 0 30px rgba(0,173,67,0.1); }
.glass-card.border-neon-purple:hover { border-color: var(--neon-purple); box-shadow: 0 0 30px rgba(112,0,255,0.1); }

/* DECORATIVE GLOWS */
.glow-spot {
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    z-index: 0;
    pointer-events: none;
}
.glow-spot.purple { background: var(--neon-purple); }
.glow-spot.green { background: var(--neon-green); }

/* ANIMATIONS */
.animate-bounce { animation: bounce 2s infinite; }
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateX(-50%) translateY(0);}
    40% {transform: translateX(-50%) translateY(-10px);}
    60% {transform: translateX(-50%) translateY(-5px);}
}
.hover-lift:hover { transform: translateY(-5px); }

/* --- FIXED & NEW STYLES --- */

/* 1. Mobile Menu Fix */
.navbar-collapse {
    background-color: rgba(5, 5, 5, 0.98); /* Fondo casi negro sólido */
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 0 0 20px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-top: 10px;
}
@media (min-width: 992px) {
    .navbar-collapse {
        background-color: transparent;
        padding: 0;
        border: none;
        margin-top: 0;
    }
}

/* 7. Readability Fix (Violet Text) */
.text-neon-purple-light {
    color: #D09CFF !important; /* Un violeta más claro y legible */
    text-shadow: 0 0 15px rgba(112, 0, 255, 0.4);
}

/* 6. Form Styling (Deep Dark) */
.form-control-minimal {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    color: white;
    padding: 15px 0;
    transition: all 0.3s ease;
}
.form-control-minimal:focus {
    background: transparent;
    box-shadow: none;
    border-color: var(--neon-green);
    color: white;
}
.form-control-minimal::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* WhatsApp Ghost Button */
.btn-wa-ghost {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.02);
    margin-top: 20px;
}
.btn-wa-ghost:hover {
    border-color: #25D366;
    color: #25D366;
    background: rgba(37, 211, 102, 0.1);
}

/* 3. Action Gallery (Videos) */
.action-video-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
}
.action-video-container video {
    transform: scale(1.01);
    transition: transform 0.5s ease;
}
.action-video-container:hover video {
    transform: scale(1.1);
}

/* --- ACTION GALLERY 4:5 & SMART PLAY --- */

/* Creamos el ratio 4:5 (125% altura) */
.ratio-4x5 {
    --bs-aspect-ratio: 125%; 
}

.action-video-container {
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
    background-color: #000; /* Fondo negro mientras carga */
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.action-video-container:hover {
    border-color: var(--neon-green);
    transform: translateY(-5px);
}

.action-video-container video {
    object-fit: cover;
    width: 100%;
    height: 100%;
    /* El video estará visible, el poster se maneja nativo por HTML */
}

/* --- MODAL STYLES (TARIFARIO) --- */
.hightop-modal {
    background-color: #0f0f0f;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.1);
}
.hightop-modal .modal-header {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.hightop-modal .btn-close-white {
    filter: invert(1);
    opacity: 0.8;
}