/* ----------------------------- Resets Iniciais ----------------------------- */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Share Tech';
}

@view-transition {
  navigation: auto;
}

html {
    scroll-behavior: smooth;
    height: 100%;
    margin: 0;
}

body {

    cursor: url('../cursor/normal.cur'), default;
    scroll-behavior: smooth;
    margin: 0;
    background: linear-gradient(45deg, #09090e 70%, #1a0033 90%, #001a33 100%);

    color: white;

    display: grid;
    grid-template-rows: auto 1fr auto;
    /* Cabeçalho, Conteúdo, Rodapé */
    min-height: 100vh;
    overflow-x: hidden;
}

@font-face {
    font-family: 'Betty-Noir';
    src: url('../fonts/bettynoir.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: 'Blambot';
    src: url('../fonts/Blambot.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}



/* ----------------------------- Background ----------------------------- */
.hero-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;


    background-image: radial-gradient(circle, var(--grid-line) 2px, transparent 2px);

    background-size: 14px 14px;

    mask-image: radial-gradient(circle at center, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 20%, transparent 80%);
}

.hero-background::before {
    content: "";
    position: absolute;
    inset: 0;

    background-image: radial-gradient(circle, var(--highlight) 2px, transparent 2px);
    background-size: 14px 14px;


    transform: translate(2px, 2px);

    opacity: 1;
    filter: blur(0.5px);


    mix-blend-mode: screen;
}



/* ----------------------------- Paleta de Cor ----------------------------- */

:root {
    /* Cores Base do Glitch */
    --color1: #00f2fe;
    /* Azul Cyber / Ciano Puro */
    --color2: #00a8ff;
    /* Azul Neon Secundário */
    --color3: #ff0055;
    /* Vermelho Laser / Magenta Tik Tok */
    --color4: #ff00c8;
    /* Rosa Choque / Anomalia */
    --color5: #110022;
    /* Roxo Profundo Quase Preto (Fundo das seções) */

    /* Variáveis Principais Atualizadas */
    --purple-main: #ff0055;
    /* Vermelho/Magenta Laser */
    --purple-dark: #05010d;
    /* Fundo do site super escuro */

    /* Efeitos de Vidro e Bordas Neon */
    --glass-bg: rgba(5, 1, 13, 0.6);
    /* Fundo escuro translúcido */
    --border-glass: #00f4ff66;
    /* Borda brilhando em Azul Cyber */
    --text-muted: #8a8894;
    /* Texto apagado cinza-azulado tecnológico */

    /* Grades e Linhas de Varredura da Tela */
    --grid-line: rgba(0, 242, 254, 0.1);
    --highlight: rgba(255, 0, 85, 0.15);
    /* Vermelho Laser */

    /* BÔNUS: Sombras de Brilho Neon (Glow Effects) */
    --glow-cyber: 0 0 10px rgba(0, 242, 254, 0.6), 0 0 20px rgba(0, 242, 254, 0.2);
    --glow-laser: 0 0 10px rgba(255, 0, 85, 0.6), 0 0 20px rgba(255, 0, 85, 0.2);
}




h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Orbitron';

}

p {
    font-family: 'Share Tech';
}

/* Barra de rolagem estilizada */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {

    background: linear-gradient(80deg, var(--color1) 0%, var(--color2) 35%, var(--color5) 100%);
    border-radius: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color1);
}

/* Mouse estilizado para links e textos */

a,
button,
input[type="submit"],
input[type="reset"],
input[type="button"],
input[type="checkbox"],
input[type="radio"],
input[type="file"],
input[type="range"],
input[type="color"],
label[for],
select,
summary,
[role="button"],
[data-bs-toggle],
[data-bs-dismiss],
[onclick],

/* Navbar & Logo */
.logo,
.logo-img,
.nav-link,
.navbar-menu,
.navbar-links a,
.btn-close,

/* Botões gerais Bootstrap / custom */
.btn,
.btn-primary,
.btn-danger,

/* Missões (index) */
.mission-button,
.nav-btn,
.nav-btn.prev,
.nav-btn.next,
.btn-missao,
.btn-missao-quiz,

/* Cryptex / Enigma (tratado) */
.btn-seta,
.btn-hackear,
.simbolo,
.engrenagem,

/* Kit IA — carrossel de ferramentas */
.ferramenta-card,
.ferramenta-section .nav-btn,

/* Ranking — pódio e pilares */
.pilar-card,
.pilar-card.primeiro-lugar,
.pilar-card.segundo-lugar,
.pilar-card.terceiro-lugar,
.pilar-card.quarto-lugar,
.degrau,

/* Tratado — botões e inputs de categoria */
.assinar-button,
.assinar-tratado-button,
.assinar-tratado-categorias input,
.assinar-tratado-regra,
.checkbox-real,
.circulo-check,

/* FAQ / Trocar Ideia */
.ti-cla-btn,
.ti-btn-enviar,
.ti-radio+label,

/* Social */
.instagram-box,
.tik-tok-box,
.tik-tok-button,
.social-section a,

/* Offcanvas */
.offcanvas-start .nav-link,

/* Modal */
.modal-footer button,
.modal-header .btn-close,

/* Terminal */
.terminal-box,
.rec-dot,
.rec-status,

/* Cards com hover (sobre / kit) */
.site-sobre-outdoor .card,
.ferramenta-tip,
.mmision-box,
.mmsion-next-class-box {
    cursor: url('../cursor/link.cur'), pointer !important;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="url"],
textarea,
.input-hacker,

p,
span,
li,
blockquote,
h1,
h2,
h3,
h4,
h5,
h6,
.texto-terminal,
.texto-obj,
.nav-link-text,
.descricao-regra,
.tik-tok-description,
.tik-tok-name,
.tik-tok-arroba,
.assinar-tratado-info,
.assinar-tratado-info-name,
.assinar-tratado-h1,
.cla-nome,
.modal-title {
    cursor: url('../cursor/text.cur'), text !important;
}



/* -------------------------------------------------------- Menu de Navegação -------------------------------------------------------- */

/* Background do Nav */

.nav-bg {

    background: var(--color1);
    background: linear-gradient(80deg, var(--color1) 0%, var(--color2) 35%, var(--color5) 100%);

    color: white;
    width: 100%;
    box-shadow: 0px 4px 15px var(--color1);
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;



}

/* Estilo do Nav */

.navbar {
    display: flex;
    justify-content: space-between;

    margin: 0 auto;
    color: white;
    padding: 20px;
    align-items: center;
    flex-direction: row;
    width: 85vw;
    gap: 50px;
}

.navbar-links {
    display: flex;
    gap: 25px;
    flex-direction: row !important;
    gap: 30px !important;
}


.logo-img {
    display: flex;

}


nav img {
    width: 35px;

}

.logo-img img {
    height: 80px !important;
    width: 80px !important;
    filter: invert(100%);
    background-size: contain;
    background-repeat: no-repeat;
}

nav a {
    color: white !important;
}




.logo {
    display: flex;
    gap: 20px;
    transition: all 0.3s ease;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 80px;
    width: 80px;
    display: inline-block;
    transition: all 0.1s steps(1);
    transform-style: preserve-3d;
    filter: none !important;
}




/* Quando o mouse entra na área da logo, dispara a animação da IMAGEM */
.logo:hover .logo-img img {
    animation: multiverso-glitch-img 0.6s steps(1) infinite;
    cursor: pointer !important;
}

/* Quando o mouse entra na área da logo, dispara a animação do TEXTO */
.logo:hover .logo-title h1 {
    animation: multiverso-glitch 0.6s steps(1) infinite;
    background: transparent;
    padding: 10px;
    cursor: pointer !important;
}


.logo img {
    transition: all 0.7s ease;
}









@keyframes multiverso-glitch-img {

    /* 1. UNIVERSO HQ  */
    0%,
    100% {
        content: url('/src/media/museum-glitch/HQ.png');
        transform: rotate(-3deg) scale(1.22);
        background: #ffea00;
        border: 3px dotted #000000;
        padding: 10px;
        filter: none;
    }

    /* 2. UNIVERSO 2099 / CYBERPUNK */
    14% {
        content: url('/src/media/museum-glitch/CyberPunk.png');
        transform: skewX(-6deg) scale(1.4);
        background: rgba(209, 31, 200, 0.85);
        border-radius: 35px;
        filter: none;
        border: 1px solid var(--color1);

    }

    /* 3. UNIVERSO NOIR */
    28% {
        content: url('/src/media/museum-glitch/Noir.png');
        transform: scale(1.1) rotate(2deg);
        /* Se o logo Noir ficar muito escuro, o invert(1) faz ele brilhar em branco */
        filter: invert(1);
        background: #000000;
        border-radius: 0;
        padding: 0;
        border: none;
        filter: none;
    }

    /* 4. UNIVERSO ANOMALIA / ERRO (Special Elite) */
    42% {
        content: url('/src/media/museum-glitch/Glitch.png');
        transform: translate(4px, -3px);
        filter: none;
        background-color: #0bff0b;
        border-left: 5px solid #ff0055;
        border-right: 5px solid var(--color1);
    }

    /* 5. UNIVERSO SPIDER-PUNK (Rubik Glitch) */
    56% {
        content: url('/src/media/museum-glitch/SpiderPunk.png');
        transform: rotate(8deg) scale(1.12);
        background: #ff00c8;
        border: none;
    }

    /* 6. UNIVERSO ANIME (Rock Salt) */
    70% {
        content: url('/src/media/museum-glitch/Anime.png');
        transform: skewY(4deg) scale(1.05);
        background: var(--color3);
        box-shadow: 5px 5px 0px #000000;
    }

    /* 7. UNIVERSO MEDIEVAL (MedievalSharp) */
    84% {
        content: url('/src/media/museum-glitch/Medieval.png');
        transform: scale(1.23);
        background: #1a1105;
        border: 2px dashed #e5c158;
    }
}

@keyframes multiverso-glitch {

    /* 1. UNIVERSO HQ (Blambot) */
    0%,
    100% {
        font-family: 'Blambot', sans-serif;
        color: #ffffff;
        text-shadow: -3px -2px 0 var(--color1), 3px 2px 0 var(--color3);
        /* Fundo amarelo chapado de gibi com borda preta grossa */
        background: #ffea00;
        color: #000000;
        border: 3px solid #000000;
        text-shadow: none;
        transform: rotate(-1deg) scale(1.03);
    }

    /* 2. UNIVERSO 2099 / CYBERPUNK (Orbitron) */
    14% {
        font-family: 'Orbitron', sans-serif;
        color: var(--color1);
        text-shadow: 0 0 12px var(--color1);
        /* Caixa preta translúcida com borda neon */
        background: rgba(209, 31, 200, 0.85);
        border-radius: 35px;
        padding: 10px 20px;
        border: 1px solid var(--color1);
        transform: scale(1.05) skewX(-4deg);
    }

    /* 3. UNIVERSO NOIR (Betty Noir) */
    28% {
        font-family: 'Betty Noir', serif;
        color: #ffffff;
        /* Tarja preta total, estilo censura de documento antigo */
        background: #000000;
        border-radius: 0;
        padding: 0;
        border: none;
        filter: grayscale(100%) contrast(140%);
        transform: scale(1.01) rotate(1deg);
    }

    /* 4. UNIVERSO ANOMALIA / ERRO (Special Elite) */
    42% {
        font-family: 'Special Elite', monospace;
        color: #ff0055;
        filter: none;
        text-shadow: -3px 0px 0px var(--color1);
        /* Fundo cinza de papel velho com textura de erro */
        background-color: #0bff0b;
        border-left: 5px solid #ff0055;
        border-right: 5px solid var(--color1);
        transform: translate(3px, -2px);
    }

    /* 5. UNIVERSO SPIDER-PUNK (Rubik Glitch) */
    56% {
        font-family: 'Rubik Glitch', system-ui;
        color: #000000;
        /* Fundo rosa choque parecendo papel rasgado ou fita colada */
        background: #ff00c8;
        border: none;
        transform: rotate(-4deg) scale(1.08);
    }

    /* 6. UNIVERSO ANIME (Rock Salt) */
    70% {
        font-family: 'Rock Salt', cursive;
        color: #ffffff;
        /* Fundo vermelho laser bem agressivo */
        background: var(--color3);
        box-shadow: 5px 5px 0px #000000;
        transform: skewX(-8deg) scale(1.04);
    }

    /* 7. UNIVERSO MEDIEVAL (MedievalSharp) */
    84% {
        font-family: 'MedievalSharp', cursive;
        color: #e5c158;
        /* Fundo pergaminho escuro */
        background: #1a1105;
        border: 2px dashed #e5c158;
        transform: scale(1.02);
    }
}



.logo-title {

    font-weight: bold;
}

.navbar-nav {
    display: flex;
    gap: 15px;
}

.menu-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.menu-icon div {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
}




.navbar-menu:hover .menu-icon {

    transform: rotate(90deg);
    transition: all 0.3s ease;


}


.navbar-menu {
    transition: all 0.3s ease;
}



.navbar-menu .btn-primary {
    background-color: transparent;

    border: none;
    padding: 15px 15px;
    border-radius: 5px;
    cursor: pointer !important;

    transition: all 0.3s ease;
}


.navbar-menu .btn-primary:hover {
    background-color: rgb(255, 255, 255);
    color: rgb(255, 255, 255);
    border: none;
    box-shadow: 0.1px 0.1px 5px 0px var(--color1);
    border-radius: 10px;
    cursor: pointer !important;
    transition: background-color 0.3s, color 0.3s;
    transform: scale(1.08);



}

.navbar-menu .btn-primary:hover .menu-icon div {
    background-color: #7c5be6
}

/* Menu Offcanvas */

.offcanvas-start {
    display: flex;

    align-items: center;

    color: white;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    justify-content: center;
    background: #220059;
    background: linear-gradient(180deg, rgba(34, 0, 89, 1) 0%, rgba(46, 13, 163, 1) 35%, rgba(138, 43, 226, 1) 100%);
    border-radius: 0 60px 60px 0;
    height: 95vh;


}

.offcanvas-body {
    display: flex;
    flex-direction: column;
    gap: 50px;
    border-bottom: 2px solid white;


}

.offcanvas .logo {
    color: white;
}

.offcanvas .logo img {
    height: 100px !important;
    width: 100px !important;
}

.offcanvas-body .navbar-nav {

    gap: 15px;
    display: flex;
    flex-direction: column;
    align-self: center;
    margin: auto;


}

.offcanvas-start .nav-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    width: 300px;
    justify-content: center;
    backdrop-filter: blur(10);
    background-color: transparent;
    font-weight: 600;
    background: var(--color4);





}





