/* ============================================================
   MARIACHI INVASOR - WOW FEATURES v3.0
   Loading, Hero video, Partículas, Scroll reveal, Parallax,
   Cotizador, Mapa cobertura, Repertorio, Dark mode, etc.
   ============================================================ */

/* ========== LOADING SCREEN ========== */
.loading-screen {
    position: fixed;
    inset: 0;
    background: #0a0a0a;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s;
}
.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.loading-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}
.loading-logo {
    width: 220px;
    max-width: 80vw;
    height: auto;
    animation: logoPulse 1.5s ease-in-out infinite;
}
@keyframes logoPulse {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.05); opacity: 1; }
}
.loading-bar {
    width: 260px;
    max-width: 70vw;
    height: 4px;
    background: rgba(253, 185, 19, 0.15);
    border-radius: 2px;
    overflow: hidden;
}
.loading-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #FDB913, #c8102e, #FDB913);
    background-size: 200% 100%;
    animation: loadBar 1.4s ease-in-out infinite;
}
@keyframes loadBar {
    0% { width: 0%; background-position: 0% 0%; }
    100% { width: 100%; background-position: 200% 0%; }
}
.loading-text {
    color: #FDB913;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 3px;
    font-size: 0.9em;
    text-transform: uppercase;
    animation: textFade 2s ease-in-out infinite;
}
@keyframes textFade {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ========== HERO VIDEO BG ========== */
.hero-video-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}
/* Si no hay video (error al cargar), el slider se usa como fallback */
.hero-video-wrap.no-video { display: none; }

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.7) 100%);
    z-index: 3;
    pointer-events: none;
}

/* Cuando hay video cargado, ocultar el slider */
.hero-section.has-video .hero-slider { opacity: 0; z-index: 0; }
.hero-section.has-video .hero-arrow { display: none; }

/* Partículas */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
}

/* Aseguramos que el contenido del hero y el player estén encima */
.hero-section .hero-content,
.hero-section .music-player { position: relative; z-index: 5; }

.hero-ctas {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}
.hero-cta-primary i { margin-left: 10px; transition: transform 0.3s; }
.hero-cta-primary:hover i { transform: translateX(5px); }

/* ========== HERO COUNTDOWN ========== */
.hero-countdown {
    margin-top: 30px;
    padding: 20px 25px;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(253, 185, 19, 0.3);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    max-width: 600px;
}
.countdown-label {
    display: block;
    color: #FDB913;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 2px;
    font-size: 0.8em;
    margin-bottom: 12px;
    text-transform: uppercase;
}
.countdown-timer {
    display: flex;
    gap: 15px;
}
.countdown-unit {
    flex: 1;
    background: rgba(253, 185, 19, 0.1);
    border-radius: 6px;
    padding: 10px 5px;
    text-align: center;
    min-width: 60px;
}
.countdown-num {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 1.8em;
    font-weight: 700;
    color: white;
    line-height: 1;
}
.countdown-lbl {
    display: block;
    font-size: 0.65em;
    color: rgba(255,255,255,0.6);
    letter-spacing: 1.5px;
    margin-top: 4px;
}
.countdown-event {
    display: block;
    margin-top: 12px;
    color: rgba(255,255,255,0.85);
    font-size: 0.9em;
    font-style: italic;
}

/* ========== SECTION EYEBROW (reutilizable) ========== */
.section-eyebrow {
    display: inline-block;
    color: #FDB913;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 3px;
    font-size: 0.85em;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}
.section-eyebrow i { margin-right: 8px; }

/* ========== SCROLL REVEAL ========== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-left { transform: translateX(-40px); }
.reveal-left.visible { transform: translateX(0); }
.reveal-right { transform: translateX(40px); }
.reveal-right.visible { transform: translateX(0); }
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ========== PARALLAX SECTIONS ========== */
.section-events .events-bg {
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}
@media (max-width: 900px) {
    .section-events .events-bg { background-attachment: scroll; }
}

/* ========== GALLERY FILTERS ========== */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}
.gallery-filter {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.7);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8em;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
}
.gallery-filter:hover {
    border-color: #FDB913;
    color: #FDB913;
}
.gallery-filter.active {
    background: #FDB913;
    border-color: #FDB913;
    color: #111;
    font-weight: 600;
}

/* ========== COTIZADOR ========== */
.section-cotizador {
    padding: 100px 0;
    background: #f8f8f8;
    position: relative;
}
.section-cotizador::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at 20% 20%, rgba(253,185,19,0.05), transparent 60%),
                radial-gradient(circle at 80% 80%, rgba(200,16,46,0.04), transparent 60%);
    pointer-events: none;
}

