html, body {
    height: 100%;
    height: 100svh;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #050505;
    color: #ffffff;
}

body {
    position: fixed;
    width: 100%;
}

body::before {
    content: " ";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%), 
                linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
    z-index: 100;
    background-size: 100% 4px, 3px 100%;
    pointer-events: none;
    opacity: 0.3;
}

body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 30%, rgba(0,0,0,0.9) 100%);
    pointer-events: none;
    z-index: 90;
}

.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 #00fff9, 2px 2px #ff00c1;
    animation: glitch-anim2 1s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(31px, 9999px, 94px, 0); }
    20% { clip: rect(70px, 9999px, 71px, 0); }
    40% { clip: rect(10px, 9999px, 30px, 0); }
    60% { clip: rect(80px, 9999px, 90px, 0); }
    80% { clip: rect(40px, 9999px, 50px, 0); }
    100% { clip: rect(67px, 9999px, 62px, 0); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(65px, 9999px, 100px, 0); }
    20% { clip: rect(15px, 9999px, 25px, 0); }
    40% { clip: rect(45px, 9999px, 55px, 0); }
    60% { clip: rect(10px, 9999px, 20px, 0); }
    80% { clip: rect(75px, 9999px, 85px, 0); }
    100% { clip: rect(10px, 9999px, 30px, 0); }
}


.is-zero {
    color: #ff0000 !important;
    text-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
}

::-webkit-scrollbar {
    width: 5px;
}
::-webkit-scrollbar-track {
    background: #000;
}
::-webkit-scrollbar-thumb {
    background: #222;
}
::-webkit-scrollbar-thumb:hover {
    background: #8b0000;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
}

.is-standalone #pwaGate {
    display: none !important;
}

.terms-accepted #termsModal {
    display: none !important;
}

.is-standalone.terms-accepted body {
    overflow: hidden;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.3s ease-out;
}

.is-zero {
    color: #ff0000 !important;
    text-shadow: 0 0 20px rgba(255, 0, 0, 0.8);
}