:root {
    --background-primary: #36393f;
    --background-secondary: #2f3136;
    --background-tertiary: #202225;
    --background-accent: #4f545c;
    --background-floating: #18191c;
    --text-normal: #dcddde;
    --text-muted: #72767d
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Roboto, sans-serif
}

body {
    height: 100%;
    width: 100%;
    min-height: 100vh;
    background-color: var(--background-primary);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: var(--text-normal)
}

#mode-btn {
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1000;
    background-color: #111827;
    border: 1px solid transparent;
    border-radius: .75rem;
    box-sizing: border-box;
    color: #FFFFFF;
    cursor: pointer;
    flex: 0 0 auto;
    font-family: "Inter var", ui-sans-serif, system-ui, -apple-system, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.5rem;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.8);
    padding: .75rem 1.2rem;
    text-align: center;
    text-decoration: none #6B7280 solid;
    text-decoration-thickness: auto;
    width: auto;
    transition: 0.3s ease-in-out;
}

#mode-btn:hover {
    background-color: #1f2937;
    /* Sedikit lebih terang saat hover */
    transform: scale(1.05);
    /* Efek sedikit membesar */
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.8), 0 0 50px rgba(255, 255, 255, 0.6), 0 0 75px rgba(255, 255, 255, 0.4);
    /* Efek neon bertingkat */
}

#mode-btn:active {
    transform: scale(0.95);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    /* Cahaya berkurang saat diklik */
}

.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
}

.popup-content {
    background-color: var(--background-secondary);
    padding: 30px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 300px;
    /* Ukuran lebih besar */
    min-height: 200px;
    /* Tinggi minimum */
}


/* Styling untuk tombol close */

.close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: var(--text-muted);
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #ff4444;
    /* Warna merah saat hover */
}


/* Styling umum untuk tombol neon */

.neon-btn {
    padding: 10px 20px;
    background-color: transparent;
    color: var(--text-normal);
    border: 2px solid #0ff;
    /* Cyan border */
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: 0.3s ease-in-out;
}

.neon-btn:hover {
    box-shadow: 0 0 25px rgba(255, 255, 255, 1.0), 0 0 50px rgba(255, 255, 255, 1.0);
    color: #fff;
}


/* Styling khusus untuk sigma button */

#sigma-btn {
    width: 100%;
    /* Membuat tombol memenuhi lebar popup */
    margin-top: 20px;
}


/* Efek klik */

.neon-btn:active {
    transform: scale(0.95);
    box-shadow: 0 0 10px #0ff;
}

#loading-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    /* Awalnya terlihat penuh */
    transition: opacity 1s ease-out;
    /* Animasi pudar selama 1 detik */
}


/* Saat selesai, opacity jadi 0 */

#loading-container.hidden {
    opacity: 0;
    pointer-events: none;
    /* Mencegah interaksi saat memudar */
}


/* Kontainer untuk animasi lingkaran */

.loading {
    width: 200px;
    height: 60px;
    position: relative;
    display: flex;
}


/* Styling lingkaran dan bayangan tetap sama */

.circle {
    width: 20px;
    height: 20px;
    position: absolute;
    border-radius: 50%;
    background-color: #fff;
    left: 15%;
    transform-origin: 50%;
    animation: circle .5s alternate infinite ease;
}

@keyframes circle {
    0% {
        top: 60px;
        height: 5px;
        border-radius: 50px 50px 25px 25px;
        transform: scaleX(1.7);
    }
    40% {
        height: 20px;
        border-radius: 50%;
        transform: scaleX(1);
    }
    100% {
        top: 0%;
    }
}

.circle:nth-child(2) {
    left: 45%;
    animation-delay: .2s;
}

.circle:nth-child(3) {
    left: auto;
    right: 15%;
    animation-delay: .3s;
}

.shadow {
    width: 20px;
    height: 4px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, .5);
    position: absolute;
    top: 62px;
    transform-origin: 50%;
    z-index: -1;
    left: 15%;
    filter: blur(1px);
    animation: shadow .5s alternate infinite ease;
}

#snow-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
}

@keyframes shadow {
    0% {
        transform: scaleX(1.5);
    }
    40% {
        transform: scaleX(1);
        opacity: .7;
    }
    100% {
        transform: scaleX(.2);
        opacity: .4;
    }
}

.shadow:nth-child(4) {
    left: 45%;
    animation-delay: .2s;
}

.shadow:nth-child(5) {
    left: auto;
    right: 15%;
    animation-delay: .3s;
}

#overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    background: black;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 9999;
    opacity: 1;
    transition: opacity 1.5s ease-out, transform 2.0s ease-out;
}

#overlay.fade-out {
    opacity: 0;
    transform: scale(1.1);
    pointer-events: none;
}

.spaced {
    margin-top: 10px;
}

#wrapper {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center
}

footer {
    position: fixed;
    bottom: 16px;
    right: 16px;
    user-select: none
}

.tippy-box[data-theme~=dark] {
    background-color: #141414
}

.tippy-box[data-theme~=dark][data-placement^=top]>.tippy-arrow::before {
    border-top-color: #141414
}

.tippy-box[data-theme~=dark][data-placement^=bottom]>.tippy-arrow::before {
    border-bottom-color: #141414
}

.tippy-box[data-theme~=dark][data-placement^=left]>.tippy-arrow::before {
    border-left-color: #141414
}

.tippy-box[data-theme~=dark][data-placement^=right]>.tippy-arrow::before {
    border-right-color: #141414
}

@keyframes spinner {
    from {
        transform: rotateZ(0)
    }
    to {
        transform: rotateZ(360deg)
    }
}