/* ============================================================
   Mu Ultimate · Home Lab — AAA FX Layer (additive)
   Camada premium de efeitos. Não substitui nada.
   Hooks usados:
     html.mu-fx-ready                       — JS pronto
     [data-fx-section]                      — qualquer section observada
       .is-fx-near / .is-fx-in / .is-fx-past
     [data-fx-parallax] + --p (0..1)        — scroll progress por section
     [data-fx-tilt]                         — micro-tilt no mouse
     .mu-fx-cursor                          — cursor mágico
     .mu-fx-cinema-bars                     — barras cinematográficas no hero
   ============================================================ */

:root {
    --fx-ease-out: cubic-bezier(.16,1,.3,1);
    --fx-ease-in:  cubic-bezier(.7,0,.84,0);
    --fx-gold: #d4af37;
    --fx-gold-hot: #ffd16a;
    --fx-violet: #7a5cff;
    --fx-cyan: #6cdcff;
    --fx-mouse-x: 50%;
    --fx-mouse-y: 50%;
    --fx-scroll: 0;          /* progress global 0..1 */
    --fx-shake: 0px;
}

/* Page-wide smooth GPU compositing — REMOVED (was breaking position:fixed for modals) */
/* html.mu-fx-ready body { transform: translateZ(0); } */

/* ------------------------------------------------------------
   1) SCROLL PROGRESS BAR — top, gold, animated
   ------------------------------------------------------------ */
.mu-fx-topbar {
    position: fixed;
    inset: 0 0 auto 0;
    height: 3px;
    z-index: 9999;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,.08), transparent);
}
.mu-fx-topbar::before {
    content: '';
    position: absolute; inset: 0 auto 0 0;
    width: calc(var(--fx-scroll, 0) * 100%);
    background: linear-gradient(90deg,
        rgba(212,175,55,0) 0%,
        rgba(212,175,55,.55) 30%,
        #ffd16a 55%,
        rgba(122,92,255,.6) 80%,
        rgba(108,220,255,0) 100%);
    box-shadow: 0 0 22px rgba(255,209,106,.55), 0 0 38px rgba(122,92,255,.35);
    filter: blur(.2px);
    transition: width .08s linear;
}
.mu-fx-topbar::after {
    content: '';
    position: absolute;
    top: -2px; bottom: -2px;
    left: calc(var(--fx-scroll, 0) * 100% - 26px);
    width: 52px;
    background: radial-gradient(circle, rgba(255,224,150,.85), transparent 65%);
    filter: blur(2px);
    opacity: .9;
}

/* ------------------------------------------------------------
   2) MAGIC CURSOR (desktop only)
   ------------------------------------------------------------ */
@media (hover: hover) and (pointer: fine) {
    html.mu-fx-ready body.mu-body--home-lab,
    html.mu-fx-ready body.mu-body--home-lab * { cursor: none !important; }

    /* PC fraco: cursor nativo (mouse lag vinha do cursor mágico + trails). */
    html.mu-fx-perf-lite.mu-fx-ready body.mu-body--home-lab,
    html.mu-fx-perf-lite.mu-fx-ready body.mu-body--home-lab * {
        cursor: auto !important;
    }
    html.mu-fx-perf-lite .mu-fx-cursor,
    html.mu-fx-perf-lite .mu-fx-cursor-trail {
        display: none !important;
    }

    /* Mid: menos blur contínuo no fog (efeitos ficam, custo GPU cai). */
    html.mu-fx-perf-mid .mu-home-cine__fog-layer,
    html.mu-fx-perf-lite .mu-home-cine__fog-layer {
        filter: blur(14px) !important;
        opacity: 0.72;
    }
    html.mu-fx-perf-lite .mu-home-cine__storm-rain {
        animation-duration: 0.9s !important;
        opacity: 0.55;
    }
    html.mu-fx-ready body.mu-body--home-lab input,
    html.mu-fx-ready body.mu-body--home-lab textarea { cursor: text !important; }
    .mu-fx-cursor {
        position: fixed;
        top: 0; left: 0;
        width: 28px; height: 28px;
        margin: -14px 0 0 -14px;
        pointer-events: none;
        z-index: 99998;
        transform: translate3d(0, 0, 0);
        will-change: transform;
        contain: strict;
        backface-visibility: hidden;
    }
    .mu-fx-cursor::before,
    .mu-fx-cursor::after {
        content: '';
        position: absolute; inset: 0;
        border-radius: 50%;
    }
    .mu-fx-cursor::before {
        background: radial-gradient(circle, rgba(255,224,150,.95) 0%, rgba(212,175,55,.35) 35%, transparent 70%);
        animation: muFxCursorPulse 2.6s ease-in-out infinite;
        filter: blur(1px);
    }
    .mu-fx-cursor::after {
        inset: 10px;
        background: radial-gradient(circle, #fff 0%, #ffd16a 60%, transparent 100%);
        box-shadow: 0 0 14px #ffd16a, 0 0 28px rgba(212,175,55,.6);
    }
    .mu-fx-cursor.is-down::before { transform: scale(.7); }
    .mu-fx-cursor.is-link::before { transform: scale(1.8); background: radial-gradient(circle, rgba(108,220,255,.7), rgba(122,92,255,.35) 50%, transparent 75%); }
    @keyframes muFxCursorPulse {
        0%,100% { transform: scale(1); opacity: .9; }
        50%     { transform: scale(1.18); opacity: 1; }
    }
    .mu-fx-cursor-trail {
        position: fixed;
        top: 0; left: 0;
        width: 8px; height: 8px;
        margin: -4px 0 0 -4px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(255,224,150,.9), rgba(212,175,55,0) 70%);
        pointer-events: none;
        z-index: 99997;
        contain: strict;
        will-change: transform, opacity;
        backface-visibility: hidden;
        animation: muFxTrail 700ms var(--fx-ease-out) forwards;
    }
    @keyframes muFxTrail {
        0%   { transform: scale(1); opacity: .9; }
        100% { transform: scale(.1) translateY(14px); opacity: 0; }
    }
}

/* ------------------------------------------------------------
   3) HERO — cinematic enhancements + parallax
   ------------------------------------------------------------ */
html.mu-fx-ready .mu-home-cine__hero {
    perspective: 1400px;
}

/* Scroll parallax do background atmosférico — lab usa mu-home.css sem override */

/* Cinema bars que descem na entrada e se retraem */
.mu-fx-cinema-bars {
    position: fixed;
    left: 0; right: 0;
    height: 0;
    pointer-events: none;
    z-index: 998;
    background: #000;
}
.mu-fx-cinema-bars--top    { top: 0;    box-shadow: 0 1px 0 rgba(212,175,55,.15); animation: muFxCinemaIn 1.6s var(--fx-ease-out) .2s both, muFxCinemaOut 1s var(--fx-ease-out) 3.2s both; }
.mu-fx-cinema-bars--bottom { bottom: 0; box-shadow: 0 -1px 0 rgba(212,175,55,.15); animation: muFxCinemaIn 1.6s var(--fx-ease-out) .2s both, muFxCinemaOut 1s var(--fx-ease-out) 3.2s both; }
@keyframes muFxCinemaIn  { from { height: 0; } to { height: 64px; } }
@keyframes muFxCinemaOut { from { height: 64px; } to { height: 0; } }

/* Character: parallax + leve resposta ao mouse (não no mobile) */
html.mu-fx-ready body:not(.mu-body--home-mobile) .mu-home-cine__figure {
    transform:
        translate3d(
            calc((var(--fx-mxp, .5) - .5) * 18px),
            calc(var(--fx-scroll, 0) * -40px + (var(--fx-myp, .5) - .5) * 10px),
            0
        );
    transition: transform .25s var(--fx-ease-out);
    will-change: transform;
}
html.mu-fx-ready .mu-home-cine__char-aura {
    filter: blur(40px) saturate(1.1);
    animation: muFxAuraBreath 6s ease-in-out infinite alternate;
}
@keyframes muFxAuraBreath {
    from { opacity: .65; transform: scale(1); }
    to   { opacity: 1;   transform: scale(1.08); }
}

/* Logo do título — entrada em "ascend & shine" */
html.mu-fx-ready .mu-home-cine__brand-logo-wrap {
    overflow: visible;
}
html.mu-fx-ready .mu-home-cine__brand-logo {
    animation: muFxLogoAscend 1.6s var(--fx-ease-out) .6s both;
    filter: drop-shadow(0 8px 30px rgba(0,0,0,.7));
    position: relative;
}
@keyframes muFxLogoAscend {
    0%   { opacity: 0; transform: translateY(40px) scale(.92); filter: drop-shadow(0 0 0 transparent) blur(8px); }
    60%  { opacity: 1; filter: drop-shadow(0 0 26px rgba(255,224,150,.9)) blur(0); }
    100% { opacity: 1; transform: translateY(0) scale(1); filter: drop-shadow(0 8px 30px rgba(0,0,0,.7)); }
}

/* Light sweep no logo após entrada */
html.mu-fx-ready .mu-home-cine__brand-logo-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 35%, rgba(255,224,150,.55) 50%, transparent 65%);
    mix-blend-mode: screen;
    pointer-events: none;
    animation: muFxLogoSweep 4.5s ease-in-out 2s infinite;
    opacity: 0;
}
@keyframes muFxLogoSweep {
    0%,80%,100% { transform: translateX(-120%); opacity: 0; }
    85%         { opacity: .9; }
    95%         { transform: translateX(120%); opacity: 0; }
}

