@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    /* Core - Light Theme (Default) */
    --hue: 210;
    --sat: 20%;
    --lig: 98%;

    --bg-color: hsl(var(--hue), var(--sat), var(--lig));
    --text-color: hsl(210, 10%, 20%);
    --link-color: hsl(210, 90%, 50%);

    /* Glassmorphism System */
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-blur: 16px;
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);

    /* Component Colors */
    --sidebar-bg: rgba(255, 255, 255, 0.7);
    --topbar-bg: rgba(255, 255, 255, 0.5);
    --card-bg: rgba(255, 255, 255, 0.8);
    --footer-bg: rgba(255, 255, 255, 0.8);
    
    /* Animation Colors */
    --blink-color: #ffeb3b; /* Bright yellow for contrast */
    --blink-shadow: rgba(255, 235, 59, 0.8);

    /* Utility */
    --border-radius-lg: 20px;
    --border-radius-md: 12px;
    --border-radius-sm: 8px;
    --transition-speed: 0.3s;
}

[data-theme="dark"] {
    --bg-color: #121212;
    --text-color: #e0e0e0;
    --link-color: #66aaff;

    --glass-bg: rgba(0, 0, 0, 0.45);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);

    --sidebar-bg: rgba(0, 0, 0, 0.6);
    --topbar-bg: rgba(0, 0, 0, 0.4);
    --card-bg: rgba(30, 30, 30, 0.6);
    --footer-bg: rgba(0, 0, 0, 0.7);

    --blink-color: #ffeb3b; /* Bright yellow for dark theme */
    --blink-shadow: rgba(255, 235, 59, 0.8);
}

[data-theme="green"] {
    --link-color: #2e7d32;
    --glass-bg: rgba(232, 245, 233, 0.7);
    --glass-border: rgba(255, 255, 255, 0.6);

    --sidebar-bg: rgba(220, 237, 200, 0.65);
    --topbar-bg: rgba(220, 237, 200, 0.4);
    --card-bg: rgba(255, 255, 255, 0.85);
    --footer-bg: rgba(200, 230, 201, 0.8);

    --blink-color: #ffeb3b; /* Bright yellow for green theme */
    --blink-shadow: rgba(255, 235, 59, 0.8);
}

[data-theme="blue"] {
    --link-color: #0277bd;
    --glass-bg: rgba(225, 245, 254, 0.7);
    --glass-border: rgba(255, 255, 255, 0.6);

    --sidebar-bg: rgba(179, 229, 252, 0.55);
    --topbar-bg: rgba(179, 229, 252, 0.35);
    --card-bg: rgba(255, 255, 255, 0.85);
    --footer-bg: rgba(179, 217, 255, 0.75);

    --blink-color: #ffeb3b; /* Bright yellow for blue theme */
    --blink-shadow: rgba(255, 235, 59, 0.8);
}