.cotizador-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cotizador-wrap {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.cotizador-form { display: flex; flex-direction: column; gap: 25px; }

.cotizador-step {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.cotizador-step label {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    color: #111;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    font-size: 0.95em;
    text-transform: uppercase;
}
.cotizador-step label i { color: #FDB913; margin-right: 8px; }

.cotizador-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.cot-option {
    flex: 0 0 auto;
    padding: 10px 18px;
    background: #f4f4f4;
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s;
    font-size: 0.92em;
    color: #333;
    user-select: none;
}
.cot-option:hover {
    background: #fdecb0;
    border-color: #FDB913;
}
.cot-option.selected {
    background: #FDB913;
    border-color: #FDB913;
    color: #111;
    font-weight: 600;
    transform: scale(1.03);
}

.cot-date-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1em;
    font-family: inherit;
}
.cot-date-input:focus { outline: none; border-color: #FDB913; }

.cotizador-summary {
    position: sticky;
    top: 100px;
    align-self: start;
}
.summary-inner {
    background: linear-gradient(135deg, #111 0%, #1f1f1f 100%);
    color: white;
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border-top: 4px solid #FDB913;
}
.summary-inner h3 {
    font-family: 'Oswald', sans-serif;
    letter-spacing: 3px;
    color: #FDB913;
    margin-bottom: 20px;
    font-size: 1em;
}
.summary-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    min-height: 120px;
}
.summary-placeholder {
    color: rgba(255,255,255,0.5);
    font-style: italic;
    text-align: center;
    padding: 30px 10px;
    font-size: 0.9em;
}
.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.92em;
    color: rgba(255,255,255,0.85);
}
.summary-row strong { color: white; }
.summary-total {
    margin-top: 20px;
    text-align: center;
}
.summary-total-label {
    display: block;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.7);
    font-size: 0.75em;
    margin-bottom: 5px;
}
.summary-total-amount {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 2.8em;
    color: #FDB913;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 1px;
}
.summary-total-note {
    display: block;
    font-size: 0.7em;
    color: rgba(255,255,255,0.4);
    margin-top: 10px;
    font-style: italic;
}
.summary-cta {
    width: 100%;
    margin-top: 20px;
    padding: 14px;
    font-size: 0.9em;
}
.summary-cta:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
.summary-whatsapp {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    background: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1.5px;
    font-size: 0.85em;
    transition: all 0.3s;
}
.summary-whatsapp:hover { background: #1ebd5a; transform: translateY(-2px); }

@media (max-width: 900px) {
    .cotizador-wrap { grid-template-columns: 1fr; }
    .cotizador-summary { position: static; }
}

/* ========== MAPA DE COBERTURA ========== */
.section-coverage {
    padding: 100px 0;
    background: #111;
    color: white;
}
.coverage-header {
    text-align: center;
    margin-bottom: 50px;
}
.coverage-header .section-title.light { color: white; }
.coverage-header .section-desc.light { color: rgba(255,255,255,0.7); }

.coverage-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: center;
}
.coverage-map {
    border: 3px solid #FDB913;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(253,185,19,0.15);
}
.coverage-list h4 {
    font-family: 'Oswald', sans-serif;
    color: #FDB913;
    letter-spacing: 3px;
    margin-bottom: 20px;
    font-size: 1em;
}
.coverage-list ul {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}
.coverage-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.9);
    font-size: 0.98em;
}
.coverage-list li i { color: #FDB913; margin-right: 12px; }
.coverage-note { color: rgba(255,255,255,0.6); font-size: 0.9em; }
.coverage-note a { color: #FDB913; }

@media (max-width: 900px) {
    .coverage-grid { grid-template-columns: 1fr; }
}

/* ========== REPERTORIO ========== */
.section-repertorio {
    padding: 100px 0;
    background: #fff;
}
.repertorio-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.repertorio-wrap {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: start;
}

.repertorio-catalog {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}
.repertorio-item {
    background: #f6f6f6;
    padding: 14px 16px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.25s;
    border: 2px solid transparent;
}
.repertorio-item:hover {
    background: #fdecb0;
    transform: translateY(-2px);
}
.repertorio-item.selected {
    background: #FDB913;
    color: #111;
    border-color: #FDB913;
    font-weight: 600;
}
.repertorio-item .song-name {
    font-size: 0.9em;
    pointer-events: none;
}
.repertorio-item .song-add {
    font-size: 0.85em;
    color: #999;
    pointer-events: none;
}
.repertorio-item:hover .song-add { color: #111; }
.repertorio-item.selected .song-add::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #111;
}
.repertorio-item.selected .song-add-text { display: none; }

.repertorio-selected {
    background: #0a0a0a;
    color: white;
    padding: 30px;
    border-radius: 10px;
    position: sticky;
    top: 100px;
}
.repertorio-selected h3 {
    font-family: 'Oswald', sans-serif;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: #FDB913;
    display: flex;
    align-items: center;
    gap: 10px;
}
.selected-count {
    display: inline-block;
    background: #FDB913;
    color: #111;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.8em;
    margin-left: auto;
}
.selected-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    max-height: 300px;
    overflow-y: auto;
}
.selected-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 0.92em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.selected-list li .remove-song {
    color: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: color 0.3s;
    background: none;
    border: none;
    font-size: 1em;
}
.selected-list li .remove-song:hover { color: #c8102e; }
.selected-placeholder {
    color: rgba(255,255,255,0.4);
    font-style: italic;
    text-align: center;
    padding: 20px 0;
    border: none !important;
}
.repertorio-selected .btn-outline.dark {
    width: 100%;
    border-color: #25D366 !important;
    color: #25D366 !important;
}
.repertorio-selected .btn-outline.dark:hover:not(:disabled) {
    background: #25D366 !important;
    color: white !important;
}
.repertorio-selected .btn-outline.dark:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

@media (max-width: 900px) {
    .repertorio-wrap { grid-template-columns: 1fr; }
    .repertorio-selected { position: static; }
}

/* ========== WHATSAPP FAB (mejorado) ========== */
.whatsapp-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.7em;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 999;
    text-decoration: none;
    transition: all 0.3s;
    animation: whatsPulse 2s ease-in-out infinite;
}
@keyframes whatsPulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(37,211,102,0.4), 0 0 0 0 rgba(37,211,102,0.5); }
    50% { box-shadow: 0 4px 15px rgba(37,211,102,0.4), 0 0 0 15px rgba(37,211,102,0); }
}
.whatsapp-fab:hover { transform: scale(1.1); animation-play-state: paused; }
.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
    background: #111;
    color: white;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.8em;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    font-family: 'Open Sans', sans-serif;
}
.whatsapp-fab:hover .whatsapp-tooltip { opacity: 1; transform: translateY(-50%) translateX(-5px); }

