/* public/css/style.css - ELITE REDESIGN */

/* Variables - Luxury Theme */
:root {
    --elite-black: #0a0a0a;
    --elite-black-light: #151515;
    --elite-white: #ffffff;
    --elite-gray: #f5f5f5;
    --elite-gray-dark: #333333;
    
    /* Gold Gradients and Solid */
    --elite-gold: #c5a059;
    --elite-gold-gradient: linear-gradient(to right, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
    
    --border-rad: 12px; /* Soft rounded corners requested by user */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
    /* Semantic Variables for perfect Dark/Light mapping */
    --text-white: #ffffff;
    --text-ccc: #cccccc;
    --text-aaa: #aaaaaa;
    --text-888: #888888;
    --text-ddd: #dddddd;
    
    --bg-0-5: rgba(0,0,0,0.5);
    --bg-0-6: rgba(0,0,0,0.6);
    --bg-0-7: rgba(0,0,0,0.7);
    --bg-0-4: rgba(0,0,0,0.4);
    --bg-10-8: rgba(10,10,10,0.8);
    --bg-0a0a0a: #0a0a0a;
    --bg-15-5: rgba(15,15,15,0.5);
    --bg-15-7: rgba(15,15,15,0.7);
    --bg-parallax: rgba(0,0,0,0.6);
    --border-w-1: rgba(255,255,255,0.1);
    --border-w-2: rgba(255,255,255,0.2);
    --border-w-05: rgba(255,255,255,0.05);
    --border-w-02: rgba(255,255,255,0.02);
    
    --text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    --shadow-hover: 0 15px 40px rgba(0,0,0,0.8);
    --bg-hover: rgba(20, 20, 20, 0.9);
}

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    font-family: var(--font-body);
    background-color: var(--elite-black); /* Dark theme base */
    color: var(--elite-white);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
}

/* Text & Utilities */
.gold-text {
    background: var(--elite-gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Buttons */
.btn-gold-solid {
    display: inline-block;
    background: var(--elite-gold-gradient);
    color: var(--elite-black);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    padding: 12px 30px;
    border-radius: 30px; /* Highly rounded for elegance */
    text-transform: uppercase;
    transition: var(--transition-smooth);
    box-shadow: 0 5px 15px rgba(191, 149, 63, 0.3);
}

.btn-gold-solid:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(191, 149, 63, 0.5);
}

.btn-gold-outline {
    display: inline-block;
    border: 2px solid var(--elite-gold);
    color: var(--elite-gold);
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 10px 25px;
    border-radius: 30px;
    text-transform: uppercase;
    background-color: transparent;
    transition: var(--transition-smooth);
}

.btn-gold-outline:hover {
    background: var(--elite-gold-gradient);
    color: var(--elite-black);
    border-color: transparent;
}

/* --- GLASSMORPHISM HEADER --- */
.elite-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transition: var(--transition-smooth);
}

.elite-header.scrolled {
    background: rgba(10, 10, 10, 0.85) !important;
    backdrop-filter: blur(15px) !important;
    border-bottom: 1px solid rgba(191, 149, 63, 0.2) !important;
}

.elite-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    transition: var(--transition-smooth);
}

.elite-header.scrolled .elite-nav-container {
    height: 70px;
}

.elite-logo img {
    height: 80px;
    transition: var(--transition-smooth);
}

.elite-header.scrolled .elite-logo img {
    height: 60px;
}

.elite-nav-links {
    display: flex;
    gap: 40px;
}

.elite-nav-links li a {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--elite-white);
    position: relative;
    letter-spacing: 1px;
}

.elite-nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--elite-gold-gradient);
    transition: width 0.3s ease;
}

.elite-nav-links li a:hover::after,
.elite-nav-links li a.active::after {
    width: 100%;
}

.elite-mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--elite-gold);
    cursor: pointer;
}

/* --- HERO SLIDER PREMIUM --- */
.elite-hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    overflow: hidden;
}

.elite-swiper {
    width: 100%;
    height: 100%;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    /* Efecto de respiración infinita */
    animation: breathing 6s ease-in-out infinite alternate;
}

@keyframes breathing {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.15);
    }
}

.swiper-slide-active .slide-bg {
    /* Mantenemos la animación activa independientemente del slide */
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Capa de opacidad negra para resaltar los textos */
    background: linear-gradient(180deg, rgba(10,10,10,0.7) 0%, rgba(10,10,10,0.4) 40%, rgba(10,10,10,0.95) 100%);
}

