﻿


/* Home-only styles moved from global */
/* Sub-navigation – integrated with main nav */
.mf-sandbox-nav {
    position: sticky;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center; /* CENTRADO HORIZONTAL */
    gap: 1.75rem;
    padding: 0.6rem 2.5rem;
    background: radial-gradient(circle at top, #020617 0, #020617 55%, #020617 100%);
    border-top: 1px solid rgba(148, 163, 184, 0.35);
    border-bottom: 1px solid rgba(15, 23, 42, 0.9);
    border-radius: 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(15, 23, 42, 0.85);
    position: sticky;
    top: var(--mf-header-h);
    z-index: 900; /* por encima del contenido, por debajo si quieres del header */
    margin-top: 0;
    /* Look & feel */
    backdrop-filter: blur(14px);
    background: rgba(10, 16, 28, 0.72);
    border-bottom: 1px solid rgba(71,85,105,0.35);
    /* Prevent “behind header” illusion */
}

    /* Línea neón superior – conecta visualmente con o header */
    .mf-sandbox-nav::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: -1px;
        height: 2px;
        background: linear-gradient( 90deg, rgba(0, 0, 0, 0), var(--mf-blue), var(--mf-orange), rgba(0, 0, 0, 0) );
        box-shadow: 0 0 10px rgba(28, 141, 255, 0.7);
        pointer-events: none;
    }

    /* Links */
    .mf-sandbox-nav a {
        position: relative;
        font-size: 0.84rem;
        text-decoration: none;
        color: #9ca3af;
        padding: 0.25rem 0;
        text-transform: uppercase;
        letter-spacing: 0.14em;
        white-space: nowrap;
        border-radius: 0;
        transition: color 0.18s ease;
        padding: 0.5em;
    }

        /* Subrayado neón */
        .mf-sandbox-nav a::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: -0.35rem;
            height: 2px;
            background: linear-gradient( 90deg, rgba(0, 0, 0, 0), var(--mf-blue), rgba(0, 0, 0, 0) );
            opacity: 0;
            transform: scaleX(0.3);
            transform-origin: center;
            border-radius: 999px;
            box-shadow: 0 0 8px var(--mf-glow-blue);
            transition: opacity 0.18s ease, transform 0.18s ease;
        }

        .mf-sandbox-nav a:hover {
            color: #e5e7eb;
        }

        .mf-sandbox-nav a.is-active {
            color: #f9fafb;
        }

            .mf-sandbox-nav a:hover::after,
            .mf-sandbox-nav a.is-active::after {
                opacity: 1;
                transform: scaleX(1);
            }



/* =========================================================
   HERO — Painel glass ultra-amplo + neon inferior
   ========================================================= */
.mf-hero {
    padding-top: 4.5rem;
    padding-bottom: 5rem;
    background: radial-gradient(circle at 30% 20%, #0a1122 0%, #020617 55%, #01040d 100%);
}

    .mf-hero .container {
        max-width: 1500px;
    }

/* Grid: painel muito maior que o card */
.mf-hero-inner {
    display: grid;
    grid-template-columns: 1.75fr 1fr;
    gap: 4rem;
    align-items: stretch; /* iguala alturas */
}

/* PAINEL GLASS DO TEXTO */
.mf-hero-copy {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding: 3.4rem 3.4rem 3rem;
    border-radius: 34px;
    background: linear-gradient(130deg, rgba(15, 23, 42, 0.88), rgba(3, 7, 18, 0.94));
    border: 1px solid rgba(148, 163, 184, 0.28);
    box-shadow: 0 50px 140px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(22px);
}

    /* Blur lateral (esquerda) para fusão com o fundo */
    .mf-hero-copy::before {
        content: "";
        position: absolute;
        top: -50px;
        bottom: -50px;
        left: -80px;
        width: 140px;
        pointer-events: none;
        filter: blur(50px);
        opacity: 0.28;
        background: linear-gradient(90deg, rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.05));
    }

    /* NEON INFERIOR, ESTILO CARD DA DIREITA */
    .mf-hero-copy::after {
        content: "";
        position: absolute;
        left: 10%;
        right: 10%;
        bottom: -3px;
        height: 3px;
        border-radius: 999px;
        background: linear-gradient(90deg, rgba(0, 0, 0, 0), var(--mf-blue), #38bdf8, var(--mf-blue), rgba(0, 0, 0, 0));
        box-shadow: 0 0 16px rgba(56, 189, 248, 0.9), 0 0 28px rgba(15, 23, 42, 0.9);
        pointer-events: none;
    }
.mf-hero-title {
    font-size: clamp(2.8rem, 4vw, 2.4rem);
    line-height: 1.07;
    font-weight: 700;
    margin-bottom: 1.4rem;
    color: #f5f7ff;
}

.mf-hero-text {
    font-size: 1.12rem;
    color: #dce0e6;
    margin-bottom: 1.9rem;
    max-width: 44rem;
}

.mf-hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.mf-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    font-size: 0.95rem;
}