.offcanvas-start hr {
    border: 1px solid white !important;
    width: 100%;
    margin: 0 auto;
}

.btn-close {
    filter: invert(100) !important;

}

.offcanvas-start .nav-link:hover {
    filter: drop-shadow(0 0 10px white);
    background-color: white !important;
    border-radius: 10px;
}

.offcanvas-start .nav-link:hover img {
    filter: invert(10%) sepia(91%) saturate(5437%) hue-rotate(248deg) brightness(92%) contrast(106%);

}

.offcanvas-start .nav-link:hover .nav-link-text {
    color: #27199b;
}

.offcanvas-header {
    display: flex;
    gap: 20px;
    border-bottom: 2px solid white;

}

.offcanvas-start img {
    width: 50px;
    height: 50px;

}



.nav-item {
    display: flex;
    flex-direction: row;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-size: 17px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: color 0.3s, transform 0.3s;
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 10px;

}

.nav-link img {
    width: 35px;
    height: 35px;
    filter: invert(100);
}

.off-menu {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
}

.navbar-nav {
    display: flex !important;
    width: 100%;

}

nav .nav-link:hover {
    color: rgb(255, 255, 255);
    transform: scale(1.1);
    background: var(--color1);
    background: linear-gradient(80deg, var(--color3) 0%, var(--color4) 35%, var(--color5) 100%);
    transition: color 0.3s, transform 0.3s;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 10px;

}

