@import url('https://fonts.googleapis.com/css2?family=Iosevka+Charon+Mono:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Tektur:wght@400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap');

body {
    margin: 0;
    height: 100vh;
    position: relative;
    display: flex;
}

.nbl {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -2;
    background: radial-gradient(ellipse at 40% 40%, #1a0633 0%, #03000f 100%);
}

.nebula {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.7;
}

.nebula1 {
    background: radial-gradient(circle at 20% 30%, rgba(150, 80, 255, 0.2) 0%, transparent 30%),
                radial-gradient(circle at 80% 70%, rgba(255, 100, 100, 0.15) 0%, transparent 35%),
                radial-gradient(circle at 10% 80%, rgba(80, 180, 255, 0.2) 0%, transparent 30%);
    filter: blur(30px);
    animation: drift 20s infinite alternate ease-in-out;
}

.nebula2 {
    background: radial-gradient(circle at 70% 20%, rgba(200, 100, 255, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 30% 60%, rgba(255, 160, 80, 0.1) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(0, 200, 255, 0.2) 0%, transparent 35%);
    filter: blur(40px);
    animation: drift 25s infinite alternate-reverse ease-in-out;
}

@keyframes drift {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.2) translate(-2%, -1%); }
}

.planet-bg {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.3), rgba(0,0,0,0.9));
    filter: blur(50px);
    z-index: 0;
    opacity: 0.3;
    pointer-events: none;
}

.planet1 {
    top: 10%;
    left: 5%;
    background: radial-gradient(circle, #7a4aaa, #2a1040);
    width: 500px;
    height: 500px;
}

.planet2 {
    bottom: 5%;
    right: 5%;
    background: radial-gradient(circle, #3a6ea5, #0f1f3a);
    width: 600px;
    height: 600px;
}

.planet3 {
    top: 60%;
    left: 20%;
    background: radial-gradient(circle, #aa5577, #331122);
    width: 300px;
    height: 300px;
    filter: blur(60px);
    opacity: 0.2;
}

.load {
    position: fixed;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    font-size: 20px;
    pointer-events: none;
    z-index: 10000;
    background: linear-gradient(145deg, #03000F 0%, #1A0B2E 50%, #03000F 100%);
    font-family: 'Iosevka Charon Mono', monospace;
    transition: all 0.5s ease-out;
    h2 {
        font-size: 35px;
        font-weight: 600;
    }
    h1 {
        font-size: 30px;
        opacity: 0;
        font-weight: 100;
    }
    &.done {
        h2 {
            animation: loadh2Done 1s ease-in-out forwards;
        }
        h1 {
            animation: loadh1Done 1s ease-in-out forwards;
        }
    }
    &.fade-out {
        opacity: 0;
    }
    &.hide {
        display: none;
    }
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    background: linear-gradient(145deg, #0000008f 0%, #0e06188f 50%, #0000008f 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
    font-family: "Tektur", sans-serif;
    color: #fff;
    transition: all 0.5s ease-out;
    .brand {
        display: flex;
        align-items: center;
        .logo {
            width: 40px;
            height: 40px;
            margin-right: 10px;
        }
        .name {
            font-weight: 400;
        }
    }
}

main {
    width: 100%;
    padding-top: 70px;
    background: none;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
}

.card {
    display: inline-block;
    margin: 10px;
    padding: 10px 10px;
    border-radius: 10px;
    background: linear-gradient(145deg, #000000cc 0%, #0e0618cc 50%, #000000cc 100%);
    border: 1px solid #ffffff1a;
    backdrop-filter: blur(10px);
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
    transition: all 0.5s ease-out;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    .title {
        padding: 0px;
        margin-top: 0;
        margin-bottom: 8px;
        font-size: 15px;
        font-weight: 600;
        &::before {
            content: '';
            display: inline-block;
            width: 15px;
            height: 15px;
            margin-right: 8px;
            margin-bottom: 1.5px;
            background: url('../assets/code.svg');
            background-size: contain;
            vertical-align: middle;
        }
        &::after {
            content: ' •';
        }
    }
}

.group {
    display: flex;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;
}


@keyframes loadh2Done {
    from {
        font-size: 35px;
    }
    to {
        font-size: 20px;
        font-weight: 100;
        transform: translateY(60px);
    }
}

@keyframes loadh1Done {
    from {
        opacity: 0;
        font-size: 10px;
    }
    to {
        opacity: 1;
        font-size: 27px;
        font-weight: 600;
        transform: translateY(-60px);
    }
}

@media (max-width: 768px) {
    header {
        justify-content: center;
        padding: 0;
        nav {
            display: none;
        }
    }
}

::selection {
    color: #dedede;
    background: #6528b591;
}

::-moz-selection {
    color: #dedede;
    background: #6528b591;
}