/* CARD DERECHO */
.mf-hero-visual {
    display: flex;
    align-items: stretch;
    justify-content: center;
}

    .mf-hero-visual .mf-3dcard {
        max-width: 500px;
        height: 100%;
        display: flex;
    }

/* Hero + pills */
.mf-hero-meta.mf-pill-set {
    margin-top: 0.6rem;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* RESPONSIVO */
@media (max-width: 1100px) {
    .mf-hero {
        padding-top: 3.5rem;
        padding-bottom: 4rem;
    }

    .mf-hero-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .mf-hero-copy {
        border-radius: 28px;
    }

        .mf-hero-copy::after {
            left: 14%;
            right: 14%;
        }
}

/* Keep video teaser aligned inside the orange frame card */
.mf-passport-teaser--video {
    position: relative;
}

.mf-passport-teaser--video {
    height: 100%;
    display: flex;
    align-items: center;
}

/* --- "EM BREVE" chip dentro del card --- */
.mf-soon-chip {
    background: rgba(12,12,14,.30);
    border: 1px solid rgba(255,255,255,.14);
    color: rgba(255,255,255,.90);
    border-radius: 999px;
    padding: 6px 10px;
    font: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

    .mf-soon-chip span {
        font-size: 10px;
        letter-spacing: .14em;
        text-transform: uppercase;
        padding: 3px 6px;
        border-radius: 999px;
        background: rgba(255,91,0,.14);
        border: 1px solid rgba(255,255,255,.14);
        box-shadow: 0 0 10px rgba(255,91,0,.18);
    }



/* Chip "Maxi Portal EM BREVE" inside card */
.mf-soon-chip {
    background: rgba(12,12,14,.30);
    border: 1px solid rgba(255,255,255,.14);
    color: rgba(255,255,255,.90);
    border-radius: 999px;
    padding: 6px 10px;
    font: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

    .mf-soon-chip span {
        font-size: 10px;
        letter-spacing: .14em;
        text-transform: uppercase;
        padding: 3px 6px;
        border-radius: 999px;
        background: rgba(255,91,0,.14);
        border: 1px solid rgba(255,255,255,.14);
        box-shadow: 0 0 10px rgba(255,91,0,.18);
    }


.mf-video-frame {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.20);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 18px 70px rgba(0,0,0,.45);
    margin-top: 12px;
}

    /* Overlay lighting */
    .mf-video-frame::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: radial-gradient(500px 240px at 20% 20%, rgba(28,141,255,.18), transparent 55%), radial-gradient(500px 240px at 80% 70%, rgba(255,91,0,.14), transparent 58%), linear-gradient(to top, rgba(12,12,14,.78), rgba(12,12,14,.20), transparent 62%);
    }

.mf-video-frame {
    width: 100%;
    margin-top: 0; /* remove top spacing since we removed the header */
}
.mf-video-track {
    position: relative;
    height: 320px;
}

.mf-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity .35s ease, transform .35s ease;
}

    .mf-video.is-active {
        opacity: 1;
        transform: scale(1);
    }



/* Copy overlay */
.mf-video-overlay {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 54px;
    z-index: 2;
    padding: 12px 12px;
    border-radius: 16px;
    background: rgba(19,45,71,.18);
    border: 1px solid rgba(255,255,255,.10);
    backdrop-filter: blur(1px);
    box-shadow: 0 16px 50px rgba(0,0,0,.45);
}

.mf-video-kicker {
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    opacity: .80;
}

.mf-video-title {
    margin-top: 6px;
    font-size: 18px;
    line-height: 1.15;
}

.mf-video-sub {
    margin-top: 6px;
    font-size: 13px;
    opacity: .78;
    line-height: 1.3;
}

