
        :root {
            --gold: #c9a84c;
            --gold-light: #e8d398;
            --gold-dim: #8a7235;
            --deep-night: #0a0a12;
            --purple-dark: #1a1028;
            --cream: #f0e6d0;
            --cream-dim: #b8a88a;
            --red-carnival: #8b2232;
            --bronze: #cd7f32;
            --silver: #c0c0c0;
            --gold-medal: #ffd700;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; }

        body {
            background: var(--deep-night);
            color: var(--cream);
            font-family: 'Crimson Pro', Georgia, serif;
            font-size: 18px;
            line-height: 1.6;
            overflow-x: hidden;
            min-height: 100vh;
        }

        body::before {
            content: '';
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background:
                radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.4), transparent),
                radial-gradient(1px 1px at 30% 60%, rgba(255,255,255,0.3), transparent),
                radial-gradient(1.5px 1.5px at 50% 10%, rgba(255,255,255,0.5), transparent),
                radial-gradient(1px 1px at 70% 40%, rgba(255,255,255,0.3), transparent),
                radial-gradient(1px 1px at 90% 80%, rgba(255,255,255,0.4), transparent),
                radial-gradient(1px 1px at 55% 50%, rgba(255,255,255,0.4), transparent),
                radial-gradient(1px 1px at 25% 85%, rgba(255,255,255,0.3), transparent);
            pointer-events: none;
            z-index: 0;
        }

        .page { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; padding: 40px 24px 60px; }

        /* Header */
        .header {
            text-align: center;
            padding: 40px 0 30px;
        }

        .header img {
            width: 80px;
            height: 80px;
            margin-bottom: 16px;
        }

        .header h1 {
            font-family: 'Playfair Display', serif;
            font-size: clamp(32px, 6vw, 52px);
            font-weight: 900;
            color: var(--gold);
            text-transform: uppercase;
            letter-spacing: 0.06em;
            line-height: 1.1;
        }

        .header p {
            font-family: 'Special Elite', cursive;
            font-size: 14px;
            color: var(--cream-dim);
            letter-spacing: 0.15em;
            text-transform: uppercase;
            margin-top: 8px;
        }

        .divider {
            text-align: center;
            color: var(--gold-dim);
            font-size: 14px;
            letter-spacing: 16px;
            margin: 24px 0;
        }

        /* Stats bar */
        .stats {
            display: flex;
            justify-content: center;
            gap: 40px;
            margin: 20px 0 30px;
            flex-wrap: wrap;
        }

        .stat {
            text-align: center;
        }

        .stat-number {
            font-family: 'Playfair Display', serif;
            font-size: 36px;
            font-weight: 900;
            color: var(--gold-light);
        }

        .stat-label {
            font-family: 'Special Elite', cursive;
            font-size: 11px;
            letter-spacing: 0.15em;
            text-transform: uppercase;
            color: var(--cream-dim);
        }

        /* Table */
        .leaderboard-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
        }

        .leaderboard-table thead th {
            font-family: 'Special Elite', cursive;
            font-size: 12px;
            letter-spacing: 0.15em;
            text-transform: uppercase;
            color: var(--gold);
            text-align: left;
            padding: 12px 16px;
            border-bottom: 1px solid var(--gold-dim);
        }

        .leaderboard-table thead th:nth-child(1) {
            width: 50px;
            text-align: center;
        }

        .leaderboard-table thead th:nth-child(3) {
            width: 80px;
            text-align: center;
        }

        .leaderboard-table thead th:nth-child(4) {
            width: 100px;
            text-align: center;
        }

        .leaderboard-table tbody tr {
            border-bottom: 1px solid rgba(201, 168, 76, 0.08);
            transition: background 0.2s ease;
        }

        .leaderboard-table tbody tr:hover {
            background: rgba(201, 168, 76, 0.04);
        }

        .leaderboard-table td {
            padding: 10px 16px;
            font-size: 16px;
            color: var(--cream);
        }

        .leaderboard-table td:nth-child(1) {
            text-align: center;
            font-family: 'Playfair Display', serif;
            font-weight: 700;
            color: var(--gold-dim);
            font-size: 15px;
        }

        .leaderboard-table td:nth-child(3) {
            text-align: center;
            font-family: 'Playfair Display', serif;
            font-weight: 700;
            color: var(--gold-light);
            font-size: 20px;
        }

        .leaderboard-table td:nth-child(4) {
            text-align: center;
        }

        /* Medal badges */
        .medal {
            display: inline-block;
            font-family: 'Special Elite', cursive;
            font-size: 11px;
            letter-spacing: 0.1em;
            text-transform: uppercase;
            padding: 4px 14px;
            border-radius: 2px;
        }

        .medal-gold {
            background: rgba(255, 215, 0, 0.15);
            color: var(--gold-medal);
            border: 1px solid rgba(255, 215, 0, 0.3);
        }

        .medal-silver {
            background: rgba(192, 192, 192, 0.1);
            color: var(--silver);
            border: 1px solid rgba(192, 192, 192, 0.25);
        }

        .medal-bronze {
            background: rgba(205, 127, 50, 0.1);
            color: var(--bronze);
            border: 1px solid rgba(205, 127, 50, 0.25);
        }

        /* Decorative images */
        .deco-row {
            display: flex;
            justify-content: center;
            gap: 24px;
            margin: 30px 0 10px;
            opacity: 0.7;
        }

        .deco-row img {
            width: 50px;
            height: 50px;
            object-fit: contain;
        }

        /* Loading / error */
        .loading {
            text-align: center;
            padding: 60px 0;
            font-family: 'Special Elite', cursive;
            color: var(--gold-dim);
            font-size: 16px;
            letter-spacing: 0.1em;
        }

        .loading .spinner {
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 2px solid var(--gold-dim);
            border-top-color: var(--gold);
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
            margin-bottom: 12px;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        /* Footer */
        .footer {
            text-align: center;
            margin-top: 40px;
            padding-top: 24px;
            border-top: 1px solid rgba(201, 168, 76, 0.1);
        }

        .footer a {
            font-family: 'Special Elite', cursive;
            font-size: 13px;
            color: var(--gold);
            text-decoration: none;
            letter-spacing: 0.1em;
        }

        .footer a:hover { text-decoration: underline; }

        .footer p {
            font-family: 'Special Elite', cursive;
            font-size: 11px;
            color: var(--gold-dim);
            margin-top: 8px;
            letter-spacing: 0.05em;
        }

        /* Responsive */
        @media (max-width: 500px) {
            .leaderboard-table td, .leaderboard-table th { padding: 8px 10px; }
            .stats { gap: 24px; }
            .stat-number { font-size: 28px; }
        }
    