.nav-link-text {
    color: white;

}

.navbar .navbar-nav .nav-link.active {
    background-color: white;
    transform: scale(1.1);
    box-shadow: 0px 4px 15px #220059;

}


.navbar .navbar-nav .nav-link:active .nav-link-text {
    color: black;
    font-weight: 700;
}


.navbar .navbar-nav .nav-link:active img {
    filter: brightness(0);
}





/* Background do Nav */

.footer-bg {

    background: var(--color1);
    background: linear-gradient(80deg, var(--color1) 0%, var(--color2) 35%, var(--color5) 100%);

    color: white;
    width: 100%;
    box-shadow: 0px 4px 15px var(--color1);
    border-top-right-radius: 15px;
    border-top-left-radius: 15px;



}

/* ================== Footer ================== */

footer {
    display: flex;
    justify-content: space-between;

    margin: auto;
    color: white;
    padding: 20px;
    align-items: center;
    flex-direction: column;
    width: 85vw;
    gap: 50px;
    bottom: 0;
}

.footer-top,
.footer-bottom {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.footer-top,
.footer-bottom {
    gap: 100px;
    align-items: center;
}

footer a {
    text-decoration: none;
    overflow: none;
    color: white;
}

footer img {
    filter: invert(100);
    width: 35px;
    height: auto;
}

.footer-social {
    display: flex;
    flex-direction: row;
    gap: 15px;
    transition: all 0.3s ease;

}

.footer-social a {
    padding: 10px;
    transition: all 0.3s ease;
    border-radius: 15px
}

.footer-social a:hover {

    background-color: white;
    padding: 10px;
    border-radius: 15px;
    filter: drop-shadow(0 0 10px white);
}

.footer-social a:hover img {
    filter: invert(10%) sepia(91%) saturate(5437%) hue-rotate(248deg) brightness(92%) contrast(106%);

}

.footer-iai {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-name {
    border-bottom: 1px solid rgba(255, 255, 255, 0.5)
}

.footer-links {
    display: flex;
    flex-direction: row;
    gap: 100px;
}

.footer-a-list a:hover {
    text-decoration: underline;
}

.footer-a-list {
    display: flex;
    flex-direction: column;
}

.footer-text p {

    font-size: small;
}

/* ==================== Site ==================== */

.site {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.site-home,
.site-sobre,
.site-missoes,
.site-kit,
.site-terminal,
.site-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;

    /* justify-content: center; */

    width: 100%;
    min-height: 100vh;
    padding: 50px;
}

.site-home:after,
.site-sobre:after,
.site-encontros:after,
.site-missoes:after,
.site-kit:after,
.site-terminal:after,
.site-social:after {

    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;

    /* Gradiente do border-bottom */
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 1) 50%,
            rgba(255, 255, 255, 0) 100%);
}