/* Controls */
.mf-video-controls {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 10px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.mf-video-btn {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(12,12,14,.30);
    color: rgba(255,255,255,.92);
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.mf-video-dots {
    display: inline-flex;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(12,12,14,.24);
    backdrop-filter: blur(10px);
}

/* Slightly taller inside the hero card */
.mf-video-track {
    height: 380px; /* tweak if your card is taller/shorter */
}

.mf-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: 0;
    background: rgba(255,255,255,.28);
    cursor: pointer;
}

    .mf-dot.is-active {
        background: rgba(28,141,255,.95);
        box-shadow: 0 0 10px rgba(28,141,255,.65);
    }


.mf-soon-toast {
    position: fixed;
    right: 18px;
    top: 78px;
    z-index: 9999;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(19,45,71,.22);
    border: 1px solid rgba(255,255,255,.12);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 60px rgba(0,0,0,.55);
    color: rgba(255,255,255,.92);
    font-size: 13px;
}

    .mf-soon-toast.is-show {
        opacity: 1;
        transform: translateY(0);
        transition: opacity .18s ease, transform .18s ease;
    }

#hero .mf-hero-actions {
    display: flex;
    gap: 14px;
    align-items: center;
}

    /* Reset link behavior */
    #hero .mf-hero-actions a.mf-btn {
        text-decoration: none !important;
    }

    /* Base button */
    #hero .mf-hero-actions .mf-btn.mf-btn-ng {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 12px 18px;
        border-radius: 999px;
        background: rgba(12,12,14,.28);
        backdrop-filter: blur(12px);
        border: 1px solid rgba(255,255,255,.14);
        color: rgba(255,255,255,.95);
        font-weight: 700;
        line-height: 1;
        box-shadow: 0 14px 50px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.08);
        transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background-color .2s ease;
        cursor: pointer;
    }

    /* Accent colors */
    #hero .mf-hero-actions .mf-btn-ng--blue {
        --mf-neon: rgba(28,141,255,.65);
    }

    #hero .mf-hero-actions .mf-btn-ng--violet {
        --mf-neon: rgba(160,120,255,.60);
    }

    /* Always-on subtle neon border */
    #hero .mf-hero-actions .mf-btn.mf-btn-ng {
        box-shadow: 0 14px 50px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.08), 0 0 0 1px var(--mf-neon), 0 0 12px rgba(0,0,0,0);
    }

        /* Hover = general border ignition */
        #hero .mf-hero-actions .mf-btn.mf-btn-ng:hover {
            transform: translateY(-1px);
            background: rgba(12,12,14,.32);
            box-shadow: 0 18px 60px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.10), 0 0 0 1px var(--mf-neon), 0 0 18px var(--mf-neon), 0 0 36px rgba(255,255,255,.08);
        }

        /* Focus (keyboard accessibility) */
        #hero .mf-hero-actions .mf-btn.mf-btn-ng:focus-visible {
            outline: none;
            box-shadow: 0 0 0 2px var(--mf-neon), 0 0 22px var(--mf-neon);
        }

