#stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

:root {
    /* Dark Mode (Default) - Premium Deep Space */
    --primary-color: #60a5fa;
    /* Soft Blue */
    --secondary-color: #a78bfa;
    /* Soft Purple */
    --accent-color: #38bdf8;
    /* Cyan accent */
    --background-color: #0f172a;
    /* Slate 900 - richer than pure black */
    --text-color: #f8fafc;
    /* Slate 50 */
    --input-background: rgba(30, 41, 59, 0.5);
    /* Semi-transparent Slate 800 */
    --input-border: rgba(255, 255, 255, 0.1);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --star-color: #ffffff;
    --primary-rgb: 96, 165, 250;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    box-sizing: border-box;
}

body.light-mode {
    /* Light Mode - Creamy & Soft */
    --background-color: #fdfbf7;
    /* Warm Cream - gentle on eyes */
    --text-color: #57534e;
    /* Stone 600 - Warm gray, softer than black */
    --input-background: #ffffff;
    /* Pure white */
    --input-border: #e7e5e4;
    /* Stone 200 - Warm soft border */
    --glass-border: 1px solid #e7e5e4;
    --primary-color: #7c3aed;
    /* Violet 600 - Rich warm purple */
    --secondary-color: #a78bfa;
    /* Violet 400 */
    --accent-color: #f472b6;
    /* Pink 400 */
    --star-color: #a8a29e;
    /* Stone 400 */
    --primary-rgb: 124, 58, 237;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

body {
    font-family: 'Poppins', 'Inter', sans-serif;
    /* Modern, clean, approachable */
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.3s ease;
    display: flex;
    flex-direction: column;
}

:lang(ru) body {
    font-family: 'Montserrat', sans-serif;
}

:lang(ru) .title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem 1rem;
}

.title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-color);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    font-family: 'Cal Sans', sans-serif;
}

.description {
    font-family: "Cascadia Code", sans-serif;
    text-align: center;
    color: var(--text-color);
    margin-bottom: 2rem;
}

@media (max-width: 800px) {
    body {
        cursor: auto;
    }

    .container {
        padding: 1rem 0.75rem;
    }
}

/* Utils */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}