/* Rates: entrada escalonada com glow */
html.mu-fx-ready .mu-home-cine__rate {
    animation: muFxRateIn .9s var(--fx-ease-out) both;
}
html.mu-fx-ready .mu-home-cine__rate:nth-child(1) { animation-delay: 1.1s; }
html.mu-fx-ready .mu-home-cine__rate:nth-child(2) { animation-delay: 1.25s; }
html.mu-fx-ready .mu-home-cine__rate:nth-child(3) { animation-delay: 1.4s; }
@keyframes muFxRateIn {
    from { opacity: 0; transform: translateY(14px) scale(.96); filter: blur(6px); }
    to   { opacity: 1; transform: none; filter: none; }
}

/* Botões hero — magnetic shine */
html.mu-fx-ready .mu-home-cine__btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: transform .25s var(--fx-ease-out), box-shadow .3s var(--fx-ease-out);
}
html.mu-fx-ready .mu-home-cine__btn::after {
    content: '';
    position: absolute; inset: -2px;
    background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform .8s var(--fx-ease-out);
    pointer-events: none;
}
html.mu-fx-ready .mu-home-cine__btn:hover {
    transform: translateY(-2px) scale(1.025);
    box-shadow: 0 14px 40px rgba(212,175,55,.35), 0 0 24px rgba(255,224,150,.45) inset;
}
html.mu-fx-ready .mu-home-cine__btn:hover::after { transform: translateX(120%); }

/* ------------------------------------------------------------
   4) LAB SCROLL — orbs respondem ao scroll, parallax extra
   ------------------------------------------------------------ */
html.mu-fx-ready .mu-lab-scroll__fx {
    transform: translate3d(0, calc(var(--fx-scroll, 0) * -180px), 0);
    transition: transform .2s linear;
}
html.mu-fx-ready .mu-lab-scroll__orb {
    filter: blur(60px) saturate(1.15);
    opacity: calc(.55 + var(--fx-scroll, 0) * .25);
}

/* Runes ficam mais vivas */
html.mu-fx-ready .mu-lab-scroll__runes span {
    animation: muFxRuneFloat 5s ease-in-out infinite;
    text-shadow: 0 0 12px rgba(255,224,150,.85), 0 0 24px rgba(212,175,55,.55);
}
html.mu-fx-ready .mu-lab-scroll__runes span:nth-child(2) { animation-delay: -1s; }
html.mu-fx-ready .mu-lab-scroll__runes span:nth-child(3) { animation-delay: -2s; }
html.mu-fx-ready .mu-lab-scroll__runes span:nth-child(4) { animation-delay: -3s; }
html.mu-fx-ready .mu-lab-scroll__runes span:nth-child(5) { animation-delay: -4s; }
@keyframes muFxRuneFloat {
    0%,100% { transform: translateY(0) rotate(0); opacity: .35; }
    50%     { transform: translateY(-22px) rotate(8deg); opacity: 1; }
}

/* ------------------------------------------------------------
   5) PORTAL TITLE — letter mask reveal via clip-path scrub
   ------------------------------------------------------------ */
