
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    background: #03070d;
    color: #00eaff;
    font-family: "Courier New", monospace;
}


/* =========================================
   FUNDO
========================================= */

.tech-background {
    position: fixed;
    inset: 0;
    overflow: hidden;
    background:
        radial-gradient(circle at center,
        rgba(0, 234, 255, 0.08),
        transparent 40%),
        #03070d;
}


/* GRID */

.grid {
    position: absolute;
    inset: -100px;

    background-image:
        linear-gradient(rgba(0, 234, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 234, 255, 0.045) 1px, transparent 1px);

    background-size: 45px 45px;

    transform: perspective(500px) rotateX(60deg);

    animation: gridMove 8s linear infinite;
}

@keyframes gridMove {

    from {
        transform:
            perspective(500px)
            rotateX(60deg)
            translateY(0);
    }

    to {
        transform:
            perspective(500px)
            rotateX(60deg)
            translateY(45px);
    }
}


/* SCANLINE */

.scanline {
    position: absolute;
    width: 100%;
    height: 2px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 234, 255, 0.7),
        transparent
    );

    box-shadow: 0 0 20px #00eaff;

    animation: scan 5s linear infinite;
}

@keyframes scan {

    0% {
        top: -5%;
    }

    100% {
        top: 105%;
    }
}


/* =========================================
   TELA
========================================= */

.loading-screen {

    position: relative;

    z-index: 5;

    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    padding: 30px;
}


/* =========================================
   LOGO
========================================= */

.system-logo {
    margin-bottom: 18px;
}

.logo-ring {

    width: 70px;
    height: 70px;

    border-radius: 50%;

    border: 2px solid rgba(0, 234, 255, 0.25);

    border-top-color: #00eaff;
    border-right-color: #00eaff;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow:
        0 0 10px rgba(0, 234, 255, 0.5),
        inset 0 0 10px rgba(0, 234, 255, 0.2);

    animation: rotate 2s linear infinite;
}

.logo-core {

    width: 24px;
    height: 24px;

    border-radius: 50%;

    background: #00eaff;

    box-shadow:
        0 0 10px #00eaff,
        0 0 30px #00eaff,
        0 0 60px rgba(0, 234, 255, 0.8);

    animation: pulse 1.5s infinite;
}

@keyframes rotate {

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(0.8);
    }

    50% {
        transform: scale(1.1);
    }
}


/* =========================================
   TITULO
========================================= */

.system-title {

    font-size: 32px;

    font-weight: bold;

    letter-spacing: 7px;

    margin-bottom: 12px;

    color: #ffffff;

    text-shadow:
        0 0 10px rgba(0, 234, 255, 0.8);
}

.system-title span {
    color: #00eaff;
}


/* =========================================
   STATUS
========================================= */

.system-status {

    display: flex;

    align-items: center;

    gap: 9px;

    font-size: 12px;

    letter-spacing: 3px;

    margin-bottom: 35px;

    color: rgba(255,255,255,0.7);
}

.status-dot {

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #00eaff;

    box-shadow:
        0 0 8px #00eaff,
        0 0 18px #00eaff;

    animation: blink 1s infinite;
}

@keyframes blink {

    50% {
        opacity: 0.2;
    }
}


/* =========================================
   PROGRESSO
========================================= */

.progress-area {

    width: min(600px, 90vw);

    margin-bottom: 18px;
}

.progress-info {

    display: flex;

    justify-content: space-between;

    margin-bottom: 8px;

    font-size: 11px;

    letter-spacing: 2px;

    color: rgba(255,255,255,0.65);
}

#percentage {

    color: #00eaff;

    font-weight: bold;

    text-shadow:
        0 0 10px #00eaff;
}

.progress-bar {

    position: relative;

    width: 100%;

    height: 8px;

    background: rgba(0, 234, 255, 0.08);

    border: 1px solid rgba(0, 234, 255, 0.25);

    overflow: hidden;

    box-shadow:
        inset 0 0 10px rgba(0,0,0,0.8);
}

#progress {

    position: absolute;

    left: 0;
    top: 0;

    width: 0%;

    height: 100%;

    background: #00eaff;

    box-shadow:
        0 0 8px #00eaff,
        0 0 20px #00eaff,
        0 0 40px rgba(0,234,255,0.7);

    transition: width 0.08s linear;
}


/* =========================================
   TERMINAL
========================================= */

