/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0a1a;
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
    position: relative;
}

/* === SIRENE === */
.sirene {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
    opacity: 0;
    transition: opacity 0.3s;
}

.sirene.ativa {
    opacity: 1;
}

.luz {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    opacity: 0;
}

.luz-esquerda {
    left: 0;
    background: radial-gradient(ellipse at top left, rgba(0, 80, 255, 0.3), transparent 70%);
}

.luz-direita {
    right: 0;
    background: radial-gradient(ellipse at top right, rgba(255, 0, 0, 0.3), transparent 70%);
}

.sirene.ativa .luz-esquerda {
    animation: piscarAzul 0.6s ease-in-out infinite alternate;
}

.sirene.ativa .luz-direita {
    animation: piscarVermelho 0.6s ease-in-out infinite alternate-reverse;
}

@keyframes piscarAzul {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes piscarVermelho {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* === CONTAINER === */
.container {
    text-align: center;
    z-index: 10;
    position: relative;
    padding: 2rem;
}

/* === BADGE === */
.badge {
    margin: 0 auto 2rem;
    opacity: 0;
    transform: scale(0) rotate(-180deg);
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.badge.visivel {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.badge-inner {
    display: block;
}

.badge-icon {
    display: block;
    max-width: 200px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    filter: drop-shadow(0 0 15px rgba(201, 162, 39, 0.5));
}

.badge-text {
    display: none;
}

/* === TITULO === */
.titulo {
    font-family: 'Bangers', cursive;
    font-size: 6rem;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    line-height: 1;
    margin-bottom: 1rem;
}

.linha1 {
    display: block;
    opacity: 0;
    transform: translateY(-50px);
    transition: all 0.6s ease-out;
    cursor: default;
}

.linha1.visivel {
    opacity: 1;
    transform: translateY(0);
}

.linha1.pulsar {
    animation: pulsar 1.5s ease-in-out infinite;
    color: #ff4444;
    text-shadow: 0 0 40px rgba(255, 68, 68, 0.6);
}

@keyframes pulsar {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

/* === REVELACAO === */
.revelacao {
    margin: 1.5rem 0;
    transition: all 0.5s;
}

.revelacao.hidden {
    display: none;
}

.pois {
    font-family: 'Roboto', sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    color: #aaa;
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: fadeInUp 0.5s 0.3s forwards;
}

.dominio {
    font-family: 'Bangers', cursive;
    font-size: 5rem;
    line-height: 1.1;
    opacity: 0;
    animation: fadeInUp 0.6s 0.6s forwards;
}

.eu {
    color: #4ecdc4;
}

.sou {
    color: #45b7d1;
}

.da {
    color: #96ceb4;
}

.ponto {
    color: #666;
    font-size: 3rem;
}

.pm {
    color: #ff6b6b;
    text-shadow: 0 0 30px rgba(255, 107, 107, 0.5);
    font-size: 5.5rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === BOTAO === */
.btn-entrar {
    font-family: 'Roboto', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    padding: 1rem 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    letter-spacing: 1px;
    margin-top: 1rem;
}

.btn-entrar:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.1);
}

.btn-entrar:active {
    transform: scale(0.98);
}

.btn-entrar.hidden {
    display: none;
}

/* === MEGAFONE === */
.megafone {
    margin-top: 2rem;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.megafone.hidden {
    display: none;
}

.icone-megafone {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    animation: shake 0.5s ease-in-out infinite;
}

@keyframes shake {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-10deg);
    }

    75% {
        transform: rotate(10deg);
    }
}

.aviso-texto {
    font-size: 1.1rem;
    color: #ccc;
    font-weight: 400;
    min-height: 1.5em;
    letter-spacing: 0.5px;
}

.aviso-texto .destaque {
    color: #ff6b6b;
    font-weight: 700;
}

/* === RODAPE === */
.rodape {
    margin-top: 3rem;
    opacity: 0;
    animation: fadeIn 1s 2s forwards;
}

.rodape.hidden {
    display: none;
}

.nota {
    font-size: 0.8rem;
    color: #555;
    font-style: italic;
}

.dominio-footer {
    font-family: 'Bangers', cursive;
    font-size: 1rem;
    color: #333;
    margin-top: 0.5rem;
    letter-spacing: 3px;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* === PARTICULAS === */
.particulas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particula {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: flutuar linear infinite;
}

@keyframes flutuar {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-10vh) rotate(720deg);
        opacity: 0;
    }
}

/* === TELA TREMER === */
.tremer {
    animation: tremerTela 0.4s ease-in-out;
}

@keyframes tremerTela {

    0%,
    100% {
        transform: translateX(0);
    }

    10% {
        transform: translateX(-8px) rotate(-0.5deg);
    }

    20% {
        transform: translateX(8px) rotate(0.5deg);
    }

    30% {
        transform: translateX(-6px);
    }

    40% {
        transform: translateX(6px);
    }

    50% {
        transform: translateX(-4px);
    }

    60% {
        transform: translateX(4px);
    }

    70% {
        transform: translateX(-2px);
    }

    80% {
        transform: translateX(2px);
    }
}

/* === RESPONSIVO === */
@media (max-width: 600px) {
    .titulo {
        font-size: 4rem;
    }

    .dominio {
        font-size: 3rem;
    }

    .pm {
        font-size: 3.5rem;
    }

    .badge {
        width: 90px;
        height: 90px;
    }

    .pois {
        font-size: 1.3rem;
    }
}