html.mu-fx-ready .mu-lab-scroll__portal-title {
    background-image: linear-gradient(180deg, #fff 0%, #ffd16a 55%, #d4af37 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-shadow: none;
    position: relative;
}
html.mu-fx-ready .mu-lab-scroll__portal-title::after {
    content: '';
    position: absolute; inset: -18% -8%;
    background: radial-gradient(60% 80% at 50% 50%, rgba(255,224,150,.25), transparent 70%);
    filter: blur(20px);
    z-index: -1;
    opacity: calc(.4 + var(--fx-scroll, 0) * .6);
    pointer-events: none;
}

/* Portal eyebrow shimmer */
html.mu-fx-ready .mu-lab-scroll__portal-eyebrow {
    background: linear-gradient(90deg, rgba(212,175,55,.4), #ffd16a, rgba(212,175,55,.4));
    background-size: 200% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: muFxShimmer 4s linear infinite;
}
@keyframes muFxShimmer {
    from { background-position: 200% 0; }
    to   { background-position: -200% 0; }
}

/* ------------------------------------------------------------
   6) DIVIDERS — light sweep contínuo + bloom no centro
   ------------------------------------------------------------ */
html.mu-fx-ready .mu-lab-scroll__divider {
    position: relative;
    overflow: visible;
}
html.mu-fx-ready .mu-lab-scroll__divider::before {
    content: '';
    position: absolute; top: 50%; left: 0; right: 0; height: 1px;
    transform: translateY(-50%);
    background: linear-gradient(90deg, transparent, rgba(212,175,55,.4), transparent);
    box-shadow: 0 0 18px rgba(212,175,55,.4);
}
html.mu-fx-ready .mu-lab-scroll__divider::after {
    content: '';
    position: absolute; top: 50%; left: -10%; height: 2px; width: 18%;
    transform: translateY(-50%);
    background: linear-gradient(90deg, transparent, #ffd16a, transparent);
    filter: blur(.5px);
    box-shadow: 0 0 22px #ffd16a;
    animation: muFxDividerSweep 5.5s ease-in-out infinite;
}
@keyframes muFxDividerSweep {
    0%   { left: -20%; opacity: 0; }
    20%  { opacity: 1; }
    80%  { opacity: 1; }
    100% { left: 110%; opacity: 0; }
}

/* ------------------------------------------------------------
   7) LORE PROMO — glow pulse + tilt
   ------------------------------------------------------------ */
html.mu-fx-ready .mu-home-lore-promo__inner {
    transition: transform .35s var(--fx-ease-out), box-shadow .4s var(--fx-ease-out);
    transform-style: preserve-3d;
}
html.mu-fx-ready .mu-home-lore-promo:hover .mu-home-lore-promo__inner {
    transform: translateY(-4px);
    box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(212,175,55,.35), 0 0 60px rgba(212,175,55,.2);
}
html.mu-fx-ready .mu-home-lore-promo__scroll-seal {
    animation: muFxSealPulse 3.4s ease-in-out infinite;
    text-shadow: 0 0 14px rgba(255,224,150,.8), 0 0 30px rgba(212,175,55,.5);
}
@keyframes muFxSealPulse {
    0%,100% { transform: scale(1); filter: brightness(1); }
    50%     { transform: scale(1.06); filter: brightness(1.25); }
}

/* ------------------------------------------------------------
   8) TIMELINE — passos com brilho ao ativar + linha animada
   ------------------------------------------------------------ */
html.mu-fx-ready .mu-lab-scroll__timeline-step {
    transition: transform .55s var(--fx-ease-out), opacity .55s var(--fx-ease-out), filter .55s var(--fx-ease-out);
    opacity: .35;
    filter: saturate(.6) blur(.5px);
    transform: translateX(-30px);
}
html.mu-fx-ready .mu-lab-scroll__timeline-step.is-lit {
    opacity: 1;
    filter: none;
    transform: none;
}
html.mu-fx-ready .mu-lab-scroll__timeline-step.is-lit::before {
    content: '';
    position: absolute;
    left: -52px; top: 6px;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: radial-gradient(circle, #ffd16a, rgba(212,175,55,0) 70%);
    box-shadow: 0 0 24px #ffd16a, 0 0 60px rgba(212,175,55,.6);
    animation: muFxStepPulse 1.8s ease-in-out infinite;
    pointer-events: none;
}
@keyframes muFxStepPulse {
    0%,100% { transform: scale(1); opacity: .85; }
    50%     { transform: scale(1.35); opacity: 1; }
}
html.mu-fx-ready .mu-lab-scroll__timeline-fill {
    background: linear-gradient(180deg, rgba(212,175,55,0) 0%, #ffd16a 50%, rgba(212,175,55,0) 100%) !important;
    box-shadow: 0 0 18px rgba(255,224,150,.9), 0 0 38px rgba(212,175,55,.55);
    background-size: 100% 200% !important;
    animation: muFxFillFlow 3s linear infinite;
}
@keyframes muFxFillFlow {
    from { background-position: 0 0; }
    to   { background-position: 0 -200%; }
}

/* ------------------------------------------------------------
   9) GALLERY — 3D tilt sutil + ken-burns + glow no slide ativo
   ------------------------------------------------------------ */
html.mu-fx-ready .mu-lab-scroll__gallery-sticky {
    perspective: 1600px;
}
html.mu-fx-ready .mu-lab-scroll__gallery-frame {
    transform: none;
    transition: box-shadow .5s var(--fx-ease-out);
    will-change: auto;
}
html.mu-fx-ready .mu-lab-scroll__gallery-set.is-active .mu-lab-scroll__gallery-frame {
    box-shadow:
        0 30px 80px rgba(0,0,0,.6),
        0 0 0 1px rgba(212,175,55,.4),
        0 0 80px rgba(212,175,55,.25);
}
html.mu-fx-ready .mu-lab-scroll__gallery-set:not(.is-active) {
    filter: blur(2px) brightness(.5);
    transition: filter .6s var(--fx-ease-out);
}

/* Bottom progress dots: brilho dourado no ativo */
html.mu-fx-ready .mu-lab-scroll__gallery-dot.is-active {
    box-shadow: 0 0 14px #ffd16a, 0 0 28px rgba(212,175,55,.6);
    transform: scale(1.3);
}
html.mu-fx-ready .mu-lab-scroll__gallery-dot {
    transition: transform .3s var(--fx-ease-out), box-shadow .3s var(--fx-ease-out);
}

/* ------------------------------------------------------------
   10) PVP — shake + chromatic aberration no impact
   ------------------------------------------------------------ */
html.mu-fx-ready .mu-lab-scroll__pvp.is-impact .mu-lab-scroll__pvp-arena {
    animation: muFxShake .55s cubic-bezier(.36,.07,.19,.97) both;
}
@keyframes muFxShake {
    10%, 90% { transform: translate3d(-2px, 0, 0); }
    20%, 80% { transform: translate3d(4px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-8px, 0, 0); }
    40%, 60% { transform: translate3d(8px, 0, 0); }
}
html.mu-fx-ready .mu-lab-scroll__pvp.is-charging .mu-lab-scroll__pvp-arena::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(60% 50% at 50% 50%, rgba(255,224,150, calc(var(--mu-lab-pvp-charge,0) * .35)) 0%, transparent 70%),
        radial-gradient(40% 30% at 50% 50%, rgba(255,255,255, calc(var(--mu-lab-pvp-charge,0) * .25)) 0%, transparent 60%);
    pointer-events: none;
    mix-blend-mode: screen;
    z-index: 3;
}
html.mu-fx-ready .mu-lab-scroll__pvp.is-final::after {
    content: '';
    position: fixed; inset: 0;
    background: radial-gradient(60% 50% at 50% 50%, rgba(255,255,255,.35), transparent 60%);
    pointer-events: none;
    z-index: 9990;
    animation: muFxImpactFlash .9s ease-out forwards;
    mix-blend-mode: screen;
}
@keyframes muFxImpactFlash {
    0%   { opacity: 0; }
    20%  { opacity: 1; }
    100% { opacity: 0; }
}

/* ------------------------------------------------------------
   11) SYSTEM CARDS — tilt + glow + magnetic CTA
   ------------------------------------------------------------ */
html.mu-fx-ready .mu-lab-scroll__system-card {
    transform-style: preserve-3d;
    transition: transform .45s var(--fx-ease-out), box-shadow .45s var(--fx-ease-out);
}
html.mu-fx-ready .mu-lab-scroll__system-card:hover {
    transform: translateY(-6px) rotateX(2deg) rotateY(-2deg) scale(1.02);
    box-shadow: 0 40px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(212,175,55,.3), 0 0 50px rgba(212,175,55,.2);
}
html.mu-fx-ready .mu-lab-scroll__system-card-art img {
    transition: transform .8s var(--fx-ease-out), filter .8s var(--fx-ease-out);
}
html.mu-fx-ready .mu-lab-scroll__system-card:hover .mu-lab-scroll__system-card-art img {
    transform: scale(1.12);
    filter: brightness(1.15) saturate(1.2);
}

/* ------------------------------------------------------------
   12) STATS — números com glow ao virar live + pulso de fundo
   ------------------------------------------------------------ */
html.mu-fx-ready .mu-lab-scroll__stat strong {
    background: linear-gradient(180deg, #fff 0%, #ffd16a 55%, #d4af37 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 0 14px rgba(255,224,150,.5));
}
html.mu-fx-ready [data-mu-lab-stats].is-live .mu-lab-scroll__stat {
    animation: muFxStatPop .8s var(--fx-ease-out) both;
}
html.mu-fx-ready [data-mu-lab-stats].is-live .mu-lab-scroll__stat:nth-child(1) { animation-delay: 0s; }
html.mu-fx-ready [data-mu-lab-stats].is-live .mu-lab-scroll__stat:nth-child(2) { animation-delay: .12s; }
html.mu-fx-ready [data-mu-lab-stats].is-live .mu-lab-scroll__stat:nth-child(3) { animation-delay: .24s; }
html.mu-fx-ready [data-mu-lab-stats].is-live .mu-lab-scroll__stat:nth-child(4) { animation-delay: .36s; }
@keyframes muFxStatPop {
    from { opacity: 0; transform: translateY(20px) scale(.9); filter: blur(8px); }
    to   { opacity: 1; transform: none; filter: none; }
}

/* ------------------------------------------------------------
   13) CTA final — bloom radial respirando + button magnetic
   ------------------------------------------------------------ */
html.mu-fx-ready .mu-lab-scroll__cta {
    position: relative;
}
html.mu-fx-ready .mu-lab-scroll__cta::before {
    content: '';
    position: absolute; inset: -10% -5%;
    background: radial-gradient(50% 60% at 50% 50%, rgba(212,175,55,.18), transparent 70%);
    filter: blur(40px);
    z-index: -1;
    animation: muFxCtaBreath 5s ease-in-out infinite alternate;
    pointer-events: none;
}
@keyframes muFxCtaBreath {
    from { opacity: .55; transform: scale(.96); }
    to   { opacity: 1;   transform: scale(1.06); }
}

/* ------------------------------------------------------------
   14) GENERIC SECTION REVEAL on scroll
   ------------------------------------------------------------ */
html.mu-fx-ready [data-fx-section] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .9s var(--fx-ease-out), transform .9s var(--fx-ease-out);
    will-change: opacity, transform;
}
html.mu-fx-ready [data-fx-section].is-fx-near {
    opacity: .15;
}
html.mu-fx-ready [data-fx-section].is-fx-in {
    opacity: 1;
    transform: none;
}

/* ------------------------------------------------------------
   15) REDUCED MOTION — desliga tudo extra
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
    html.mu-fx-ready body.mu-body--home-lab,
    html.mu-fx-ready body.mu-body--home-lab * {
        cursor: auto !important;
        animation-duration: .001s !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001s !important;
    }
    .mu-fx-cursor, .mu-fx-cursor-trail, .mu-fx-cinema-bars { display: none !important; }
    html.mu-fx-ready [data-fx-section] { opacity: 1; transform: none; }
}

/* ============================================================
   V2 — GALLERY HOLLYWOOD UPGRADE
   ============================================================ */

/* Container ganha perspectiva e overflow visível para FX */
html.mu-fx-ready .mu-lab-scroll__gallery {
    position: relative;
}
html.mu-fx-ready .mu-lab-scroll__gallery-head {
    position: relative;
}
html.mu-fx-ready .mu-lab-scroll__gallery-head h2 {
    background: linear-gradient(180deg, #fff 0%, #ffd16a 55%, #d4af37 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 0 22px rgba(255,224,150,.45));
}

/* Glow/ambient atrás da galeria */
html.mu-fx-ready .mu-lab-scroll__gallery::before {
    content:'';
    position: absolute;
    inset: 10% -5% 10% -5%;
    background:
        radial-gradient(40% 50% at 30% 50%, rgba(122,92,255,.18), transparent 70%),
        radial-gradient(40% 50% at 70% 50%, rgba(212,175,55,.18), transparent 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;
    opacity: calc(.6 + var(--fx-scroll, 0) * .4);
}

/* Frame: borda gradiente animada via padding-mask + scanline */
html.mu-fx-ready .mu-lab-scroll__gallery-frame {
    position: relative;
    border-radius: 18px;
    isolation: isolate;
}
html.mu-fx-ready .mu-lab-scroll__gallery-frame::before {
    content:'';
    position: absolute; inset: -1px;
    border-radius: inherit;
    padding: 1.5px;
    background: conic-gradient(from var(--fx-frame-angle, 0deg), color-mix(in srgb, var(--gal-c2, #d4af37) 0%, transparent) 0deg, var(--gal-c1, #ffd16a) 90deg, var(--gal-c2, #7a5cff) 180deg, color-mix(in srgb, var(--gal-c1, #6ccdc) 85%, #fff) 270deg, color-mix(in srgb, var(--gal-c2, #d4af37) 0%, transparent) 360deg);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    z-index: 5;
    opacity: 0;
    pointer-events: none;
    transition: opacity .8s var(--fx-ease-out);
    animation: muFxFrameSpin 7s linear infinite;
    filter: drop-shadow(0 0 12px rgba(212,175,55,.5));
}
html.mu-fx-ready .mu-lab-scroll__gallery-set.is-active .mu-lab-scroll__gallery-frame::before {
    opacity: 1;
}
@property --fx-frame-angle {
    syntax: '<angle>'; inherits: false; initial-value: 0deg;
}
@keyframes muFxFrameSpin {
    from { --fx-frame-angle: 0deg; }
    to   { --fx-frame-angle: 360deg; }
}
/* fallback se @property não suportado: rotação real */
@supports not (background: conic-gradient(from 0deg, red, red)) {
    html.mu-fx-ready .mu-lab-scroll__gallery-frame::before { animation: none; }
}

/* Scanline horizontal cruzando o frame ativo */
html.mu-fx-ready .mu-lab-scroll__gallery-set.is-active .mu-lab-scroll__gallery-frame::after {
    content: none;
    display: none;
    position: absolute; left: 0; right: 0; top: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gal-c1, #ffd16a), transparent);
    box-shadow: 0 0 18px var(--gal-c1, #ffd16a), 0 0 36px color-mix(in srgb, var(--gal-c2, #d4af37) 55%, transparent);
    animation: muFxGalleryScan 3.2s ease-in-out infinite;
    pointer-events: none;
    z-index: 4;
}
@keyframes muFxGalleryScan {
    0%   { top: 0; opacity: 0; }
    15%  { opacity: 1; }
    85%  { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* Cantos cinematográficos no frame ativo */
html.mu-fx-ready .mu-lab-scroll__gallery-set.is-active .mu-lab-scroll__gallery-frame {
    box-shadow:
        0 40px 100px rgba(0,0,0,.7),
        0 0 0 1px rgba(212,175,55,.5),
        0 0 90px rgba(212,175,55,.3),
        0 0 140px rgba(122,92,255,.15) !important;
}

/* Painel com text reveal "split" e índice gigante atrás */
html.mu-fx-ready .mu-lab-scroll__gallery-panel {
    position: relative;
    overflow: visible;
}
html.mu-fx-ready .mu-lab-scroll__gallery-set.is-active .mu-lab-scroll__gallery-panel h3 {
    animation: muFxGalleryTitleIn 1.1s var(--fx-ease-out) both;
}
html.mu-fx-ready .mu-lab-scroll__gallery-set.is-active .mu-lab-scroll__gallery-panel p,
html.mu-fx-ready .mu-lab-scroll__gallery-set.is-active .mu-lab-scroll__gallery-lead,
html.mu-fx-ready .mu-lab-scroll__gallery-set.is-active .mu-lab-scroll__gallery-feats {
    animation: muFxGalleryParaIn 1.1s var(--fx-ease-out) .15s both;
}
html.mu-fx-ready .mu-lab-scroll__gallery-set.is-active .mu-lab-scroll__gallery-index {
    animation: muFxGalleryIndexIn .9s var(--fx-ease-out) both;
}
@keyframes muFxGalleryTitleIn {
    from { opacity: 0; transform: translateY(20px); clip-path: inset(0 100% 0 0); filter: blur(8px); }
    to   { opacity: 1; transform: none; clip-path: inset(0 0 0 0); filter: none; }
}
@keyframes muFxGalleryParaIn {
    from { opacity: 0; transform: translateY(14px); filter: blur(6px); }
    to   { opacity: 1; transform: none; filter: none; }
}
@keyframes muFxGalleryIndexIn {
    from { opacity: 0; letter-spacing: 1em; }
    to   { opacity: 1; letter-spacing: normal; }
}

/* Floating runes around active slide */
html.mu-fx-ready .mu-lab-scroll__gallery-set.is-active::before,
html.mu-fx-ready .mu-lab-scroll__gallery-set.is-active::after {
    content: '✦';
    position: absolute;
    color: #ffd16a;
    font-size: 14px;
    text-shadow: 0 0 14px #ffd16a, 0 0 28px rgba(212,175,55,.6);
    z-index: 5;
    pointer-events: none;
    animation: muFxGalleryRune 4s ease-in-out infinite;
}
html.mu-fx-ready .mu-lab-scroll__gallery-set.is-active::before { top: -22px; left: 22px; }
html.mu-fx-ready .mu-lab-scroll__gallery-set.is-active::after  { bottom: -22px; right: 22px; animation-delay: -2s; }
@keyframes muFxGalleryRune {
    0%,100% { transform: translateY(0) rotate(0); opacity: .4; }
    50%     { transform: translateY(-10px) rotate(180deg); opacity: 1; }
}

/* Dots: barra de progresso embaixo (alternativo aos pontos) */
html.mu-fx-ready .mu-lab-scroll__gallery-dots {
    gap: 8px;
}
html.mu-fx-ready .mu-lab-scroll__gallery-dot {
    border-radius: 999px;
    transition: all .35s var(--fx-ease-out);
}
html.mu-fx-ready .mu-lab-scroll__gallery-dot.is-active {
    width: 28px;
    background: linear-gradient(90deg, #ffd16a, #d4af37);
}

/* ============================================================
   V2 — SISTEMAS HERO CARDS (big show-stopper cards)
   ============================================================ */
.mu-fx-systems {
    position: relative;
    padding: clamp(3rem, 6vh, 5rem) 0;
}
.mu-fx-systems__head {
    text-align: center;
    margin-bottom: 2.5rem;
}
.mu-fx-systems__head p {
    color: var(--fx-gold);
    text-transform: uppercase;
    letter-spacing: .35em;
    font-size: .72rem;
    margin: 0 0 .6rem;
    background: linear-gradient(90deg, rgba(212,175,55,.4), #ffd16a, rgba(212,175,55,.4));
    background-size: 200% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: muFxShimmer 4s linear infinite;
}
.mu-fx-systems__head h2 {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 4vw, 3.4rem);
    margin: 0;
    background: linear-gradient(180deg, #fff 0%, #ffd16a 55%, #d4af37 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 22px rgba(255,224,150,.45));
}
.mu-fx-systems__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}
@media (max-width: 880px) {
    .mu-fx-systems__grid { grid-template-columns: 1fr; }
}
.mu-fx-card {
    --c1: #ffd16a; --c2: #d4af37;
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 16 / 7;
    background: #0a0e1a;
    isolation: isolate;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform .5s var(--fx-ease-out), box-shadow .5s var(--fx-ease-out);
    border: 1px solid rgba(212,175,55,.18);
}
.mu-fx-card[data-tone="green"]  { --c1:#7afca6; --c2:#36c97a; }
.mu-fx-card[data-tone="purple"] { --c1:#c9a8ff; --c2:#7a5cff; }
.mu-fx-card[data-tone="gold"]   { --c1:#ffd16a; --c2:#d4af37; }
.mu-fx-card[data-tone="blue"]   { --c1:#9fdcff; --c2:#3aa0ff; }
.mu-fx-card[data-tone="red"]    { --c1:#ff8a7c; --c2:#e23a3a; }

.mu-fx-card__art {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.08);
    transition: transform 1.2s var(--fx-ease-out), filter 1.2s var(--fx-ease-out);
    z-index: 1;
}
.mu-fx-card__art::after {
    content:'';
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(2,4,12,0) 0%, rgba(2,4,12,.4) 55%, rgba(2,4,12,.95) 100%),
        linear-gradient(90deg, rgba(2,4,12,.65) 0%, rgba(2,4,12,0) 55%);
}
.mu-fx-card__body {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 1.5rem 1.8rem 1.6rem;
    z-index: 3;
    color: #fff;
}
.mu-fx-card__num {
    position: absolute;
    top: 18px; right: 22px;
    font-family: 'Cinzel', serif;
    font-size: 5rem;
    line-height: 1;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255,255,255,.18);
    z-index: 2;
    transition: -webkit-text-stroke .5s, transform .5s var(--fx-ease-out);
    letter-spacing: -.02em;
}
.mu-fx-card__tag {
    display: inline-block;
    font-size: .65rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--c1);
    margin-bottom: .5rem;
    text-shadow: 0 0 14px var(--c1);
}
.mu-fx-card__title {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.4rem, 2.2vw, 1.95rem);
    margin: 0 0 .4rem;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0,0,0,.7);
    letter-spacing: .02em;
}
.mu-fx-card__desc {
    font-size: .9rem;
    color: rgba(255,255,255,.78);
    margin: 0 0 0;
    max-width: 60%;
    line-height: 1.45;
}
.mu-fx-card__cta {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: .9rem;
    padding: .55rem 1.1rem;
    border-radius: 999px;
    border: 1px solid var(--c1);
    background: rgba(0,0,0,.25);
    backdrop-filter: blur(6px);
    color: var(--c1);
    font-size: .78rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 600;
    transform: translateY(8px);
    opacity: 0;
    transition: transform .5s var(--fx-ease-out), opacity .5s var(--fx-ease-out), background .3s, box-shadow .3s, color .3s;
}
.mu-fx-card__cta::after { content: '→'; transition: transform .3s; }
.mu-fx-card:hover .mu-fx-card__cta {
    transform: translateY(0);
    opacity: 1;
}
.mu-fx-card__cta:hover {
    background: var(--c1);
    color: #0a0e1a;
    box-shadow: 0 0 30px var(--c1), 0 0 60px var(--c2);
}
.mu-fx-card__cta:hover::after { transform: translateX(4px); }

/* Borda gradiente animada */
.mu-fx-card::before {
    content:'';
    position: absolute; inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: linear-gradient(135deg, transparent 30%, var(--c1) 50%, transparent 70%);
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
    z-index: 4;
    opacity: 0;
    transition: opacity .5s var(--fx-ease-out), background-position .8s var(--fx-ease-out);
}
.mu-fx-card:hover::before {
    opacity: 1;
    background-position: 100% 100%;
}

/* Beam de luz cruzando ao hover */
.mu-fx-card::after {
    content:'';
    position: absolute;
    top: 0; bottom: 0;
    left: -50%;
    width: 35%;
    background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.18) 50%, transparent 70%);
    transform: skewX(-18deg);
    pointer-events: none;
    z-index: 4;
    transition: left 1.1s var(--fx-ease-out);
    mix-blend-mode: screen;
}
.mu-fx-card:hover::after { left: 130%; }

/* Hover lifts art + glow */
.mu-fx-card:hover {
    transform: translateY(-10px) scale(1.012);
    box-shadow:
        0 50px 100px rgba(0,0,0,.6),
        0 0 0 1px var(--c1),
        0 0 80px color-mix(in srgb, var(--c1) 35%, transparent),
        0 0 140px color-mix(in srgb, var(--c2) 18%, transparent);
}
.mu-fx-card:hover .mu-fx-card__art {
    transform: scale(1.15);
    filter: brightness(1.1) saturate(1.15);
}
.mu-fx-card:hover .mu-fx-card__num {
    -webkit-text-stroke: 1.5px var(--c1);
    transform: scale(1.05) translateY(-4px);
    filter: drop-shadow(0 0 18px var(--c1));
}

/* Particles dots flutuando dentro do card */
.mu-fx-card__particles {
    position: absolute; inset: 0;
    z-index: 3;
    pointer-events: none;
    opacity: .55;
}
.mu-fx-card__particles span {
    position: absolute;
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--c1);
    box-shadow: 0 0 10px var(--c1);
    animation: muFxCardParticle 6s linear infinite;
    opacity: 0;
}
.mu-fx-card__particles span:nth-child(1) { left: 10%; animation-delay: 0s; }
.mu-fx-card__particles span:nth-child(2) { left: 30%; animation-delay: -1.2s; }
.mu-fx-card__particles span:nth-child(3) { left: 50%; animation-delay: -2.4s; }
.mu-fx-card__particles span:nth-child(4) { left: 70%; animation-delay: -3.6s; }
.mu-fx-card__particles span:nth-child(5) { left: 90%; animation-delay: -4.8s; }
@keyframes muFxCardParticle {
    0%   { bottom: -8px; opacity: 0; transform: translateX(0); }
    20%  { opacity: 1; }
    80%  { opacity: 1; }
    100% { bottom: 110%; opacity: 0; transform: translateX(20px); }
}

/* ============================================================
   V2 — HUB AO VIVO (Eventos / Notícias / Rankings / Equipe)
   ============================================================ */
.mu-fx-hub {
    position: relative;
    padding: clamp(3.5rem, 6vh, 5rem) 0 clamp(2rem, 4vh, 3rem);
    max-width: var(--mu-home-max, min(1480px, calc(100vw - 2.3rem)));
    margin: 0 auto;
}
.mu-fx-hub__head {
    text-align: center;
    margin-bottom: clamp(2rem, 4vh, 2.75rem);
}
.mu-fx-hub__head p {
    color: var(--fx-gold);
    text-transform: uppercase;
    letter-spacing: .35em;
    font-size: .72rem;
    margin: 0 0 .5rem;
}
.mu-fx-hub__head h2 {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.8rem, 3.4vw, 2.8rem);
    margin: 0;
    color: #fff;
}
.mu-fx-hub__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto auto;
    gap: 2rem;
    padding: 0 clamp(0.85rem, 2vw, 1.15rem);
    align-items: stretch;
}
.mu-fx-hub__grid > .mu-fx-panel--news    { grid-column: 1 / -1; grid-row: 1; }
.mu-fx-hub__grid > .mu-fx-panel--events  { grid-column: 1; grid-row: 2; }
.mu-fx-hub__grid > .mu-fx-panel--ranks   { grid-column: 2; grid-row: 2; }
.mu-fx-hub__grid > .mu-fx-panel--team    { grid-column: 3; grid-row: 2; }

@media (max-width: 980px) {
    .mu-fx-hub__grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    .mu-fx-hub__grid > .mu-fx-panel--news   { grid-column: 1 / -1; grid-row: 1; }
    .mu-fx-hub__grid > .mu-fx-panel--events { grid-column: 1; grid-row: 2; }
    .mu-fx-hub__grid > .mu-fx-panel--team   { grid-column: 2; grid-row: 2; }
    .mu-fx-hub__grid > .mu-fx-panel--ranks  { grid-column: 1 / -1; grid-row: 3; }
}
@media (max-width: 620px) {
    .mu-fx-hub__grid { grid-template-columns: 1fr; gap: 1.25rem; }
    .mu-fx-hub__grid > * { grid-column: 1 !important; grid-row: auto !important; }
}

.mu-fx-panel {
    position: relative;
    border-radius: 18px;
    padding: 1.35rem 1.45rem;
    background: linear-gradient(165deg, rgba(22,32,52,.55) 0%, rgba(10,16,28,.85) 100%);
    border: 1px solid rgba(91,159,212,.14);
    backdrop-filter: blur(6px);
    overflow: hidden;
    isolation: isolate;
    width: 100%;
    box-sizing: border-box;
    transition: transform .4s var(--fx-ease-out), box-shadow .4s var(--fx-ease-out), border-color .4s;
}
.mu-fx-panel::before {
    content:'';
    position: absolute; top: 0; left: 1.2rem; right: 1.2rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(126,184,232,.4), transparent);
}
.mu-fx-panel::after {
    content:'';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: radial-gradient(220px circle at var(--mxp,50%) var(--myp,50%), rgba(212,175,55,.16), transparent 60%);
    opacity: 0;
    transition: opacity .4s;
    pointer-events: none;
    z-index: 0;
}
.mu-fx-panel:hover {
    transform: translateY(-3px);
    border-color: rgba(212,175,55,.35);
    box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(212,175,55,.18), 0 0 40px rgba(212,175,55,.12);
}
.mu-fx-panel:hover::after { opacity: 1; }
.mu-fx-panel > * { position: relative; z-index: 1; }

.mu-fx-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: 1.15rem;
}
.mu-fx-panel__title {
    font-size: .82rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--fx-gold);
    margin: 0;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: .55rem;
}
.mu-fx-panel__title::before {
    content:'';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--fx-gold);
    box-shadow: 0 0 10px var(--fx-gold);
    animation: muFxLivePulse 1.6s ease-in-out infinite;
}
.mu-fx-panel--live .mu-fx-panel__title::before {
    background: #34d68b;
    box-shadow: 0 0 10px #34d68b;
}
@keyframes muFxLivePulse {
    0%,100% { transform: scale(1); opacity: 1; }
    50%     { transform: scale(1.6); opacity: .4; }
}
.mu-fx-panel__action {
    font-size: .7rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255,255,255,.6);
    text-decoration: none;
    padding: .35rem .75rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.12);
    transition: all .3s;
}
.mu-fx-panel__action:hover {
    color: #ffd16a;
    border-color: rgba(212,175,55,.6);
    box-shadow: 0 0 18px rgba(212,175,55,.3);
}

/* Eventos do dia */
.mu-fx-events__list {
    list-style: none;
    margin: 0;
    padding: 0 .15rem 0 0;
    display: flex;
    flex-direction: column;
    gap: .7rem;
    max-height: 22.5rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}
.mu-fx-events__list::-webkit-scrollbar {
    width: 6px;
}
.mu-fx-events__list::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, .35);
    border-radius: 999px;
}
.mu-fx-events__list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .04);
    border-radius: 999px;
}
.mu-fx-event {
    display: grid;
    grid-template-columns: 48px 1fr auto;
    align-items: center;
    gap: .85rem;
    padding: .65rem .8rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
    border: 1px solid rgba(255,255,255,.05);
    transition: all .4s var(--fx-ease-out);
    position: relative;
    overflow: hidden;
    flex: 0 0 auto;
}
.mu-fx-event::before {
    content:'';
    position: absolute; left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--fx-gold), transparent);
    box-shadow: 0 0 12px var(--fx-gold);
    transform: scaleY(.3);
    transform-origin: center;
    transition: transform .4s;
}
.mu-fx-event:hover {
    border-color: rgba(212,175,55,.4);
    background: linear-gradient(135deg, rgba(212,175,55,.07), rgba(255,255,255,.01));
    transform: translateX(4px);
}
.mu-fx-event:hover::before { transform: scaleY(1); }
.mu-fx-event.is-disabled {
    opacity: .48;
    filter: grayscale(.35);
}
.mu-fx-event.is-disabled:hover {
    transform: none;
    border-color: rgba(255,255,255,.05);
    background: linear-gradient(135deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
}
.mu-fx-event.is-disabled::before,
.mu-fx-event.is-random::before {
    background: linear-gradient(180deg, rgba(180,180,190,.7), transparent);
    box-shadow: none;
    transform: scaleY(1);
}
.mu-fx-event.is-random .mu-fx-event__time {
    color: #9ecbff;
    text-shadow: 0 0 10px rgba(120, 180, 255, .35);
    font-size: .78rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.mu-fx-event.is-disabled .mu-fx-event__time {
    color: rgba(255,255,255,.42);
    text-shadow: none;
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.mu-fx-event__icon {
    width: 48px;
    height: 48px;
    border-radius: 11px;
    background: linear-gradient(135deg, rgba(212,175,55,.2), rgba(122,92,255,.15));
    display: grid;
    place-items: center;
    border: 1px solid rgba(212,175,55,.25);
    box-shadow: inset 0 0 18px rgba(212,175,55,.18);
    font-family: 'Cinzel', serif;
    color: #ffd16a;
    font-weight: 700;
    font-size: 1rem;
    text-shadow: 0 0 10px #ffd16a;
}
.mu-fx-event__main {
    min-width: 0;
}
.mu-fx-event__name {
    color: #fff;
    font-weight: 600;
    font-size: .92rem;
    margin: 0 0 .12rem;
    display: block;
}
.mu-fx-event__when {
    font-size: .7rem;
    color: rgba(255,255,255,.5);
    letter-spacing: .04em;
    margin: 0;
}
.mu-fx-event__time {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: .9rem;
    color: #ff7a7a;
    text-shadow: 0 0 10px rgba(255,122,122,.45);
    letter-spacing: .04em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* Notícias — faixa larga no topo */
.mu-fx-panel--news {
    padding: clamp(1.5rem, 2.5vw, 2rem) clamp(1.5rem, 3vw, 2.25rem);
}

.mu-fx-panel--news .mu-fx-panel__head {
    margin-bottom: 1.35rem;
}

.mu-fx-news {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem;
}

.mu-fx-news__item {
    display: grid;
    grid-template-columns: minmax(160px, 42%) minmax(0, 1fr);
    grid-template-rows: 1fr auto;
    column-gap: 1.35rem;
    row-gap: .85rem;
    padding: 1.15rem 1.25rem;
    min-height: 240px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
    border: 1px solid rgba(255,255,255,.05);
    transition: all .4s var(--fx-ease-out);
    position: relative;
    overflow: hidden;
}
.mu-fx-news__item::after {
    content:'';
    position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent 40%, rgba(212,175,55,.08) 60%, transparent 80%);
    transform: translateX(-100%);
    transition: transform .8s var(--fx-ease-out);
    pointer-events: none;
}
.mu-fx-news__item:hover {
    border-color: rgba(212,175,55,.35);
    transform: translateY(-2px);
}
.mu-fx-news__item:hover::after { transform: translateX(100%); }
.mu-fx-news__thumb {
    grid-row: 1 / -1;
    grid-column: 1;
    width: 100%;
    min-height: 220px;
    height: 100%;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255,255,255,.08);
}
.mu-fx-news__body {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    align-self: center;
}
.mu-fx-news__cat {
    display: inline-block;
    align-self: flex-start;
    font-size: .64rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    padding: .22rem .6rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #ffb547, #d4af37);
    color: #1a1208;
    font-weight: 700;
}
.mu-fx-news__cat--event { background: linear-gradient(90deg, #ffd16a, #d4af37); }
.mu-fx-news__cat--warn  { background: linear-gradient(90deg, #ff9a4a, #d46e1f); }
.mu-fx-news__title {
    color: #fff;
    font-size: clamp(1.1rem, 1.4vw, 1.35rem);
    font-weight: 600;
    margin: 0;
    line-height: 1.35;
}
.mu-fx-news__meta {
    color: rgba(255,255,255,.52);
    font-size: clamp(.82rem, 1vw, .92rem);
    margin: 0;
    line-height: 1.5;
}
.mu-fx-news__cta {
    grid-column: 2;
    grid-row: 2;
    align-self: end;
    padding: .6rem 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.18);
    color: #fff;
    font-size: .72rem;
    text-decoration: none;
    letter-spacing: .14em;
    text-transform: uppercase;
    transition: all .3s;
}
.mu-fx-news__cta:hover {
    background: #ffd16a;
    color: #0a0e1a;
    border-color: transparent;
    box-shadow: 0 0 22px rgba(212,175,55,.6);
}

@media (max-width: 1100px) {
    .mu-fx-news__item {
        grid-template-columns: minmax(130px, 38%) minmax(0, 1fr);
        min-height: 200px;
    }

    .mu-fx-news__thumb {
        min-height: 190px;
    }
}

@media (max-width: 820px) {
    .mu-fx-news {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

/* Rankings com tabs */
.mu-fx-ranks__tabs {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    margin-bottom: .75rem;
    padding: .35rem;
    background: rgba(0,0,0,.35);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.06);
    max-width: 100%;
}
.mu-fx-ranks__tabs-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .35rem;
}
.mu-fx-ranks__tabs-row--duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: calc(66.666% - .12rem);
    margin-inline: auto;
}
.mu-fx-ranks__tab {
    appearance: none;
    background: none;
    border: 0;
    color: rgba(255,255,255,.55);
    padding: .45rem .5rem;
    font-size: .64rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 999px;
    cursor: pointer;
    transition: all .35s var(--fx-ease-out);
    text-align: center;
    white-space: nowrap;
}
.mu-fx-ranks__tab.is-active {
    background: linear-gradient(90deg, #ffd16a, #d4af37);
    color: #1a1208;
    box-shadow: 0 0 22px rgba(212,175,55,.4);
}
.mu-fx-ranks__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .35rem; }
.mu-fx-ranks__row {
    display: grid;
    grid-template-columns: 28px 1fr auto;
    gap: .8rem;
    align-items: center;
    padding: .55rem .75rem;
    border-radius: 10px;
    background: rgba(255,255,255,.02);
    border: 1px solid rgba(255,255,255,.04);
    transition: all .3s;
    position: relative;
    overflow: hidden;
}
.mu-fx-ranks__row:hover {
    background: rgba(212,175,55,.06);
    border-color: rgba(212,175,55,.25);
    transform: translateX(3px);
}
.mu-fx-ranks__row:nth-child(1) .mu-fx-ranks__pos { color: #ffd16a; text-shadow: 0 0 14px #ffd16a; }
.mu-fx-ranks__row:nth-child(2) .mu-fx-ranks__pos { color: #d8d8d8; text-shadow: 0 0 12px #d8d8d8; }
.mu-fx-ranks__row:nth-child(3) .mu-fx-ranks__pos { color: #c98842; text-shadow: 0 0 12px #c98842; }
.mu-fx-ranks__pos {
    font-family: 'Cinzel', serif;
    font-weight: 800;
    font-size: 1.05rem;
    color: rgba(255,255,255,.6);
    text-align: center;
}
.mu-fx-ranks__who { color: #fff; font-weight: 600; font-size: .9rem; }
.mu-fx-ranks__sub { color: rgba(255,255,255,.45); font-size: .72rem; }
.mu-fx-ranks__val { color: #ffd16a; font-weight: 700; font-variant-numeric: tabular-nums; }

/* Equipe online */
.mu-fx-team__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .55rem;
}
.mu-fx-team__row {
    display: grid;
    grid-template-columns: 34px 1fr auto;
    gap: .75rem;
    align-items: center;
    padding: .52rem .7rem;
    border-radius: 10px;
    background: rgba(255,255,255,.02);
    border: 1px solid rgba(255,255,255,.04);
    transition: all .3s;
}
.mu-fx-team__row:hover {
    background: rgba(52,214,139,.06);
    border-color: rgba(52,214,139,.3);
    transform: translateX(3px);
}
.mu-fx-team__avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd16a, #7a5cff);
    display: grid; place-items: center;
    color: #1a1208; font-weight: 700; font-size: .82rem;
    border: 1px solid rgba(255,255,255,.15);
    box-shadow: 0 0 14px rgba(212,175,55,.3);
}
.mu-fx-team__nick { color: #fff; font-weight: 600; font-size: .88rem; }
.mu-fx-team__status {
    display: inline-flex; align-items: center; gap: .35rem;
    color: rgba(255,255,255,.4);
    font-size: .7rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.mu-fx-team__status::before {
    content:''; width: 6px; height: 6px; border-radius: 50%;
    background: rgba(255,255,255,.35);
}
.mu-fx-team__row.is-online .mu-fx-team__status { color: #34d68b; }
.mu-fx-team__row.is-online .mu-fx-team__status::before {
    background: #34d68b;
    box-shadow: 0 0 10px #34d68b;
    animation: muFxLivePulse 1.6s ease-in-out infinite;
}

/* Servidor info (caso adicione) */
.mu-fx-server__stats {
    display: grid; gap: .65rem;
}
.mu-fx-server__row {
    display: flex; justify-content: space-between;
    padding: .55rem .15rem;
    border-bottom: 1px solid rgba(255,255,255,.06);
    font-size: .85rem;
}
.mu-fx-server__row:last-child { border-bottom: 0; }
.mu-fx-server__label { color: rgba(255,255,255,.55); }
.mu-fx-server__value { color: #ffd16a; font-weight: 600; }

/* V2 — entrance animations for hub panels + systems cards */
.mu-fx-card, .mu-fx-panel {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .9s var(--fx-ease-out), transform .9s var(--fx-ease-out);
}
.mu-fx-card.is-in, .mu-fx-panel.is-in {
    opacity: 1;
    transform: none;
}
.mu-fx-systems__grid .mu-fx-card:nth-child(1).is-in { transition-delay: .05s; }
.mu-fx-systems__grid .mu-fx-card:nth-child(2).is-in { transition-delay: .15s; }
.mu-fx-systems__grid .mu-fx-card:nth-child(3).is-in { transition-delay: .25s; }
.mu-fx-systems__grid .mu-fx-card:nth-child(4).is-in { transition-delay: .35s; }
.mu-fx-hub__grid .mu-fx-panel:nth-child(1).is-in { transition-delay: .05s; }
.mu-fx-hub__grid .mu-fx-panel:nth-child(2).is-in { transition-delay: .15s; }
.mu-fx-hub__grid .mu-fx-panel:nth-child(3).is-in { transition-delay: .25s; }
.mu-fx-hub__grid .mu-fx-panel:nth-child(4).is-in { transition-delay: .35s; }

/* ============================================================
   V3 — FINAL POLISH
   ============================================================ */

/* HERO — alinhamento correto (sem export Laravel a navbar não empurra) */
html.mu-fx-ready .mu-home-cine__hero {
    min-height: min(88vh, 880px) !important;
}
@media (min-width: 1300px) {
    html.mu-fx-ready .mu-home-cine__hero { min-height: 820px !important; }
}
html.mu-fx-ready .mu-home-cine__stage {
    min-height: min(88vh, 880px) !important;
}
html.mu-fx-ready .mu-body--home-lab.mu-body--home-mobile .mu-home-cine__hero,
html.mu-fx-ready .mu-body--home-lab.mu-body--home-mobile .mu-home-cine__stage {
    min-height: 96dvh !important;
}
@media (min-width: 1300px) {
    html.mu-fx-ready .mu-home-cine__stage { min-height: 820px !important; }
    html.mu-fx-ready .mu-body--home-lab.mu-body--home-mobile .mu-home-cine__stage {
        min-height: 88dvh !important;
    }
}
/* Não aplicar no hero Live2D — senão FOUC 0.75→1.48 até o lab.css carregar */
html.mu-fx-ready .mu-body--home-lab:not(.mu-body--home-mobile) .mu-home-cine__figure:not(.mu-home-cine__figure--desktop-hero):not(:has(#muHomeLive2dStage)) {
    transform: translate(-50%, calc(40% - 60px)) !important;
    width: min(46vw, 760px) !important;
    max-width: 760px !important;
}
html.mu-fx-ready .mu-body--home-lab:not(.mu-body--home-mobile) .mu-home-cine__char-stage:not(.mu-home-cine__char-stage--desktop-live2d):not(.mu-home-cine__char-stage--live2d-hybrid) {
    transform: scale(0.75) !important;
}
/* GOLDEN stage (HOME-HERO-LAYOUT-LOCKED) — já neste ficheiro, antes do lab.css */
html.mu-fx-lab-prime .mu-body--home-lab:not(.mu-body--home-mobile) .mu-home-cine__char-stage--desktop-live2d,
html.mu-fx-ready .mu-body--home-lab:not(.mu-body--home-mobile) .mu-home-cine__char-stage--desktop-live2d,
html.mu-fx-lab-prime .mu-body--home-lab:not(.mu-body--home-mobile) .mu-home-cine__char-stage--live2d-hybrid,
html.mu-fx-ready .mu-body--home-lab:not(.mu-body--home-mobile) .mu-home-cine__char-stage--live2d-hybrid {
    transform: scale(1.48) !important;
    transform-origin: bottom center !important;
    transition: none !important;
}

/* Hero parallax mais sutil — não bagunça mais */
html.mu-fx-ready .mu-home-cine__figure {
    transition: transform .35s var(--fx-ease-out) !important;
}
html.mu-fx-ready .mu-home-cine__hero:hover .mu-home-cine__figure {
    /* sem extra movement, deixa estável */
}
/* Substitui o overlay de transform que adicionei antes — usar var direto numa wrapper */
html.mu-fx-ready .mu-home-cine__figure {
    /* manter centralizado, sem distorcer com mouse pra hero ficar estável */
}

/* Hero — aura forte atrás do personagem */
html.mu-fx-ready .mu-home-cine__figure::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10%;
    width: 90%;
    height: 80%;
    transform: translateX(-50%);
    background:
        radial-gradient(50% 60% at 50% 60%, rgba(108,220,255,.28) 0%, rgba(108,220,255,.10) 35%, transparent 70%),
        radial-gradient(35% 40% at 50% 80%, rgba(212,175,55,.18) 0%, transparent 70%);
    filter: blur(30px);
    z-index: -1;
    animation: muFxHeroAura 6s ease-in-out infinite alternate;
    pointer-events: none;
}
@keyframes muFxHeroAura {
    from { opacity: .6; transform: translateX(-50%) scale(1); }
    to   { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

/* God rays caindo do topo do hero */
html.mu-fx-ready .mu-home-cine__hero::after {
    content:'';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg,
            transparent 0%,
            rgba(108,220,255,.06) 35%,
            transparent 60%),
        repeating-linear-gradient(110deg,
            transparent 0px,
            transparent 80px,
            rgba(108,220,255,.025) 80px,
            rgba(108,220,255,.025) 120px,
            transparent 120px,
            transparent 200px);
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: screen;
    opacity: .9;
    animation: muFxGodRays 18s linear infinite;
}
@keyframes muFxGodRays {
    from { background-position: 0 0, 0 0; }
    to   { background-position: 0 0, 300px 0; }
}

/* Floating embers que sobem do hero */
.mu-fx-embers {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}
.mu-fx-embers span {
    position: absolute;
    bottom: -10px;
    width: 3px; height: 3px;
    border-radius: 50%;
    background: #ffd16a;
    box-shadow: 0 0 8px #ffd16a, 0 0 14px rgba(212,175,55,.7);
    opacity: 0;
    animation: muFxEmberUp linear infinite;
}
@keyframes muFxEmberUp {
    0%   { transform: translateY(0) translateX(0); opacity: 0; }
    10%  { opacity: 1; }
    100% { transform: translateY(-110vh) translateX(var(--ember-drift, 40px)); opacity: 0; }
}

/* ============================================================
   V3 — FOOTER HOLLYWOOD
   ============================================================ */
.mu-fx-footer {
    position: relative;
    padding: clamp(3.5rem, 8vh, 6rem) clamp(1rem, 3vw, 2.5rem) 2rem;
    margin-top: clamp(2rem, 6vh, 4rem);
    color: rgba(255,255,255,.7);
    overflow: hidden;
    isolation: isolate;
}
.mu-fx-footer::before {
    content:'';
    position: absolute; inset: 0;
    background:
        radial-gradient(60% 80% at 50% 100%, rgba(212,175,55,.16) 0%, transparent 60%),
        radial-gradient(40% 50% at 50% 0%, rgba(108,220,255,.08) 0%, transparent 60%),
        linear-gradient(180deg, rgba(2,4,12,.55) 0%, rgba(2,4,12,.9) 100%);
    z-index: -2;
}
.mu-fx-footer::after {
    content:'';
    position: absolute; top: 0; left: 5%; right: 5%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,.7), transparent);
    box-shadow: 0 0 22px rgba(212,175,55,.4);
    z-index: -1;
}

.mu-fx-footer__inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
}

.mu-fx-footer__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.mu-fx-footer__crest {
    width: 160px;
    height: 160px;
    background: url('../assets/mu/home-hero-title.png') center / contain no-repeat;
    filter: drop-shadow(0 0 30px rgba(108,220,255,.5)) drop-shadow(0 0 60px rgba(108,220,255,.25));
    animation: muFxCrestPulse 4s ease-in-out infinite;
    position: relative;
}
.mu-fx-footer__crest::after {
    content:'';
    position: absolute;
    left: 50%; top: 50%;
    width: 220px; height: 220px;
    transform: translate(-50%, -50%);
    background: conic-gradient(from var(--fx-frame-angle, 0deg), transparent 0deg, rgba(108,220,255,.3) 60deg, transparent 120deg);
    border-radius: 50%;
    filter: blur(20px);
    z-index: -1;
    animation: muFxFrameSpin 12s linear infinite;
    opacity: .8;
}
@keyframes muFxCrestPulse {
    0%,100% { filter: drop-shadow(0 0 30px rgba(108,220,255,.5)) drop-shadow(0 0 60px rgba(108,220,255,.25)); }
    50%     { filter: drop-shadow(0 0 45px rgba(108,220,255,.85)) drop-shadow(0 0 90px rgba(108,220,255,.45)); }
}
.mu-fx-footer__tagline {
    font-family: 'Cinzel', serif;
    font-size: .95rem;
    letter-spacing: .18em;
    text-transform: none;
    color: var(--fx-gold);
    background: linear-gradient(90deg, rgba(212,175,55,.3), #ffd16a 50%, rgba(212,175,55,.3));
    background-size: 200% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: muFxShimmer 5s linear infinite;
    margin: 0;
}

.mu-fx-footer__status {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .65rem;
    margin: .25rem 0;
}
.mu-fx-status-pill {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .55rem 1.1rem;
    border-radius: 999px;
    background: rgba(0,0,0,.4);
    border: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(8px);
    font-size: .72rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255,255,255,.65);
    transition: all .35s var(--fx-ease-out);
}
.mu-fx-status-pill strong {
    color: #fff;
    font-weight: 700;
    letter-spacing: .04em;
}
.mu-fx-status-pill--live {
    border-color: rgba(52,214,139,.4);
    color: #34d68b;
}
.mu-fx-status-pill--live::before {
    content:'';
    width: 7px; height: 7px;
    border-radius: 50%;
    background: #34d68b;
    box-shadow: 0 0 12px #34d68b;
    animation: muFxLivePulse 1.6s ease-in-out infinite;
}
.mu-fx-status-pill:hover {
    border-color: rgba(212,175,55,.45);
    transform: translateY(-2px);
    box-shadow: 0 0 22px rgba(212,175,55,.15);
}

.mu-fx-footer__social {
    display: flex;
    justify-content: center;
    width: 100%;
}
.mu-fx-footer__social .mu-footer-banner__social-band {
    margin: 0 auto;
}
.mu-fx-social {
    --so: #fff;
    --sg: #ffd16a;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    display: grid; place-items: center;
    color: #fff;
    text-decoration: none;
    position: relative;
    transition: transform .4s var(--fx-ease-out), border-color .4s, box-shadow .4s, background .4s;
    overflow: hidden;
}
.mu-fx-social svg {
    width: 22px; height: 22px;
    fill: currentColor;
    transition: transform .4s var(--fx-ease-out);
    z-index: 2;
    position: relative;
}
.mu-fx-social::before {
    content:'';
    position: absolute; inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, var(--sg), transparent 70%);
    opacity: 0;
    transition: opacity .4s;
}
.mu-fx-social::after {
    content: attr(data-label);
    position: absolute;
    bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    font-size: .58rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--sg);
    opacity: 0;
    transition: all .35s var(--fx-ease-out);
    pointer-events: none;
    white-space: nowrap;
}
.mu-fx-social:hover {
    transform: translateY(-6px) scale(1.08);
    border-color: var(--sg);
    box-shadow: 0 10px 30px rgba(0,0,0,.5), 0 0 30px var(--sg);
}
.mu-fx-social:hover::before { opacity: .35; }
.mu-fx-social:hover svg { transform: scale(1.15) rotate(-6deg); }
.mu-fx-social:hover::after { bottom: -16px; opacity: 1; }

.mu-fx-social[data-net="whatsapp"]  { --sg: #25d366; }
.mu-fx-social[data-net="discord"]   { --sg: #5865f2; }
.mu-fx-social[data-net="instagram"] { --sg: #e1306c; }
.mu-fx-social[data-net="tiktok"]    { --sg: #ff0050; }
.mu-fx-social[data-net="youtube"]   { --sg: #ff0033; }
.mu-fx-social[data-net="facebook"]  { --sg: #1877f2; }

.mu-fx-footer__nav {
    display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap;
    padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.06);
    border-bottom: 1px solid rgba(255,255,255,.06);
    margin: .5rem auto 0;
    max-width: 720px;
}
.mu-fx-footer__nav a {
    color: rgba(255,255,255,.55);
    text-decoration: none;
    font-size: .78rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    transition: color .3s, text-shadow .3s;
}
.mu-fx-footer__nav a:hover {
    color: #ffd16a;
    text-shadow: 0 0 14px rgba(255,224,150,.6);
}
.mu-fx-footer__copy {
    font-size: .72rem;
    color: rgba(255,255,255,.35);
    letter-spacing: .08em;
    margin-top: .5rem;
    line-height: 1.65;
}
.mu-fx-footer__copy p {
    margin: 0;
}
.mu-fx-footer__copy strong { color: rgba(255,224,150,.6); }

/* ============================================================
   V3 — RESET RANKINGS (mais 2 tabs no Rankings panel)
   ============================================================ */
.mu-fx-ranks--xl {
    grid-column: 2;
    grid-row: 2;
}

/* ============================================================
   V3 — REVEAL UPGRADES
   ============================================================ */
html.mu-fx-ready .mu-lab-scroll__pvp-copy h3 {
    background: linear-gradient(180deg, #fff 0%, #ffd16a 55%, #d4af37 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 18px rgba(255,224,150,.4));
}
html.mu-fx-ready .mu-lab-scroll__pvp-head h2,
html.mu-fx-ready .mu-lab-scroll__systems-head h2,
html.mu-fx-ready .mu-lab-scroll__timeline-head h2,
html.mu-fx-ready .mu-lab-scroll__stats-eyebrow {
    background: linear-gradient(180deg, #fff 0%, #ffd16a 55%, #d4af37 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 18px rgba(255,224,150,.4));
}

/* CTA buttons mais brilhantes */
html.mu-fx-ready .mu-lab-scroll__cta h2 {
    background: linear-gradient(180deg, #fff 0%, #ffd16a 55%, #d4af37 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 22px rgba(255,224,150,.55));
    animation: muFxCtaTitleBreath 4s ease-in-out infinite alternate;
}
@keyframes muFxCtaTitleBreath {
    from { filter: drop-shadow(0 0 22px rgba(255,224,150,.55)); }
    to   { filter: drop-shadow(0 0 38px rgba(255,224,150,.95)); }
}

/* Reset of figure transform — make hero stable on scroll  */
html.mu-fx-ready .mu-home-cine__figure {
    /* Sobrescreve o transform mouse/scroll que estava deslocando */
}

/* Lab atmosphere/bg: mu-home-lab.css (carrega por último) */

/* V3 — tabs wrap nicely com muitas opções */
.mu-fx-ranks__tabs {
    flex-wrap: wrap;
}
.mu-fx-ranks__tab {
    padding: .45rem .85rem;
    font-size: .68rem;
}

/* V3 — Back to top button */
.mu-fx-totop {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(212,175,55,.35);
    background: radial-gradient(circle at 50% 30%, rgba(212,175,55,.35), rgba(0,0,0,.7));
    backdrop-filter: blur(8px);
    color: #ffd16a;
    display: grid;
    place-items: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px) scale(.9);
    transition: all .5s var(--fx-ease-out);
    z-index: 9000;
    box-shadow: 0 14px 36px rgba(0,0,0,.5), 0 0 0 1px rgba(212,175,55,.15);
}
.mu-fx-totop.is-visible {
    opacity: 1;
    transform: none;
}
.mu-fx-totop::before {
    content:'';
    position: absolute; inset: -8px;
    border-radius: 50%;
    border: 1px solid rgba(212,175,55,.3);
    opacity: 0;
    transition: all .5s var(--fx-ease-out);
}
.mu-fx-totop:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 22px 50px rgba(0,0,0,.6), 0 0 30px rgba(212,175,55,.55);
    border-color: #ffd16a;
}
.mu-fx-totop:hover::before {
    opacity: 1;
    transform: scale(1.1);
}
.mu-fx-totop svg {
    width: 22px;
    height: 22px;
    transition: transform .3s;
}
.mu-fx-totop:hover svg { transform: translateY(-3px); }

/* V3 — Side scroll indicator (dots por seção) */
.mu-fx-scroll-dots {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 800;
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s;
}
.mu-fx-scroll-dots.is-visible {
    opacity: 1;
    pointer-events: auto;
}
.mu-fx-scroll-dots button {
    appearance: none;
    width: 10px; height: 10px;
    border-radius: 50%;
    border: 1px solid rgba(212,175,55,.4);
    background: rgba(0,0,0,.4);
    cursor: pointer;
    padding: 0;
    transition: all .35s var(--fx-ease-out);
    position: relative;
}
.mu-fx-scroll-dots button::after {
    content: attr(data-label);
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    padding: .25rem .65rem;
    background: rgba(0,0,0,.85);
    border: 1px solid rgba(212,175,55,.25);
    border-radius: 999px;
    color: #ffd16a;
    font-size: .65rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all .3s var(--fx-ease-out);
}
.mu-fx-scroll-dots button:hover {
    border-color: #ffd16a;
    background: rgba(212,175,55,.2);
}
.mu-fx-scroll-dots button:hover::after {
    opacity: 1;
    right: 26px;
}
.mu-fx-scroll-dots button.is-active {
    background: #ffd16a;
    border-color: #ffd16a;
    box-shadow: 0 0 14px #ffd16a, 0 0 28px rgba(212,175,55,.5);
    transform: scale(1.3);
}

@media (max-width: 720px) {
    .mu-fx-scroll-dots { display: none; }
}

/* V3 fix — hidden attribute must override display:flex */
.mu-fx-ranks__list[hidden] { display: none !important; }

/* Home lab — hero estável no 1º paint (antes de mu-home-lab.css) */
html.mu-fx-lab-prime .mu-body--home-lab .mu-home-cine__brand-logo,
html.mu-fx-lab-prime .mu-body--home-lab .mu-home-cine__rate,
html.mu-fx-lab-prime .mu-body--home-lab .mu-home-cine__btn,
html.mu-fx-lab-prime .mu-body--home-lab .mu-home-cine__actions,
html.mu-fx-lab-prime .mu-body--home-lab .mu-home-cine__col--left,
html.mu-fx-lab-prime .mu-body--home-lab .mu-home-cine__col--right,
html.mu-fx-lab-prime .mu-body--home-lab .mu-home-cine__left-cta,
html.mu-fx-lab-prime .mu-body--home-lab .mu-home-cine__event-card,
html.mu-fx-lab-prime .mu-body--home-lab .mu-home-cine__quick-grid,
html.mu-fx-lab-prime .mu-body--home-lab .mu-home-trailer-card,
html.mu-fx-ready .mu-body--home-lab .mu-home-cine__brand-logo,
html.mu-fx-ready .mu-body--home-lab .mu-home-cine__rate,
html.mu-fx-ready .mu-body--home-lab .mu-home-cine__btn,
html.mu-fx-ready .mu-body--home-lab .mu-home-cine__actions,
html.mu-fx-ready .mu-body--home-lab .mu-home-cine__col--left,
html.mu-fx-ready .mu-body--home-lab .mu-home-cine__col--right,
html.mu-fx-ready .mu-body--home-lab .mu-home-cine__left-cta,
html.mu-fx-ready .mu-body--home-lab .mu-home-cine__event-card,
html.mu-fx-ready .mu-body--home-lab .mu-home-cine__quick-grid,
html.mu-fx-ready .mu-body--home-lab .mu-home-trailer-card {
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
    animation: none !important;
}

html.mu-fx-lab-prime .mu-body--home-lab .mu-home-cine__col--left,
html.mu-fx-lab-prime .mu-body--home-lab .mu-home-cine__col--right,
html.mu-fx-ready .mu-body--home-lab .mu-home-cine__col--left,
html.mu-fx-ready .mu-body--home-lab .mu-home-cine__col--right {
    transform: none !important;
}

html.mu-fx-ready .mu-body--home-lab:not(.mu-body--home-mobile) .mu-home-cine__figure:not(.mu-home-cine__figure--desktop-hero):not(:has(#muHomeLive2dStage)) {
    top: -8px !important;
    width: min(40vw, 680px) !important;
    max-width: 680px !important;
    transform: translate(-50%, calc(97% - 148px)) !important;
    transition: none !important;
}

/* LOCKED: docs/HOME-HERO-LAYOUT-LOCKED.md — size/layers iguais; UW só desce o figure */
html.mu-fx-ready .mu-body--home-lab:not(.mu-body--home-mobile) .mu-home-cine__figure:has(#muHomeLive2dStage) {
    top: 1.5rem !important;
    bottom: 0 !important;
    left: 50% !important;
    width: min(52.5vw, 1008px) !important;
    max-width: 1008px !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    transform: translate(-50%, calc(4% + 54px)) !important;
    overflow: visible !important;
}

@media (min-aspect-ratio: 18 / 9) {
    html.mu-fx-ready .mu-body--home-lab:not(.mu-body--home-mobile) .mu-home-cine__figure:has(#muHomeLive2dStage) {
        transform: translate(-50%, calc(24% + 120px)) !important;
    }
}
