
        * {
            box-sizing: border-box;
        }

        .container {
            max-width: 700px;
            width: 100%;
            background: rgba(20, 30, 50, 0.3);
            backdrop-filter: blur(15px) saturate(180%);
            -webkit-backdrop-filter: blur(15px) saturate(180%);
            border-radius: 28px;
            padding: 25px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
            border: 1px solid rgba(255, 255, 255, 0.08);
            margin: 0 auto;
        }
        h1 {
            color: #fff;
            text-align: center;
            margin: 0 0 15px 0;
            font-size: 2rem;
            font-weight: 500;
            text-shadow: 0 4px 10px rgba(0,0,0,0.3);
            letter-spacing: 1px;
        }
        .tabs {
            display: flex;
            justify-content: center;
            gap: 12px;
            margin-bottom: 20px;
            flex-wrap: wrap;
        }
        .tab {
            padding: 8px 24px;
            border-radius: 40px;
            background: rgba(255,255,255,0.05);
            backdrop-filter: blur(5px);
            border: 1px solid rgba(255,255,255,0.1);
            color: #ccc;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
            text-decoration: none;
            font-size: 1.1rem;
        }
        .tab:hover {
            background: rgba(255,255,255,0.15);
            color: white;
            transform: translateY(-2px);
        }
        .tab.active {
            background: linear-gradient(145deg, #4a6fa5, #3b5a8c);
            color: white;
            border-color: rgba(255,255,255,0.3);
            box-shadow: 0 4px 12px rgba(0,0,0,0.3);
        }
        .stats {
            text-align: center;
            color: #aac8ff;
            margin-bottom: 20px;
            font-size: 1.1rem;
            background: rgba(255,255,255,0.05);
            padding: 8px 20px;
            border-radius: 40px;
            display: inline-block;
            margin-left: auto;
            margin-right: auto;
            width: fit-content;
            backdrop-filter: blur(4px);
            border: 1px solid rgba(255,255,255,0.1);
        }
        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 18px;
            margin-bottom: 10px;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 16px;
            font-weight: 600;
            color: #e0f0ff;
            font-size: 0.95rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            border: 1px solid rgba(255,255,255,0.05);
            backdrop-filter: blur(5px);
        }
        .header span:last-child {
            margin-right: 10px;
        }
        .item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 18px;
            margin-bottom: 8px;
            background: rgba(0, 0, 0, 0.2);
            border-radius: 16px;
            transition: all 0.25s ease;
            border: 1px solid rgba(255,255,255,0.03);
            backdrop-filter: blur(5px);
            cursor: pointer;
        }
        .item:hover {
            transform: translateY(-2px);
            background: rgba(30, 40, 60, 0.5);
            border-color: rgba(255,215,0,0.3);
            box-shadow: 0 8px 20px rgba(0,0,0,0.4);
        }
        .item.first-place {
            background: linear-gradient(145deg, rgba(255,215,0,0.15), rgba(200,150,0,0.05));
            border-left: 5px solid gold;
            box-shadow: 0 0 20px rgba(255,215,0,0.3);
        }
        .item.second-place {
            background: linear-gradient(145deg, rgba(192,192,192,0.15), rgba(128,128,128,0.05));
            border-left: 5px solid silver;
            box-shadow: 0 0 15px rgba(192,192,192,0.2);
        }
        .item.third-place {
            background: linear-gradient(145deg, rgba(205,127,50,0.15), rgba(139,69,19,0.05));
            border-left: 5px solid #cd7f32;
            box-shadow: 0 0 15px rgba(205,127,50,0.2);
        }
        .rank {
            width: 40px;
            font-size: 1.4rem;
            text-align: left;
            filter: drop-shadow(0 2px 4px black);
            color: #ff505f;
        }
        .key {
            color: #fff;
            font-weight: 500;
            font-size: 1rem;
            flex-grow: 1;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            margin-right: 15px;
            text-shadow: 0 1px 2px rgba(0,0,0,0.5);
        }
        .value-wrapper {
            max-width: 250px;
            width: 100%;
            flex-shrink: 0;
            display: flex;
            justify-content: flex-end;
        }
        .value {
            display: block;
            height: 100%;
            min-width: 40px;
            padding: 4px 0;
            border-radius: 30px;
            font-weight: 700;
            text-align: center;
            font-size: 0.9rem;
            color: #fff;
            box-shadow: 0 4px 10px rgba(0,0,0,0.3);
            border: 1px solid rgba(255,255,255,0.2);
            background: linear-gradient(135deg, #ff6b6b, #8b0000);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        @media (max-width: 600px) {
            .container {
                padding: 15px;
            }
            h1 {
                font-size: 1.6rem;
            }
            .tab {
                padding: 6px 16px;
                font-size: 0.95rem;
            }
            .stats {
                font-size: 0.9rem;
                padding: 6px 12px;
            }
            .header {
                padding: 8px 12px;
                font-size: 0.8rem;
            }
            .item {
                padding: 8px 12px;
            }
            .key {
                font-size: 0.9rem;
                margin-right: 8px;
            }
            .value-wrapper {
                max-width: 100px;
            }
            .value {
                font-size: 0.8rem;
                padding: 3px 0;
                min-width: 35px;
            }
            .rank {
                font-size: 1.2rem;
                width: 30px;
            }
        }
        .footer {
            margin-top: 20px;
            text-align: center;
            color: rgba(255,255,255,0.5);
            font-size: 0.8rem;
        }

        /* Модальное окно */
        .modal {
            display: none;
            position: fixed;
            z-index: 2000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.8);
            backdrop-filter: blur(5px);
            justify-content: center;
            align-items: center;
        }
        .modal-content {
            background: #1e2a3a;
            border-radius: 20px;
            width: 90%;
            max-width: 900px;
            height: 85%;
            box-shadow: 0 20px 40px rgba(0,0,0,0.5);
            border: 1px solid rgba(255,215,0,0.3);
            display: flex;
            flex-direction: column;
            overflow: hidden;
            animation: fadeInUp 0.3s ease;
        }
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        .modal-header {
            padding: 15px 20px;
            background: rgba(0,0,0,0.5);
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid rgba(255,215,0,0.3);
        }
        .modal-header h3 {
            margin: 0;
            color: #ffd966;
            font-size: 1.2rem;
        }
        .close-modal {
            color: #fff;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
            transition: 0.2s;
            line-height: 1;
        }
        .close-modal:hover {
            color: #ffaa00;
        }
        .modal-body {
            flex: 1;
            background: #fff;
        }
        .modal-body iframe {
            width: 100%;
            height: 100%;
            border: none;
        }
        @media (max-width: 600px) {
            .modal-content {
                width: 95%;
                height: 90%;
            }
        }
