/* ===== FONT ===== */
@font-face {
    font-family: 'Brovonya';
    src: url('fonts/brovonya.woff2') format('woff2'),
         url('fonts/brovonya.woff') format('woff'),
         url('fonts/brovonya.ttf') format('truetype'),
         url('fonts/brovonya.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ===== VARIABLES ===== */
:root {
    --red-light: #ef4444;
    --red-main: #991b1b;
    --red-dark: #450a0a;
    --bg-color: #050000;
    --text-main: #E0D8D0;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    text-transform: uppercase;
    width: 100%;
    position: relative;
}

/* ===== PERFORMANCE LAYERS ===== */
.vhs-noise, .bg-layer, .vhs-overlay, .scanline {
    transform: translateZ(0);
    backface-visibility: hidden;
    pointer-events: none;
}

.bg-layer {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-image: url('img/bg-albummanifiesto.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    z-index: -3;
}

.vhs-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(18,16,16,0) 50%, rgba(0,0,0,0.15) 50%);
    background-size: 100% 4px;
    pointer-events: none;
    z-index: -2;
    opacity: 0.15;
    will-change: opacity;
}

.vhs-noise {
    position: fixed;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: -1;
    opacity: 0.03;
    animation: noiseMove 0.3s steps(3) infinite;
    will-change: transform;
}
@media (max-width: 768px) {
    .vhs-noise { opacity: 0.02; }
}

/* Background Thunder */
.bg-thunder {
    position: fixed; inset: 0;
    background: #fff;
    opacity: 0;
    z-index: -1;
    pointer-events: none;
}
@keyframes bgThunderFlash {
    0%, 85% { opacity: 0; }
    86% { opacity: 0.4; }
    87% { opacity: 0; }
    88% { opacity: 0.5; }
    89% { opacity: 0; }
    95% { opacity: 0.3; }
    96%, 100% { opacity: 0; }
}
.bg-thunder.active { animation: bgThunderFlash 0.4s ease-out; }

@keyframes noiseMove {
    0%   { transform: translate(0,0) scale(1); }
    33%  { transform: translate(-2%, 2%) scale(1.02); }
    66%  { transform: translate(2%, -2%) scale(0.98); }
    100% { transform: translate(0,0) scale(1); }
}

.scanline {
    width: 100%; height: 2px;
    background: rgba(255, 0, 0, 0.1);
    position: fixed; top: 0; left: 0;
    pointer-events: none;
    z-index: 10;
    animation: scan 8s linear infinite;
    will-change: transform;
    transform: translateY(-100px);
}
@keyframes scan {
    0%   { transform: translateY(-10vh); }
    100% { transform: translateY(110vh); }
}

/* ===== MAIN LAYOUT ===== */
main {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* GPU Layer promotion */
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* ===== LOGO ===== */
.logo-wrapper {
    position: sticky;
    top: 15px;
    z-index: 200;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 20px;
    margin-bottom: 30px;
    pointer-events: none;
}
.logo {
    width: 180px;
    max-width: 80%;
    filter: drop-shadow(0 0 20px rgba(255,0,0,0.6));
    animation: fadeInDown 1.5s ease-out;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
    transform-origin: top center;
    will-change: transform, width, filter;
    transform: translateZ(0);
}
.logo.scrolled {
    width: 140px;
    background: rgba(0,0,0,0.85); /* Slightly darker for better contrast without blur */
    padding: 3px 10px;
    border-radius: 0;
    border: 1px solid rgba(153,27,27,0.3);
    backdrop-filter: blur(8px);
    box-shadow: none;
    animation: none;
}

@media (max-width: 768px) {
    .logo.scrolled {
        backdrop-filter: none; /* Heavy on mobile scroll */
        background: rgba(5,0,0,0.95);
    }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===== STORIES ===== */
.stories-container {
    position: relative;
    width: min(96vw, 420px);
    height: min(128vw, 560px);
    margin-bottom: 30px;
    border-radius: 1rem;
    box-shadow: 0 0 50px rgba(255,0,0,0.2);
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    overflow: hidden; /* Ensure rounded corners on video */
}

@media (max-width: 768px) {
    .stories-container {
        backdrop-filter: none;
    }
}

/* Loader / spinner overlay */
.loader-wrapper {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    z-index: 5;
    cursor: pointer;
}
.loader-wrapper.active { display: flex; }

.video-spinner {
    position: relative;
    width: 50px; height: 50px;
    border: 4px solid rgba(153,27,27,0.2);
    border-top: 4px solid var(--red-light);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 15px rgba(255,0,0,0.5);
}
@keyframes spin {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spinner-play-icon {
    position: relative;
    width: 25px; height: 25px;
    color: var(--red-light);
    animation: pulsePlay 0.8s infinite alternate;
}
@keyframes pulsePlay {
    from { opacity: 0.2; transform: scale(0.8); }
    to   { opacity: 1;   transform: scale(1.2); }
}

/* Video element */
.stories-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
    /* Critical: GPU compositing layer to prevent main-thread stalls */
    will-change: transform;
    transform: translateZ(0);
}

.glitch-active .stories-video {
    filter: contrast(250%) brightness(150%) blur(4px) hue-rotate(90deg);
    mix-blend-mode: exclusion;
}

/* Prev / Next buttons */
.story-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s;
    text-shadow: 0 0 8px rgba(255,0,0,0.8);
    z-index: 10;
}
.story-btn:hover { opacity: 1; transform: translateY(-50%) scale(1.2); }
.story-btn-left { left: 8px; }

/* Right side container (mute + progress + next) */
.loader-container {
    position: absolute;
    right: 8px;
    top: 10%;
    height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.mute-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    opacity: 0.75;
    transition: all 0.3s;
    position: relative;
    width: 36px; height: 36px;
    display: flex; justify-content: center; align-items: center;
    border-radius: 50%;
}
.mute-btn:hover { opacity: 1; transform: scale(1.15); }
.mute-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; position: relative; z-index: 1; }

/* Anillo metálico pulsante - visible solo cuando está muteado */
.mute-btn::before {
    content: '';
    position: absolute; inset: 0;
    border-radius: 50%;
    padding: 1.5px;
    background: linear-gradient(90deg,
        #4a0000 0%, #991b1b 20%, #ef4444 40%,
        #ffffff 50%, #ef4444 60%, #991b1b 80%, #4a0000 100%
    );
    background-size: 200% 100%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    animation: metalShine 2.5s linear infinite, mutePulse 1.8s ease-in-out infinite;
    opacity: 1;
    transition: opacity 0.4s;
    pointer-events: none;
}
/* Cuando tiene sonido (body con clase .has-sound o con el atributo data) */
.mute-btn.has-audio::before {
    opacity: 0;
    animation: none;
}
@keyframes mutePulse {
    0%, 100% { box-shadow: 0 0 0px rgba(239,68,68,0); }
    50%       { box-shadow: 0 0 10px rgba(239,68,68,0.8), 0 0 20px rgba(239,68,68,0.3); }
}

.loader-track {
    width: 4px;
    flex: 1;
    background: rgba(255,255,255,0.1);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
}
.loader-fill {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 0%;
    background: linear-gradient(to bottom, var(--red-dark), var(--red-light));
    transition: height 0.1s linear;
}

.story-btn-right {
    background: none;
    border: none;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s;
    text-shadow: 0 0 8px rgba(255,0,0,0.8);
}
.story-btn-right:hover { opacity: 1; transform: scale(1.2); }

/* ===== TRACKLIST ===== */
.track-section {
    width: 100%; max-width: 900px;
    display: flex; flex-direction: column; align-items: center;
    padding: 0 20px;
    margin-bottom: 80px;
    position: relative;
}

.tracklist-container {
    width: 100%;
    background: linear-gradient(135deg, rgba(20,0,0,0.9) 0%, rgba(0,0,0,0.95) 100%);
    backdrop-filter: blur(12px);
    border-radius: 15px;
    padding: 25px 16px;
    border: 1px solid rgba(153,27,27,0.4);
    box-shadow: 0 20px 50px rgba(0,0,0,0.8), inset 0 0 20px rgba(255,0,0,0.05);
}

@media (max-width: 768px) {
    .tracklist-container {
        backdrop-filter: none;
    }
}

.tracklist-title {
    text-align: center;
    font-family: 'Brovonya', Helvetica, Arial, sans-serif;
    font-size: 2.5rem; letter-spacing: 3px;
    margin-bottom: 30px; color: var(--red-light);
    text-shadow: 0 0 15px rgba(255,0,0,0.3);
}

.track-item {
    display: flex; flex-direction: column; gap: 10px;
    padding: 14px 14px 14px 12px; border-radius: 12px;
    background: rgba(20,0,0,0.4);
    margin-bottom: 12px;
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.15);
}
.track-item:hover { background: rgba(153,27,27,0.15); transform: translateY(-3px); border-color: rgba(255,0,0,0.3); }
.track-item.playing { background: rgba(153,27,27,0.3); border-color: var(--red-light); }

