/*
if u see this stop skidding my code thx
*/

:root {
    --bg-color: #e0e0e0;
    --text-color: #0a0a0a;
    --accent-primary: #FF3C00;
    --accent-secondary: #B8FF01;
    --accent-tertiary: #a855f7;
    --border-width: 3px;
    --shadow-offset: 6px;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    cursor: crosshair;
}

h1,
h2,
h3,
.display-font {
    font-family: 'Syne', sans-serif;
}

/* neobrutalist utils */
.neo-box {
    border: var(--border-width) solid black;
    background: white;
    box-shadow: var(--shadow-offset) var(--shadow-offset) 0px 0px black;
    transition: all 0.2s ease;
}

.neo-box:hover {
    transform: translate(-2px, -2px);
    box-shadow: calc(var(--shadow-offset) + 2px) calc(var(--shadow-offset) + 2px) 0px 0px black;
}

.neo-button {
    background-color: black;
    color: white;
    border: var(--border-width) solid black;
    font-weight: bold;
    text-transform: uppercase;
    padding: 1rem 2rem;
    display: inline-block;
    transition: transform 0.1s;
}

.neo-button:hover {
    background-color: var(--accent-secondary);
    color: black;
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0px 0px black;
}

.neo-button:active {
    transform: translate(0px, 0px);
    box-shadow: 0px 0px 0px 0px black;
}

.neo-text-stroke {
    -webkit-text-stroke: 1px black;
    color: transparent;
}

.neo-text-stroke-white {
    -webkit-text-stroke: 1px white;
    color: transparent;
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--accent-primary);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-origin: top;
}

.reveal-up {
    opacity: 0;
    transform: translateY(100px);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.8);
}

.curtain-panel {
    width: 100%;
    height: 100vh;
    position: relative;
    z-index: 10;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #fff;
    border-left: 3px solid black;
}

::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border: 3px solid black;
}

::-webkit-scrollbar-thumb:hover {
    background: black;
}

.menu-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
    width: 60px;
    height: 60px;
    background: var(--accent-secondary);
    border: 3px solid black;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 4px 4px 0 0 black;
    transition: 0.2s;
}

.menu-btn:hover {
    transform: scale(1.1);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    z-index: 90;
    clip-path: circle(0% at 95% 5%);
    transition: clip-path 0.6s cubic-bezier(0.87, 0, 0.13, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.menu-overlay.active {
    clip-path: circle(150% at 90% 10%);
}

/* Day/Night Menu Toggle */
#mode-toggle {
    transition: all 0.3s ease;
}

.toggle-circle {
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

#menu.is-night {
    background-color: black;
    color: white;
    border-color: white;
}

#menu.is-night .border-black {
    border-color: white;
}

#menu.is-night .text-black {
    color: white;
}

#menu.is-night .bg-white {
    background-color: black;
}

#menu.is-night .shadow-\[8px_8px_0px_0px_black\] {
    box-shadow: 8px 8px 0px 0px white;
}

#menu.is-night #mode-toggle {
    border-color: white;
    background-color: white;
}

#menu.is-night .toggle-circle {
    background-color: black;
    transform: translateX(40px);
}

/* rgb menu thing */
@keyframes color-shift {

    0%,
    100% {
        color: var(--accent-primary);
    }

    /* orange */
    33% {
        color: var(--accent-secondary);
    }

    /* green or smth */
    66% {
        color: var(--accent-tertiary);
    }

    /* wait, where'd purple go? */
}

.animate-color-cycle {
    animation: color-shift 6s infinite ease-in-out;
    -webkit-text-stroke: 1px black;
}

#menu.is-night .animate-color-cycle {
    -webkit-text-stroke: 1px white;
}

.stats-detail {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card.expanded .stats-detail {
    max-height: 500px;
    opacity: 1;
    margin-top: 1rem;
}

.menu-detail {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-top: 0;
}

.menu-item.expanded .menu-detail {
    max-height: 100px;
    opacity: 1;
    margin-top: 1rem;
}