        :root {
            color-scheme: dark;
            --black: #080808;
            --charcoal: #151515;
            --white: #f1f1f1;
            --muted: #999;
            --red: #8b0000;
        }

        * {
            box-sizing: border-box;
        }

        html,
        body {
            width: 100%;
            min-height: 100%;
            margin: 0;
        }

        body {
            min-height: 100vh;
            overflow: hidden;
            background: var(--black);
            color: var(--white);
            font-family:
                system-ui,
                -apple-system,
                BlinkMacSystemFont,
                "Segoe UI",
                sans-serif;
        }

        .hero {
            position: relative;
            min-height: 100vh;
            display: grid;
            place-items: center;
            overflow: hidden;
            isolation: isolate;
        }

        #matrix {
            position: absolute;
            inset: 0;
            z-index: -1;
            width: 100%;
            height: 100%;
            pointer-events: none;
            opacity: .58;
            mix-blend-mode: screen;
        }

        .hero::before {
            content: "";
            position: absolute;
            inset: 0;
            z-index: -3;
            background:
                url("/assets/images/anondobrinja.jpg")
                center center / cover no-repeat;
            filter: grayscale(100%);
            transform: scale(1.02);
        }

        .hero::after {
            content: "";
            position: absolute;
            inset: 0;
            z-index: -2;
            background:
                linear-gradient(
                    90deg,
                    rgba(0, 0, 0, .88) 0%,
                    rgba(0, 0, 0, .60) 48%,
                    rgba(0, 0, 0, .78) 100%
                );
        }

        .grain {
            position: absolute;
            inset: 0;
            z-index: 0;
            pointer-events: none;
            opacity: .08;
            background-image:
                url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
        }

        main {
            width: min(1100px, 90vw);
            padding: 3rem 0;
            position: relative;
            z-index: 1;
        }

        .mark {
            display: inline-block;
            margin-bottom: 2rem;
            padding-left: .8rem;
            border-left: 4px solid var(--red);
            font-size: .85rem;
            font-weight: 700;
            letter-spacing: .28em;
            text-transform: uppercase;
            color: #ccc;
        }

        h1 {
            max-width: 900px;
            margin: 0;
            font-size: clamp(4rem, 13vw, 10rem);
            line-height: .82;
            letter-spacing: -.055em;
            text-transform: uppercase;
            font-weight: 900;
        }

        .subtitle {
            max-width: 620px;
            margin: 2rem 0 0;
            font-size: clamp(1rem, 2vw, 1.35rem);
            line-height: 1.6;
            color: #ccc;
        }

        .status {
            display: inline-flex;
            align-items: center;
            gap: .75rem;
            margin-top: 2.5rem;
            padding: .8rem 1rem;
            border: 1px solid rgba(255, 255, 255, .18);
            background: rgba(0, 0, 0, .45);
            font-size: .8rem;
            font-weight: 700;
            letter-spacing: .16em;
            text-transform: uppercase;
        }

        .status::before {
            content: "";
            width: .55rem;
            height: .55rem;
            border-radius: 50%;
            background: var(--red);
            box-shadow: 0 0 12px rgba(139, 0, 0, .8);
        }

        footer {
            position: absolute;
            left: 5vw;
            bottom: 2rem;
            font-size: .72rem;
            letter-spacing: .16em;
            text-transform: uppercase;
            color: #777;
        }

        @media (max-width: 700px) {
            body {
                overflow: auto;
            }

            .hero {
                min-height: 100svh;
            }

            main {
                padding: 5rem 0;
            }

            h1 {
                font-size: clamp(3.5rem, 19vw, 7rem);
            }

            .subtitle {
                font-size: 1rem;
            }

            footer {
                position: static;
                width: 90vw;
                margin: 0 auto 2rem;
            }
        }

/* Shared application pages */

.page-shell {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    isolation: isolate;
    background: var(--black);
}

.page-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    background:
        url("/assets/images/anondobrinja.jpg")
        center center / cover no-repeat;
    filter: grayscale(100%);
    transform: scale(1.02);
}

.page-shell::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, .90) 0%,
            rgba(0, 0, 0, .68) 48%,
            rgba(0, 0, 0, .84) 100%
        );
}

.page-shell #matrix {
    position: absolute;
    inset: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: .58;
    mix-blend-mode: screen;
}

