:root {
    color-scheme: dark;

    --bg: #070503;
    --bg-soft: #100a05;
    --panel: rgba(27, 18, 9, .96);
    --panel-soft: rgba(36, 24, 11, .88);

    --gold: #d8a94f;
    --gold-light: #f4ce80;

    --text: #f6eddf;
    --muted: #bdae96;

    --border: rgba(216, 169, 79, .28);

    --green: #68d391;
    --red: #ef7777;
}

* {
    box-sizing: border-box;
}

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

body {
    min-height: 100vh;

    font-family:
        "Segoe UI",
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;

    color: var(--text);

    background:
        radial-gradient(circle at 50% -20%, rgba(216, 169, 79, .22), transparent 38rem),
        linear-gradient(145deg, #050302, var(--bg-soft) 52%, #050302);
}

a {
    color: inherit;
}

.floki-topbar {
    position: sticky;
    top: 0;
    z-index: 100;

    border-bottom: 1px solid var(--border);

    background:
        rgba(7, 5, 3, .94);

    backdrop-filter: blur(16px);
}

.floki-topbar-inner {
    width: min(1380px, calc(100% - 30px));

    margin: auto;

    min-height: 70px;

    display: flex;

    align-items: center;

    gap: 18px;
}

.floki-brand {
    display: flex;

    align-items: center;

    gap: 12px;

    text-decoration: none;

    font-weight: 900;

    color: var(--gold-light);
}

.floki-brand-icon {
    width: 42px;
    height: 42px;

    display: grid;

    place-items: center;

    border-radius: 13px;

    border: 1px solid var(--border);

    background:
        linear-gradient(
            145deg,
            rgba(216,169,79,.17),
            rgba(216,169,79,.04)
        );

    font-size: 1.35rem;
}

.floki-nav {
    margin-left: auto;

    display: flex;

    align-items: center;

    gap: 9px;
}

.floki-nav a {
    padding: 9px 13px;

    border-radius: 10px;

    text-decoration: none;

    color: var(--muted);

    border: 1px solid transparent;
}

.floki-nav a:hover {
    color: var(--gold-light);

    border-color: var(--border);

    background: rgba(216,169,79,.06);
}

.floki-user {
    padding: 8px 12px;

    border-radius: 999px;

    border: 1px solid var(--border);

    color: var(--gold-light);

    font-size: .86rem;

    font-weight: 800;
}

.floki-page {
    width: min(1380px, calc(100% - 30px));

    margin: 0 auto;

    padding: 34px 0 70px;
}

.floki-hero,
.floki-panel {
    border: 1px solid var(--border);

    border-radius: 27px;

    background:
        linear-gradient(
            145deg,
            rgba(34,22,10,.96),
            rgba(10,7,4,.96)
        );

    box-shadow:
        0 25px 80px rgba(0,0,0,.35);
}

.floki-hero {
    padding: 38px;
}

.floki-panel {
    padding: 30px;
}

.floki-kicker {
    display: inline-flex;

    padding: 7px 11px;

    border-radius: 999px;

    border: 1px solid var(--border);

    color: var(--gold-light);

    background:
        rgba(216,169,79,.07);

    font-size: .76rem;

    font-weight: 900;

    letter-spacing: .12em;

    text-transform: uppercase;
}

.floki-hero h1,
.floki-panel h1 {
    margin: 16px 0 10px;

    font-size:
        clamp(
            2.2rem,
            5vw,
            4.7rem
        );

    line-height: 1;
}

.floki-hero p,
.floki-panel p {
    max-width: 900px;

    color: var(--muted);

    line-height: 1.65;
}

.floki-status-row {
    display: flex;

    flex-wrap: wrap;

    gap: 9px;

    margin-top: 20px;
}

.floki-status {
    padding: 7px 11px;

    border-radius: 999px;

    border: 1px solid var(--border);

    color: #d9cbb4;

    font-size: .82rem;
}

.floki-status.good {
    color: #9be6b5;

    border-color:
        rgba(104,211,145,.34);
}

.floki-section {
    margin-top: 28px;
}

.floki-section-title {
    margin:
        0
        0
        14px;

    color: var(--gold-light);

    font-size: 1.25rem;
}

.floki-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0,1fr)
        );

    gap: 15px;
}

.floki-card {
    min-height: 190px;

    display: flex;

    flex-direction: column;

    padding: 20px;

    border-radius: 20px;

    border: 1px solid var(--border);

    background:
        linear-gradient(
            180deg,
            var(--panel),
            rgba(9,6,3,.97)
        );

    text-decoration: none;

    transition:
        transform .18s ease,
        border-color .18s ease,
        background .18s ease;
}

.floki-card:hover {
    transform: translateY(-3px);

    border-color:
        rgba(244,206,128,.67);

    background:
        linear-gradient(
            180deg,
            var(--panel-soft),
            rgba(10,6,3,.98)
        );
}

.floki-card-icon {
    font-size: 1.7rem;
}

.floki-card h3 {
    margin:
        13px
        0
        8px;

    color: var(--gold-light);
}

.floki-card p {
    margin: 0;

    color: var(--muted);

    line-height: 1.5;

    font-size: .93rem;
}

.floki-card-open {
    margin-top: auto;

    padding-top: 18px;

    color: var(--gold-light);

    font-weight: 800;

    font-size: .88rem;
}

.floki-form {
    max-width: 520px;

    margin:
        40px
        auto
        0;
}

.floki-field {
    margin-bottom: 17px;
}

.floki-field label {
    display: block;

    margin-bottom: 7px;

    color: #e8dac4;

    font-weight: 700;
}

.floki-input {
    width: 100%;

    min-height: 48px;

    padding: 11px 14px;

    border-radius: 12px;

    border:
        1px
        solid
        var(--border);

    outline: none;

    color: var(--text);

    background:
        rgba(0,0,0,.32);

    font: inherit;
}

.floki-input:focus {
    border-color: var(--gold-light);

    box-shadow:
        0
        0
        0
        3px
        rgba(216,169,79,.10);
}

.floki-button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 45px;

    padding:
        10px
        17px;

    border-radius: 11px;

    border:
        1px
        solid
        var(--border);

    text-decoration: none;

    cursor: pointer;

    font: inherit;

    font-weight: 900;
}

.floki-button.primary {
    color: #160e05;

    background:
        linear-gradient(
            135deg,
            var(--gold-light),
            var(--gold)
        );
}

.floki-button.secondary {
    color: var(--gold-light);

    background:
        rgba(216,169,79,.06);
}

.floki-error {
    margin-bottom: 18px;

    padding: 13px 15px;

    border-radius: 12px;

    border:
        1px
        solid
        rgba(239,119,119,.36);

    color: #ffb7b7;

    background:
        rgba(239,119,119,.08);
}

.floki-success {
    margin-bottom: 18px;

    padding: 13px 15px;

    border-radius: 12px;

    border:
        1px
        solid
        rgba(104,211,145,.35);

    color: #a8edbd;

    background:
        rgba(104,211,145,.07);
}

.floki-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 20px;
}

.floki-footer {
    margin-top: 40px;

    padding:
        24px
        0;

    border-top:
        1px
        solid
        var(--border);

    text-align: center;

    color: #817461;

    font-size: .88rem;
}

@media(max-width:1050px) {
    .floki-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0,1fr)
            );
    }
}

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

    .floki-hero,
    .floki-panel {
        padding:23px;
    }

    .floki-nav .hide-mobile {
        display:none;
    }

    .floki-page {
        width:
            min(
                100% - 20px,
                1380px
            );
    }
}