/* ===== Gallery category backgrounds ===== */
.forge-hgallery {
    position: relative;
    overflow: hidden; /* important: contain gradients */
}

    /* Base layer */
    .forge-hgallery::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        opacity: 0.95;
        z-index: 0;
        filter: saturate(1.1);
    }

    /* Extra glow / vignette */
    .forge-hgallery::after {
        content: "";
        position: absolute;
        inset: -2px;
        pointer-events: none;
        z-index: 0;
        background: radial-gradient(1200px 520px at 18% 28%, rgba(56, 189, 248, 0.10), rgba(0,0,0,0) 60%), radial-gradient(900px 520px at 82% 70%, rgba(251, 113, 133, 0.08), rgba(0,0,0,0) 55%), linear-gradient(to bottom, rgba(0,0,0,0.32), rgba(0,0,0,0.72));
        opacity: 0.75;
    }

    /* Ensure content sits above the bg layers */
    .forge-hgallery .forge-hgallery__pin,
    .forge-hgallery .forge-hgallery__header,
    .forge-hgallery .forge-hgallery__track {
        position: relative;
        z-index: 1;
    }
    /* ANIME: azul/energía */
    .forge-hgallery[data-gallery="anime"]::before {
        background: radial-gradient(1200px 520px at 18% 22%, rgba(56, 189, 248, 0.22), rgba(0,0,0,0) 62%), radial-gradient(900px 520px at 78% 74%, rgba(37, 99, 235, 0.16), rgba(0,0,0,0) 58%), linear-gradient(135deg, rgba(2, 6, 23, 0.98), rgba(15, 23, 42, 0.92));
    }

    /* FILMES: ámbar/dorado */
    .forge-hgallery[data-gallery="filmes"]::before {
        background: radial-gradient(1200px 520px at 22% 24%, rgba(251, 191, 36, 0.20), rgba(0,0,0,0) 62%), radial-gradient(900px 520px at 80% 72%, rgba(245, 158, 11, 0.14), rgba(0,0,0,0) 58%), linear-gradient(135deg, rgba(2, 6, 23, 0.98), rgba(17, 24, 39, 0.92));
    }

    /* JOGOS: verde neon/tech */
    .forge-hgallery[data-gallery="jogos"]::before {
        background: radial-gradient(1200px 520px at 18% 22%, rgba(34, 197, 94, 0.18), rgba(0,0,0,0) 62%), radial-gradient(900px 520px at 78% 74%, rgba(16, 185, 129, 0.14), rgba(0,0,0,0) 58%), linear-gradient(135deg, rgba(2, 6, 23, 0.98), rgba(6, 24, 20, 0.92));
    }

    /* COMICS: violeta/magenta */
    .forge-hgallery[data-gallery="comics"]::before {
        background: radial-gradient(1200px 520px at 18% 22%, rgba(168, 85, 247, 0.20), rgba(0,0,0,0) 62%), radial-gradient(900px 520px at 78% 74%, rgba(236, 72, 153, 0.12), rgba(0,0,0,0) 58%), linear-gradient(135deg, rgba(2, 6, 23, 0.98), rgba(20, 7, 28, 0.92));
    }

    /* ORIGINAL: rojo forja / cobre */
    .forge-hgallery[data-gallery="original"]::before {
        background: radial-gradient(1200px 520px at 18% 22%, rgba(239, 68, 68, 0.18), rgba(0,0,0,0) 62%), radial-gradient(900px 520px at 78% 74%, rgba(234, 88, 12, 0.14), rgba(0,0,0,0) 58%), linear-gradient(135deg, rgba(2, 6, 23, 0.98), rgba(25, 8, 8, 0.92));
    }
.forge-hgallery__header {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(2, 6, 23, 0.28);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 18px;
    padding: 18px 18px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.35);
}
/* ANIME – azul dominante, energía clara */
.forge-hgallery[data-gallery="anime"]::before {
    background: radial-gradient(1200px 600px at 22% 28%, rgba(56, 189, 248, 0.45), rgba(0,0,0,0) 60%), radial-gradient(900px 520px at 75% 70%, rgba(37, 99, 235, 0.35), rgba(0,0,0,0) 55%), linear-gradient(135deg, rgba(2, 6, 23, 0.85), rgba(2, 6, 23, 0.92));
}
/* FILMES – dorado intenso */
.forge-hgallery[data-gallery="filmes"]::before {
    background: radial-gradient(1200px 600px at 22% 28%, rgba(251, 191, 36, 0.45), rgba(0,0,0,0) 60%), radial-gradient(900px 520px at 75% 70%, rgba(245, 158, 11, 0.35), rgba(0,0,0,0) 55%), linear-gradient(135deg, rgba(6, 6, 6, 0.9), rgba(12, 12, 12, 0.95));
}

/* JOGOS – verde tech dominante */
.forge-hgallery[data-gallery="jogos"]::before {
    background: radial-gradient(1200px 600px at 22% 28%, rgba(34, 197, 94, 0.42), rgba(0,0,0,0) 60%), radial-gradient(900px 520px at 75% 70%, rgba(16, 185, 129, 0.32), rgba(0,0,0,0) 55%), linear-gradient(135deg, rgba(2, 6, 23, 0.88), rgba(2, 10, 8, 0.95));
}

/* COMICS – violeta potente */
.forge-hgallery[data-gallery="comics"]::before {
    background: radial-gradient(1200px 600px at 22% 28%, rgba(168, 85, 247, 0.45), rgba(0,0,0,0) 60%), radial-gradient(900px 520px at 75% 70%, rgba(236, 72, 153, 0.32), rgba(0,0,0,0) 55%), linear-gradient(135deg, rgba(6, 2, 12, 0.9), rgba(10, 4, 18, 0.95));
}

