* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;

    background: #030303;

    color: white;

    min-height: 100vh;

    overflow-x: hidden;
}


/* =========================================
   BACKGROUND
========================================= */

.background {
    position: fixed;

    inset: 0;

    z-index: -10;

    overflow: hidden;

    background: #030303;
}

.grid {
    position: absolute;

    inset: -50%;

    width: 200%;
    height: 200%;

    background-image:
        linear-gradient(
            rgba(255,255,255,.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.025) 1px,
            transparent 1px
        );

    background-size: 55px 55px;

    transform: rotate(8deg);

    animation:
        gridMove 22s linear infinite;
}

@keyframes gridMove {

    from {
        transform:
            rotate(8deg)
            translateY(0);
    }

    to {
        transform:
            rotate(8deg)
            translateY(55px);
    }

}


.orb {
    position: absolute;

    border-radius: 50%;

    filter: blur(120px);

    background: white;

    opacity: .06;
}

.orb-one {

    width: 400px;
    height: 400px;

    left: -180px;
    top: 10%;

    animation:
        orbOne 15s ease-in-out infinite alternate;
}

.orb-two {

    width: 350px;
    height: 350px;

    right: -150px;
    top: 60%;

    animation:
        orbTwo 18s ease-in-out infinite alternate;
}

@keyframes orbOne {

    from {
        transform: translate(0,0);
    }

    to {
        transform: translate(140px,80px);
    }

}

@keyframes orbTwo {

    from {
        transform: translate(0,0);
    }

    to {
        transform: translate(-120px,-90px);
    }

}


/* =========================================
   PARTICLES
========================================= */

.particles {

    position: fixed;

    inset: 0;

    pointer-events: none;

    z-index: -5;
}

.particle {

    position: absolute;

    width: 2px;
    height: 2px;

    background: white;

    border-radius: 50%;

    opacity: .15;

    animation:
        particleMove linear infinite;
}

@keyframes particleMove {

    from {
        transform:
            translateY(100vh);
    }

    to {
        transform:
            translateY(-10vh);
    }

}


/* =========================================
   NAVBAR
========================================= */

nav {

    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    height: 72px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 7%;

    background:
        rgba(3,3,3,.72);

    backdrop-filter:
        blur(18px);

    border-bottom:
        1px solid rgba(255,255,255,.06);

    z-index: 100;
}


.logo {

    font-size: 22px;

    font-weight: 900;

    letter-spacing: 4px;

    cursor: pointer;
}


/*
   IMPORTANTE:
   Sem animação no logo da navbar.
*/


.beta {

    font-size: 9px;

    color: #777;

    border:
        1px solid #333;

    padding: 4px 6px;

    border-radius: 4px;

    margin-left: 7px;

    letter-spacing: 1px;

    vertical-align: middle;
}


.tabs {

    display: flex;

    gap: 30px;

    list-style: none;
}


.tabs a {

    position: relative;

    color: #666;

    text-decoration: none;

    font-size: 13px;

    cursor: pointer;

    transition:
        color .25s ease;
}


.tabs a:hover,
.tabs a.active {

    color: white;
}


.tabs a::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -9px;

    width: 0;

    height: 1px;

    background: white;

    transition:
        width .25s ease;
}


.tabs a:hover::after,
.tabs a.active::after {

    width: 100%;
}


/* =========================================
   PAGES
========================================= */

.page {

    display: none;

    min-height: 100vh;

    padding-top: 72px;
}


.page.active {

    display: block;

    animation:
        pageIn .35s ease;
}


