        :root {
            --bg-color: #f9fbff;
            --text-color: #2a2a3a;
            --header-bg: #e6ecff;
            --border-color: #b0b8d9;
            --link-color: #3a5fff;
        }

        body.dark {
            --bg-color: #12182B;
            --text-color: #E6E9FF;
            --header-bg: #1A233A;
            --border-color: #2E3C5E;
            --link-color: #768DFF;
        }

        body {
            font-family: Arial, sans-serif;
            background-color: var(--bg-color);
            color: var(--text-color);
            margin: 0;
            padding: 0;
        }

        header {
            text-align: center;
            padding: 20px;
            background-color: var(--header-bg);
            border-bottom: 2px solid var(--border-color);
        }

        h1 {
            font-size: 2em;
            color: var(--link-color);
        }

        main {
            max-width: 800px;
            margin: 20px auto;
            padding: 10px;
        }

        section {
            margin-bottom: 20px;
        }

        a {
            color: var(--link-color);
            text-decoration: none;
        }

        footer {
            text-align: center;
            padding: 10px;
            background-color: var(--header-bg);
            border-top: 2px solid var(--border-color);
        }

        .lang-switcher {
            margin-top: 10px;
            text-align: center;
        }

        .lang-link, .theme-toggle {
            font-family: "Courier New", monospace;
            font-size: 14px;
            margin: 0 5px;
            cursor: pointer;
        }

        .webring-wrapper {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 12px;
            text-align: center;
            font-family: "Courier New", monospace;
        }

        .webring {
            font-family: "Courier New", monospace;
            font-size: 14px;
            padding: 4px 8px;
            text-align: center;
            min-width: 80px;
        }

        .theme-toggle {
            color: var(--link-color);
        }

        @media (max-width: 600px) {
            main {
                display: flex;
                flex-direction: column;
                align-items: center;
            }

            main > img[alt="me"] {
                order: -1;
                width: 100% !important;
                height: auto !important;
                max-width: 90vw;
                margin-bottom: 15px;
            }

            main > section:first-of-type {
                text-align: center;
            }
        }
.snowflake {
    position: fixed;
    top: -10px;
    color: white;
    user-select: none;
    pointer-events: none;
    z-index: 9999;
    font-size: 1em;
    animation: fall linear forwards;
}

@keyframes fall {
    to {
        transform: translateY(110vh);
        opacity: 0;
    }
}

/* samposa bio styles */
.about {
    text-align: center;
    font-family: monospace;
    font-size: 1.1em;
    line-height: 1.8;
}

.links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.links img {
    transition: transform 0.2s;
}

.links img:hover {
    transform: scale(1.1);
}

.flipper {
    text-align: center;
    margin: 20px 0;
}

.flipper img {
    max-width: 200px;
    height: auto;
}

/* prefs page styles */
.prefs-section {
    margin: 30px 0;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.prefs-section h2 {
    font-family: monospace;
    font-size: 1em;
    margin-bottom: 10px;
}

.prefs-section h2.dislike,
.prefs-section h2.dislike + p {
    color: #ff6b6b;
}

.prefs-section h2.like,
.prefs-section h2.like + p {
    color: #51cf66;
}

.prefs-section h2.neutral,
.prefs-section h2.neutral + p {
    color: #ffd43b;
}

.prefs-section p {
    font-family: monospace;
    font-size: 0.9em;
    line-height: 1.6;
    margin: 0;
}

.back-link {
    font-family: monospace;
    font-size: 14px;
    color: var(--link-color);
}

/* linux terminal styles */
.terminal {
    background: #1a1a2e;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    font-family: monospace;
    font-size: 0.9em;
}

.terminal-header {
    background: #2a2a3e;
    padding: 8px 12px;
    border-bottom: 1px solid var(--border-color);
}

.terminal-title {
    color: #888;
    font-size: 0.85em;
}

.terminal-body {
    padding: 15px;
    color: #e6e9ff;
    line-height: 1.6;
    max-height: 400px;
    overflow-y: auto;
}

.terminal .input-line {
    display: flex;
    align-items: center;
}

.terminal .command {
    margin: 10px 0 5px 0;
}

.terminal .prompt {
    color: #51cf66;
    margin-right: 8px;
}

.terminal .output {
    color: #b8b8d9;
    margin: 5px 0 15px 0;
    white-space: pre-wrap;
}

.terminal-input {
    background: transparent;
    border: none;
    color: #e6e9ff;
    font-family: monospace;
    font-size: 0.9em;
    flex: 1;
    outline: none;
}

.terminal-input:focus {
    outline: none;
}
