.tables-character-class-img { width: 30px;}

.header-title {
            text-align: center;
            padding: 20px;
            color: #fff;
            margin-bottom: 0;
        }

        .header-title h1 {
            font-size: 2.5em;
            font-weight: bold;
            margin: 0;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
            letter-spacing: 2px;
        }

        @media (max-width: 768px) {
            .header-title h1 {
                font-size: 2em;
                letter-spacing: 1px;
            }
        }

        .controls {
            padding: 15px 20px;
            background: rgba(0, 0, 0, 0.3);
            border-bottom: 1px solid rgba(255, 215, 128, 0.3);
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            align-items: center;
        }

        .search-box {
            flex: 1;
            min-width: 250px;
            position: relative;
        }

        .search-box input {
            width: 100%;
            padding: 8px 35px 8px 12px;
            border: 1px solid rgba(255, 215, 128, 0.4);
            border-radius: 15px;
            font-size: 14px;
            background: rgba(0, 0, 0, 0.6);
            color: #fff;
            transition: all 0.3s ease;
        }

        .search-box input:focus {
            outline: none;
            border-color: #ffd700;
            box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.3);
        }

        .search-box input::placeholder {
            color: rgba(255, 255, 255, 0.6);
        }

        .search-box::after {
            content: 'ðŸ”';
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            font-size: 18px;
        }

        .filter-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            align-items: center;
        }

        .filter-btn {
            padding: 6px 12px;
            border: 1px solid rgba(255, 215, 128, 0.4);
            border-radius: 15px;
            background: rgba(0, 0, 0, 0.6);
            font-size: 12px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            color: #fff;
        }

        .filter-btn:hover {
            background: rgba(0, 0, 0, 0.8);
            border-color: #ffd700;
        }

        .filter-btn.active {
            background: linear-gradient(45deg, #ffd700, #ffed4e);
            color: #000;
            border-color: #ffd700;
            font-weight: 600;
        }


        .stats {
            display: flex;
            gap: 20px;
            margin-left: auto;
        }

        .stat-item {
            text-align: center;
            padding: 10px 15px;
            background: white;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        .stat-number {
            font-size: 1.5em;
            font-weight: bold;
            color: #667eea;
        }

        .stat-label {
            font-size: 0.9em;
            color: #666;
        }

        .table-container {
            overflow-x: auto;
            padding: 10px;
        }

        .monsters-table {
            width: 100%;
            border-collapse: collapse;
            background: rgba(0, 0, 0, 0.7);
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        }

        .monsters-table th {
            background: linear-gradient(45deg, #ffd700, #ffed4e);
            color: #000;
            padding: 8px 6px;
            text-align: center;
            font-weight: 600;
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            position: sticky;
            top: 0;
            z-index: 10;
        }

        .monsters-table th:first-child {
            border-radius: 8px 0 0 0;
        }

        .monsters-table th:last-child {
            border-radius: 0 8px 0 0;
        }

        .monsters-table th:only-child {
            border-radius: 8px 8px 0 0;
        }

        .monsters-table td {
            padding: 6px 4px;
            text-align: center;
            border-bottom: 1px solid rgba(255, 215, 128, 0.2);
            transition: all 0.3s ease;
            font-size: 12px;
            color: #fff;
            font-weight: 300;
        }

        .monsters-table tr:hover {
            background: rgba(255, 215, 128, 0.1);
        }

        .monsters-table tr:hover td {
            color: #ffd700;
            font-weight: 600;
        }

        .player-name {
            font-weight: 400;
            color: #fff;
            font-size: 13px;
        }

        .kill-count {
            color: #fff;
            padding: 4px 8px;
            font-weight: 300;
            display: inline-block;
            min-width: 40px;
            text-align: center;
            font-size: 11px;
        }

        .rank-badge {
            display: inline-block;
            width: 25px;
            height: 25px;
            border-radius: 50%;
            line-height: 25px;
            font-weight: bold;
            color: #000;
            text-align: center;
            margin-right: 5px;
            font-size: 11px;
        }

        .rank-1 { background: linear-gradient(45deg, #ffd700, #ffed4e); color: #000000 !important; font-weight: 900; }
        .rank-2 { background: linear-gradient(45deg, #c0c0c0, #e8e8e8); color: #000000 !important; font-weight: 900; }
        .rank-3 { background: linear-gradient(45deg, #cd7f32, #daa520); color: #000000 !important; font-weight: 900; }
        .rank-other { background: linear-gradient(45deg, #4a4a4a, #2a2a2a); color: #fff; font-weight: bold; }

        .monster-icon {
            display: inline-block;
            width: 30px;
            height: 30px;
            background: linear-gradient(45deg, #ff6b6b, #feca57);
            border-radius: 50%;
            line-height: 30px;
            color: white;
            font-weight: bold;
            margin-right: 10px;
        }

        .loading {
            text-align: center;
            padding: 50px;
            font-size: 18px;
            color: #fff;
        }

        .spinner {
            display: inline-block;
            width: 40px;
            height: 40px;
            border: 4px solid rgba(255, 255, 255, 0.3);
            border-top: 4px solid #ffd700;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-right: 15px;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 15px;
            gap: 5px;
        }

        .pagination button {
            padding: 6px 10px;
            border: 1px solid rgba(255, 215, 128, 0.4);
            background: rgba(0, 0, 0, 0.6);
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 500;
            font-size: 12px;
            color: #fff;
        }

        .pagination button:hover:not(:disabled) {
            background: #ffd700;
            color: #000;
            border-color: #ffd700;
        }

        .pagination button:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .pagination .active {
            background: #ffd700;
            color: #000;
            border-color: #ffd700;
        }

        @media (max-width: 768px) {
            .controls {
                flex-direction: column;
                align-items: stretch;
            }

            .search-box {
                min-width: auto;
            }

            .filter-buttons {
                justify-content: center;
                max-height: 150px;
                overflow-y: auto;
            }

            .filter-btn {
                padding: 4px 8px;
                font-size: 10px;
                min-width: 60px;
            }

            .monsters-table th,
            .monsters-table td {
                padding: 4px 2px;
                font-size: 10px;
            }
        }

        .fade-in {
            animation: fadeIn 0.5s ease-in;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .monster-box {
            transition: all 0.3s ease;
            border: 1px solid rgba(255, 215, 128, 0.3);
        }

        .monster-box:hover {
            transform: scale(1.2);
            border-color: #ffd700;
            box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
        }

        .monster-boxes {
            display: flex;
            flex-wrap: wrap;
            gap: 2px;
            align-items: center;
        }