/* ========== SCROLL TO TOP ========== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 45px;
    height: 45px;
    background: #111;
    color: #FDB913;
    border: 2px solid #FDB913;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 998;
}
.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-top:hover { background: #FDB913; color: #111; }

/* ========== THEME TOGGLE ========== */
.theme-toggle {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.1em;
    cursor: pointer;
    padding: 8px;
    margin-right: 8px;
    transition: color 0.3s;
}
.theme-toggle:hover { color: #FDB913; }

/* ========== DARK MODE (tema claro alternativo) ========== */
body.light-theme {
    background: #fafafa;
    color: #222;
}
body.light-theme .section-about,
body.light-theme .section-cotizador,
body.light-theme .section-repertorio {
    background: #fff;
}
body.light-theme .section-testimonials {
    background: #f4f4f4;
}
body.light-theme .section-testimonials .section-title { color: #111; }
body.light-theme .testimonial-card { background: white; color: #333; }
body.light-theme .testimonial-card p { color: #555; }

/* Secciones que siempre son oscuras aunque esté en light mode */
body.light-theme #header,
body.light-theme .section-coverage,
body.light-theme .repertorio-selected,
body.light-theme .summary-inner,
body.light-theme .site-footer,
body.light-theme .section-events,
body.light-theme .section-photo-gallery,
body.light-theme .section-video {
    /* mantener dark */
}

/* ========== CURSOR PERSONALIZADO (solo desktop) ========== */
@media (hover: hover) and (pointer: fine) {
    .photo-slide, .gallery-item, .repertorio-item, .cot-option {
        cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 24 24' fill='%23FDB913' stroke='%23111' stroke-width='1'%3E%3Cpath d='M9 18V5l12-2v13'/%3E%3Ccircle cx='6' cy='18' r='3'/%3E%3Ccircle cx='18' cy='16' r='3'/%3E%3C/svg%3E") 18 18, pointer;
    }
}

/* ========== ANIMATIONS (reutilizables) ========== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ========== HERO FIXES v3.0.2 ========== */
/* Restaurar layout centered + z-index correcto */
.hero-section {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
}

.hero-content {
    text-align: center !important;
    max-width: 900px !important;
    padding: 0 40px !important;
    margin: 0 auto !important;
    z-index: 6 !important;
}

.hero-content h1 {
    text-align: center !important;
}

.hero-content p {
    text-align: center !important;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-ctas {
    justify-content: center !important;
    margin-top: 30px !important;
}

.hero-cta-primary {
    padding: 14px 32px !important;
    background: var(--gold) !important;
    color: var(--dark) !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    border: 2px solid var(--gold) !important;
    text-decoration: none !important;
    transition: all 0.3s !important;
    display: inline-flex !important;
    align-items: center !important;
    font-family: var(--font-heading, 'Oswald', sans-serif) !important;
    font-size: 0.95em !important;
    text-transform: uppercase !important;
}

.hero-cta-primary:hover {
    background: transparent !important;
    color: var(--gold) !important;
}

.hero-content .btn-outline {
    border-color: rgba(255,255,255,0.8) !important;
    color: white !important;
}

.hero-countdown {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Video y slider con z-index correcto */
.hero-video-wrap { z-index: 1 !important; }
.hero-slider { z-index: 2 !important; }
.hero-overlay { z-index: 3 !important; }
.hero-particles { z-index: 4 !important; }
.hero-arrow { z-index: 7 !important; }
.music-player { z-index: 6 !important; }

/* Asegurar que las hero-slide tengan la imagen visible */
.hero-slide {
    position: absolute !important;
    inset: 0 !important;
    background-size: cover !important;
    background-position: center !important;
}

/* Responsive - que el CTA se vea completo en mobile */
@media (max-width: 600px) {
    .hero-ctas { flex-direction: column; width: 100%; }
    .hero-cta-primary, .hero-content .btn-outline { width: 100%; text-align: center; justify-content: center; }
}

/* ========== REPERTORIO FIX v3.0.2 ========== */
.repertorio-item {
    color: #222 !important;
    background: #f6f6f6 !important;
    border: 2px solid #e8e8e8 !important;
}

.repertorio-item .song-name {
    color: #222 !important;
    font-weight: 600 !important;
}

.repertorio-item:hover {
    background: #fdecb0 !important;
    border-color: #FDB913 !important;
}

.repertorio-item.selected {
    background: #FDB913 !important;
    color: #111 !important;
}

.repertorio-item.selected .song-name {
    color: #111 !important;
}

/* Background sutil de notas musicales */
.section-repertorio {
    position: relative;
    background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%) !important;
}

.section-repertorio::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(253,185,19,0.08) 0%, transparent 40%),
        radial-gradient(circle at 85% 70%, rgba(200,16,46,0.06) 0%, transparent 40%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='%23FDB913' opacity='0.035' font-family='Arial' font-size='40'%3E%3Ctext x='10' y='50'%3E%E2%99%AA%3C/text%3E%3Ctext x='45' y='70'%3E%E2%99%AB%3C/text%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.section-repertorio .container { position: relative; z-index: 2; }

/* ========== MEMBER BARS FIX v3.0.2 ========== */
/* Todas las barras en gold (3ra tenia blanco invisible) */
.member-card .member-card-bar,
.member-card:nth-child(1) .member-card-bar,
.member-card:nth-child(2) .member-card-bar,
.member-card:nth-child(3) .member-card-bar,
.member-card:nth-child(4) .member-card-bar,
.member-card:nth-child(5) .member-card-bar,
.member-card:nth-child(6) .member-card-bar {
    background: var(--gold) !important;
    height: 4px !important;
}


/* ========== MUSIC PLAYER CENTRADO Y FLOTANTE v3.0.3 ========== */
.music-player {
    position: absolute !important;
    bottom: 30px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: auto !important;
    max-width: 900px !important;
    width: calc(100% - 60px) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(253, 185, 19, 0.25) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5) !important;
    padding: 12px 20px !important;
    gap: 15px !important;
}

/* Que el hero-content tenga margin-bottom para que el countdown
   no quede justo encima del player */
.hero-content {
    margin-bottom: 140px !important;
    padding-bottom: 40px !important;
}

/* Countdown más compacto y visual */
.hero-countdown {
    margin-top: 25px !important;
}

/* Responsive: mobile */
@media (max-width: 768px) {
    .music-player {
        bottom: 15px !important;
        width: calc(100% - 30px) !important;
        padding: 10px 15px !important;
        gap: 10px !important;
        flex-wrap: wrap !important;
    }
    .hero-content {
        margin-bottom: 160px !important;
    }
    .player-volume, .player-time, .player-extra { display: none !important; }
}

@media (max-width: 600px) {
    .music-player { gap: 8px !important; }
    .player-info { flex: 1 1 100%; order: 3; }
    .hero-content { padding: 0 20px !important; margin-bottom: 180px !important; }
}

/* ========== CTA BUTTONS CENTRADOS v3.0.3 ========== */
.hero-ctas {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 15px !important;
    max-width: 500px !important;
    margin: 30px auto 0 !important;
}

.hero-cta-primary,
.hero-content .btn-outline {
    width: 100% !important;
    max-width: 450px !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 16px 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.hero-cta-primary i {
    margin-left: 0 !important;
}
