:root {
            color-scheme: light;
            --canvas: #f7f8fb;
            --ink: #111318;
            --muted: rgba(17, 19, 24, 0.6);
            --accent: #2b2f36;
            --accent-strong: #1c1f24;
            --accent-soft: rgba(28, 31, 36, 0.12);
            --panel: rgba(255, 255, 255, 0.92);
            --panel-strong: #ffffff;
            --stroke: rgba(17, 19, 24, 0.08);
            --stroke-strong: rgba(13, 27, 42, 0.3);
            --shadow: 0 14px 32px rgba(17, 19, 24, 0.08), 0 2px 8px rgba(17, 19, 24, 0.05);
            --shadow-soft: 0 8px 20px rgba(17, 19, 24, 0.06), 0 2px 6px rgba(17, 19, 24, 0.04);
        }

        * {
            box-sizing: border-box;
        }

        body {
            margin: 0;
            min-height: 100vh;
            font-family: "Manrope", "Noto Sans", sans-serif;
            color: var(--ink);
            background: var(--canvas);
            position: relative;
            overflow-x: hidden;
        }

        body::before {
            content: none;
            display: none;
        }

        body::after {
            content: none;
            display: none;
        }

        .page {
            max-width: 1600px;
            margin: 26px auto 70px;
            padding: 18px;
            position: relative;
            z-index: 1;
            border-radius: 32px;
            background: var(--panel-strong);
            border: 1px solid var(--stroke);
            box-shadow: var(--shadow);
            animation: pageIn 0.8s ease-out both;
        }

        @supports (backdrop-filter: blur(2px)) {
            .page {
                backdrop-filter: blur(18px);
            }
        }

        .site-header {
            display: grid;
            gap: 16px;
            padding: 16px 18px;
            background: rgba(255, 255, 255, 0.68);
            border: 1px solid var(--stroke);
            border-radius: 22px;
            box-shadow: var(--shadow-soft);
            backdrop-filter: blur(14px);
        }

        .header-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 14px;
            flex-wrap: nowrap;
        }

        .brand {
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
            color: inherit;
        }

        .brand-mark {
            width: 46px;
            height: 46px;
            border-radius: 16px;
            display: grid;
            place-items: center;
            font-family: "Manrope", "Inter", "SF Pro", sans-serif;
            font-size: 1.35rem;
            font-weight: 700;
            background: linear-gradient(145deg, var(--accent), var(--accent-strong));
            color: #f5fbfb;
            letter-spacing: 0.06em;
            box-shadow: 0 14px 24px rgba(3, 10, 18, 0.3);
        }

        .brand-text {
            display: flex;
            flex-direction: column;
            line-height: 1.05;
        }

        .brand-text span:first-child {
            font-size: 0.65rem;
            letter-spacing: 0.26em;
            text-transform: uppercase;
            color: var(--muted);
        }

        .brand-text span:last-child {
            font-family: "Manrope", "Inter", "SF Pro", sans-serif;
            font-size: 1.35rem;
            font-weight: 700;
        }

        .nav-panel {


            display: flex;


            flex: 1 1 auto;


            min-width: 0;


            flex-wrap: nowrap;


            overflow-x: auto;


            justify-content: center;


            gap: 10px;


            padding: 8px 12px;


            border-radius: 18px;


            background: rgba(13, 27, 42, 0.08);


            border: 1px solid rgba(13, 27, 42, 0.12);


        }

        .nav-group {
            display: contents;
        }

        .nav-group-title {
            display: none;
        }

        .nav-links {
            display: contents;
        }

        .nav-link {


            text-decoration: none;


            color: var(--ink);


            background: rgba(255, 255, 255, 0.9);


            border-radius: 999px;


            border: 1px solid rgba(13, 27, 42, 0.16);


            padding: 6px 14px;


            display: inline-flex;


            white-space: nowrap;


            align-items: center;


            gap: 6px;


            font-size: 0.9rem;


            font-weight: 600;


            transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;


        }

        .nav-link span {


            font-weight: 600;


            font-size: 0.9rem;


        }

        .nav-link small {
            display: none;
        }

        .nav-link:hover {
            transform: translateY(-1px);
            border-color: rgba(28, 31, 36, 0.4);
            box-shadow: 0 10px 18px rgba(3, 10, 18, 0.16);
        }

        .nav-link.primary {


            background: linear-gradient(140deg, var(--accent), var(--accent-strong));


            border-color: rgba(28, 31, 36, 0.5);


            color: #f5fbfb;


            box-shadow: 0 10px 18px rgba(3, 10, 18, 0.24);


        }

        .auth {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            padding: 6px;
            border-radius: 999px;
            background: rgba(255, 255, 255, 0.78);
            border: 1px solid rgba(18, 20, 24, 0.12);
            box-shadow: var(--shadow-soft);
            backdrop-filter: blur(10px);
        }

        .auth .btn {
            padding: 9px 16px;
            font-size: 0.75rem;
            letter-spacing: 0.12em;
            text-transform: uppercase;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 12px 20px;
            border-radius: 999px;
            font-weight: 600;
            text-decoration: none;
            border: 1px solid transparent;
            background-clip: padding-box;
            transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
        }

        .btn:hover {
            transform: translateY(-1px);
            box-shadow: 0 14px 20px rgba(0, 0, 0, 0.14);
        }

        .btn:focus-visible {
            outline: 2px solid rgba(17, 17, 17, 0.55);
            outline-offset: 3px;
        }

        .btn.primary {
            background: linear-gradient(145deg, var(--accent), var(--accent-strong));
            color: #f5fbfb;
            box-shadow: 0 12px 20px rgba(3, 10, 18, 0.3);
        }

        .btn.primary:hover {
            box-shadow: 0 16px 26px rgba(15, 18, 22, 0.26);
        }

        .btn.ghost {
            border-color: rgba(13, 27, 42, 0.2);
            color: var(--accent-strong);
            background: rgba(255, 255, 255, 0.84);
        }

        .btn.outline {
            border-color: rgba(13, 27, 42, 0.35);
            color: var(--accent-strong);
            background: transparent;
        }

        .btn.outline:hover {
            background: rgba(20, 22, 26, 0.06);
        }

        .dashboard {
            margin-top: 26px;
            display: grid;
            grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
            gap: 24px;
            align-items: stretch;
        }

        .hero {
            display: grid;
            gap: 20px;
            align-items: stretch;
        }

        .hero-copy {
            background: var(--panel);
            border: 1px solid var(--stroke);
            border-radius: 24px;
            padding: 28px;
            box-shadow: var(--shadow-soft);
        }

        .hero-kicker {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 6px 14px;
            border-radius: 999px;
            border: 1px solid rgba(28, 31, 36, 0.35);
            background: linear-gradient(120deg, rgba(28, 31, 36, 0.25), rgba(28, 31, 36, 0.22));
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.22em;
            color: var(--accent-strong);
            font-weight: 700;
            box-shadow: 0 10px 18px rgba(3, 10, 18, 0.22);
        }

        .hero-title {
            margin: 10px 0 12px;
            font-family: "Manrope", "Inter", "SF Pro", sans-serif;
            font-size: clamp(2.2rem, 2.3vw + 1.6rem, 3.4rem);
            font-weight: 700;
        }

        .hero-lead {
            color: #0f1924;
            font-size: 1.05rem;
            line-height: 1.6;
            margin-bottom: 20px;
        }

        .hero-actions {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
            margin-bottom: 22px;
            align-items: center;
        }

        .copy-toast {
            min-width: 180px;
            padding: 8px 12px;
            border-radius: 12px;
            background: rgba(0, 0, 0, 0.8);
            color: #f5f7fb;
            font-weight: 700;
            opacity: 0;
            transform: translateY(8px);
            transition: opacity 0.2s ease, transform 0.2s ease;
            pointer-events: none;
        }

        .copy-toast.show {
            opacity: 1;
            transform: translateY(0);
        }

        .hero-meta {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
            gap: 12px;
        }

        .meta-item {
            background: rgba(255, 255, 255, 0.85);
            border: 1px solid rgba(18, 20, 24, 0.1);
            border-radius: 16px;
            padding: 12px 14px;
            box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
        }

        .meta-item span {
            display: block;
            font-size: 0.72rem;
            text-transform: uppercase;
            letter-spacing: 0.18em;
            color: var(--muted);
        }

        .meta-item strong {
            font-size: 1rem;
            font-weight: 600;
        }

        .hero-card {
            background: var(--panel-strong);
            border: 1px solid var(--stroke);
            border-radius: 22px;
            padding: 24px;
            box-shadow: var(--shadow-soft);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            gap: 18px;
            animation: float 7s ease-in-out infinite;
        }

        .status-title {
            margin: 0;
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.24em;
            color: var(--muted);
        }

        .status-line {
            display: flex;
            align-items: center;
            gap: 10px;
            margin: 12px 0;
            font-size: 1.15rem;
            font-weight: 600;
        }

        .status-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #6f7c8a;
            box-shadow: 0 0 0 6px rgba(111, 124, 138, 0.2);
        }

        .dot-online {
            background: var(--accent);
            box-shadow: 0 0 0 6px rgba(28, 31, 36, 0.24);
        }

        .dot-offline {
            background: #8a95a3;
            box-shadow: 0 0 0 6px rgba(138, 149, 163, 0.2);
        }

        .status-card {
            padding: 14px 16px;
            border-radius: 16px;
            background: rgba(255, 255, 255, 0.9);
            border: 1px solid var(--stroke);
        }

        .status-online {
            border-color: rgba(28, 31, 36, 0.4);
        }

        .status-offline {
            border-color: rgba(138, 149, 163, 0.4);
        }

        .status-card p {
            margin: 0 0 8px;
            color: var(--muted);
            font-size: 0.95rem;
        }

        .status-detail {
            display: flex;
            justify-content: space-between;
            gap: 8px;
            font-weight: 600;
        }

        .faq-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 14px;
            margin-top: 18px;
        }

        .faq-item {
            padding: 16px 18px;
            border-radius: 16px;
            border: 1px solid var(--stroke);
            background: rgba(255, 255, 255, 0.9);
            box-shadow: var(--shadow-soft);
            display: grid;
            gap: 8px;
        }

        .faq-item h3 {
            margin: 0;
            font-size: 1.02rem;
        }

        .faq-item p {
            margin: 0;
            color: var(--muted);
            line-height: 1.5;
        }

        .section {
            margin-top: 28px;
            padding: 28px;
            background: var(--panel);
            border-radius: 24px;
            border: 1px solid var(--stroke);
            box-shadow: var(--shadow-soft);
            opacity: 0;
            transform: translateY(18px);
            animation: rise 0.8s ease-out forwards;
        }

        .dashboard .section {
            margin-top: 0;
        }

        .section.news {
            animation-delay: 0.2s;
        }

        .section.faq {
            animation-delay: 0.25s;
        }

        .section-title {
            font-family: "Manrope", "Inter", "SF Pro", sans-serif;
            font-size: 1.7rem;
            margin: 0;
        }

        .section-lead {
            margin: 0;
            color: var(--muted);
            line-height: 1.5;
            max-width: 640px;
        }

        .section-head {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 18px;
            flex-wrap: wrap;
        }

        .section-head > div {
            display: grid;
            gap: 6px;
        }

        .section-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            align-items: center;
        }

        .section.servers,
        .section.news,
        .section.status,
        .section.faq {
            position: relative;
            overflow: hidden;
        }

        .section.future {
            position: relative;
            overflow: hidden;
        }

        .section.servers {
            background: var(--panel);
            border-color: var(--stroke);
            box-shadow: var(--shadow-soft);
        }

        .section.news {
            background: var(--panel);
            border-color: var(--stroke);
            box-shadow: var(--shadow-soft);
        }

        .section.status {
            background: var(--panel);
            border-color: var(--stroke);
            box-shadow: var(--shadow-soft);
        }

        .section.faq {
            background: var(--panel);
            border-color: var(--stroke);
            box-shadow: var(--shadow-soft);
        }

        .section.future {
            background: var(--panel);
            border-color: var(--stroke);
            box-shadow: var(--shadow-soft);
        }

        .section.servers::before,
        .section.news::before,
        .section.status::before,
        .section.faq::before {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: 24px;
            pointer-events: none;
        }

        .section.future::before {
            content: "";
            position: absolute;
            inset: 0;
            border-radius: 24px;
            pointer-events: none;
        }

        .section.servers::before {
            background: none;
        }

        .section.news::before {
            background: none;
        }

        .section.status::before {
            background: none;
        }

        .section.servers > *,
        .section.news > *,
        .section.status > * {
            position: relative;
            z-index: 1;
        }

        .section.future > * {
            position: relative;
            z-index: 1;
        }

        .section.servers .section-title,
        .section.news .section-title,
        .section.status .section-title {
            color: var(--ink);
        }

        .section.future .section-title {
            color: var(--ink);
        }

        .section.servers .section-lead,
        .section.news .section-lead,
        .section.status .section-lead {
            color: var(--muted);
        }

        .section.future .section-lead {
            color: var(--muted);
        }

        .servers-grid {
            display: grid;
            gap: 18px;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            margin-top: 18px;
        }

        .server-card {
            padding: 20px;
            border-radius: 20px;
            background: rgba(255, 255, 255, 0.9);
            border: 1px solid var(--stroke);
            display: grid;
            gap: 14px;
            box-shadow: var(--shadow-soft);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .server-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 24px 40px rgba(3, 10, 18, 0.24);
            border-color: rgba(28, 31, 36, 0.38);
        }

        .server-card-top {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 12px;
        }

        .server-card h3 {
            margin: 0;
            font-family: "Manrope", "Inter", "SF Pro", sans-serif;
            font-size: 1.2rem;
            color: #0f172a;
        }

        .server-card p {
            margin: 0;
            color: #475569;
            line-height: 1.5;
        }

        .server-badge {
            padding: 6px 12px;
            border-radius: 999px;
            background: linear-gradient(140deg, var(--accent), var(--accent-strong));
            border: 1px solid rgba(28, 31, 36, 0.45);
            font-size: 0.74rem;
            font-weight: 700;
            color: #e8f6f6;
            white-space: nowrap;
            box-shadow: 0 10px 18px rgba(3, 10, 18, 0.22);
        }

        .server-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            font-weight: 600;
            color: #1f2937;
        }

        .server-meta > span:not(.server-status) {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 10px;
            border-radius: 999px;
            background: #ffffff;
            border: 1px solid rgba(15, 23, 42, 0.12);
            font-size: 0.82rem;
        }

        .server-status {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 12px;
            border-radius: 999px;
            background: rgba(28, 31, 36, 0.14);
            border: 1px solid rgba(28, 31, 36, 0.4);
            color: var(--accent-strong);
            font-size: 0.78rem;
            font-weight: 700;
        }

        .server-status-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #8a95a3;
            box-shadow: 0 0 0 4px rgba(138, 149, 163, 0.2);
        }

        .server-status.online .server-status-dot {
            background: #22c55e;
            box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.28);
        }

        .server-status.offline .server-status-dot {
            background: #ef4444;
            box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.28);
        }

        .server-status.online {
            background: rgba(28, 31, 36, 0.2);
            border-color: rgba(28, 31, 36, 0.45);
            color: var(--accent-strong);
        }

        .server-status.offline {
            background: rgba(111, 124, 138, 0.22);
            border-color: rgba(111, 124, 138, 0.38);
            color: #2c3744;
        }

        .empty-state {
            margin: 12px 0 0;
            color: var(--muted);
        }

        .leaderboards-grid {
            display: grid;
            gap: 16px;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            margin-top: 18px;
        }

        .leaderboard-card {
            padding: 18px;
            border-radius: 18px;
            border: 1px solid var(--stroke);
            background: rgba(255, 255, 255, 0.9);
            box-shadow: var(--shadow-soft);
            display: grid;
            gap: 12px;
        }

        .leaderboard-card h3 {
            margin: 0;
            font-size: 1.05rem;
        }

        .leaderboard-periods {
            display: grid;
            gap: 10px;
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .leaderboard-period h4 {
            margin: 0 0 8px;
            font-size: 0.82rem;
            text-transform: uppercase;
            letter-spacing: 0.15em;
            color: var(--muted);
        }

        .leaderboard-list {
            list-style: none;
            margin: 0;
            padding: 0;
            display: grid;
            gap: 6px;
        }

        .leaderboard-list li {
            display: grid;
            grid-template-columns: auto 1fr auto;
            gap: 8px;
            align-items: center;
            padding: 8px 10px;
            border-radius: 12px;
            border: 1px solid rgba(13, 27, 42, 0.1);
            background: rgba(255, 255, 255, 0.95);
        }

        .leaderboard-rank {
            font-weight: 700;
            color: var(--accent-strong);
            min-width: 18px;
        }

        .leaderboard-user {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            font-weight: 600;
        }

        .leaderboard-value {
            font-weight: 700;
            color: var(--accent-strong);
            white-space: nowrap;
        }

        .news-grid {
            display: grid;
            gap: 18px;
            grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
        }

        .news-card {
            padding: 18px;
            border-radius: 18px;
            background: rgba(255, 255, 255, 0.82);
            border: 1px solid rgba(18, 20, 24, 0.12);
            display: grid;
            gap: 10px;
            opacity: 0;
            transform: translateY(16px);
            box-shadow: var(--shadow-soft);
            animation: rise 0.7s ease-out forwards;
        }

        .news-card:nth-child(1) { animation-delay: 0.35s; }
        .news-card:nth-child(2) { animation-delay: 0.45s; }
        .news-card:nth-child(3) { animation-delay: 0.55s; }

        .news-cover-wrap {
            border-radius: 12px;
            overflow: hidden;
            border: 1px solid rgba(18, 20, 24, 0.12);
            background: rgba(255, 255, 255, 0.82);
        }

        .news-cover {
            width: 100%;
            max-height: 180px;
            object-fit: cover;
            display: block;
        }

        .future-grid {
            display: grid;
            gap: 16px;
            grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
            margin-top: 18px;
        }

        .future-card {
            padding: 18px;
            border-radius: 18px;
            background: rgba(255, 255, 255, 0.88);
            border: 1px solid rgba(18, 20, 24, 0.12);
            box-shadow: var(--shadow-soft);
        }

        .future-card h3 {
            margin: 0;
            font-size: 1.05rem;
        }

        .future-card p {
            margin: 6px 0 0;
            color: var(--muted);
            line-height: 1.5;
        }

        .news-card time {
            font-size: 0.72rem;
            text-transform: uppercase;
            letter-spacing: 0.18em;
            color: var(--muted);
        }

        .news-card h3 {
            margin: 0;
            font-size: 1.1rem;
        }

        .news-card p {
            margin: 0;
            color: var(--muted);
            line-height: 1.5;
        }

        .status-grid {
            display: grid;
            gap: 18px;
            grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        }

        .status-panel {
            padding: 18px;
            border-radius: 18px;
            background: rgba(255, 255, 255, 0.82);
            border: 1px solid rgba(18, 20, 24, 0.12);
            box-shadow: var(--shadow-soft);
        }

        .status-panel h3 {
            margin: 0 0 12px;
            font-size: 1.15rem;
        }

        .status-panel ul {
            list-style: none;
            padding: 0;
            margin: 0;
            display: grid;
            gap: 10px;
            color: var(--muted);
        }

        .status-panel li {
            display: flex;
            justify-content: space-between;
            gap: 12px;
            font-weight: 600;
            color: var(--ink);
        }

        .status-panel li span {
            font-weight: 500;
            color: var(--muted);
        }

        footer {
            margin-top: 28px;
            text-align: center;
            color: var(--muted);
            font-size: 0.85rem;
            padding: 12px 18px;
            border-radius: 18px;
            border: 1px solid var(--stroke);
            background: rgba(255, 255, 255, 0.72);
            box-shadow: var(--shadow-soft);
        }

        @keyframes particleDrift {
            0% {
                transform: translate3d(0, 0, 0) scale(1);
                opacity: 0.55;
            }
            50% {
                transform: translate3d(-1.4%, 1%, 0) scale(1.02);
                opacity: 0.75;
            }
            100% {
                transform: translate3d(0, 0, 0) scale(1);
                opacity: 0.55;
            }
        }

        @keyframes particleFloat {
            0% {
                transform: translate3d(0, 0, 0) scale(1);
                opacity: 0.4;
            }
            50% {
                transform: translate3d(1.8%, -1%, 0) scale(1.03);
                opacity: 0.6;
            }
            100% {
                transform: translate3d(0, 0, 0) scale(1);
                opacity: 0.4;
            }
        }

        @keyframes pageIn {
            from { opacity: 0; transform: translateY(12px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes rise {
            from { opacity: 0; transform: translateY(16px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @keyframes float {
            0% { transform: translateY(0); }
            50% { transform: translateY(-4px); }
            100% { transform: translateY(0); }
        }

        @media (max-width: 1100px) {
            .dashboard {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 980px) {
            .site-header {
                padding: 14px;
            }

            .header-top {
                flex-direction: column;
                align-items: stretch;
            }

            .nav-panel {


                width: 100%;


                padding: 10px;


                gap: 8px;


            }

            .auth {
                align-self: stretch;
                justify-content: space-between;
            }
        }

        @media (max-width: 640px) {
            .page {
                padding: 14px;
                border-radius: 24px;
            }

            .site-header {
                padding: 12px 14px;
            }

            .section,
            .hero-copy,
            .hero-card {
                padding: 22px;
            }

            .auth {
                width: 100%;
            }

            .auth .btn {
                flex: 1 1 auto;
                text-align: center;
            }

            .leaderboard-periods {
                grid-template-columns: 1fr;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            * {
                animation: none !important;
                transition: none !important;
            }
        }