.home-status {
    display: flex;
    background-color: #6045cd77;
    flex-direction: row;
    width: 20vw;
    border: 1px solid rgba(155, 51, 252, 0.3);
    border-radius: 300px;
    color: white;
    justify-content: center;
    align-items: center;
    align-self: center;
    gap: 10px;
    margin-bottom: 25px;

}


.home-status p {
    margin: 0;
    font-weight: 600;
    font-size: 12px;
    font-family: 'Inter';
    color: #c1aeff;
}

.home-status img {
    width: 15px;
    height: auto;
}

.site-home-outdoor-title h1 {
    color: white;
    font-weight: 700;
    font-size: 4.5rem;
    text-align: center;
}



.site-home-outdoor-title b {
    color: #7c5be6;
}

.site-home-outdoor-title i {
    color: #9276ee;
}

/* Efeito do mouse */

.click-effect {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid WHITE;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    animation: expand-noise 0.7s ease-out;
    filter: drop-shadow(0 0 10px var(--color5));
}

@keyframes expand-noise {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
        border-width: 5px;
    }

    100% {
        width: 100px;
        height: 100px;
        opacity: 0;
        border-width: 1px;
    }
}



/* Background Aranhaverso */


.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -999999999999999999999999999999999999999999999999;
    /* Fica atrás de tudo */
    overflow: hidden;
}

#bg-video {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    /* Preenche a tela mantendo a proporção */
    object-position: center;
    /* Centraliza o foco do vídeo */
    position: absolute;
    top: 0;
    left: 0;
    filter: grayscale(0.1) contrast(1.5) brightness(0.6) blur(1.5px);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 13, 2, 0.7);
    z-index: -1;
}


/* Efeito de tremer a tela */

.glitch-shake {
    animation: shake 0.3s ease-in-out;
}

@keyframes shake {
    0% {
        transform: translate(0);
        filter: none;
    }

    20% {
        transform: translate(-5px, 5px);
        filter: hue-rotate(180deg) brightness(2) contrast(1.5);
        /* Cores mudam e brilha muito */
    }

    40% {
        transform: translate(5px, -5px);
        filter: invert(0.2) sepia(1) hue-rotate(360deg);
        /* Efeito de 'negativo' rápido */
    }

    60% {
        transform: translate(-5px, -2px);
        filter: hue-rotate(150deg) saturate(5);
        /* Cores supersaturadas */
    }

    80% {
        transform: translate(5px, 2px);
        filter: brightness(0.5);
        /* Escurece rápido */
    }

    100% {
        transform: translate(0);
        filter: none;
    }
}

/* ----------------- Outdoor do Museu ----------------- */

.museum-outdoor-border {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0.2%;

    height: 70%;
    border-radius: 20px;
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #003cff, #7a00ff, #ff00c8, #ff0000);

    /* Deixamos o fundo gigante (4 vezes o tamanho normal) para ele poder se mover */
    background-size: 400% 400%;

    /* Chamamos a animação de movimento */
    animation: GradientGlow 10s ease infinite;
}

.museum-outdoor {
    display: grid;
    grid-template-columns: 2fr 4fr 3fr;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100%;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    background-size: 400% 400%;

    /* Chamamos a animação de movimento */
    animation: GradientGlow 10s ease infinite;
    background: linear-gradient(45deg, #050407 70%, #1a0033 90%, #001a33 100%);
    height: 100%;

}

@keyframes GradientGlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes BorderGlow {
    0% {
        filter: hue-rotate(0deg);
    }

    100% {
        filter: hue-rotate(360deg);
    }
}


@keyframes flutuarLateral {
    0% {
        transform: translateY(-10%) rotate(0deg);
    }

    100% {
        transform: translateY(-20%) rotate(5deg);
    }
}

@keyframes TextGlow {
    17% {
        color: hsl(60, 100%, 50%);
    }

    /* Amarelo */
    0% {
        color: hsl(0, 100%, 50%);
    }

    /* Vermelho */
    33% {
        color: hsl(120, 100%, 50%);
    }

    /* Verde */
    50% {
        color: hsl(180, 100%, 50%);
    }

    /* Ciano */
    67% {
        color: hsl(240, 100%, 50%);
    }

    /* Azul */
    83% {
        color: hsl(300, 100%, 50%);
    }

    /* Magenta */
    100% {
        color: hsl(360, 100%, 50%);
    }

    /* Vermelho novamente */
}

/* ---- Coluna Esquerda ---- */

.museum-outdoor-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.scanner-image-container {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: rgba(190, 120, 120, 0.705);
    /* Placeholder de Fundo */
    display: flex;
    animation: BorderGlow 5s linear infinite;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(255, 0, 170, 0.2);
}

.scanner-image-container:hover {
    box-shadow: 0 0 50px rgba(255, 0, 170, 0.5);
    transform: scale(1.05);
    transition: all 0.3s ease;
    cursor: pointer;
    animation: none;
}

.scanner-image-container img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    animation: flutuarLateral 4s ease-in-out infinite alternate;
}

