 /* CSS CHO INDEX.PHP (Toàn bộ CSS NVIDIA style và CSS cho Kill Feed đã có ở các câu trả lời trước) */
    @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
    :root { --primary-green: #76b900; --dark-bg: #1a1a1a; --darker-bg: #0d0d0d; --text-primary: #ffffff; --text-secondary: #cccccc; --text-muted: #999999; --border-color: #333333; --hover-bg: #2a2a2a; --primary-green-rgb: 118, 185, 0; }
    * { margin: 0; padding: 0; box-sizing: border-box; } html { scroll-behavior: smooth; }
    body { font-family: 'Roboto', sans-serif; background: var(--darker-bg); color: var(--text-primary); line-height: 1.6; font-size: 16px; }
    .container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
    img { max-width: 100%; height: auto; display: block; } a { text-decoration: none; color: var(--primary-green); }
    a:hover { color: #9edb2c; } h1, h2, h3, h4, h5, h6 { margin-bottom: 1rem; font-weight: 700; line-height: 1.3; }
    .section-title { text-align: center; font-size: 2.5rem; margin-bottom: 3rem; color: var(--text-primary); font-weight: 700; }
    .section-title::after { content: ''; display: block; width: 60px; height: 4px; background: var(--primary-green); margin: 0.5rem auto 0; border-radius: 2px; }
    .btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.8rem 1.8rem; border-radius: 8px; text-decoration: none; font-weight: 600; transition: all 0.3s ease; border: none; cursor: pointer; font-size: 1rem; text-align: center; }
    .btn i { margin-right: 0.5em; } .btn-primary { background: var(--primary-green); color: var(--text-primary); }
    .btn-primary:hover { background: #5f9400; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(var(--primary-green-rgb), 0.25); }
    .btn-secondary { background: transparent; color: var(--text-secondary); border: 2px solid var(--border-color); }
    .btn-secondary:hover { border-color: var(--primary-green); color: var(--primary-green); background: rgba(var(--primary-green-rgb), 0.1); }
    .btn-sm { padding: 0.6rem 1.2rem; font-size: 0.875rem; } .visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
    .no-content-message { text-align: center; padding: 2rem 0; color: var(--text-muted); font-style: italic; }
    .hero { background: linear-gradient(rgba(13,13,13,0.85), rgba(13,13,13,0.95)), url('https://dayzds.info/hinh/T3_13.png') no-repeat center center/cover; padding: 140px 0 100px; text-align: center; min-height: 70vh; display: flex; align-items: center; justify-content: center; }
    .hero-content { max-width: 800px; margin: 0 auto; padding: 0 1rem; }
    .hero h1 { font-size: clamp(2.5rem, 5vw, 3.8rem); font-weight: 700; margin-bottom: 1rem; background: linear-gradient(45deg, var(--primary-green), #a2ff00); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
    .hero p { font-size: clamp(1rem, 2.5vw, 1.2rem); color: var(--text-secondary); margin-bottom: 2.5rem; max-width: 650px; margin-left:auto; margin-right:auto; }
    .cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
    .server-status-summary { background: var(--darker-bg); padding: 4rem 0; border-bottom: 1px solid var(--border-color); }
    .status-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
    .status-card { background: var(--dark-bg); padding: 2rem 1.5rem; border-radius: 12px; border: 1px solid var(--border-color); text-align: center; transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; }
    .status-card:hover { transform: translateY(-5px); border-color: var(--primary-green); box-shadow: 0 8px 20px rgba(0,0,0,0.2); }
    .status-icon-display { font-size: 2.8rem; margin-bottom: 1rem; height: 70px; width: 70px; border-radius: 50%; background-color: rgba(var(--primary-green-rgb), 0.1); color: var(--primary-green); display: flex; align-items: center; justify-content: center; margin-left: auto; margin-right: auto; }
    .status-card h3 { color: var(--text-primary); font-size: 1.35rem; margin-bottom: 0.5rem; font-weight: 600; }
    .status-card p { color: var(--text-secondary); font-size: 0.9rem; }
    .news-section { padding: 4rem 0; background: var(--darker-bg); }
    .news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; }
    .news-card { background: var(--dark-bg); border-radius: 12px; overflow: hidden; border: 1px solid var(--border-color); display: flex; flex-direction: column; transition: transform 0.3s ease, box-shadow 0.3s ease; }
    .news-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.3); }
    .news-image-link { display: block; text-decoration: none; } .news-image { height: 200px; background-color: var(--darker-bg); overflow: hidden; }
    .news-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
    .news-card:hover .news-image img { transform: scale(1.05); }
    .placeholder-image-news { display: flex; align-items: center; justify-content: center; color: var(--text-muted); height: 100%; font-size: 2.8rem; background: linear-gradient(45deg, var(--border-color), var(--darker-bg)); }
    .news-content { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }
    .news-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; font-size: 0.85rem; color: var(--text-muted); }
    .news-meta span i { margin-right: 0.3em; } .news-category { background: var(--primary-green); color: var(--text-primary); padding: 0.25rem 0.75rem; border-radius: 20px; font-size: 0.75rem; font-weight: 600; }
    .news-content h3 { margin-bottom: 0.75rem; font-size: 1.4rem; } .news-content h3 a { color: var(--text-primary); text-decoration: none; transition: color 0.3s ease;}
    .news-content h3 a:hover { color: var(--primary-green); } .news-content p { color: var(--text-secondary); line-height: 1.6; font-size:0.95rem; margin-bottom: 1.5rem; }
    .read-more-btn { margin-top: auto; align-self: flex-start; }
    .features-display-section { padding: 4rem 0; background: var(--dark-bg); border-bottom: 1px solid var(--border-color); }
    .features-display-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
    .feature-display-card-link { text-decoration: none; color: inherit; display: block; height: 100%; border-radius: 12px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
    .feature-display-card-link:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.3); }
    .feature-display-card { background: var(--darker-bg); padding: 1.5rem; border-radius: 12px; border: 1px solid var(--border-color); text-align: center; display: flex; flex-direction: column; align-items: center; height: 100%; transition: border-color 0.3s ease; }
    .feature-display-card-link:hover .feature-display-card { border-color: var(--primary-green); }
    .feature-display-icon { margin-bottom: 1rem; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; border-radius: 50%; overflow: hidden; background-color: rgba(var(--primary-green-rgb), 0.05); border: 1px solid var(--border-color); }
    .feature-display-icon img { width: 100%; height: 100%; object-fit: contain; }
    .feature-display-icon .default-feature-icon { font-size: 2.5rem; color: var(--primary-green); opacity: 0.7; }
    .feature-display-card h3 { color: var(--text-primary); font-size: 1.2rem; margin-bottom: 0.5rem; font-weight: 600; min-height: 2.4em; line-height: 1.2em; transition: color 0.3s ease; }
    .feature-display-card-link:hover .feature-display-card h3 { color: var(--primary-green); }
    @media (max-width: 768px) { .section-title { font-size: 2rem; margin-bottom: 2rem; } .hero { padding: 120px 0 80px; } .hero h1 { font-size: 2.2rem; } .hero p { font-size: 1rem; } .cta-buttons { flex-direction: column; align-items: center; } .cta-buttons .btn { width: 80%; max-width: 300px; } .status-grid, .news-grid, .features-display-grid { grid-template-columns: 1fr; } .server-status-summary, .news-section, .features-display-section { padding: 3rem 0; } .news-card, .status-card, .feature-display-card-link { margin-bottom: 1.5rem; } }
    
    /* 
       CSS CHO PHẦN BỌC NGOÀI VÀ ĐIỀU CHỈNH NỘI DUNG NHÚNG VÀO
    */
    .kill-feed-section-wrapper {
        padding: 4rem 0;
        background: var(--darker-bg);
        border-top: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
    }
    
    /* 
      Ghi đè CSS từ file nhúng vào để nó không có nền riêng, hòa vào nền chung của trang.
      Điều này rất quan trọng để giao diện liền mạch.
    */
    .kill-feed-section-wrapper body {
        background: none !important;
        padding: 0 !important;
    }
    
    /* Ẩn tiêu đề "BẢNG XẾP HẠNG NGƯỜI CHƠI" từ file nhúng vào, vì đã có tiêu đề chung của section */
    .kill-feed-section-wrapper .header {
        display: none !important;
    }
    
    /* Ẩn nút Discord nếu có trong file nhúng */
    .kill-feed-section-wrapper .discord-btn {
        display: none !important;
    }
    
    /* Thêm style cho thông báo lỗi nếu có */
    .no-data-message {
        text-align: center;
        padding: 2rem;
        font-style: italic;
        color: var(--text-muted);
        background-color: var(--dark-bg);
        border: 1px solid var(--border-color);
        border-radius: 8px;
    }

 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-size: 99%;
        }
        
        body {
            font-family: 'Arial', sans-serif;
            background: radial-gradient(ellipse at center, #1a1a2e 0%, #16213e 25%, #0f0f23 50%, #000000 100%);
            min-height: 100vh;
            color: white;
            padding: 20px;
            position: relative;
            overflow-x: hidden;
        }
        
        /* Hiệu ứng ánh sáng huyền ảo */
        body::before {
            content: '';
            position: fixed;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: 
                radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(120, 219, 226, 0.2) 0%, transparent 50%);
            animation: mysticalLight 20s ease-in-out infinite alternate;
            pointer-events: none;
            z-index: -1;
        }
        
        /* === CSS CHO BẢNG XẾP HẠNG (COPY TỪ LEADERBOARD_PAGE.PHP) === */
