* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(88, 101, 242, .18), transparent 34rem),
        radial-gradient(circle at top right, rgba(145, 70, 255, .16), transparent 34rem),
        #0f1115;
    color: #f5f7fb;
    font-family: Arial, Helvetica, sans-serif;
}

a {
    color: inherit;
}

.site-header,
.site-footer {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.site-footer {
    color: #8f9bb0;
    font-size: 14px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 900;
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: #5865f2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav {
    display: flex;
    gap: 14px;
    color: #c7d2e5;
}

.nav a {
    text-decoration: none;
}

.page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 28px 16px;
}

.hero-card,
.card {
    background: rgba(23, 27, 34, .92);
    border: 1px solid #252b36;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 18px 50px rgba(0,0,0,.28);
}

.hero-card h1 {
    max-width: 840px;
    font-size: clamp(36px, 6vw, 68px);
    line-height: 1.02;
    margin: 16px 0;
}

.hero-card p {
    max-width: 760px;
    color: #a9b3c4;
    font-size: 18px;
    line-height: 1.6;
}

.badge {
    display: inline-flex;
    width: fit-content;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    color: #dbe4f4;
    font-size: 13px;
    font-weight: 800;
}

.badge.error {
    color: #ffd0d0;
    background: rgba(255, 80, 80, .12);
    border-color: rgba(255, 80, 80, .22);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    border-radius: 14px;
    padding: 12px 16px;
    font-weight: 900;
}

.btn.primary {
    color: white;
    background: #5865f2;
}

.btn.secondary {
    color: #dbe4f4;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.1);
}

.btn.small {
    padding: 9px 12px;
}

.grid {
    display: grid;
    gap: 16px;
    margin-top: 16px;
}

.grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.muted {
    color: #a9b3c4;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.section-heading h1 {
    margin: 12px 0 6px;
    font-size: clamp(30px, 4vw, 46px);
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead th {
    color: #b7c2d6;
    font-size: 14px;
    text-align: left;
    border-bottom: 1px solid #2b3342;
    padding: 14px 12px;
}

tbody td {
    border-bottom: 1px solid #242c3a;
    padding: 16px 12px;
}

tbody tr:hover {
    background: rgba(255,255,255,.03);
}

.rank,
.points,
.user-name {
    font-weight: 900;
}

.user-sub {
    margin-top: 4px;
    color: #94a3b8;
    font-size: 13px;
}

.pill {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.pill.discord {
    color: #dbe1ff;
    background: rgba(88, 101, 242, .2);
}

.pill.twitch {
    color: #ead8ff;
    background: rgba(145, 70, 255, .22);
}

.empty {
    text-align: center;
    color: #a9b3c4;
    padding: 40px 0;
}

@media (max-width: 720px) {
    .site-header,
    .site-footer,
    .section-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .grid.two {
        grid-template-columns: 1fr;
    }

    .hero-card,
    .card {
        padding: 20px;
    }

    tbody td,
    thead th {
        padding: 12px 8px;
    }
}
.section-gap {
    margin-top: 16px;
}

.mini-card {
    background: rgba(255, 255, 255, .035);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 18px;
    padding: 20px;
}

.mini-card h2 {
    margin: 0 0 14px;
    font-size: 20px;
}

.details {
    margin: 0;
}

.details div {
    display: grid;
    grid-template-columns: minmax(120px, 180px) 1fr;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.details div:last-child {
    border-bottom: 0;
}

.details dt {
    color: #94a3b8;
    font-size: 14px;
}

.details dd {
    margin: 0;
    color: #f5f7fb;
    word-break: break-word;
}

.status {
    display: inline-flex;
    width: fit-content;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

.status.ok {
    color: #d8ffe5;
    background: rgba(34, 197, 94, .16);
}

.status.off {
    color: #ffd6d6;
    background: rgba(239, 68, 68, .16);
}

.status.pending {
    color: #ffe8b3;
    background: rgba(245, 158, 11, .16);
}

@media (max-width: 720px) {
    .details div {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}
.home-page {
    min-height: calc(100vh - 120px);
    padding: 32px 16px 64px;
    color: #f8fafc;
    background:
        radial-gradient(circle at 12% 8%, rgba(139, 92, 246, 0.20), transparent 32%),
        radial-gradient(circle at 88% 12%, rgba(6, 182, 212, 0.13), transparent 30%),
        linear-gradient(180deg, #070b14 0%, #111827 100%);
}

.home-hero,
.home-section {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 26px;
    align-items: center;
    padding: clamp(24px, 5vw, 54px);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 32px;
    background: rgba(15, 23, 42, 0.72);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(12px);
}

.home-badge,
.home-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e1;
    font-weight: 900;
    font-size: 13px;
    letter-spacing: 0.02em;
}

.home-badge {
    padding: 8px 12px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
}

.home-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 16px rgba(34, 197, 94, 0.75);
}

.home-hero h1 {
    max-width: 760px;
    margin: 18px 0 0;
    font-size: clamp(38px, 7vw, 78px);
    line-height: 0.9;
    letter-spacing: -0.07em;
}

.home-hero-text {
    max-width: 720px;
    margin: 20px 0 0;
    color: #94a3b8;
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.65;
}

.home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.home-btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 15px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    color: #f8fafc;
    text-decoration: none;
    font-weight: 900;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.20);
    transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.home-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(139, 92, 246, 0.55);
}

.home-btn.primary {
    border-color: transparent;
    background: linear-gradient(135deg, #8b5cf6, #06b6d4);
}

.home-btn.secondary {
    background: rgba(30, 41, 59, 0.85);
}

.home-btn.ghost {
    background: rgba(15, 23, 42, 0.76);
}

.home-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 24px;
}

.platform-pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(15, 23, 42, 0.72);
    color: #94a3b8;
    font-size: 12px;
    font-weight: 900;
}

.platform-pill.active {
    color: #bbf7d0;
    border-color: rgba(34, 197, 94, 0.30);
    background: rgba(34, 197, 94, 0.12);
}

.platform-pill.soon {
    color: #ddd6fe;
    border-color: rgba(139, 92, 246, 0.28);
    background: rgba(139, 92, 246, 0.10);
}

.home-hero-preview {
    position: relative;
    display: grid;
    gap: 14px;
}

.preview-card {
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.82);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

.main-preview {
    padding: 18px;
}

.preview-card-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    color: #94a3b8;
    font-weight: 900;
}

