﻿:root {
    --bg: #0b1020;
    --card: rgba(255,255,255,.06);
    --stroke: rgba(255,255,255,.12);
    --text: rgba(255,255,255,.92);
    --muted: rgba(255,255,255,.70);
    --brand: #7CFF6B;
    --brand2: #34D1FF;
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

a {
    color: inherit;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

/* TOPBAR */
.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(10px);
    background: rgba(11,16,32,.72);
    border-bottom: 1px solid var(--stroke);
}

    .topbar .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 12px 16px;
    }

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brandMark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(124,255,107,.22), rgba(52,209,255,.12));
    border: 1px solid rgba(124,255,107,.25);
    box-shadow: 0 0 22px rgba(124,255,107,.18);
}

.brandName {
    font-weight: 700;
    letter-spacing: -.01em;
}

.brandTag {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-top: 1px;
}

.navToggle {
    display: none;
    border: 1px solid var(--stroke);
    background: rgba(255,255,255,.05);
    color: var(--text);
    border-radius: 12px;
    padding: 10px 12px;
    cursor: pointer;
}

.nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .nav a {
        text-decoration: none;
        padding: 10px 12px;
        border-radius: 12px;
        border: 1px solid transparent;
        color: var(--muted);
        transition: background .12s ease, transform .12s ease, color .12s ease;
    }

        .nav a:hover {
            background: rgba(255,255,255,.06);
            border-color: var(--stroke);
            color: var(--text);
            transform: translateY(-1px);
        }

.navSep {
    width: 1px;
    height: 26px;
    background: var(--stroke);
    margin: 0 4px;
}

.navBtn {
    border: 1px solid rgba(124,255,107,.30) !important;
    background: linear-gradient(135deg, rgba(124,255,107,.18), rgba(52,209,255,.08));
    color: var(--text) !important;
}

/* PAGE */
.page {
    padding: 18px 0 40px;
}

/* FOOTER */
.footer {
    border-top: 1px solid var(--stroke);
    background: rgba(255,255,255,.03);
}

.footerGrid {
    display: grid;
    grid-template-columns: 1.2fr .8fr .6fr;
    gap: 16px;
    padding: 18px 16px;
}

.footerTitle {
    font-weight: 700;
}

.footerText {
    color: var(--muted);
    font-size: 13px;
    margin-top: 6px;
    line-height: 1.5;
}

.footerLinks {
    display: grid;
    gap: 8px;
    align-content: start;
}

    .footerLinks a {
        color: var(--muted);
        text-decoration: none;
    }

        .footerLinks a:hover {
            color: var(--text);
        }

.footerCopy {
    color: var(--muted);
    font-size: 12px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

@media (max-width: 900px) {
    .footerGrid {
        grid-template-columns: 1fr;
    }

    .footerCopy {
        justify-content: flex-start;
    }
}

/* Mobile nav */
@media (max-width: 860px) {
    .navToggle {
        display: inline-flex;
    }

    .nav {
        display: none;
        position: absolute;
        right: 16px;
        top: 64px;
        flex-direction: column;
        align-items: stretch;
        width: min(320px, calc(100vw - 32px));
        padding: 10px;
        border: 1px solid var(--stroke);
        background: rgba(11,16,32,.92);
        border-radius: 16px;
    }

        .nav.isOpen {
            display: flex;
        }

        .nav a {
            width: 100%;
        }

    .navSep {
        display: none;
    }
}
a.btn.btnDanger {
    border-color: rgba(255,120,120,.35) !important;
    background: rgba(255,120,120,.10) !important;
}

    a.btn.btnDanger.btnDangerArmed {
        border-color: rgba(255,80,80,.75) !important;
        background: rgba(255,80,80,.30) !important;
        box-shadow: 0 0 0 3px rgba(255,80,80,.12);
    }