.slide-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 120px;
    z-index: 10;
}

.gold-badge {
    align-self: flex-start;
    border: 1px solid var(--elite-gold);
    color: var(--elite-gold);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.slide-content h2 {
    font-family: var(--font-heading);
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 20px rgba(0,0,0,0.8);
}

.slide-content p {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 30px;
    max-width: 600px;
    opacity: 0.9;
}

.elite-pagination {
    bottom: 40px !important;
}

.elite-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: var(--elite-white);
    opacity: 0.4;
    transition: var(--transition-smooth);
}

.elite-pagination .swiper-pagination-bullet-active {
    width: 35px;
    border-radius: 6px;
    background: var(--elite-gold-gradient);
    opacity: 1;
}

/* --- TICKER (Próximo Partido) --- */
.elite-ticker {
    margin-top: -60px;
    position: relative;
    z-index: 20;
    padding-bottom: 60px;
}

.ticker-box {
    background: rgba(21, 21, 21, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(191, 149, 63, 0.3);
    border-radius: var(--border-rad);
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.ticker-header {
    display: flex;
    flex-direction: column;
}

.ticker-header .gold-text {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.ticker-tour {
    font-size: 1.2rem;
    font-weight: 300;
}

.ticker-teams {
    display: flex;
    align-items: center;
    gap: 40px;
}

.team {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.team img {
    height: 60px;
}

.crest-placeholder {
    width: 60px;
    height: 60px;
    background: var(--elite-black);
    border: 1px solid var(--elite-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--elite-gold);
}

.vs-time {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vs-time .date {
    font-size: 0.85rem;
    color: #aaa;
}

.vs-time .time {
    font-size: 1.4rem;
    font-weight: 700;
}

/* --- NEWS GALLERY --- */
.elite-news {
    padding: 80px 0;
    background-color: var(--elite-black);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 15px;
}

.title-line {
    width: 80px;
    height: 3px;
    background: var(--elite-gold-gradient);
    margin: 0 auto;
    border-radius: 2px;
}

.news-grid-premium {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.news-card-premium {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--border-rad);
    background-color: var(--elite-black-light);
    border: 1px solid rgba(255,255,255,0.05);
}

.news-card-premium.large {
    height: 100%;
    min-height: 500px;
}

.news-card-premium.small {
    height: 150px;
    display: flex;
}

.news-img {
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.news-card-premium.large .news-img {
    position: absolute;
    width: 100%;
    height: 100%;
}

.news-card-premium.small .news-img {
    width: 150px;
    height: 100%;
    flex-shrink: 0;
}

.news-card-premium:hover .news-img {
    transform: scale(1.05);
}

.news-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10,10,10,1) 0%, rgba(10,10,10,0) 60%);
    pointer-events: none;
}

.news-info {
    position: absolute;
    bottom: 0;
    padding: 40px;
    z-index: 2;
}

.news-info-side {
    padding: 20px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-date {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.news-card-premium.large .news-date {
    color: var(--elite-gold);
}

.news-card-premium h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    line-height: 1.2;
    transition: color 0.3s;
}

.news-card-premium h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    line-height: 1.3;
    transition: color 0.3s;
}

.news-card-premium:hover h3,
.news-card-premium:hover h4 {
    background: var(--elite-gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.news-side {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* --- BANNER INSTITUCIONAL --- */
.elite-banner {
    padding: 80px 0;
    background-color: var(--elite-black-light);
    text-align: center;
    border-top: 1px solid rgba(191, 149, 63, 0.1);
    border-bottom: 1px solid rgba(191, 149, 63, 0.1);
}

.banner-content {
    max-width: 600px;
    margin: 0 auto;
}

.banner-crest {
    height: 100px;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 10px rgba(191,149,63,0.3));
}

.banner-content h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.banner-content p {
    color: #ccc;
    margin-bottom: 30px;
}

/* --- FOOTER --- */
.elite-footer {
    background-color: var(--elite-black);
    box-shadow: 0 -20px 50px rgba(0,0,0,0.7);
    padding-top: 80px;
}

.elite-footer-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-brand img {
    height: 80px;
    margin-bottom: 15px;
}

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
}

.footer-brand p {
    color: #888;
    font-size: 0.9rem;
    margin-top: 5px;
}

.footer-links h4, .footer-social h4 {
    font-family: var(--font-heading);
    color: var(--elite-white);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #888;
    transition: var(--transition-smooth);
}

.footer-links ul li a:hover {
    color: var(--elite-gold);
}

.social-icons-gold {
    display: flex;
    gap: 15px;
}

.social-icons-gold a {
    width: 40px;
    height: 40px;
    border: 1px solid #333;
    border-radius: 50%; /* Pure round for icons */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    transition: var(--transition-smooth);
}

.social-icons-gold a:hover {
    border-color: var(--elite-gold);
    color: var(--elite-gold);
    transform: translateY(-3px);
}

.elite-footer-bottom {
    background-color: transparent;
    padding: 25px 0;
    text-align: center;
    color: #555;
    font-size: 0.85rem;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .ticker-box {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .news-grid-premium {
        grid-template-columns: 1fr;
    }
    .news-card-premium.large {
        min-height: 400px;
    }
    .elite-footer-content {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    /* Mobile Hero Centering */
    .slide-content {
        align-items: center;
        text-align: center;
        padding-bottom: 80px !important;
    }
    .gold-badge {
        align-self: center !important;
        margin-left: auto;
        margin-right: auto;
    }
    .slide-content div[style*="align-self"] {
        align-self: center !important;
    }
    
    /* Cart Mobile Tweaks */
    .cart-container-mobile { padding: 15px !important; }
    .cart-total-mobile { justify-content: center !important; margin-top: 20px !important; }
    
    /* Global Typography & Spacing */
    h1 { font-size: clamp(2.2rem, 8vw, 3.5rem) !important; line-height: 1.1 !important; }
    h2 { font-size: clamp(1.8rem, 6vw, 2.5rem) !important; line-height: 1.2 !important; }
    section { padding-top: 50px !important; padding-bottom: 50px !important; }
    section.elite-hero { padding-top: 0 !important; padding-bottom: 0 !important; }
    section.page-hero { padding-top: 140px !important; }
    
    /* Header & Cart Fix */
    .elite-nav-container {
        position: relative;
    }
    .elite-logo {
        flex: 0 0 auto;
        order: 1;
    }
    .elite-nav-actions {
        display: flex !important;
        gap: 15px !important;
        margin-right: 15px !important;
        margin-left: auto !important;
        order: 2;
    }
    .elite-mobile-toggle {
        display: block;
        order: 3;
        margin-left: 0 !important;
        outline: none !important;
        border: none !important;
        box-shadow: none !important;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* 3 Vertical Stars Menu Icon */
    .stars-menu-icon {
        position: relative;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        color: inherit;
        font-size: 0.75rem;
        transition: transform 0.4s ease;
        padding: 4px;
    }
    .stars-menu-icon i {
        transition: transform 0.4s ease;
    }
    .elite-mobile-toggle.active .stars-menu-icon {
        transform: rotate(90deg);
    }
    .elite-mobile-toggle.active .stars-menu-icon i {
        transform: rotate(-90deg);
    }
    
    /* Fix top black line on mobile header */
    .elite-header {
        background: transparent !important;
        border-top: none !important;
    }
    .elite-header.scrolled {
        background: rgba(10, 10, 10, 0.4) !important;
        backdrop-filter: blur(20px) !important;
        border-bottom: 1px solid rgba(197, 160, 89, 0.1) !important;
    }
    
    /* Mobile Menu */
    .elite-nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        gap: 0;
        display: none;
    }
    body.light-theme .elite-nav-links {
        background: rgba(255, 255, 255, 0.98);
    }
    .elite-nav-links.active {
        display: flex;
    }
    .elite-nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    body.light-theme .elite-nav-links li {
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    /* ID selector guarantees it overrides line 932 */
    body.light-theme header.elite-header ul#nav-links li a {
        color: #000000 !important;
    }
    .elite-nav-links li a {
        padding: 20px;
        display: block;
        text-align: center;
    }
    
    /* Hero & Components */
    .slide-content h2 {
        font-size: 2.5rem !important;
    }
    .jugador-img {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        margin: 40px auto -50px !important;
        display: block !important;
        max-height: 350px !important;
    }
    
    /* Ticker Mobile Fixes */
    .elite-ticker {
        margin-top: 0 !important;
        padding-bottom: 30px !important;
    }
    .ticker-teams {
        gap: 15px !important;
        width: 100%;
        justify-content: space-evenly;
    }
    .team img, .crest-placeholder {
        height: 45px !important;
        width: 45px !important;
    }
    .team {
        font-size: 1.1rem !important;
        flex-direction: column;
        gap: 5px !important;
    }
    .vs-time .time {
        font-size: 1.1rem !important;
    }
    
    .news-card-premium.small {
        flex-direction: column;
        height: auto;
    }
    .news-card-premium.small .news-img {
        width: 100%;
        height: 200px;
    }
    
    /* Footer */
    .footer-brand, .footer-nav, .footer-social {
        text-align: center !important;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-brand div {
        text-align: center !important;
    }
    .footer-nav {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    .social-icons-gold {
        width: 100% !important;
        justify-content: center !important;
        margin-top: 10px;
    }
}

/* Preloader */
#elite-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--elite-black);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#elite-preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo {
    width: 120px;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); filter: drop-shadow(0 0 5px rgba(197, 160, 89, 0.2)); }
    15% { transform: scale(1.15); filter: drop-shadow(0 0 20px rgba(197, 160, 89, 0.8)); }
    30% { transform: scale(1); filter: drop-shadow(0 0 5px rgba(197, 160, 89, 0.2)); }
    45% { transform: scale(1.15); filter: drop-shadow(0 0 20px rgba(197, 160, 89, 0.8)); }
    60% { transform: scale(1); filter: drop-shadow(0 0 5px rgba(197, 160, 89, 0.2)); }
}

/* --- LIGHT THEME OVERRIDES --- */
body.light-theme {
    background-color: #ffffff !important;
    --elite-black: #ffffff;
    --elite-black-light: #ffffff;
    --elite-white: #222; /* Textos por defecto pasan a oscuro */
    --bg-parallax: transparent;
    
    /* Semantic Mapping for Light Theme */
    --text-white: #000000;
    --text-ccc: #111111;
    --text-aaa: #222222;
    --text-888: #333333;
    --text-ddd: #000000;
    
    --bg-0-5: rgba(255, 255, 255, 0.85);
    --bg-0-6: rgba(255, 255, 255, 0.85);
    --bg-0-7: rgba(255, 255, 255, 0.85);
    --bg-10-8: rgba(255, 255, 255, 0.85);
    --bg-0a0a0a: #ffffff;
    --bg-0-4: rgba(255, 255, 255, 0.7);
    --bg-15-5: rgba(255, 255, 255, 0.95);
    --bg-15-7: rgba(255, 255, 255, 0.95);
    --border-w-1: #dddddd;
    --border-w-2: #cccccc;
    --border-w-05: #eeeeee;
    --border-w-02: #ffffff;
    
    --text-shadow: none;
    --shadow-hover: 0 15px 40px rgba(0,0,0,0.05);
    --bg-hover: #ffffff;
    
    /* Enhance gold contrast on white */
    --elite-gold: #a67c33; /* Darker antique gold/bronze */
}

/* Cambiar colores de texto generales pero proteger ciertas secciones */
body.light-theme,
body.light-theme p, 
body.light-theme h1, body.light-theme h2, body.light-theme h3, body.light-theme h4, body.light-theme h5 {
    color: #000000;
    text-shadow: none !important;
}

/* Proteger el Hero Slider para que mantenga estética oscura */
body.light-theme .slide-overlay {
    background: linear-gradient(180deg, rgba(10,10,10,0.7) 0%, rgba(10,10,10,0.4) 40%, rgba(10,10,10,0.95) 100%) !important;
}
body.light-theme .slide-content h2,
body.light-theme .slide-content p,
body.light-theme .slide-content span,
body.light-theme .slide-content div {
    color: #fff !important;
    text-shadow: 2px 2px 20px rgba(0,0,0,0.8) !important;
}
body.light-theme .slide-content .gold-badge {
    color: #ffffff !important;
    border-color: var(--elite-gold) !important;
}
body.light-theme .elite-list-title,
body.light-theme .elite-list-years {
    color: #fff !important;
}
body.light-theme .slide-content .btn-gold-solid {
    align-self: flex-start; /* Evita que el botón se estire a todo el ancho */
}

/* ===== CABECERA EN MODO CLARO ===== */
/* Fondo siempre transparente cuando está arriba */
body.light-theme .elite-header {
    background: transparent !important;
    border-bottom: none !important;
    backdrop-filter: none !important;
}

/* En la página de INICIO (slider oscuro), letras BLANCAS cuando está arriba */
body.light-theme .elite-header.is-home .elite-nav-links li a,
body.light-theme .elite-header.is-home .fa-shopping-cart,
body.light-theme .elite-header.is-home .fa-shopping-bag,
body.light-theme .elite-header.is-home #theme-toggle-btn,
body.light-theme .elite-header.is-home #mobile-toggle {
    color: #fff !important;
}

/* En el resto de páginas (Noticias, etc.), letras NEGRAS cuando está arriba (porque el fondo es claro) */
body.light-theme .elite-header:not(.is-home) .elite-nav-links li a,
body.light-theme .elite-header:not(.is-home) .fa-shopping-cart,
body.light-theme .elite-header:not(.is-home) .fa-shopping-bag,
body.light-theme .elite-header:not(.is-home) #theme-toggle-btn,
body.light-theme .elite-header:not(.is-home) #mobile-toggle {
    color: #000000 !important;
}

/* Cuando hace SCROLL en CUALQUIER página (Aparece el "rectángulo" blanco) */
body.light-theme .elite-header.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid #ddd !important;
    backdrop-filter: blur(10px) !important;
}
/* Al hacer SCROLL, las letras SIEMPRE son NEGRAS */
body.light-theme .elite-header.scrolled .elite-nav-links li a,
body.light-theme .elite-header.scrolled .fa-shopping-cart,
body.light-theme .elite-header.scrolled .fa-shopping-bag,
body.light-theme .elite-header.scrolled #theme-toggle-btn,
body.light-theme .elite-header.scrolled #mobile-toggle {
    color: #000000 !important;
}

/* Forzar elementos dorados a seguir siendo dorados */
body.light-theme .gold-text,
body.light-theme .gold-badge,
body.light-theme .btn-gold-outline,
body.light-theme .elite-gold,
body.light-theme .fa-music,
body.light-theme .fa-play,
body.light-theme .fa-pause,
body.light-theme #priceDisplay,
body.light-theme h2[style*="var(--elite-gold)"],
body.light-theme h3[style*="var(--elite-gold)"] {
    color: var(--elite-gold) !important;
}

/* Botones dorados sólidos */
body.light-theme .btn-gold-solid {
    color: #111 !important; 
    text-shadow: none !important;
}

/* Tarjetas y contenedores */
body.light-theme .ticker-box,
body.light-theme .news-card-premium,
body.light-theme .product-img-wrapper,
body.light-theme form input,
body.light-theme form select,
body.light-theme #cartModal > div {
    background-color: #ffffff !important;
    border-color: #ddd !important;
    color: #222 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05) !important;
}