@keyframes pageIn {

    from {

        opacity: 0;

        transform:
            translateY(12px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}


/* =========================================
   HERO
========================================= */

.hero {

    min-height:
        calc(100vh - 72px);

    display: flex;

    justify-content: center;

    align-items: center;

    text-align: center;

    padding: 30px;
}


.hero-content {

    max-width: 850px;
}


/* =========================================
   STATUS
========================================= */

.status {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding:
        7px 13px;

    border:
        1px solid #292929;

    border-radius: 30px;

    color: #888;

    font-size: 11px;

    margin-bottom: 28px;

    background:
        rgba(255,255,255,.02);
}


.status-dot {

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: white;

    box-shadow:
        0 0 10px rgba(255,255,255,.5);

    animation:
        statusPulse 2s infinite;
}


@keyframes statusPulse {

    50% {
        opacity: .35;
    }

}


/* =========================================
   MAIN SPECTE
========================================= */

/*
    Este é o ÚNICO SPECTE com efeito.
*/

.main-title {

    font-size:
        clamp(70px, 13vw, 145px);

    line-height: .82;

    letter-spacing: -9px;

    color: #fff;

    cursor: default;

    transition:
        letter-spacing .4s ease,
        text-shadow .4s ease;
}


.main-title:hover {

    /*
        Efeito muito mais pequeno.
    */

    letter-spacing: -5px;

    text-shadow:
        0 0 20px
        rgba(255,255,255,.12);
}


/* =========================================
   SUBTITLE
========================================= */

.subtitle {

    color: #666;

    margin-top: 30px;

    font-size: 15px;

    line-height: 1.7;
}


/* =========================================
   BUTTONS
========================================= */

.hero-buttons {

    margin-top: 38px;

    display: flex;

    justify-content: center;

    gap: 12px;
}


.btn {

    border:
        1px solid #292929;

    background:
        rgba(10,10,10,.8);

    color: white;

    padding:
        12px 20px;

    border-radius: 7px;

    cursor: pointer;

    font-size: 13px;

    transition:
        .25s ease;
}


.btn:hover {

    border-color: #555;

    transform:
        translateY(-2px);
}


.btn:active {

    transform:
        translateY(0)
        scale(.98);
}


.btn:disabled {

    opacity: .5;

    cursor: not-allowed;

    transform: none;
}


.btn.white {

    background: white;

    color: black;

    border-color: white;
}


.btn.white:hover {

    box-shadow:
        0 8px 30px
        rgba(255,255,255,.08);
}


/* =========================================
   CONTAINER
========================================= */

.container {

    max-width: 950px;

    margin: auto;

    padding:
        90px 25px;
}


.title {

    font-size: 48px;

    letter-spacing: -2px;
}


.description {

    color: #666;

    margin-top: 10px;

    margin-bottom: 45px;
}


/* =========================================
   DOWNLOAD
========================================= */

.downloads {

    display: flex;

    justify-content: center;
}


.download-card {

    width: 100%;

    max-width: 450px;

    padding: 30px;

    border:
        1px solid #202020;

    border-radius: 14px;

    background:
        rgba(8,8,8,.75);

    backdrop-filter:
        blur(15px);

    transition:
        .3s ease;
}


.download-card:hover {

    transform:
        translateY(-5px);

    border-color:
        #3b3b3b;
}


.download-card h3 {

    font-size: 21px;

    margin-bottom: 10px;
}


.download-card p {

    color: #666;

    font-size: 13px;

    line-height: 1.7;
}


.version {

    margin:
        20px 0;

    color: #444 !important;
}


.badge {

    display: inline-block;

    font-size: 9px;

    letter-spacing: 1px;

    border:
        1px solid #333;

    color: #888;

    padding:
        4px 7px;

    border-radius: 4px;

    margin-left: 5px;
}


/* =========================================
   CHANGELOG
========================================= */

.changelog {

    display: flex;

    flex-direction: column;

    gap: 15px;
}


.update {

    background:
        rgba(8,8,8,.7);

    border:
        1px solid #202020;

    border-radius: 12px;

    padding: 25px;

    transition:
        .3s ease;
}


.update:hover {

    border-color: #3b3b3b;

    transform:
        translateX(3px);
}


.update-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 16px;
}


.update h3 {

    font-size: 17px;
}


.date {

    color: #444;

    font-size: 11px;
}


.update ul {

    padding-left: 18px;

    color: #666;

    line-height: 1.9;

    font-size: 13px;
}


.loading {

    color: #555;

    font-size: 13px;
}


/* =========================================
   MODAL
========================================= */

.modal {

    position: fixed;

    inset: 0;

    display: none;

    align-items: center;

    justify-content: center;

    background:
        rgba(0,0,0,.8);

    backdrop-filter:
        blur(12px);

    z-index: 500;
}


.modal.active {

    display: flex;
}


.auth-box {

    width: 90%;

    max-width: 400px;

    padding: 32px;

    border:
        1px solid #292929;

    border-radius: 13px;

    background: #090909;

    box-shadow:
        0 30px 100px
        rgba(0,0,0,.8);

    animation:
        modalIn .25s ease;
}


@keyframes modalIn {

    from {

        opacity: 0;

        transform:
            scale(.97);

    }

    to {

        opacity: 1;

        transform:
            scale(1);

    }

}


.auth-box h2 {

    margin-bottom: 8px;
}


.auth-box p {

    color: #666;

    font-size: 12px;

    margin-bottom: 25px;
}


.close {

    float: right;

    color: #555;

    font-size: 22px;

    cursor: pointer;

    transition:
        color .2s ease;
}


.close:hover {

    color: white;
}


input {

    width: 100%;

    padding: 14px;

    background: #050505;

    color: white;

    border:
        1px solid #292929;

    border-radius: 7px;

    outline: none;

    margin-bottom: 12px;
}


input:focus {

    border-color: #555;
}


.auth-box .btn {

    width: 100%;
}


/* =========================================
   TOAST
========================================= */

.toast-container {

    position: fixed;

    right: 22px;

    top: 88px;

    display: flex;

    flex-direction: column;

    gap: 10px;

    z-index: 9999;
}


.toast {

    min-width: 285px;

    padding:
        15px 18px;

    background:
        rgba(10,10,10,.96);

    border:
        1px solid #292929;

    border-radius: 9px;

    box-shadow:
        0 20px 60px
        rgba(0,0,0,.6);

    animation:
        toastIn .25s ease;

    transition:
        .3s ease;
}


.toast-title {

    font-size: 13px;

    font-weight: bold;

    margin-bottom: 5px;
}


.toast-message {

    color: #777;

    font-size: 11px;
}


@keyframes toastIn {

    from {

        opacity: 0;

        transform:
            translateX(20px);

    }

    to {

        opacity: 1;

        transform:
            translateX(0);

    }

}


/* =========================================
   MOBILE
========================================= */

@media(max-width: 600px) {

    nav {

        padding:
            0 5%;
    }


    .tabs {

        gap: 12px;
    }


    .tabs a {

        font-size: 11px;
    }


    .main-title {

        letter-spacing: -5px;
    }


    .main-title:hover {

        letter-spacing: -3px;
    }


    .hero-buttons {

        flex-direction: column;
    }


    .toast-container {

        left: 15px;

        right: 15px;
    }


    .toast {

        min-width: 0;
    }

}
