:root {
    color-scheme: light;
    --page-background: #f7ffff;
    --text-color: hsl(217, 19%, 27%);
    --link-color: #161c29;
    --text-glow: 0 2px 16px rgba(247, 255, 255, 0.95);
    --button-background: rgba(255, 255, 255, 0.72);
    --button-border: rgba(0, 0, 0, 0.08);
    --button-hover-background: rgba(255, 255, 255, 0.92);
    --particle-rgb: 98, 98, 98;
    --particle-opacity: 0.35;
}

:root[data-theme="dark"] {
    color-scheme: dark;
    --page-background: #121212;
    --text-color: #9ca3af;
    --link-color: #c9c9c9;
    --text-glow: 0 2px 20px rgba(18, 18, 18, 0.9), 0 0 24px rgba(176, 200, 255, 0.12);
    --button-background: rgba(30, 30, 30, 0.72);
    --button-border: rgba(255, 255, 255, 0.12);
    --button-hover-background: rgba(42, 42, 42, 0.92);
    --particle-rgb: 229, 229, 229;
    --particle-opacity: 0.28;
}

body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--page-background);
    color: var(--text-color);
    font-family: "Noto Serif SC", "Songti SC", "SimSun", Georgia, serif;
    transition: background-color 0.25s ease, color 0.25s ease;
}