/* Efecto Negro Metal para la barra del partido en Modo Claro */
body.light-theme .ticker-box {
    border: 1px solid #2a2a2a !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15), inset 0 0 15px rgba(0,0,0,0.05) !important;
}

/* Ajustes específicos para textos del Ticker en Modo Claro */
body.light-theme .ticker-header .ticker-tour,
body.light-theme .ticker-teams .team span,
body.light-theme .ticker-teams .vs-time .date {
    color: #333 !important;
}
body.light-theme form input::placeholder {
    color: #888 !important;
}

/* Degradados para textos en imágenes (Noticias, Boutique, etc) */
body.light-theme .news-overlay,
body.light-theme div[style*="rgba(10,10,10"] {
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #ffffff 100%) !important;
}
body.light-theme .news-info h3,
body.light-theme .news-info h4 {
    color: #111 !important;
}

/* Modal y Pie de página */
body.light-theme .product-overlay,
body.light-theme #cartModal {
    background: rgba(255,255,255,0.9) !important;
}
body.light-theme .elite-footer {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%) !important;
    box-shadow: 0 -15px 40px rgba(0,0,0,0.05) !important;
}
body.light-theme .elite-footer * {
    color: #444 !important;
}
body.light-theme .elite-footer-bottom {
    background-color: transparent !important;
    border-top: 1px solid rgba(0,0,0,0.05); /* Separador sutil */
}
body.light-theme .social-icons-gold a {
    border-color: #aaa !important;
    color: #444 !important;
}
body.light-theme .crest-placeholder {
    background: #fff !important;
}
body.light-theme select option {
    color: #222 !important;
}

/* Dynamic Badge Override */
span.gold-badge.dynamic-badge { 
    color: #ffffff !important; 
    border-color: #ffffff !important;
    font-weight: 600 !important;
}
body.light-theme span.gold-badge.dynamic-badge { 
    color: #000000 !important; 
    border-color: #000000 !important;
}

/* Static White Badge Override (For Home Page) */
span.gold-badge.static-white-badge,
body.light-theme span.gold-badge.static-white-badge { 
    color: #ffffff !important; 
    border-color: #ffffff !important;
    font-weight: 600 !important;
}