/* ORIGINAL – rojo forja dominante */
.forge-hgallery[data-gallery="original"]::before {
    background: radial-gradient(1200px 600px at 22% 28%, rgba(239, 68, 68, 0.42), rgba(0,0,0,0) 60%), radial-gradient(900px 520px at 75% 70%, rgba(234, 88, 12, 0.32), rgba(0,0,0,0) 55%), linear-gradient(135deg, rgba(12, 4, 4, 0.9), rgba(18, 6, 6, 0.95));
}
.forge-hgallery__header {
    margin-bottom: 24px; /* antes era mucho más */
}
.forge-hgallery__pin {
    padding-bottom: 32px;
}
.forge-hgallery__track {
    margin-top: 12px;
}
/* Make sure track is the parallax stage */
.forge-hgallery__track {
    position: relative;
    overflow: visible; /* cards might float */
}

    /* Parallax background layer behind cards */
    .forge-hgallery__track::before {
        content: "";
        position: absolute;
        inset: -120px -160px -140px -160px; /* bigger than viewport */
        z-index: -1; /* behind cards */
        pointer-events: none;
        opacity: 0.95;
        transform: translate3d(0, 0, 0);
        filter: saturate(1.25) contrast(1.05);
    }
/* ANIME */
.forge-hgallery[data-gallery="anime"] .forge-hgallery__track::before {
    background: radial-gradient(900px 520px at 20% 30%, rgba(56, 189, 248, 0.45), rgba(0,0,0,0) 60%), radial-gradient(900px 520px at 78% 68%, rgba(37, 99, 235, 0.35), rgba(0,0,0,0) 58%), radial-gradient(700px 420px at 52% 54%, rgba(125, 211, 252, 0.18), rgba(0,0,0,0) 62%);
}

/* FILMES */
.forge-hgallery[data-gallery="filmes"] .forge-hgallery__track::before {
    background: radial-gradient(900px 520px at 20% 30%, rgba(251, 191, 36, 0.42), rgba(0,0,0,0) 60%), radial-gradient(900px 520px at 78% 68%, rgba(245, 158, 11, 0.32), rgba(0,0,0,0) 58%), radial-gradient(700px 420px at 52% 54%, rgba(252, 211, 77, 0.18), rgba(0,0,0,0) 62%);
}

/* JOGOS */
.forge-hgallery[data-gallery="jogos"] .forge-hgallery__track::before {
    background: radial-gradient(900px 520px at 20% 30%, rgba(34, 197, 94, 0.38), rgba(0,0,0,0) 60%), radial-gradient(900px 520px at 78% 68%, rgba(16, 185, 129, 0.30), rgba(0,0,0,0) 58%), radial-gradient(700px 420px at 52% 54%, rgba(110, 231, 183, 0.16), rgba(0,0,0,0) 62%);
}

/* COMICS */
.forge-hgallery[data-gallery="comics"] .forge-hgallery__track::before {
    background: radial-gradient(900px 520px at 20% 30%, rgba(168, 85, 247, 0.42), rgba(0,0,0,0) 60%), radial-gradient(900px 520px at 78% 68%, rgba(236, 72, 153, 0.26), rgba(0,0,0,0) 58%), radial-gradient(700px 420px at 52% 54%, rgba(216, 180, 254, 0.16), rgba(0,0,0,0) 62%);
}

/* ORIGINAL */
.forge-hgallery[data-gallery="original"] .forge-hgallery__track::before {
    background: radial-gradient(900px 520px at 20% 30%, rgba(239, 68, 68, 0.40), rgba(0,0,0,0) 60%), radial-gradient(900px 520px at 78% 68%, rgba(234, 88, 12, 0.26), rgba(0,0,0,0) 58%), radial-gradient(700px 420px at 52% 54%, rgba(251, 146, 60, 0.16), rgba(0,0,0,0) 62%);
}
/* Stop the header from acting like a hero section */
.forge-hgallery__pin {
    min-height: auto !important;
    height: auto !important;
    padding-top: 56px !important;
    padding-bottom: 18px !important;
}

/* Tighten header-to-track spacing */
.forge-hgallery__header {
    margin-bottom: 14px !important;
}

/* Bring the track closer (and prevent mysterious margins) */
.forge-hgallery__track {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
.forge-hgallery__pin {
    max-height: 520px;
}