.biometria-info {
    text-align: center;
    display: flex;
    flex-direction: column;
}

.biometria-label {
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    color: #8a8894;
}

.biometria-value {
    font-size: 1.2rem;
    font-weight: bold;
}

/* ---- Coluna Central ---- */
.museum-outdoor-central {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
}

.badge-scanner {
    display: flex;
    margin-top: 15px;
    align-items: center;
    gap: 10px;
}

.badge-scanner span {
    animation: BorderGlow 5s linear infinite;
    background-color: rgba(255, 0, 170, 0.1);
    color: rgb(247, 110, 133);
    border: 1px solid rgba(255, 0, 170, 0.4);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.museum-outdoor-central-title h1 {
    margin: 10px 0 0 0;
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(to right, #ffcc00, #ff00aa, #8a2be2);
    -webkit-background-clip: text;
    animation: BorderGlow 5s linear infinite;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.museum-outdoor-central-title h2 {
    margin: 5px 0 15px 0;
    font-size: 1.5rem;
    color: white;
    animation: BorderGlow 5s linear infinite;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.4);
    font-weight: 600;
}

.description {
    color: var(--text-muted);
    line-height: 1.5;
    font-size: 0.95rem;
    max-width: 90%;
    margin: 0;
}


.text-green {
    color: #00ff99;
    animation: none !important;

}

.text-red {
    color: #ff002b;
}

/* Barra de Progresso */
.progress-section {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    gap: 15px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.mmision-progress-bar-container {
    width: 97%;
    display: flex;
    align-items: center;
    align-self: center;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;

}


.mmision-progress-bar-fill {
    display: flex;
    align-self: center;
    height: 100%;
    width: 0%;


    background: linear-gradient(90deg, #4b2cb3 0%, #7652f7 100%);


    box-shadow: 0 0 10px rgba(118, 82, 247, 0.5);

    border-radius: 10px;
    transition: all 0.3s ease;
}



.mmision-progress-bar:hover,
.mmision-progress-bar-fill:hover {
    box-shadow: 0 0 15px rgba(118, 82, 247, 0.8);
    transform: scale(1.5);
    cursor: pointer !important;
}

.progress-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
}

/* ---- Coluna Direita (Protocolo) ---- */
.museum-outdoor-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.protocol-title {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.protocol-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.protocol-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.protocol-list .icon {
    font-size: 1.1rem;
    margin-top: -2px;
}

.protocol-list p {
    margin: 0;
}

/* ================== CARDS DE ESTATÍSTICAS ================== */


.stats-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 20px;
    width: 100%;
}

.stat-card {
    backdrop-filter: blur(10px);
    border-radius: 20px;
    background-size: 400% 400%;
    background: linear-gradient(45deg, rgba(255, 0, 0, 0.1), rgba(255, 115, 0, 0.1), rgba(255, 251, 0, 0.1), rgba(72, 255, 0, 0.1), rgba(0, 255, 213, 0.1), rgba(0, 60, 255, 0.13), rgba(123, 0, 255, 0.1), rgba(255, 0, 200, 0.1), rgba(255, 0, 0, 0.1));
    background-size: 400% 400%;
    animation: GradientGlow 10s ease infinite;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    min-height: 120px;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.stat-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    transform: scale(1.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Leve brilhozin no topo dos cards */
.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
}

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
}

.stat-header.center {
    justify-content: center;
}

.text-lapis {
    color: rgb(0, 60, 255)
}

.text-green {
    color: rgb(0, 255, 0)
}

.stat-max {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    margin: 15px 0 5px 0;
}

.stat-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.rank-card {
    align-items: center;
    text-align: center;
}

.rank-card .stat-value {
    animation: TextGlow 10s linear infinite;
}

/* ================== Galéria do Museu - Alunos ================== */


.divider-museum-halls {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    align-self: center;
    justify-self: center;
    gap: 10px;
    width: 90%;
    margin: 20px auto;
}

.divider-line-left {
    height: 1px;
    width: 25%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
}

.divider-line-right {
    height: 1px;
    width: 25%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.divider-museum-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    border: #ffffff 1px solid;
    border-radius: 20px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 100%);
    margin: 20px auto;
}






/* ================== Galeria do Museu ================== */

.museum-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-auto-rows: 300px;
    gap: 20px;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Classes para controlar tamanhos diferentes */

.museum-gallery-card.wide {
    grid-column: span 2;
}

.museum-gallery-card.tall {
    grid-row: span 2;
}

/* ================== O DESIGN DO CARD ================== */

.museum-gallery-card {

    background: linear-gradient(135deg, #4a00e0 0%, #8e2de2 100%);
    padding: 4px;
    /* A espessura da sua borda */
    border-radius: 16px;
    position: relative;
    box-shadow: 0 0 15px rgba(142, 45, 226, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
}

/* Cores de Background da Borda do Card */

.museum-gallery-card.border-green {
    background: linear-gradient(135deg, #016637 0%, #00b36b 100%);
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.museum-gallery-card.border-red {
    background: linear-gradient(135deg, #ff0055 0%, #2b0014 100%);
    box-shadow: 0 0 15px rgba(255, 0, 85, 0.3);
}

.museum-gallery-card.border-blue {
    background: linear-gradient(135deg, #0044ff 0%, #00217c 100%);
    box-shadow: 0 0 15px #00217c49;
}

.museum-gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.4);
    cursor: pointer;
}

/* O interior do card */

.museum-gallery-card-inner {
    background-color: #0b0c14;
    border-radius: 12px;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* ================== A IMAGEM ================== */

.museum-gallery-card-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================== AS BADGES (Verified / Anomaly) ================== */

.museum-gallery-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    z-index: 10;
    backdrop-filter: blur(5px);
}

.museum-gallery-badge.verified {
    color: #00ff88;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid #00ff88;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
}

.museum-gallery-badge.anomaly {
    color: #ff3366;
    background: rgba(255, 51, 102, 0.1);
    border: 1px solid #ff3366;
    box-shadow: 0 0 10px rgba(255, 51, 102, 0.2);
}

/* ================== O RODAPÉ DA CARTA ================== */


.museum-gallery-footer .text-green {
    color: #00ff40;
    text-shadow: 0 0 5px #00ff40;
}

.museum-gallery-footer .text-red {
    color: #ff3333;
    text-shadow: 0 0 5px #ff3333;
}

.museum-gallery-footer .text-blue {
    color: #00f7ff;
    text-shadow: 0 0 5px #00f7ff;
}

.museum-gallery-footer .text-yellow {
    color: #ffff00;
    text-shadow: 0 0 5px #ffff00;
}

.museum-gallery-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(15, 16, 26, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-dot.green {
    background-color: #00ff22;
    box-shadow: 0 0 8px #00ff22;
}

.status-dot.red {
    background-color: #ff3333;
    box-shadow: 0 0 8px #ff3333;
}

.status-dot.blue {
    background-color: #00f7ff;
    box-shadow: 0 0 8px #00f7ff;
}

.status-dot.yellow {
    background-color: #ffff00;
    box-shadow: 0 0 8px #ffff00;
}

.username {
    color: #fff;
    font-weight: bold;
    font-size: 0.85rem;
    font-style: italic;
}

.xp-info {
    font-weight: 800;
    font-size: 0.8rem;
    color: #ffffff;

}






/* =========================== Arquivos do Detetive IA =========================== */


.archive-case-section {
    padding: 40px 0;
    background-color: #0a041a;
    border-radius: 20px;
    height: 50%;
    mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}


.archive-case-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;

    background-image:
        linear-gradient(var(--grid-line) 1px, transparent 1px),
        linear-gradient(to right, var(--grid-line) 1px, transparent 1px);
    background-size: 40px 40px;

    mask-image: radial-gradient(circle at center, black 20%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 20%, transparent 80%);
}

.archive-case-background::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(var(--highlight), var(--highlight));
    background-size: 120px 120px;
    animation: BorderGlow 5s linear infinite;
    background-repeat: repeat;
    mask-image: radial-gradient(square, white 40px, transparent 40px);
    opacity: 0.4;
    filter: blur(1px);
}




.archive-case-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 91vw;
    margin: 0 auto;
    color: white;
}

/* "Trilho" do Carrossel */
.archive-case-track {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    gap: 25px;
    padding: 20px;
    scrollbar-width: none;
}

.archive-case-track::-webkit-scrollbar {
    display: none;
}



.archive-case-scan-liner{
    z-index: 10;                  /* Fica acima da imagem, mas dentro do card */
    position: absolute;           /* Mudado de fixed para absolute */
    top: 0;
    left: 0;
    width: 100%;
    height: 1.5%;                 
    backdrop-filter: blur(2px);      /* Deixa o laser mais suave */
    background: linear-gradient(90deg, rgba(0, 255, 255, 0.05), rgba(0, 255, 255, 0.8), rgba(0, 195, 255, 0.8), rgba(0, 195, 255, 0.05));
    pointer-events: none;
    animation: laser-up-down 4s alternate infinite; /* Movimento contínuo */
      box-shadow: 0 0 8px rgba(0, 255, 255, 0.8), 
                0 0 15px rgba(0, 255, 255, 0.4);

}

.archive-case-scan-liner::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

@keyframes laser-up-down{
    
    0% {
        top: 0%;                  /* Começa no topo do card */
        filter: none;
    }
    100% {
        filter: hue-rotate(360deg) saturate(5);
        top: 100%;                /* Vai até o fim do card */
    }
}





/* Estilo do Card */
.archive-case-card {
   min-width: 20vw;
    height: 70vh; 
    background: rgba(10, 5, 25, 0.8);
    border: 2px solid rgba(0, 240, 255, 0.3); /* Borda Cyber/Ciano */
    border-radius: 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    scroll-snap-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    cursor: url('../cursor/link.cur'), pointer; 
    overflow: hidden; 
     aspect-ratio: auto; 
}

.archive-case-card video{
    

width: 100%;
    height: 100%;
    object-fit: cover; 
}

.archive-case-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.archive-video-case{
    padding: 1rem;}

.archive-video-case video{
    margin: 0;
    width: 75%;
    height: 75%;

}




.archive-case-card:hover {
    transform: scale(1.05);
    border-color: #7652f7;
    box-shadow: 0 0 30px rgba(118, 82, 247, 0.2);
}


/* Botões de Navegação */
.nav-btn {
    background: rgba(118, 82, 247, 0.0001);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer !important;
    padding: 10px;
    z-index: 10;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: rgba(118, 82, 247, 0.5);
    mask-image: linear-gradient(to right,
            transparent 0%,
            black 15%,
            black 85%,
            transparent 100%);
    -webkit-mask-image: linear-gradient(to right,
            transparent 0%,
            black 15%,
            black 85%,
            transparent 100%);
}

/* Estado Bloqueado */
.archive-case-card.locked {
    filter: grayscale(0.8) opacity(0.5) blur(4px);
    cursor: not-allowed;
}

.lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    z-index: 2;
}

.lock-icon img {
    width: 100%;
    height: auto;
}

.lock-icon img {
    filter: invert(100);
}



.lock-icon:hover img {
    cursor: not-allowed;
    filter: invert(100);
}



/* ================== A IMAGEM ================== */


/* Garante que a imagem principal ocupe o espaço correto */
.archive-case-card-hover-scan img {
    display: block;
    max-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    height: auto;
}

/* A camada que aparece no hover (Ocupa 100% da imagem) */
.archive-case-card-hover-scan {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transition: all 0.3s ease;
}

/* "ESCANEAR" */

.archive-case-card-hover-scan p {
    color: white;
    margin: 0;

    font-weight: bold;
    font-size: 14px;
    letter-spacing: 1px;
}

/* Tamanho controlado da lupa */
.archive-case-card-hover-scan img {
    width: 10%;
    height: auto;
}

/* Hover que mostra a camada */
.archive-case-card:hover .archive-case-card-hover-scan {
    opacity: 1 !important;
    visibility: visible !important;
}

















.papers-please-theme {
    background-color: #1a1a1a !important;
    border: 3px solid #333;
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
    font-family: 'Courier New', Courier, monospace; /* Fonte de máquina de escrever */
}

.papers-please-theme .modal-header {
    background-color: #2b2b2b;
    border-bottom: 2px dashed #444;
}

.papers-please-theme .modal-title {
    color: #ffbd2e; /* Amarelo de alerta */
    font-weight: bold;
    letter-spacing: 2px;
}

/* Formulário de Inspeção */
.form-inspecao label {
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.form-inspecao input:focus, 
.form-inspecao textarea:focus, 
.form-inspecao select:focus {
    box-shadow: 0 0 10px rgba(255, 189, 46, 0.4) !important;
    border-color: #ffbd2e !important;
}

/* O Botão "Carimbo" */
.carimbo-btn {
    background-color: cyan;
    color: #ff2a2a; /* Vermelho carimbo */
    border: 3px solid #ff2a2a;
    font-weight: 900;
    font-size: 1.2rem;
    width: 100%;
    letter-spacing: 2px;
    border-radius: 0; /* Quadrado, burocrático */
    transition: all 0.2s ease-in-out;
}

.carimbo-btn:hover {
    background-color: #ff2a2a;
    color: #0a0a0a;
    transform: scale(0.98); /* Dá um soco pra dentro quando clica */
    box-shadow: 0 0 20px rgba(255, 42, 42, 0.5);
}

/* Botão de Glitch Carimbo */

.carimbo-btn,.carimbo-btn::after {
  padding: 10px 50px;
  font-size: 20px;
  border: none;
  border-radius: 5px;
  color: white;
  background-color: transparent;
  position: relative;
}

.carimbo-btn::after {
  --move1: inset(50% 50% 50% 50%);
  --move2: inset(31% 0 40% 0);
  --move3: inset(39% 0 15% 0);
  --move4: inset(45% 0 40% 0);
  --move5: inset(45% 0 6% 0);
  --move6: inset(14% 0 61% 0);
  clip-path: var(--move1);
  content: 'GLITCH';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
}

.carimbo-btn:hover::after {
  animation: glitch_4011 1s;
  text-shadow: 10 10px 10px black;
  animation-timing-function: steps(2, end);
  text-shadow: -3px -3px 0px #1df2f0, 3px 3px 0px #E94BE8;
  background-color: transparent;
  border: 3px solid rgb(0, 255, 213);
}

.carimbo-btn:hover {
  text-shadow: -1px -1px 0px #1df2f0, 1px 1px 0px #E94BE8;
}

.carimbo-btn:hover {
  background-color: transparent;
  border: 1px solid rgb(0, 255, 213);
  box-shadow: 0px 10px 10px -10px rgb(0, 255, 213);
}

@keyframes glitch_4011 {
  0% {
    clip-path: var(--move1);
    transform: translate(0px,-10px);
  }

  10% {
    clip-path: var(--move2);
    transform: translate(-10px,10px);
  }

  20% {
    clip-path: var(--move3);
    transform: translate(10px,0px);
  }

  30% {
    clip-path: var(--move4);
    transform: translate(-10px,10px);
  }

  40% {
    clip-path: var(--move5);
    transform: translate(10px,-10px);
  }

  50% {
    clip-path: var(--move6);
    transform: translate(-10px,10px);
  }

  60% {
    clip-path: var(--move1);
    transform: translate(10px,-10px);
  }

  70% {
    clip-path: var(--move3);
    transform: translate(-10px,10px);
  }

  80% {
    clip-path: var(--move2);
    transform: translate(10px,-10px);
  }

  90% {
    clip-path: var(--move4);
    transform: translate(-10px,10px);
  }

  100% {
    clip-path: var(--move1);
    transform: translate(0);
  }
}



.container {
  display: flex;
  flex-direction: row;
  margin-top: 20px;
  margin-bottom: 20px;
  gap: 10px;
}

.radio-wrapper {
  position: relative;
  height: 38px;
  width: 84px;
  margin: 3px;
}

.radio-wrapper .input {
  position: absolute;
  height: 100%;
  width: 100%;
  margin: 0;
  cursor: pointer;
  z-index: 10;
  opacity: 0;
}

/* Base do botão sem as cores primárias */
.btn {
  --color: #ffffff;
  --font-size: 9px;
  --shadow-primary-hue: 180;
  --shadow-secondary-hue: 60;
  --shadow-secondary: #000000;
  --clip: polygon(11% 0, 95% 0, 100% 25%, 90% 90%, 95% 90%, 85% 90%, 85% 100%, 7% 100%, 0 80%);
  --border: 5px;
  --shimmy-distance: 5;
  --clip-one: polygon(0 2%, 100% 2%, 100% 95%, 95% 95%, 95% 90%, 85% 90%, 85% 95%, 8% 95%, 0 70%);
  --clip-two: polygon(0 78%, 100% 78%, 100% 100%, 95% 100%, 95% 90%, 85% 90%, 85% 100%, 8% 100%, 0 78%);
  --clip-three: polygon(0 44%, 100% 44%, 100% 54%, 95% 54%, 95% 54%, 85% 54%, 85% 54%, 8% 54%, 0 54%);
  --clip-four: polygon(0 0, 100% 0, 100% 0, 95% 0, 95% 0, 85% 0, 85% 0, 8% 0, 0 0);
  --clip-five: polygon(0 0, 100% 0, 100% 0, 95% 0, 95% 0, 85% 0, 85% 0, 8% 0, 0 0);
  --clip-six: polygon(0 40%, 100% 40%, 100% 85%, 95% 85%, 95% 85%, 85% 85%, 85% 85%, 8% 85%, 0 70%);
  --clip-seven: polygon(0 63%, 100% 63%, 100% 80%, 95% 80%, 95% 80%, 85% 80%, 85% 80%, 8% 80%, 0 70%);
  
  color: var(--color);
  text-transform: uppercase;
  font-size: var(--font-size);
  letter-spacing: 3px;
  position: relative;
  font-weight: 900;
  width: 100%;
  height: 100%;
  line-height: 38px;
  text-align: center;
  transition: background 0.2s, 0.3s;
  font-family: "Orbitron", sans-serif;
}

/* =========================================
   CORES: BOTÃO REAL (VERDE) 
   ========================================= */
#real + .btn {
  --primary: #10b981; /* Verde esmeralda */
  --shadow-primary: #064e3b; /* Verde escuro */
}
#real:hover + .btn {
  --primary: #059669; /* Verde intermediário ao passar o mouse */
  --font-size: 11px;
}
#real:checked + .btn {
  --primary: #161a25; /* Fundo escuro quando selecionado */
  --shadow-primary: #10b981; /* Sombra verde */
  background-color: #10b981;
}

/* =========================================
   CORES: BOTÃO FAKE (VERMELHO) 
   ========================================= */
#fake + .btn {
  --primary: #f5434f; /* Vermelho original */
  --shadow-primary: #631e29; /* Vermelho escuro */
}
#fake:hover + .btn {
  --primary: #cc133c; /* Vermelho intermediário ao passar o mouse */
  --font-size: 11px;
}
#fake:checked + .btn {
  --primary: #161a25; /* Fundo escuro quando selecionado */
  --shadow-primary: #f5434f; /* Sombra vermelha */
  background-color: #f5434f;
}

