﻿:root {
    --bg: #151a21;
    --bg-elevated: #1c222c;
    --bg-soft: #202733;
    --accent: #28b1ff;
    --accent-soft: rgba(40, 177, 255, 0.12);
    --accent-strong: rgba(40, 177, 255, 0.35);
    --text-main: #f5f7fb;
    --text-muted: #a2a9b8;
    --border-subtle: #262e3a;
    --radius-lg: 18px;
    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.55);
}

* {
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    /*background: radial-gradient(circle at top left, #222b3a 0, #151a21 48%, #0a0d12 100%); */
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

.page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.shell {
    position: relative;
    width: 100%;
    max-width: 980px;
    background: linear-gradient(135deg, #171d27 0, #11151d 50%, #171d27 100%);
    border-radius: 26px;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

    /* subtle glow strip */
    .shell::before {
        content: "";
        position: absolute;
        inset: -60%;
        background: radial-gradient(circle at 0% 0%, var(--accent-strong) 0, transparent 55%), radial-gradient(circle at 120% 0%, rgba(120, 255, 195, 0.4) 0, transparent 45%), radial-gradient(circle at 50% 110%, rgba(120, 162, 255, 0.25) 0, transparent 55%);
        opacity: 0.28;
        pointer-events: none;
    }

.shell-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 0;
}

@media (max-width: 860px) {
    .shell-inner {
        grid-template-columns: 1fr;
    }
}

.pane-main {
    padding: 32px 32px 30px 32px;
    border-right: 1px solid rgba(255, 255, 255, 0.04);
}

@media (max-width: 860px) {
    .pane-main {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    }
}

.pane-meta {
    padding: 32px 28px;
    background: radial-gradient(circle at top right, #20293a 0, #151a21 50%);
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.brand-logo img {
    height: 38px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 6px rgba(0,0,0,0.5));
}

.brand-text-main {
    font-size: 22px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
}

.brand-text-sub {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--text-muted);
}

.headline {
    margin-bottom: 8px;
    font-size: clamp(26px, 3vw, 30px);
    font-weight: 650;
}

    .headline span {
        color: var(--accent);
    }

.lede {
    margin-bottom: 20px;
    color: var(--text-muted);
    line-height: 1.5;
    font-size: 14px;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.badge {
    border-radius: 999px;
    padding: 4px 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(9, 12, 18, 0.7);
    font-size: 11px;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 8px rgba(40, 177, 255, 0.7);
}

.regions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

@media (max-width: 540px) {
    .regions {
        grid-template-columns: 1fr;
    }
}

.region-card {
    position: relative;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(145deg, var(--bg-elevated), #181f2b);
    padding: 12px 12px 14px 12px;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, border-color 0.15s ease-out, background 0.15s ease-out;
}

    .region-card::before {
        content: "";
        position: absolute;
        inset: 0;
        opacity: 0;
        background: radial-gradient(circle at top right, var(--accent-soft) 0, transparent 75%);
        transition: opacity 0.15s ease-out;
        pointer-events: none;
    }

    .region-card:hover::before {
        opacity: 1;
    }

    .region-card:hover {
        transform: translateY(-2px);
        border-color: rgba(40, 177, 255, 0.7);
        background: linear-gradient(145deg, #202838, #181f2b);
        box-shadow: 0 12px 32px rgba(0,0,0,0.7);
    }

.region-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.region-name {
    font-size: 13px;
    font-weight: 600;
}

.region-tld {
    font-size: 11px;
    color: var(--text-muted);
}

.flag-pill {
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 11px;
    background: rgba(8, 11, 17, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.region-url {
    font-size: 11px;
    color: var(--accent);
    margin-top: 4px;
    word-break: break-all;
}

.region-meta {
    margin-top: 6px;
    font-size: 11px;
    color: var(--text-muted);
}

.pane-meta-head {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.meta-card {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(10, 13, 20, 0.9);
    padding: 14px 14px 16px 14px;
    margin-bottom: 14px;
}

.meta-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}

.meta-body {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
}

.meta-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.meta-link {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 999px;
    text-decoration: none;
    color: var(--accent);
    background: rgba(11, 16, 24, 0.9);
    border: 1px solid rgba(40, 177, 255, 0.5);
    display: inline-flex;
    align-items: center;
}

    .meta-link span {
        margin-left: 4px;
    }

.footnote {
    margin-top: 10px;
    font-size: 11px;
    color: var(--text-muted);
}

    .footnote strong {
        color: var(--accent);
        font-weight: 500;
    }