.site-nav {
    position: relative;
    z-index: 2;
    width: min(1100px, 90vw);
    margin: 0 auto;
    padding: 2rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-nav a {
    color: var(--white);
    text-decoration: none;
}

.site-logo {
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.site-nav nav {
    display: flex;
    gap: 1.5rem;
}

.site-nav nav a {
    color: #bbb;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.site-nav nav a:hover {
    color: var(--white);
}

.page-content {
    position: relative;
    z-index: 1;
    width: min(1100px, 90vw);
    margin: 0 auto;
}

.login-content {
    min-height: calc(100vh - 150px);
    display: grid;
    place-items: center;
    padding: 3rem 0 6rem;
}

.panel {
    width: min(100%, 520px);
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(0, 0, 0, .72);
    box-shadow: 0 30px 100px rgba(0, 0, 0, .55);
    backdrop-filter: blur(4px);
}

.panel .mark {
    margin-bottom: 1.5rem;
}

.panel h1 {
    max-width: none;
    font-size: clamp(3rem, 8vw, 5.5rem);
}

.panel .subtitle {
    margin-top: 1.5rem;
}

.login-form {
    display: grid;
    gap: .7rem;
    margin-top: 2rem;
}

.login-form label {
    margin-top: .5rem;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #bbb;
}

.login-form input {
    width: 100%;
    min-height: 3rem;
    padding: .75rem;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 0;
    outline: none;
    background: rgba(0, 0, 0, .65);
    color: var(--white);
    font: inherit;
}

.login-form input:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 1px var(--red);
}

.login-form button {
    min-height: 3rem;
    margin-top: 1rem;
    border: 1px solid var(--red);
    border-radius: 0;
    background: var(--red);
    color: var(--white);
    font: inherit;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor: pointer;
}

.login-form button:hover {
    filter: brightness(1.15);
}

.login-form button:disabled {
    opacity: .55;
    cursor: wait;
}

.error {
    margin: .75rem 0 0;
    color: #ff8a8a;
    font-size: .85rem;
    line-height: 1.5;
}

.back {
    margin: 1.5rem 0 0;
}

.back a {
    color: #999;
    font-size: .8rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.back a:hover {
    color: var(--white);
}

.page-shell footer {
    position: absolute;
    left: 5vw;
    bottom: 2rem;
}

@media (max-width: 700px) {
    .site-nav {
        padding-top: 1.25rem;
    }

    .site-nav nav {
        gap: .8rem;
    }

    .site-nav nav a {
        font-size: .65rem;
    }

    .login-content {
        min-height: calc(100vh - 100px);
        padding: 2rem 0 5rem;
    }

    .panel {
        padding: 2rem 1.5rem;
    }

    .panel h1 {
        font-size: clamp(2.8rem, 15vw, 5rem);
    }
}

/* Dashboard */

.dashboard-content {
    padding-top: 2rem;
    padding-bottom: 8rem;
}

.dashboard-intro {
    margin-top: 2rem;
}

.dashboard-intro h1 {
    max-width: 1000px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin-top: 4rem;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .16);
}

.dashboard-card {
    min-height: 220px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    color: var(--white);
    text-decoration: none;
    background: rgba(0, 0, 0, .72);
    transition:
        background .2s ease,
        transform .2s ease;
}

.dashboard-card:hover {
    background: rgba(139, 0, 0, .72);
    transform: translateY(-2px);
}

.dashboard-card .card-label {
    color: #999;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .16em;
}

.dashboard-card strong {
    font-size: 2rem;
    line-height: 1;
    text-transform: uppercase;
}

.dashboard-card span:last-child {
    max-width: 24rem;
    color: #aaa;
    font-size: .85rem;
    line-height: 1.6;
}

.player-bar {
    margin-top: 1px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(0, 0, 0, .82);
}

.player-label {
    display: block;
    margin-bottom: .35rem;
    color: var(--red);
    font-size: .65rem;
    font-weight: 900;
    letter-spacing: .18em;
}

.player-bar strong {
    font-size: .9rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.player-bar button {
    min-width: 5rem;
    min-height: 2.75rem;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 0;
    background: transparent;
    color: #777;
    font: inherit;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

@media (max-width: 800px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-card {
        min-height: 180px;
    }

    .player-bar {
        padding: 1.25rem;
    }
}

@media (max-width: 700px) {
    .dashboard-content {
        padding-top: 1rem;
    }

    .dashboard-grid {
        margin-top: 2.5rem;
    }
}
