* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    background: black;
    font-family: 'Orbitron', sans-serif;
    overflow: hidden;
}

.loader-background {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('../img/loader-background.png') center center / cover no-repeat;
    opacity: 0.7;
    z-index: 0;
}

.loader-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    transition: opacity 1s ease;
}

.center-content {
    position: relative;
    width: 100%;
    height: auto;
}

.logo-container {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
}

.logo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    opacity: 0.7;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 380px;
    height: 380px;
    pointer-events: none;
    z-index: 1;
}

.ring {
    position: absolute;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top: 3px solid #00d1c1;
    animation: spin 10s linear infinite;
    transform: rotate(var(--angle));
    opacity: var(--opacity, 0.2);
    clip-path: inset(0 0 var(--clip-bottom, 0%) 0 round 50%);
}

.ring:nth-child(1) {
    width: 380px;
    height: 380px;
    --angle: 15deg;
    --clip-bottom: 25%;
    --opacity: 0.4;
    animation-duration: 18s;
}

.ring:nth-child(2) {
    width: 340px;
    height: 340px;
    top: 20px;
    left: 20px;
    --angle: 45deg;
    --clip-bottom: 40%;
    --opacity: 0.35;
    animation-duration: 15s;
}

.ring:nth-child(3) {
    width: 300px;
    height: 300px;
    top: 40px;
    left: 40px;
    --angle: 90deg;
    --clip-bottom: 55%;
    --opacity: 0.3;
    animation-duration: 12s;
}

.ring:nth-child(4) {
    width: 260px;
    height: 260px;
    top: 60px;
    left: 60px;
    --angle: 160deg;
    --clip-bottom: 65%;
    --opacity: 0.2;
    animation-duration: 10s;
}

.ring:nth-child(5) {
    width: 220px;
    height: 220px;
    top: 80px;
    left: 80px;
    --angle: 240deg;
    --clip-bottom: 80%;
    --opacity: 0.12;
    animation-duration: 8s;
}

.ring:nth-child(6) {
    width: 190px;
    height: 190px;
    top: 95px;
    left: 95px;
    --angle: 310deg;
    --clip-bottom: 90%;
    --opacity: 0.08;
    animation-duration: 7s;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading-text {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: calc(50% + 100px);
    color: #0ff;
    font-size: 18px;
    margin-top: 20px;
    text-shadow: 0 0 5px #0ff;
    animation: flicker 1.5s infinite alternate;
}

@keyframes flicker {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}

.progress {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: calc(50% + 160px);
    width: 200px;
    height: 8px;
    margin: 10px auto;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(to right, #00f6ff, #0ff);
    transition: width 0.2s ease;
}

.console {
    display: none;
    position: absolute;
    top: calc(50% + 160px);
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    max-width: 400px;
    height: 180px;
    color: #0ff;
    background: rgba(0, 0, 0, 0.6);
    font-size: 14px;
    padding: 20px;
    overflow-y: auto;
    white-space: pre-wrap;
    z-index: 3;
    text-align: left;
    border-radius: 6px;
}

.splash {

    pointer-events: none;
    display: block;
    position: absolute;
    inset: 0;
    z-index: 4;
}


.splash.visible {
    opacity: 1;
    pointer-events: auto;
}


.splash img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-wrapper {
    position: fixed;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 1s ease;
    pointer-events: none;
}


.nav-wrapper.visible {
    opacity: 1;
    pointer-events: auto;
}


.nav-panel {
    display: flex;
    gap: 12px;
    background: rgba(5, 10, 15, 0.8);
    padding: 8px 16px;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
    border: 1px solid #00f0ff33;
}

.nav-item {
    background-color: rgba(0, 5, 10, 0.9);
    border: 1px solid #00f0ff;
    border-radius: 4px;
    width: 160px;
    height: 42px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 0 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: inset 0 0 4px #00f0ff22;
}

.nav-item:hover {
    box-shadow: 0 0 10px #00f0ff66;
    background-color: rgba(0, 10, 20, 0.9);
}

.nav-icon {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    background-color: #00f0ff;
    mask-size: cover;
    -webkit-mask-size: cover;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-position: center;
    flex-shrink: 0;
}

.nav-label {
    font-size: 11px;
    color: #00f0ff;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}