/* GLOBAL SETTINGS */
html {
    scroll-behavior: smooth;
}

/* Force HTML and BODY to be pure black to prevent overscroll whiteness on mobile */
html, body {
    background-color: #000000 !important;
    color: #e5e5e5;
}

/* Custom Text Selection Color (White background, Black text) */
::selection {
    background: #dc2626;
    color: #ffffff;
}

/* CUSTOM SCROLLBAR */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #000000;
}
::-webkit-scrollbar-thumb {
    background: #333;
}
::-webkit-scrollbar-thumb:hover {
    background: #dc2626;
}

/* UTILITIES */
.text-dim { color: #666666; }
.text-terminal { color: #cccccc; }

/* STATUS ANIMATION */
/* Defines the hard blink logic */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Overrides Tailwind's default soft fade with your hard blink */
.animate-pulse {
    animation: blink 1.5s infinite;
}

/* FIRE EFFECT */
#ui {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: -125px; /* -$fireSize / 4 */
    z-index: 0; /* Changed from -1 to 0 to be visible above body bg */
    pointer-events: none;
    opacity: 0.6;
}

.fire {
    position: relative;
    width: 500px;
    height: 500px;
    background: #dc2626; /* Red Flame */
    filter: blur(20px) contrast(30);
    border: 250px solid #000;
    border-bottom-color: transparent;
    border-radius: 40%;
    box-sizing: border-box;
    transform: scale(0.4, 1);
}

.burn {
    position: absolute;
    top: 500px;
    left: -50px;
    width: 100px;
    height: 100px;
    background: #000;
    border-radius: 100%;
}

@keyframes burning {
    0% { transform: translateY(0); }
    100% { transform: translateY(-600px); }
}
