:root {
    --background: #070b14;
    --background-soft: #0a101d;
    --sidebar: #080d17;
    --panel: #0d1422;
    --panel-hover: #111b2c;
    --border: #202c3d;
    --border-bright: #2d4059;
    --text: #f3f6fb;
    --muted: #8796aa;
    --blue: #68a9df;
    --blue-bright: #8cc8f4;
    --blue-dark: #183b59;
    --green: #42d392;
    --gold: #d2ae65;
    --radius: 12px;
}

* {
    box-sizing: border-box;
}

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

body {
    background:
        radial-gradient(circle at 75% 0%, rgba(43, 92, 135, .12), transparent 28rem),
        var(--background);
    color: var(--text);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}

button,
a {
    font: inherit;
}

button {
    cursor: pointer;
}

.app-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
}

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 250px;
    padding: 24px 18px;
    display: flex;
    flex-direction: column;
    background: rgba(8, 13, 23, .96);
    border-right: 1px solid var(--border);
}

.brand {
    display: flex;
    gap: 12px;
    align-items: center;
    color: var(--text);
    text-decoration: none;
    padding: 0 8px 26px;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border-bright);
    border-radius: 10px;
    background: linear-gradient(145deg, #142238, #0b1320);
    color: var(--blue-bright);
    font-family: Georgia, serif;
    font-weight: 700;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    letter-spacing: -.02em;
}

.brand small {
    color: var(--muted);
    font-size: 11px;
    margin-top: 3px;
}

.navigation {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nav-heading {
    color: #526276;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
    padding: 22px 12px 7px;
    text-transform: uppercase;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 12px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #9eacbd;
    text-decoration: none;
    transition: .15s ease;
}

.nav-link:hover {
    color: var(--text);
    background: var(--panel);
}

.nav-link.active {
    color: var(--blue-bright);
    background: #0f1b2b;
    border-color: #1e3046;
}

.nav-icon {
    width: 20px;
    color: var(--blue);
    text-align: center;
}

.sidebar-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 12px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: #0b111d;
}

.sidebar-footer strong,
.sidebar-footer small {
    display: block;
}

.sidebar-footer strong {
    font-size: 12px;
}

.sidebar-footer small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 10px;
}

.game-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 10px rgba(66, 211, 146, .6);
}

.main-content {
    grid-column: 2;
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 30px 42px 60px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.eyebrow {
    color: var(--blue);
    font-family: Georgia, serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .2em;
}

.topbar h1 {
    margin: 5px 0 0;
    font-size: 25px;
}

.topbar-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.status-pill {
    display: flex;
    gap: 7px;
    align-items: center;
    padding: 8px 12px;
    color: #aab7c7;
    font-size: 11px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #0b111c;
}

.status-pill span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
}

.profile-button {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-bright);
    border-radius: 50%;
    color: var(--blue-bright);
    background: #101a29;
}

.hero {
    min-height: 300px;
    padding: 48px 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background:
        linear-gradient(100deg, rgba(13, 22, 37, .98), rgba(10, 17, 29, .84)),
        var(--panel);
}

.hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -100px;
    top: -140px;
    border: 1px solid rgba(104, 169, 223, .12);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 610px;
}

.hero h2 {
    margin: 8px 0 10px;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1;
    letter-spacing: -.045em;
}

.hero p {
    max-width: 550px;
    margin: 0;
    color: #9dabbc;
    font-size: 16px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 10px;
    margin-top: 28px;
}

.button {
    padding: 11px 17px;
    border-radius: 7px;
    font-weight: 650;
}

.button.primary {
    border: 1px solid #5b9dd2;
    background: #68a9df;
    color: #07101a;
}

.button.secondary {
    border: 1px solid var(--border-bright);
    background: #101827;
    color: #c6d1dd;
}

.hero-emblem {
    position: relative;
    z-index: 2;
    padding-right: 60px;
}

.emblem-ring {
    width: 150px;
    height: 150px;
    display: grid;
    place-items: center;
    border: 1px solid #29435d;
    border-radius: 50%;
    box-shadow:
        0 0 0 18px rgba(36, 65, 91, .08),
        0 0 70px rgba(75, 143, 195, .09);
}

.emblem-ring span {
    color: #8fc8ef;
    font: 700 44px Georgia, serif;
    letter-spacing: -.08em;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 14px;
}

.stat-card {
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--panel);
}

.stat-label {
    display: block;
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
}

.stat-card strong {
    display: block;
    margin: 8px 0 4px;
    font-family: Georgia, serif;
    font-size: 28px;
    color: #dceaf6;
}

.stat-card small {
    color: #65768a;
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(300px, .7fr);
    gap: 14px;
    margin-top: 14px;
}

.panel {
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--panel);
}

.panel-header {
    padding: 20px 22px;
    border-bottom: 1px solid var(--border);
}

.panel-header h3 {
    margin: 4px 0 0;
    font-size: 17px;
}

.tool-row {
    display: grid;
    grid-template-columns: 38px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 18px 22px;
    border-bottom: 1px solid #192536;
}

.tool-row:last-child {
    border-bottom: 0;
}

.tool-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid #263b53;
    border-radius: 8px;
    background: #101c2c;
    color: var(--blue);
}

.tool-copy strong {
    font-size: 13px;
}

.tool-copy p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.tool-status {
    padding: 6px 9px;
    border: 1px solid #27374a;
    border-radius: 999px;
    color: #8495a8;
    font-size: 10px;
}

.game-card {
    padding: 22px;
}

.game-symbol {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border: 1px solid #29415a;
    border-radius: 50%;
    color: var(--gold);
    font: 700 18px Georgia, serif;
}

.game-card p {
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

.game-meta {
    display: flex;
    justify-content: space-between;
    padding: 11px 0;
    border-top: 1px solid #1b293a;
    font-size: 11px;
}

.game-meta span {
    color: var(--muted);
}

.online {
    color: var(--green);
}

@media (max-width: 1000px) {
    .app-shell {
        display: block;
    }

    .sidebar {
        position: static;
        width: 100%;
    }

    .navigation {
        display: none;
    }

    .sidebar-footer {
        display: none;
    }

    .main-content {
        padding: 24px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {
    .main-content {
        padding: 18px;
    }

    .hero {
        padding: 35px 25px;
    }

    .hero-emblem {
        display: none;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .topbar-actions .status-pill {
        display: none;
    }
}