.track-header { display: flex; align-items: flex-start; gap: 15px; }
.track-num-box { color: #aaa; font-family: 'Space Grotesk', monospace; font-size: 1.2rem; font-weight: bold; width: 25px; text-align: right; flex-shrink: 0; padding-top: 1px; }
.track-title { font-family: 'Brovonya', Helvetica, Arial, sans-serif; font-size: 1.2rem; letter-spacing: 1px; color: #fff; white-space: normal; line-height: 1.3; }

.track-body { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; padding-left: 40px; }

.track-controls { display: flex; gap: 10px; flex-shrink: 0; }
.track-controls button, .modal-controls button {
    background: rgba(0,0,0,0.5); border: 1px solid rgba(153,27,27,0.5); color: white;
    width: 38px; height: 38px; border-radius: 50%;
    cursor: pointer; transition: 0.3s;
    display: inline-flex; justify-content: center; align-items: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
.track-controls button:hover, .modal-controls button:hover { background: var(--red-main); border-color: var(--red-light); transform: scale(1.1); }

.track-meta { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; }
.track-duration { color: #aaa; font-family: 'Space Grotesk', monospace; font-size: 0.95rem; }
.btn-letra {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,0,0,0.3); color: var(--red-light);
    font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase;
    cursor: pointer; opacity: 0.9; padding: 4px 10px; border-radius: 4px;
    font-family: 'Inter', sans-serif; font-weight: bold; transition: all 0.3s;
}
.btn-letra:hover:not(.disabled) { background: var(--red-main); color: #fff; text-shadow: 0 0 5px #fff; border-color: var(--red-light); }
.btn-letra.disabled {
    color: #666; border-color: rgba(255,255,255,0.1); background: rgba(255,255,255,0.02);
    cursor: default; pointer-events: none; opacity: 0.6;
}

/* ===== YOUTUBE ===== */
.youtube-section {
    width: 100%; max-width: 900px; padding: 0 20px;
    margin-bottom: 50px; text-align: center;
    position: relative; z-index: 10;
}
.yt-title {
    font-family: 'Brovonya', Helvetica, Arial, sans-serif; font-size: 2rem;
    color: var(--text-main); margin-bottom: 20px;
    letter-spacing: 2px; text-shadow: 0 0 10px rgba(255,0,0,0.5);
}
.yt-wrapper {
    position: relative; padding-top: 56.25%;
    border-radius: 12px; overflow: hidden;
    border: 2px solid rgba(127,29,29,0.6);
    box-shadow: 0 0 40px rgba(255,0,0,0.2);
    background: black;
}
.yt-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* ===== BAND FLICKER IMAGE ===== */
.band-image {
    width: 100%; max-width: 800px; padding: 0 20px;
    position: relative; z-index: 1;
    display: flex; justify-content: center; align-items: center;
    margin-top: 40px; margin-bottom: -40px;
}
.flicker-box {
    position: relative; width: 100%; max-width: 500px;
    height: 400px;
    border-radius: 15px; overflow: hidden;
    box-shadow: 0 0 30px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(8px);
}
.flicker-img {
    width: 100%; height: 100%;
    object-fit: contain;
    box-sizing: border-box;
    padding: 15px;
    transition: opacity 0.1s;
    will-change: transform, opacity, filter;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* ===== POSTS VIEWER ===== */
.posts-viewer-container {
    width: 100%; max-width: 500px; padding: 0 20px; margin-bottom: 80px;
    position: relative; z-index: 10;
    display: flex; flex-direction: column; align-items: center;
}

.discover-more {
    display: inline-flex; justify-content: center; align-items: center; gap: 8px;
    font-family: 'Inter', sans-serif; font-size: 0.8rem; font-weight: bold;
    color: #fff; text-decoration: none; letter-spacing: 2px;
    padding: 8px 18px;
    border-radius: 30px;
    position: relative;
    background: rgba(0,0,0,0.5);
    margin-bottom: 20px;
}
.discover-more::before {
    content: '';
    position: absolute; inset: 0;
    border-radius: 30px;
    padding: 1.5px;
    background: linear-gradient(90deg,
        #4a0000 0%, #991b1b 20%, #ef4444 40%,
        #ffffff 50%, #ef4444 60%, #991b1b 80%, #4a0000 100%
    );
    background-size: 200% 100%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    animation: metalShine 2.5s linear infinite;
    pointer-events: none;
}
@keyframes metalShine {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
@keyframes heartbeat {
    0%,100% { transform: scale(1); }
    8%  { transform: scale(1.06); }
    16% { transform: scale(1); }
    24% { transform: scale(1.04); }
    32% { transform: scale(1); }
}
.discover-more { animation: heartbeat 4s ease-in-out infinite; }
.discover-more svg { width: 16px; height: 16px; flex-shrink: 0; }

.posts-viewer { width: 100%; display: flex; justify-content: center; }
.posts-img-box {
    width: 100%; padding-top: 100%;
    position: relative;
    background: transparent;
}
.posts-img-box img {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: contain;
    opacity: 0; 
    filter: contrast(130%) saturate(0);
    will-change: opacity;
}
.posts-img-box img.active {
    opacity: 1;
    animation: abruptFlash 0.1s ease-out;
}
@keyframes abruptFlash {
    0%   { filter: brightness(3) contrast(200%); }
    100% { filter: brightness(1) contrast(130%) saturate(0); }
}

/* ===== GALLERY ===== */
.gallery-section {
    width: 100%; overflow: hidden; margin-bottom: 10px;
    padding: 0 20px;
    opacity: 0; transition: opacity 1s;
    position: relative;
}
.gallery-section.loaded { opacity: 1; }
.gallery-track {
    display: flex; align-items: center; gap: 15px;
    width: max-content;
    animation: marqueeScroll 200s linear infinite;
    will-change: transform;
    transform: translateZ(0);
}
.gallery-item { border-radius: 8px; overflow: hidden; flex-shrink: 0; position: relative; }
.gallery-item.vertical  { width: 20vw; height: 35vw; }
.gallery-item.horizontal { width: 45vw; height: 28vw; }
@media(max-width: 768px) {
    .gallery-item.vertical  { width: 45vw; height: 65vw; }
    .gallery-item.horizontal { width: 85vw; height: 55vw; }
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; opacity: 0.65; }

@keyframes marqueeScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== FLASHING WORDS ===== */
.flashing-words {
    position: absolute;
    top: 50%; left: 0; width: 100%;
    transform: translateY(-50%);
    height: 80px;
    display: flex; justify-content: center; align-items: center;
    pointer-events: none;
    z-index: 5;
}
.flash-word {
    font-family: 'Brovonya', Helvetica, Arial, sans-serif;
    font-size: 1.8rem; letter-spacing: 5px; color: #ffffff;
    text-shadow: 0 0 20px rgba(255,255,255,0.9), 0 0 40px rgba(0,0,0,0.8);
    display: none;
}
.flash-word.show { display: block; }

/* ===== FOOTER ===== */
footer {
    width: 100%; padding: 60px 20px 160px 20px;
    border-top: 1px solid rgba(127,29,29,0.3);
    background: linear-gradient(to bottom, #000 0%, #000 60%, transparent 100%);
    display: flex; flex-direction: column; align-items: center; gap: 20px;
    position: relative;
}
footer::before {
    content: ''; position: absolute; inset: 0;
    background: rgba(0,0,0,0.85); z-index: -1;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 60%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 60%, transparent 100%);
}
footer .logo { margin: 0; width: 180px; animation: none; }
.footer-links { display: flex; gap: 15px; }
.footer-links a {
    color: white; width: 40px; height: 40px;
    border-radius: 50%; border: 1px solid rgba(255,0,0,0.3);
    display: flex; justify-content: center; align-items: center;
    text-decoration: none; transition: 0.3s; background: rgba(255,255,255,0.05);
}
.footer-links a:hover { background: var(--red-main); border-color: var(--red-light); }
.footer-links svg { width: 20px; height: 20px; }

/* ===== FLOATING MENU ===== */
/* ── MENU OVERLAY ── */
.menu-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0);
    z-index: 99;
    pointer-events: none;
    transition: background 0.4s;
}
.menu-overlay.open {
    background: rgba(0,0,0,0.82);
    pointer-events: all;
}

/* Thunder flash inside overlay when menu opens */
.menu-overlay::after {
    content: '';
    position: absolute; inset: 0;
    background: #fff;
    opacity: 0;
    pointer-events: none;
    transition: none;
}
.menu-overlay.thunder-flash::after {
    animation: menuThunder 0.5s ease-out forwards;
}
@keyframes menuThunder {
    0%   { opacity: 0; }
    8%   { opacity: 0.55; }
    12%  { opacity: 0; }
    18%  { opacity: 0.7; }
    22%  { opacity: 0; }
    30%  { opacity: 0.4; }
    36%  { opacity: 0; }
    45%  { opacity: 0.25; }
    55%  { opacity: 0; }
    100% { opacity: 0; }
}

/* ── MENU WRAPPER (centrado en pantalla) ── */
.menu-wrapper {
    position: fixed;
    bottom: 25px; left: 50%;
    transform: translateX(-50%);
    z-index: 100;
}

/* Panel flotante centrado ABSOLUTAMENTE en pantalla (horizontal Y vertical) */
.menu-items {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.85);
    transform-origin: center center;
    display: flex; flex-direction: column; gap: 8px;
    background: rgba(5,0,0,0.95);
    padding: 22px 14px 18px 14px;
    border-radius: 22px;
    border: 1px solid rgba(127,29,29,0.7);
    backdrop-filter: blur(20px);
    opacity: 0; visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
    box-shadow: 0 0 80px rgba(255,0,0,0.18);
    min-width: 220px;
}
.menu-items.open {
    opacity: 1; visibility: visible;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: all;
}

@media (max-width: 768px) {
    .menu-items {
        backdrop-filter: none;
        background: rgba(5,0,0,0.98);
    }
}

/* Typewriter label encima del menú */
.menu-typewriter-label {
    font-family: 'Space Grotesk', monospace;
    font-size: 0.58rem;
    letter-spacing: 3px;
    color: var(--red-light);
    text-align: center;
    margin-bottom: 10px;
    min-height: 1em;
    white-space: nowrap;
    text-shadow: 0 0 8px rgba(255,0,0,0.5);
    overflow: hidden;
}
.menu-typewriter-label::after {
    content: '|';
    animation: twCursor 0.7s step-end infinite;
    color: var(--red-light);
}
@keyframes twCursor {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

/* Cada link = fila completa clickeable: icono + label */
.menu-items a {
    color: white; text-decoration: none;
    height: 46px;
    border-radius: 12px;
    display: flex; align-items: center;
    gap: 14px;
    padding: 0 18px 0 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.25s;
    width: 100%;
}
.menu-items a:hover {
    background: rgba(153,27,27,0.28);
    border-color: rgba(239,68,68,0.45);
    transform: scale(1.03);
}
.menu-icon-wrap {
    width: 26px; height: 26px;
    display: flex; justify-content: center; align-items: center;
    flex-shrink: 0;
}
.menu-items a svg { width: 19px; height: 19px; }
/* Label inline */
.menu-label {
    font-family: 'Inter', sans-serif; font-size: 0.72rem; font-weight: 800;
    letter-spacing: 2px; color: var(--red-light); white-space: nowrap;
    text-shadow: 0 0 10px rgba(255,0,0,0.5); opacity: 0.95;
    pointer-events: none;
}

.menu-btn {
    width: 55px; height: 55px;
    border-radius: 50%;
    background: rgba(20,0,0,0.9);
    border: 2px solid rgba(239,68,68,0.7);
    box-shadow: 0 0 20px rgba(255,0,0,0.4);
    color: white; cursor: pointer;
    backdrop-filter: blur(5px); transition: all 0.3s;
    display: flex; justify-content: center; align-items: center;
}
.menu-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; transition: 0.3s; }
.menu-btn.open svg { transform: rotate(45deg); stroke: var(--red-light); }
.menu-btn:hover { transform: scale(1.1); box-shadow: 0 0 30px rgba(255,0,0,0.6); }

/* ===== LYRICS MODAL ===== */
.modal {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.95); backdrop-filter: blur(30px);
    z-index: 1000; display: flex; justify-content: center; align-items: center;
    padding: 20px; opacity: 0; pointer-events: none; transition: opacity 0.4s;
}
.modal::before {
    content: '';
    position: absolute; top:0; left:0; width:100%; height:100%;
    background-image: url('img/bg-albummanifiesto.jpg');
    background-size: cover; background-position: center;
    opacity: 0.15; z-index: -1; pointer-events: none;
    animation: thunderFlash 3s infinite;
}
@keyframes thunderFlash {
    0%, 88%  { opacity: 0.15; filter: brightness(1); }
    89%  { opacity: 0.55; filter: brightness(2.5); }
    90%  { opacity: 0.15; filter: brightness(1); }
    91%  { opacity: 0.65; filter: brightness(3); }
    92%  { opacity: 0.15; filter: brightness(1); }
    93%  { opacity: 0.40; filter: brightness(1.8); }
    94%, 100% { opacity: 0.15; filter: brightness(1); }
}
.modal.open { opacity: 1; pointer-events: all; }
.modal-content {
    background: transparent; width: 100%; max-width: 900px; height: 100%;
    position: relative; display: flex; flex-direction: column;
}
.modal-close {
    position: fixed; top: 18px; right: 18px;
    background: var(--red-main); color: #000; border: none;
    width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
    font-size: 1.3rem; font-weight: bold; line-height: 1;
    display: flex; justify-content: center; align-items: center;
    z-index: 1010; transition: 0.2s;
    box-shadow: 0 0 15px rgba(220,38,38,0.8);
}
.modal-close:hover { background: #ef4444; transform: rotate(90deg) scale(1.1); }
.modal-body {
    flex: 1; overflow-y: auto; padding: 0 20px 20px 20px;
    font-family: 'Brovonya', Helvetica, Arial, sans-serif; font-size: 1.8rem;
    color: #fff; line-height: 1.6; text-align: center;
    scrollbar-width: none;
    mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
    white-space: pre-wrap;
}
.modal-body::-webkit-scrollbar { display: none; }
.modal-header-outer { flex-shrink: 0; padding-top: 55px; padding-bottom: 4px; }
.modal-header-block { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.modal-title { font-size: 2rem; color: var(--red-main); margin: 0; letter-spacing: 5px; text-transform: uppercase; line-height: 1; }
.modal-logo { width: 65px; display: block; filter: drop-shadow(0 0 8px rgba(255,0,0,0.5)); }
.modal-track-info { font-family: 'Inter', sans-serif; font-size: 0.78rem; color: #888; margin: 0; letter-spacing: 2px; text-transform: uppercase; }
.modal-controls { margin-top: 6px; display: flex; justify-content: center; gap: 15px; }
.lyric-symbol-red {
    font-family: Arial, sans-serif;
    color: var(--red-light);
    font-weight: bold;
    display: inline-block;
    margin: 0 8px;
    font-size: 1.1em;
}
.lyric-stanza-sep {
    display: block;
    font-family: Arial, sans-serif;
    font-size: 1.8rem;
    color: var(--red-light);
}