/* =========================================
   ESTRUTURA E ANIMAÇÃO GLITCH 
   ========================================= */
.btn:after,
.btn:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  clip-path: var(--clip);
  z-index: -1;
}

.btn:before {
  background: var(--shadow-primary);
  transform: translate(var(--border), 0);
}

.btn:after {
  background: var(--primary);
}

.btn__glitch {
  position: absolute;
  top: calc(var(--border) * -1);
  left: calc(var(--border) * -1);
  right: calc(var(--border) * -1);
  bottom: calc(var(--border) * -1);
  background: var(--shadow-primary);
  text-shadow: 2px 2px var(--shadow-primary), -2px -2px var(--shadow-secondary);
  clip-path: var(--clip);
  animation: glitch 2s infinite;
  display: none;
}

.input:hover + .btn .btn__glitch {
  display: block;
}

.input:checked + .btn .btn__glitch {
  display: block;
  animation: glitch 5s infinite;
  color:#0044ff
}

.btn__glitch:before {
  content: "";
  position: absolute;
  top: calc(var(--border) * 1);
  right: calc(var(--border) * 1);
  bottom: calc(var(--border) * 1);
  left: calc(var(--border) * 1);
  clip-path: var(--clip);
  background: var(--primary);
  z-index: -1;
}

@keyframes glitch {
  0% { clip-path: var(--clip-one); }
  2%, 8% {
    clip-path: var(--clip-two);
    transform: translate(calc(var(--shimmy-distance) * -1%), 0);
  }
  6% {
    clip-path: var(--clip-two);
    transform: translate(calc(var(--shimmy-distance) * 1%), 0);
  }
  9% {
    clip-path: var(--clip-two);
    transform: translate(0, 0);
  }
  10% {
    clip-path: var(--clip-three);
    transform: translate(calc(var(--shimmy-distance) * 1%), 0);
  }
  13% {
    clip-path: var(--clip-three);
    transform: translate(0, 0);
  }
  14%, 21% {
    clip-path: var(--clip-four);
    transform: translate(calc(var(--shimmy-distance) * 1%), 0);
  }
  25% {
    clip-path: var(--clip-five);
    transform: translate(calc(var(--shimmy-distance) * 1%), 0);
  }
  30% {
    clip-path: var(--clip-five);
    transform: translate(calc(var(--shimmy-distance) * -1%), 0);
  }
  35%, 45% {
    clip-path: var(--clip-six);
    transform: translate(calc(var(--shimmy-distance) * -1%));
  }
  40% {
    clip-path: var(--clip-six);
    transform: translate(calc(var(--shimmy-distance) * 1%));
  }
  50% {
    clip-path: var(--clip-six);
    transform: translate(0, 0);
  }
  55% {
    clip-path: var(--clip-seven);
    transform: translate(calc(var(--shimmy-distance) * 1%), 0);
  }
  60% {
    clip-path: var(--clip-seven);
    transform: translate(0, 0);
  }
  31%, 61%, 100% { clip-path: var(--clip-four); }
}



.modal {
    z-index: 999999 !important; 
}
.modal-backdrop {
    z-index: 999998 !important; /* Escurece o fundo do site quando o modal abre */
}


.modal-dialog-centered {
    display: flex !important;
    align-items: center !important;
    min-height: calc(100% - 1rem);
}

/* Remove margens extras do modal do Bootstrap que jogam ele pra baixo */
.modal-content.papers-please-theme {
    margin: 0 auto;
    border-radius: 0; 
}