.preview-card-head strong {
    color: #f8fafc;
}

.preview-row {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 13px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.preview-row:last-child {
    border-bottom: 0;
}

.preview-rank {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(139, 92, 246, 0.16);
}

.preview-row strong {
    display: block;
}

.preview-row small {
    color: #94a3b8;
}

.preview-row b {
    font-variant-numeric: tabular-nums;
}

.mini-preview {
    padding: 18px;
}

.mini-preview span {
    display: block;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 6px;
}

.mini-preview strong {
    display: block;
    font-size: 18px;
}

.home-section {
    margin-top: 28px;
}

.home-section-head {
    max-width: 760px;
    margin-bottom: 16px;
}

.home-section-head h2,
.home-panel h2 {
    margin: 8px 0 0;
    font-size: clamp(26px, 4vw, 44px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.home-grid {
    display: grid;
    gap: 14px;
}

.home-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-card,
.home-panel {
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.72);
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.20);
}

.home-card {
    padding: 20px;
}

.home-card-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin-bottom: 14px;
    border-radius: 17px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.8), rgba(6, 182, 212, 0.8));
    font-size: 22px;
}

.home-card h3 {
    margin: 0;
    font-size: 20px;
    letter-spacing: -0.03em;
}

.home-card p,
.home-panel p {
    margin: 10px 0 0;
    color: #94a3b8;
    line-height: 1.6;
}

.home-section.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.home-panel {
    padding: 24px;
}

.home-panel.accent {
    background:
        linear-gradient(135deg, rgba(139, 92, 246, 0.16), transparent 48%),
        rgba(15, 23, 42, 0.72);
}

.home-checks {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.home-checks li {
    color: #cbd5e1;
}

.home-checks li::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-right: 8px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.16);
    color: #86efac;
    font-weight: 900;
}

.roadmap-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.roadmap-list div {
    padding: 13px;
    border-radius: 17px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    background: rgba(15, 23, 42, 0.62);
}

.roadmap-list strong {
    display: block;
}

.roadmap-list span {
    display: block;
    margin-top: 4px;
    color: #94a3b8;
}

@media (max-width: 980px) {
    .home-hero {
        grid-template-columns: 1fr;
    }

    .home-grid.three,
    .home-section.split {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .home-page {
        padding: 20px 12px 44px;
    }

    .home-hero {
        padding: 20px;
        border-radius: 24px;
    }

    .home-actions {
        display: grid;
    }

    .home-btn {
        width: 100%;
    }

    .preview-row {
        grid-template-columns: 38px 1fr;
    }

    .preview-row b {
        grid-column: 2;
    }
}