/* =========================================
   1. CORE VARIABLES & RESET
   ========================================= */
:root {
    --main-color: #33ff00;
    --bg-color: #050505;
    --panel-bg: #0a0a0a;
    --panel-text: #33ff00;
    --header-bg: #000000;
    --success-color: #ffd700;
    --warning-color: #ff3333;

    /* CRT Variables */
    --glow-strength: 0.6;
    --scanline-opacity: 0.3;
    --blur-amount: 0.5px;
    --flicker-strength: 0.03;
    --jitter-x: 0px;
    --jitter-y: 0px;
    --vignette-opacity: 0.8;
    --aberration-offset: 2px;
    --rolling-bar-opacity: 0;
    --rolling-bar-speed: 8s;
    --vis-lines-pct: 100%;
    --ui-font-size: 14px;

    /* Geometry */
    --view-height: 100%;

    /* Typography */
    --cjk-stack: "Noto Sans JP", "Noto Sans SC", "Noto Sans KR", "Microsoft YaHei", "Meiryo", "Malgun Gothic", sans-serif;
    --font-family: 'VT323', monospace;
    --font-size: 24px;
    --letter-spacing: 1px;
    --line-height: 1.5;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100vh;
    left: 0 !important;
    top: 0 !important;
    position: relative;
    overflow-x: hidden;
}

body {
    background-color: #000;
    color: var(--main-color);
    font-family: var(--font-family), var(--cjk-stack);
    display: flex;
    flex-direction: column;
}

/* =========================================
   2. SCROLLBARS
   ========================================= */
*::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

*::-webkit-scrollbar-track {
    background: var(--bg-color);
}

*::-webkit-scrollbar-corner {
    background: var(--bg-color);
}

*::-webkit-scrollbar-thumb {
    background: var(--main-color);
    border-radius: 4px;
    opacity: 0.5;
    border: 1px solid var(--bg-color);
}

*::-webkit-scrollbar-thumb:hover {
    background: #fff;
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--main-color) var(--bg-color);
}