.terminal {

    width: min(600px, 90vw);

    padding: 13px 15px;

    border-left: 2px solid #00eaff;

    background: rgba(0, 234, 255, 0.025);

    margin-bottom: 25px;

    box-shadow:
        inset 10px 0 20px rgba(0, 234, 255, 0.025);
}

.terminal-line {

    font-size: 12px;

    color: rgba(255,255,255,0.6);

    white-space: nowrap;

    overflow: hidden;
}

.terminal-symbol {

    color: #00eaff;

    margin-right: 10px;

    text-shadow:
        0 0 10px #00eaff;
}


/* =========================================
   MENSAGENS
========================================= */

.loading-messages {

    width: min(600px, 90vw);

    display: flex;

    flex-direction: column;

    gap: 5px;

    font-size: 10px;

    letter-spacing: 1px;

    color: rgba(255,255,255,0.25);
}

.message span {

    color: rgba(0, 234, 255, 0.5);

    margin-right: 7px;
}

.message {

    animation: textGlow 2s infinite;
}

.message:nth-child(2) {
    animation-delay: .3s;
}

.message:nth-child(3) {
    animation-delay: .6s;
}

.message:nth-child(4) {
    animation-delay: .9s;
}

.message:nth-child(5) {
    animation-delay: 1.2s;
}

@keyframes textGlow {

    50% {
        color: rgba(255,255,255,0.65);
    }
}


/* =========================================
   RODAPÉ
========================================= */

.system-footer {

    position: absolute;

    bottom: 25px;

    font-size: 9px;

    letter-spacing: 3px;

    color: rgba(255,255,255,0.2);
}

.system-footer span {

    color: #00eaff;

    margin: 0 8px;
}


/* =========================================
   RESPONSIVO
========================================= */

@media (max-width: 600px) {

    .system-title {
        font-size: 24px;
        letter-spacing: 5px;
    }

    .system-status {
        font-size: 9px;
        letter-spacing: 2px;
    }

    .loading-messages {
        font-size: 9px;
    }

    .system-footer {
        font-size: 7px;
        letter-spacing: 2px;
    }
}
/* =========================================
   AVATAR LARIX SECURITY
========================================= */

.system-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

.avatar-ring {
    position: relative;

    width: 145px;
    height: 145px;

    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden;

    border: 2px solid rgba(0, 255, 255, 0.8);

    box-shadow:
        0 0 10px rgba(0, 255, 255, 0.7),
        0 0 25px rgba(0, 255, 255, 0.5),
        0 0 50px rgba(0, 255, 255, 0.25);

    animation: avatarPulse 2.5s ease-in-out infinite;
}


/* Avatar */

.larix-avatar {
    width: 125px;
    height: 125px;

    object-fit: cover;

    border-radius: 50%;

    position: relative;
    z-index: 2;

    filter:
        drop-shadow(0 0 8px rgba(0,255,255,0.8));

    animation: avatarFloat 4s ease-in-out infinite;
}


/* Anel externo */

.avatar-ring::before {
    content: "";

    position: absolute;

    inset: -3px;

    border-radius: 50%;

    border: 1px solid rgba(0,255,255,0.5);

    animation: avatarRotate 8s linear infinite;
}


/* Segundo anel */

.avatar-ring::after {
    content: "";

    position: absolute;

    inset: 7px;

    border-radius: 50%;

    border: 1px dashed rgba(0,255,255,0.35);

    animation: avatarRotateReverse 12s linear infinite;
}


/* Linha de scanner */

.avatar-scan {
    position: absolute;

    left: 0;
    right: 0;

    height: 2px;

    top: -10px;

    z-index: 5;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(0,255,255,0.9),
        transparent
    );

    box-shadow:
        0 0 8px rgba(0,255,255,0.9),
        0 0 20px rgba(0,255,255,0.6);

    animation: avatarScan 3s linear infinite;
}


/* =========================================
   ANIMAÇÕES
========================================= */

@keyframes avatarPulse {

    0%,
    100% {
        box-shadow:
            0 0 10px rgba(0,255,255,0.6),
            0 0 25px rgba(0,255,255,0.4),
            0 0 45px rgba(0,255,255,0.2);
    }

    50% {
        box-shadow:
            0 0 15px rgba(0,255,255,0.9),
            0 0 35px rgba(0,255,255,0.7),
            0 0 70px rgba(0,255,255,0.4);
    }
}


@keyframes avatarRotate {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


@keyframes avatarRotateReverse {

    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}


@keyframes avatarScan {

    0% {
        top: -10px;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 155px;
        opacity: 0;
    }
}


@keyframes avatarFloat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.025);
    }
}
