

  /* Modern Players Section */
        .players-header {
            background: linear-gradient(135deg, #0a0e1a 0%, #141824 100%);
            padding: 20px;
            border-radius: 16px 16px 0 0;
            margin-bottom: 0;
            box-shadow: 0 2px 10px rgba(157,0,255,0.3);
            border: 1px solid rgba(157,0,255,0.2);
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 15px;
        }
        
        .players-header h3 {
            color: #fff;
            font-weight: 700;
            font-size: 1.2rem;
            margin: 0;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .players-header h3 i {
            color: #ff00e6;
            font-size: 1.1rem;
        }
        
        .players-list {
            background: linear-gradient(180deg, #0a0e1a 0%, #141824 100%);
            border-radius: 16px;
            padding: 0;
            margin-bottom: 25px;
            box-shadow: 0 4px 20px rgba(157,0,255,0.3);
            border: 1px solid rgba(157,0,255,0.1);
            overflow: hidden;
        }
        
        .players-grid {
            padding: 25px;
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 15px;
        }
        
        /* Custom scrollbar for players grid */
        .players-grid::-webkit-scrollbar {
            width: 8px;
        }
        
        .players-grid::-webkit-scrollbar-track {
            background: rgba(255,255,255,0.05);
            border-radius: 4px;
        }
        
        .players-grid::-webkit-scrollbar-thumb {
            background: linear-gradient(135deg, #9d00ff 0%, #ff00e6 100%);
            border-radius: 4px;
        }
        
        .players-grid::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(135deg, #ff00e6 0%, #9d00ff 100%);
        }
        
        .player-item {
            background: linear-gradient(135deg, #0a0e1a 0%, #141824 100%);
            padding: 18px;
            border-radius: 12px;
            margin-bottom: 0;
            display: flex;
            align-items: center;
            gap: 16px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid rgba(157,0,255,0.2);
            position: relative;
            overflow: hidden;
            cursor: pointer;
        }
        
        .player-item:hover {
            transform: translateY(-3px) scale(1.02);
            background: linear-gradient(135deg, #141824 0%, #1a1e2d 100%);
            border-color: rgba(255,0,230,0.5);
            box-shadow: 0 8px 25px rgba(157,0,255,0.4);
        }
        
        .player-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 3px;
            height: 100%;
            background: linear-gradient(180deg, #9d00ff 0%, #ff00e6 100%);
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .player-item:hover::before {
            opacity: 1;
        }
        
        .player-avatar {
            width: 55px;
            height: 55px;
            background: linear-gradient(135deg, #9d00ff 0%, #ff00e6 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 700;
            font-size: 22px;
            box-shadow: 0 4px 15px rgba(157,0,255,0.5);
            flex-shrink: 0;
            position: relative;
        }
        
        .player-avatar.online::after {
            content: '';
            position: absolute;
            bottom: 2px;
            right: 2px;
            width: 14px;
            height: 14px;
            background: #39ff14;
            border: 2px solid #0a0e1a;
            border-radius: 50%;
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0% { box-shadow: 0 0 0 0 rgba(57,255,20,0.5); }
            70% { box-shadow: 0 0 0 10px rgba(57,255,20,0); }
            100% { box-shadow: 0 0 0 0 rgba(57,255,20,0); }
        }
        
        .player-info {
            flex: 1;
            min-width: 0;
        }
        
        .player-name {
            font-weight: 700;
            color: #fff;
            display: block;
            margin-bottom: 6px;
            font-size: 1rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        .player-name a {
            color: #fff;
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
        .player-name a:hover {
            color: #667eea;
        }
        
        .player-score {
            color: #94a3b8;
            font-size: 0.85rem;
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .player-score i {
            color: #667eea;
            font-size: 0.75rem;
        }
        
        .player-status {
            color: #10b981;
            font-weight: 600;
            font-size: 0.9rem;
            padding: 6px 12px;
            background: rgba(16,185,129,0.1);
            border-radius: 8px;
            border: 1px solid rgba(16,185,129,0.2);
            display: inline-flex;
            align-items: center;
            gap: 5px;
        }
        
        .player-status.offline {
            color: #6b7280;
            background: rgba(107,114,128,0.1);
            border-color: rgba(107,114,128,0.2);
        }
        
        #players-view-select {
            background: linear-gradient(135deg, #2d3142 0%, #363b4e 100%);
            color: white;
            border: 1px solid rgba(102,126,234,0.2);
            border-radius: 8px;
            padding: 8px 15px;
            font-size: 0.9rem;
            font-weight: 500;
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        #players-view-select:hover {
            background: linear-gradient(135deg, #363b4e 0%, #3d4253 100%);
            border-color: rgba(102,126,234,0.4);
        }
        
        #players-view-select:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(102,126,234,0.2);
        }
        
        #players-view-select option {
            background: #2d3142;
            padding: 10px;
        }
        
        /* Modern Tabs Section */
        .server-details-tabs {
            margin-top: 30px;
            background: transparent;
        }
        
        .tabs-header {
            display: flex;
            gap: 10px;
            margin-bottom: 25px;
            border-bottom: 2px solid rgba(255,255,255,0.05);
            padding-bottom: 0;
            flex-wrap: wrap;
        }
        
        .tab-btn {
            padding: 12px 24px;
            background: transparent;
            color: #94a3b8;
            border: none;
            border-bottom: 3px solid transparent;
            font-size: 0.95rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            position: relative;
            margin-bottom: -2px;
        }
        
        .tab-btn:hover {
            color: #fff;
            background: rgba(102,126,234,0.1);
        }
        
        .tab-btn.active {
            color: #667eea;
            border-bottom-color: #667eea;
            background: rgba(102,126,234,0.05);
        }
        
        .tab-btn i {
            font-size: 1rem;
        }
        
        .tab-content {
            display: none;
            animation: fadeIn 0.5s ease;
        }
        
        .tab-content.active {
            display: block;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        /* Mobile Tabs Dropdown Styles */
        .tabs-mobile-dropdown {
            display: none;
            position: relative;
            margin-bottom: 20px;
        }
        
        .tabs-dropdown-toggle {
            width: 100%;
            padding: 15px 20px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border: none;
            border-radius: 12px;
            color: #fff;
            font-size: 1rem;
            font-weight: 600;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
        }
        
        .tabs-dropdown-toggle:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
        }
        
        .tabs-dropdown-toggle.active {
            border-radius: 12px 12px 0 0;
        }
        
        .dropdown-label {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .dropdown-arrow {
            transition: transform 0.3s ease;
        }
        
        .tabs-dropdown-toggle.active .dropdown-arrow {
            transform: rotate(180deg);
        }
        
        .tabs-dropdown-menu {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            background: #1a1d29;
            border: 1px solid rgba(102, 126, 234, 0.3);
            border-radius: 0 0 12px 12px;
            border-top: none;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
            z-index: 1000;
            overflow: hidden;
        }
        
        .tabs-dropdown-menu.show {
            display: block;
            animation: slideDown 0.3s ease;
        }
        
        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .dropdown-item {
            width: 100%;
            padding: 15px 20px;
            background: transparent;
            border: none;
            color: #94a3b8;
            font-size: 0.95rem;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 12px;
            cursor: pointer;
            transition: all 0.3s ease;
            text-align: left;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        }
        
        .dropdown-item:last-child {
            border-bottom: none;
        }
        
        .dropdown-item:hover {
            background: rgba(102, 126, 234, 0.1);
            color: #fff;
            padding-left: 25px;
        }
        
        .dropdown-item.active {
            background: rgba(102, 126, 234, 0.15);
            color: #667eea;
            font-weight: 600;
        }
        
        .dropdown-item i {
            font-size: 1rem;
            width: 20px;
            text-align: center;
        }
        
        /* Hide desktop tabs on mobile, show dropdown */
        @media (max-width: 768px) {
            .tabs-desktop {
                display: none !important;
            }
            
            .tabs-mobile-dropdown {
                display: block;
            }
        }
        
        /* Mobile Responsive Improvements */
        @media (max-width: 768px) {
            .players-header {
                padding: 15px;
                border-radius: 12px 12px 0 0;
            }
            
            .players-header h3 {
                font-size: 1rem;
            }
            
            .players-grid {
                padding: 15px;
                gap: 10px;
                grid-template-columns: 1fr;
            }
            
            .player-item {
                padding: 12px;
                gap: 12px;
            }
            
            .player-avatar {
                width: 45px;
                height: 45px;
                font-size: 18px;
            }
            
            .player-name {
                font-size: 0.9rem;
            }
            
            .player-score {
                font-size: 0.75rem;
                flex-wrap: wrap;
                gap: 10px;
            }
            
            .player-status {
                font-size: 0.8rem;
                padding: 4px 8px;
            }
            
            /* Remove tab scrolling on mobile - using dropdown instead */
            .tab-btn {
                padding: 10px 16px;
                font-size: 0.85rem;
                white-space: nowrap;
            }
            
            #players-view-select {
                width: 100%;
                margin-top: 10px;
            }
            
            .players-header {
                flex-direction: column;
                align-items: stretch;
            }
            
            .players-filter {
                margin-top: 10px;
            }
        }
        
        /* Enhanced Map Stats */
        #map-stats-content {
            padding: 15px;
            background: rgba(255,255,255,0.02);
            border-radius: 10px;
        }
        
        .map-stat-item {
            transition: all 0.3s ease;
        }
        
        .map-stat-item:hover {
            transform: translateX(5px);
            background: rgba(102,126,234,0.1) !important;
        }
        
        /* Chart Styling for Dark Theme */
        #history canvas {
            background: rgba(255, 255, 255, 0.02);
            border-radius: 10px;
            padding: 10px;
        }
        
        #history h6 {
            color: #fff;
            font-weight: 600;
            margin-bottom: 15px;
        }
        
        #history .server-rules-card {
            background: linear-gradient(135deg, #1a1d29 0%, #252935 100%);
            padding: 25px;
            border-radius: 12px;
            border: 1px solid rgba(102,126,234,0.1);
        }
        
        #history .server-rules-card h3 {
            color: #fff;
            font-weight: 600;
            margin-bottom: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        #history .server-rules-card ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        #history .server-rules-card li {
            padding: 15px;
            margin-bottom: 15px;
            background: rgba(255,255,255,0.03);
            border-radius: 8px;
            border-left: 3px solid #667eea;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        #history .server-rules-card strong {
            color: #94a3b8;
            font-weight: 600;
        }
        
        /* Server Action Buttons */
        .server-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 20px;
        }
        
        .server-actions .btn {
            padding: 10px 20px;
            font-weight: 600;
            border-radius: 8px;
            transition: all 0.3s ease;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-size: 0.95rem;
            box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        }
        
        .server-actions .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 20px rgba(0,0,0,0.4);
        }
        
        .server-actions .btn i {
            font-size: 1rem;
        }
        
        /* Responsive Design for Action Buttons */
        @media (max-width: 768px) {
            .server-actions {
                justify-content: center;
            }
            
            .server-actions .btn {
                padding: 8px 16px;
                font-size: 0.85rem;
            }
        }
        
        /* Maps Grid Styles */
        .maps-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 20px;
            padding: 20px;
        }
        
        .map-card {
            background: linear-gradient(135deg, #1f2332 0%, #2a2e3e 100%);
            border-radius: 12px;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            border: 1px solid rgba(102,126,234,0.1);
            cursor: pointer;
        }
        
        .map-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(102,126,234,0.3);
            border-color: rgba(102,126,234,0.3);
        }
        
        .map-image {
            width: 100%;
            height: 180px;
            object-fit: cover;
            display: block;
        }
        
        .map-info {
            padding: 20px;
        }
        
        .map-info h5 {
            color: #fff;
            font-weight: 600;
            margin-bottom: 10px;
            font-size: 1.1rem;
        }
        
        .map-info p {
            color: #94a3b8;
            margin-bottom: 15px;
            font-size: 0.9rem;
        }
        
        .map-rating {
            color: #94a3b8;
            font-size: 0.9rem;
        }
        
        .map-rating .progress {
            background: rgba(255,255,255,0.1);
            border-radius: 10px;
            overflow: hidden;
        }
        
        .map-rating .progress-bar {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            font-weight: 600;
            font-size: 0.75rem;
        }
        
        @media (max-width: 768px) {
            .maps-grid {
                grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
                gap: 15px;
                padding: 15px;
            }
            
            .map-image {
                height: 150px;
            }
        }
        
        /* Timeline Styles for Name History */
        .timeline {
            position: relative;
            padding: 20px 0;
        }
        
        .timeline::before {
            content: '';
            position: absolute;
            left: 30px;
            top: 0;
            bottom: 0;
            width: 2px;
            background: linear-gradient(180deg, #10b981, #00cec9);
            opacity: 0.3;
        }
        
        .timeline-item {
            position: relative;
            padding-left: 60px;
            margin-bottom: 25px;
            animation: fadeInLeft 0.5s ease;
        }
        
        .timeline-item:last-child {
            margin-bottom: 0;
        }
        
        .timeline-marker {
            position: absolute;
            left: 22px;
            top: 5px;
            width: 16px;
            height: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .timeline-marker i {
            font-size: 12px;
            color: #10b981;
            background: #1a1d29;
            border-radius: 50%;
            box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
        }
        
        .timeline-content {
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(102, 126, 234, 0.1);
            border-radius: 10px;
            padding: 15px;
            transition: all 0.3s ease;
        }
        
        .timeline-content:hover {
            background: rgba(255, 255, 255, 0.08);
            border-color: rgba(102, 126, 234, 0.3);
            transform: translateX(5px);
        }
        
        .timeline-date {
            color: #10b981;
            font-size: 12px;
            font-weight: 500;
            margin-bottom: 10px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        
        .timeline-old-name,
        .timeline-new-name {
            color: #94a3b8;
            margin: 5px 0;
            padding: 5px 0;
        }
        
        .timeline-old-name i,
        .timeline-new-name i {
            color: #667eea;
            margin-right: 8px;
        }
        
        .timeline-old-name strong {
            color: #ef4444;
            font-weight: 600;
        }
        
        .timeline-new-name strong {
            color: #10b981;
            font-weight: 600;
        }
        
        @keyframes fadeInLeft {
            from {
                opacity: 0;
                transform: translateX(-20px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }
        
        /* Modal scrollbar styling */
        #nameHistoryBody::-webkit-scrollbar {
            width: 8px;
        }
        
        #nameHistoryBody::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 4px;
        }
        
        #nameHistoryBody::-webkit-scrollbar-thumb {
            background: linear-gradient(180deg, #667eea, #764ba2);
            border-radius: 4px;
        }
        
        #nameHistoryBody::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(180deg, #764ba2, #667eea);
        }
        
        /* Empty state animation */
        @keyframes pulse {
            0%, 100% { opacity: 0.3; transform: scale(1); }
            50% { opacity: 0.5; transform: scale(1.05); }
        }
        
        .empty-state-icon {
            animation: pulse 2s ease-in-out infinite;
        }
        
        /* Real-time update badge */
        .update-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 6px 12px;
            background: linear-gradient(135deg, #667eea, #764ba2);
            border-radius: 20px;
            font-size: 12px;
            animation: slideInDown 0.5s ease;
        }
        
        @keyframes slideInDown {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        /* Time ago styling */
        .time-ago {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            color: #64748b;
            font-size: 11px;
        }
        
        /* Modal dark theme */
        #nameHistoryModal .modal-content {
            background: #1a1d29;
            border: 1px solid rgba(102, 126, 234, 0.2);
        }
        
        #nameHistoryModal .modal-header {
            border-bottom: 1px solid rgba(102, 126, 234, 0.1);
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
        }
        
        #nameHistoryModal .modal-title {
            color: #fff;
            font-weight: 600;
        }
        
        #nameHistoryModal .btn-close {
            filter: invert(1);
        }
        
        /* END Timeline Styles */