* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(31, 159, 255, 0.28), transparent 34%),
        radial-gradient(circle at bottom right, rgba(0, 255, 220, 0.12), transparent 35%),
        linear-gradient(135deg, #050914, #07101f 45%, #02050b);
    color: #eaf7ff;
    font-family: "Exo 2", Arial, sans-serif;
}

.page {
    width: min(1180px, calc(100vw - 32px));
    margin: 0 auto;
    padding: 34px 0 60px;
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 24px;
    margin-bottom: 24px;
}

.eyebrow {
    color: #7edfff;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 13px;
    font-weight: 700;
}

h1 {
    margin: 8px 0 10px;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 0.95;
    text-transform: uppercase;
}

.subtitle {
    margin: 0;
    max-width: 680px;
    color: rgba(234, 247, 255, 0.76);
    font-size: 17px;
}

.status-card,
.panel {
    border: 1px solid rgba(93, 210, 255, 0.34);
    background: rgba(5, 15, 31, 0.78);
    box-shadow:
        0 0 28px rgba(35, 180, 255, 0.16),
        inset 0 0 20px rgba(35, 180, 255, 0.06);
    backdrop-filter: blur(12px);
}

.status-card {
    min-width: 220px;
    padding: 18px;
    border-radius: 18px;
}

.status-label {
    font-size: 12px;
    color: rgba(126, 223, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.status-value {
    margin-top: 8px;
    font-size: 16px;
    font-weight: 800;
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.tab {
    border: 1px solid rgba(93, 210, 255, 0.35);
    border-radius: 999px;
    background: rgba(5, 15, 31, 0.7);
    color: #eaf7ff;
    padding: 10px 16px;
    font-family: inherit;
    font-weight: 800;
    cursor: pointer;
}

.tab.active {
    background: rgba(55, 187, 255, 0.22);
    border-color: rgba(126, 223, 255, 0.9);
    box-shadow: 0 0 18px rgba(55, 187, 255, 0.25);
}

.layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 18px;
}

.lower-layout {
    margin-top: 18px;
}

.panel {
    border-radius: 18px;
    padding: 18px;
}

.panel-title {
    margin-bottom: 14px;
    color: #7edfff;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 13px;
    font-weight: 900;
}

.leaderboard-list,
.recent-list,
.support-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.row {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid rgba(93, 210, 255, 0.22);
    border-radius: 14px;
    background: rgba(8, 24, 45, 0.74);
    cursor: pointer;
}

.row:hover,
.row.selected {
    border-color: rgba(126, 223, 255, 0.75);
    background: rgba(18, 51, 84, 0.82);
}

.rank {
    color: #7edfff;
    font-size: 18px;
    font-weight: 900;
}

.name {
    min-width: 0;
    font-size: 17px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.score {
    font-size: 18px;
    font-weight: 900;
}

.breakdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.metric {
    padding: 12px;
    border: 1px solid rgba(93, 210, 255, 0.2);
    border-radius: 12px;
    background: rgba(8, 24, 45, 0.62);
}

.metric-label {
    color: rgba(234, 247, 255, 0.62);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.metric-value {
    margin-top: 6px;
    font-size: 20px;
    font-weight: 900;
}

.recent-item,
.support-link {
    padding: 11px 12px;
    border: 1px solid rgba(93, 210, 255, 0.2);
    border-radius: 12px;
    background: rgba(8, 24, 45, 0.62);
}

.support-link {
    color: #eaf7ff;
    text-decoration: none;
    font-weight: 800;
}

.support-link:hover {
    border-color: rgba(126, 223, 255, 0.75);
}

.empty {
    color: rgba(234, 247, 255, 0.62);
    padding: 14px;
    border: 1px dashed rgba(93, 210, 255, 0.24);
    border-radius: 12px;
}

@media (max-width: 850px) {
    .hero,
    .layout {
        grid-template-columns: 1fr;
        display: grid;
    }

    .status-card {
        min-width: 0;
    }
}