.leaderboard-wrapper { max-width: 1400px; margin: 0 auto; padding: 20px; }
.leaderboard-header { text-align: center; margin-bottom: 30px; }
.leaderboard-header h1 { font-size: 2.2rem; background: linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 10px; font-weight: 700; }
.leaderboard-header p { color: #888; font-size: 0.9rem; }
.main-content { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }

/* Style chung cho mỗi box */
.data-box {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 280px;
}
.section-title { font-size: 1.5rem; text-align: center; font-weight: 600; padding: 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); margin-bottom: 0; }
.section-title::after { display: none; } /* Tắt gạch chân của theme chính */
.kills-title { background: linear-gradient(135deg, #ff6b6b, #ff8e53); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.leaderboard-title { background: linear-gradient(135deg, #4ecdc4, #44a08d); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* TẠO THANH CUỘN */
.table-container {
    flex-grow: 1;
    overflow-y: auto;
    max-height: 350px; /* BẠN CÓ THỂ CHỈNH SỐ NÀY */
}
.table-container::-webkit-scrollbar { width: 8px; }
.table-container::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.2); }
.table-container::-webkit-scrollbar-thumb { background: var(--primary-green); border-radius: 4px; }
.table-container::-webkit-scrollbar-thumb:hover { background: #9edb2c; }

/* Style cho bảng */
.table { width: 100%; border-collapse: collapse; }
.table thead { position: sticky; top: 0; z-index: 1; }
.table th { background: rgba(13, 13, 13, 0.8); backdrop-filter: blur(5px); color: #fff; padding: 12px 10px; text-align: left; font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; }
.table td { padding: 12px 10px; border-top: 1px solid rgba(255, 255, 255, 0.05); font-size: 0.9rem; }
.table tbody tr:hover { background: rgba(255, 255, 255, 0.04); }

/* Style cho các cell cụ thể */
.rank-cell { font-weight: bold; font-size: 1.1rem; text-align: center; width: 60px; }
.rank-badge { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; font-weight: bold; font-size: 1.2rem; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.2); }
.player-name { font-weight: 600; color: #fff; }
.stats-number { font-weight: bold; color: #4ecdc4; }
.weapon { color: #ff8e53; }
.distance { color: #ffd93d; }
.kd-ratio { font-weight: bold; color: #ff6b6b; }
.zombie-kills { color: #9c88ff; }
.time-survived { color: #4ecdc4; }
.no-data-cell { text-align: center; padding: 40px; color: var(--text-muted); font-style: italic; }
.error-box { background: #4d1a1a; border: 1px solid #ff6b6b; color: #fff; padding: 15px; margin: 20px auto; text-align: left; border-radius: 8px; font-family: monospace; }
        
@media (max-width: 992px) {
    .main-content { grid-template-columns: 1fr; }
    .table-container { max-height: 300px; }
     justify-content: center; /* Căn ngang */
  align-items: center;     /* Căn dọc */
 
}
        @keyframes mysticalLight {
            0% { transform: rotate(0deg) scale(1); }
            100% { transform: rotate(180deg) scale(1.1); }
        }
        
        .container {
            max-width: 1400px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }
        
        .header {
            text-align: center;
            margin-bottom: 30px;
            background: rgba(255, 255, 255, 0.05);
            backdrop-filter: blur(15px);
            border-radius: 20px;
            padding: 25px;
            border: 2px solid rgba(255, 255, 255, 0.1);
            box-shadow: 
                0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
        }
        
        .header h1 {
            font-size: 2.8em;
            margin-bottom: 15px;
            text-shadow: 
                0 0 10px rgba(255, 255, 255, 0.3),
                0 0 20px rgba(120, 119, 198, 0.5),
                0 0 30px rgba(120, 119, 198, 0.3);
            background: linear-gradient(45deg, #fff, #7877c6, #ff77c6);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .header p {
            font-size: 1.2em;
            opacity: 0.8;
            text-shadow: 0 2px 4px rgba(0,0,0,0.5);
        }
        
        .main-content {
            display: flex;
            gap: 30px;
            align-items: flex-start;
            justify-content: center; /* Căn ngang */
  align-items: center;     /* Căn dọc */
  height: 100%;            /* Chiếm toàn bộ chiều cao của trang */
        }
        
        .left-panel, .right-panel {
            flex: 1;
            background: rgba(0, 0, 0, 0.4);
            backdrop-filter: blur(20px);
            border-radius: 20px;
            border: 2px solid rgba(255, 255, 255, 0.1);
            overflow: hidden;
            box-shadow: 
                0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
            height: 350px; /* Đặt chiều cao cố định cho cả hai panel */
        }
        
        .panel-header {
            background: linear-gradient(135deg, rgba(120, 119, 198, 0.3), rgba(255, 119, 198, 0.3));
            padding: 20px;
            border-bottom: 2px solid rgba(255, 255, 255, 0.1);
            font-weight: bold;
            font-size: 1.3em;
            text-align: center;
            text-shadow: 0 2px 4px rgba(0,0,0,0.5);
        }
        
        .table-container {
            height: calc(100% - 70px); /* Trừ đi chiều cao của header */
            overflow-y: auto;
        }
        
        .table-container::-webkit-scrollbar {
            width: 8px;
        }
        
        .table-container::-webkit-scrollbar-track {
            background: rgba(255, 255, 255, 0.1);
        }
        
        .table-container::-webkit-scrollbar-thumb {
            background: rgba(120, 119, 198, 0.5);
            border-radius: 4px;
        }
        
        .kill-table, .ranking-table {
            width: 100%;
            border-collapse: separate;
            border-spacing: 0;
        }
        
        .kill-table th,
        .kill-table td {
            padding: 12px 8px;
            text-align: center;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 0.9em;
            position: relative;
        }
        
        .ranking-table th,
        .ranking-table td {
            padding: 10px 6px; /* Giảm padding để tiết kiệm không gian */
            text-align: center;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            font-size: 0.85em; /* Giảm size font để vừa hơn */
            position: relative;
        }
        
        .kill-table th,
        .ranking-table th {
            background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(120, 119, 198, 0.2));
            font-weight: bold;
            position: sticky;
            top: 0;
            z-index: 10;
            text-shadow: 0 1px 2px rgba(0,0,0,0.7);
            border-bottom: 2px solid rgba(255, 255, 255, 0.2);
        }
        
        .kill-table tr:hover,
        .ranking-table tr:hover {
            background: rgba(255, 255, 255, 0.05);
            transform: scale(1.01);
            transition: all 0.3s ease;
        }
        
        .kill-table tbody tr,
        .ranking-table tbody tr {
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .kill-table tbody tr:nth-child(even),
        .ranking-table tbody tr:nth-child(even) {
            background: rgba(255, 255, 255, 0.02);
        }
        
        .rank-cell {
            font-weight: bold;
            font-size: 1em;
            min-width: 80px; /* Giảm độ rộng */
        }
        
        .rank-legend {
            background: linear-gradient(45deg, #FFD700, #FFA500);
            color: #000;
            padding: 4px 8px; /* Giảm padding */
            border-radius: 15px;
            font-size: 1em; /* Giảm size */
            font-weight: bold;
            display: inline-block;
            text-shadow: none;
            box-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
        }
        
        .rank-veteran {
            background: linear-gradient(45deg, #C0C0C0, #A8A8A8);
            color: #000;
            padding: 4px 8px;
            border-radius: 15px;
            font-size: 1em;
            font-weight: bold;
            display: inline-block;
            text-shadow: none;
            box-shadow: 0 2px 4px rgba(192, 192, 192, 0.3);
        }
        
        .rank-survivor {
            background: linear-gradient(45deg, #CD7F32, #B8860B);
            color: #fff;
            padding: 4px 8px;
            border-radius: 15px;
            font-size: 1em;
            font-weight: bold;
            display: inline-block;
            text-shadow: none;
            box-shadow: 0 2px 4px rgba(205, 127, 50, 0.3);
        }
        
        .player-name {
            font-weight: bold;
            color: #FFD700;
            text-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
            max-width: 100px; /* Giới hạn độ rộng tên */
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        
        .kills-count {
            color: #FF6B6B;
            font-weight: bold;
            text-shadow: 0 0 5px rgba(255, 107, 107, 0.5);
        }
        
        .weapon-name {
            color: #FF77C6;
            font-weight: bold;
            text-shadow: 0 0 5px rgba(255, 119, 198, 0.3);
            max-width: 120px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        
        .distance-info {
            color: #7BDCFF;
            font-weight: bold;
        }
        
        .time-info {
            color: #98FB98;
            font-size: 0.85em;
        }
        
        .distance-compact {
            color: #98FB98;
            font-size: 0.8em;
        }
        
        .discord-btn {
            margin-top: 30px;
            text-align: center;
        }
        
        .btn {
            background: linear-gradient(45deg, #28a745, #20c997);
            color: white;
            padding: 15px 30px;
            border: none;
            border-radius: 30px;
            font-size: 1.2em;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
            box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
        }
        
        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(40, 167, 69, 0.5);
        }
        
        .no-data {
            text-align: center;
            padding: 40px;
            opacity: 0.6;
            font-style: italic;
            color: #ccc;
        }
        
        /* Responsive */
        @media (max-width: 1200px) {
            .main-content {
                flex-direction: column;
            }
            
            .left-panel, .right-panel {
                height: auto;
            }
        }
        
        @media (max-width: 768px) {
            .ranking-table th,
            .ranking-table td,
            .kill-table th,
            .kill-table td {
                padding: 8px 4px;
                font-size: 0.8em;
            }
            
            .header h1 {
                font-size: 2.2em;
            }
        }
          .member-notification-popup {
        position: fixed;
        bottom: 20px;
        right: 20px;
        width: 90%;
        max-width: 350px;
        background-color: #2a2a2a; /* Màu nền tối */
        color: #f1f1f1;
        border-radius: 10px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
        border-left: 5px solid #76b900; /* Màu xanh lá đặc trưng */
        z-index: 9999;
        padding: 20px;
        font-family: 'Roboto', sans-serif; /* Đảm bảo font chữ nhất quán */
        opacity: 0;
        transform: translateX(100%);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }
    .member-notification-popup.show {
        opacity: 1;
        transform: translateX(0);
    }
    .member-notification-popup h4 {
        margin: 0 0 10px 0;
        font-size: 1.1rem;
        color: #76b900;
        display: flex;
        align-items: center;
    }
     .member-notification-popup h4 .fa-bullhorn {
        margin-right: 8px;
    }
    .member-notification-popup p {
        margin: 0 0 15px 0;
        font-size: 0.95rem;
        line-height: 1.5;
        white-space: pre-wrap; /* Giữ nguyên định dạng xuống dòng */
    }
    .member-notification-popup .close-btn {
        position: absolute;
        top: 10px;
        right: 10px;
        background: none;
        border: none;
        color: #aaa;
        font-size: 20px;
        cursor: pointer;
        transition: color 0.3s;
    }
    .member-notification-popup .close-btn:hover {
        color: #fff;
    }
     /* TOÀN BỘ CSS CỦA BẠN NẰM Ở ĐÂY, KHÔNG THAY ĐỔI */


.main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #76b900, #a4d233);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(118, 185, 0, 0.3);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #76b900, #a4d233);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
}

.table-container {
  overflow-x: auto;
  max-height: 500px;
  overflow-y: auto;
}

.table-container::-webkit-scrollbar {
  width: 6px;
}

.table-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

.table-container::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #76b900, #a4d233);
  border-radius: 3px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 0.75rem 0.5rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

th {
  background: rgba(255, 255, 255, 0.05);
  font-weight: 600;
  color: #76b900;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: sticky;
  top: 0;
  z-index: 10;
}

td {
  font-size: 0.9rem;
  color: #cccccc;
}

tr:hover {
  background: rgba(118, 185, 0, 0.1);
}

.rank {
  font-weight: 700;
  color: #76b900;
  font-size: 1.1rem;
}

.rank.gold {
  color: #ffd700;
}

.rank.silver {
  color: #c0c0c0;
}

.rank.bronze {
  color: #cd7f32;
}

.player-name {
  font-weight: 600;
  color: #ffffff;
}

.weapon {
  background: rgba(118, 185, 0, 0.2);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
}

.distance {
  color: #a4d233;
  font-weight: 500;
}

.kd-ratio {
  font-weight: 600;
}

.kd-ratio.good {
  color: #4caf50;
}

.kd-ratio.average {
  color: #ff9800;
}

.kd-ratio.poor {
  color: #f44336;
}

.no-data {
  text-align: center;
  color: #666;
  padding: 2rem;
  font-style: italic;
}

.refresh-time {
  text-align: center;
  color: #888;
  font-size: 0.9rem;
  margin-top: 2rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

@media (max-width: 1024px) {
  .main-grid {
    grid-template-columns: 1fr;
  }

  .header h1 {
    font-size: 2.5rem;
  }

  .container {
    padding: 1rem;
  }
}

@media (max-width: 768px) {
  .header h1 {
    font-size: 2rem;
  }

  th, td {
    padding: 0.5rem 0.25rem;
    font-size: 0.8rem;
  }

  .card {
    padding: 1rem;
  }
}
   
   