html,
body {
    font-family: Helvetica;
    margin: 0;
    padding: 0;
    background: #000;
    overflow: hidden;
    touch-action: none;
}

header,
footer {
    position: fixed;
    left: 0;
    width: 100%;
    background: #33333393;
    color: white;
    text-align: center;

    font-size: clamp(16px, 2.5vw, 24px);
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

header {
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    background-color: #121212;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.logo img {
    height: 80px;
}

nav {
    position: absolute;
    right: 10px;
}

nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
}

nav ul li a {
    text-decoration: none;
    color: #f0f0f0;
    font-weight: 600;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #00d1ff;
}

footer {
    bottom: 0;
    font-size: clamp(14px, 2vw, 20px);
}

/* GATE OVERLAY */
.blackout-overlay {
    position: fixed;
    inset: 0;
    background: black;
    z-index: 9999;
    opacity: 1;
    transition: opacity 1s ease;
    pointer-events: none;
}

.blackout-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.wheel {
    position: fixed;
    width: 100vmin;
    height: 100vmin;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.weapon {
    position: absolute;
    width: 30vmin;
    height: 30vmin;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    text-align: center;
    color: white;
    font-size: 2.5vmin;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: transform 0.2s, background 0.2s;
    border: 2px solid transparent;
    user-select: none;
}

.weapon.selected {
    border-color: cyan;
    background: #0a3d3d;
    transform: scale(1.2);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

.weapon img {
    width: 30vmin;
    height: 30vmin;
    margin-bottom: 0.5vmin;
    position: relative;
    z-index: 1001;
    pointer-events: none;
}

.center-circle {
    width: 25vmin;
    height: 25vmin;
    background: #333;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 3vmin;
    position: absolute;
    left: calc(50% - 12.5vmin);
    top: calc(50% - 12.5vmin);
    border: 2px solid transparent;
    transition: transform 0.2s, background 0.2s;
}

.center-circle.selected {
    border-color: cyan;
    background: rgba(0, 255, 255, 0.2);
    transform: scale(1.2);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.8);
}

@font-face {
    font-family: 'icomoon';
    src: url('fonts/icomoon.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

[class^="icon-"],
[class*=" icon-"] {
    font-family: 'icomoon' !important;
    font-size: 400%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-N:before {
    content: "\e900";
}

.circle {
    --circle-size: 40px;
    position: fixed;
    height: var(--circle-size);
    width: var(--circle-size);
    border: 1px solid white;
    border-radius: 100%;
    top: calc(var(--circle-size) / 2 * -1);
    left: calc(var(--circle-size) / 2 * -1);
    pointer-events: none;
    z-index: 99999;
}

@media (orientation: landscape) {
    .wheel {
        position: fixed;
        width: 80vmin;
        height: 80vmin;
        border-radius: 50%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(10px);
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .weapon {
        position: absolute;
        width: 16vmin;
        height: 16vmin;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 50%;
        text-align: center;
        color: white;
        font-size: 2.5vmin;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        transition: transform 0.2s, background 0.2s;
        border: 2px solid transparent;
        user-select: none;
    }

    .weapon img {
        width: 25vmin;
        height: 25vmin;
    }
}

/* HTML: <div class="loader"></div> */
.loader {
    width: 75px;
    aspect-ratio: 1;
    display: grid;
    border: 4px solid #0000;
    border-radius: 50%;
    border-color: #006020 #0000;
    animation: l16 1s infinite linear;
    margin: auto;
}

.loader::before,
.loader::after {
    content: "";
    grid-area: 1/1;
    margin: 2px;
    border: inherit;
    border-radius: 50%;
}

.loader::before {
    border-color: #2b0071 #0000;
    animation: inherit;
    animation-duration: .5s;
    animation-direction: reverse;
}

.loader::after {
    margin: 8px;
    border-color: #800000 #0000;
}

@keyframes l16 {
    100% {
        transform: rotate(1turn)
    }
}

.loader-container {
    width: fit-content;
    top: 0;
    bottom: 0;
    z-index: 10000;
    right: 0;
    left: 0;
    color: white;
    /* z-index: 10000; */
    position: fixed;
    margin: auto;
    height: fit-content;
    pointer-events: none;
}