/* =====================================================
   RANK MODULE - CSS
   OPTR Server Suite
   ===================================================== */

/* Reset e Base */
* {
    box-sizing: border-box;
}

/* Container Principal */
.rank-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* Header do Rank */
.rank-header {
    text-align: center;
    margin-bottom: 40px;
}

.rank-header h1 {
    font-size: 32px;
    color: #fff;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.rank-header h1 i {
    color: #FFD700;
}

.rank-header p {
    color: #888;
    font-size: 14px;
    margin: 0;
}

/* Barra de Filtros */
.rank-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    background: rgba(20, 20, 20, 0.9);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #333;
}

.rank-search {
    flex: 1;
    min-width: 250px;
    position: relative;
}

.rank-search input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s;
}

.rank-search input:focus {
    outline: none;
    border-color: #ff5000;
    box-shadow: 0 0 0 3px rgba(255, 80, 0, 0.1);
}

.rank-search i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.rank-filter-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.rank-filter-group label {
    color: #888;
    font-size: 12px;
    text-transform: uppercase;
}

.rank-filter-group select {
    padding: 10px 15px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}

.rank-filter-group select:focus {
    outline: none;
    border-color: #ff5000;
}

/* Linha Superior: Podium + Stats */
.rank-hero-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
    align-items: start;
}

/* Panel de Estatísticas Globais */
.global-stats-panel {
    background: linear-gradient(180deg, rgba(30, 30, 30, 0.95) 0%, rgba(20, 20, 20, 0.98) 100%);
    border: 1px solid #333;
    border-radius: 16px;
    padding: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.global-stats-panel h2 {
    color: #fff;
    font-size: 18px;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.global-stats-panel h2 i {
    color: #ff5000;
}

/* Gauge Wrapper */
.gauge-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.gauge-wrapper canvas {
    display: block;
}

.gauge-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 15px;
}

.gauge-stat {
    text-align: center;
}

.gauge-stat-value {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 3px;
}

.gauge-stat-percent {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    opacity: 0.8;
}

.gauge-stat-label {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gauge-stat.kills .gauge-stat-value,
.gauge-stat.kills .gauge-stat-percent {
    color: #27ae60;
}

.gauge-stat.deaths .gauge-stat-value,
.gauge-stat.deaths .gauge-stat-percent {
    color: #e74c3c;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.stat-item:hover {
    border-color: #ff5000;
    background: rgba(255, 80, 0, 0.05);
}

.stat-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 80, 0, 0.1);
    border-radius: 10px;
    color: #ff5000;
    font-size: 18px;
}

.stat-info {
    flex: 1;
}

.stat-info .stat-value {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 2px;
}

.stat-info .stat-label {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
}

.stat-card {
    background: linear-gradient(180deg, rgba(30, 30, 30, 0.95) 0%, rgba(20, 20, 20, 0.98) 100%);
    border: 1px solid #333;
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s;
}

.stat-card:hover {
    border-color: #ff5000;
    transform: translateY(-3px);
}

.stat-card .stat-value {
    font-size: 32px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 5px;
}

.stat-card .stat-label {
    font-size: 12px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-card.kills .stat-value { color: #27ae60; }
.stat-card.deaths .stat-value { color: #e74c3c; }
.stat-card.headshots .stat-value { color: #f1c40f; }
.stat-card.players .stat-value { color: #3498db; }
.stat-card.servers .stat-value { color: #9b59b6; }

/* Top 3 Podium */
.top-players {
    margin-bottom: 0;
}

.top-players h2 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-players h2 i {
    color: #FFD700;
}

.podium {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
    padding: 20px;
}

.podium-item {
    background: linear-gradient(180deg, rgba(30, 30, 30, 0.95) 0%, rgba(20, 20, 20, 0.98) 100%);
    border: 2px solid #333;
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    min-width: 200px;
}

.podium-item:hover {
    transform: translateY(-5px);
}

.podium-item.first {
    border-color: #FFD700;
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.1) 0%, rgba(20, 20, 20, 0.98) 100%);
    order: 2;
    padding: 40px 30px;
}

.podium-item.second {
    border-color: #C0C0C0;
    background: linear-gradient(180deg, rgba(192, 192, 192, 0.1) 0%, rgba(20, 20, 20, 0.98) 100%);
    order: 1;
}

.podium-item.third {
    border-color: #CD7F32;
    background: linear-gradient(180deg, rgba(205, 127, 50, 0.1) 0%, rgba(20, 20, 20, 0.98) 100%);
    order: 3;
    transform: scale(0.85);
    opacity: 0.9;
}

.podium-item.third:hover {
    transform: scale(0.88) translateY(-5px);
    opacity: 1;
}

.podium-rank {
    font-size: 40px;
    margin-bottom: 15px;
}

.podium-avatar {
    width: 80px;
    height: 80px;
    border-radius: 30%;
    margin: 0 auto 15px;
    border: 2px solid #ff5000;
    overflow: hidden;
}

.podium-item.first .podium-avatar {
    width: 100px;
    height: 100px;
    border-width: 3px;
}

.podium-item.second .podium-avatar {
    border-width: 2px;
}

.podium-item.third .podium-avatar {
    width: 70px;
    height: 70px;
    border-width: 2px;
}

.podium-avatar img,
.podium-avatar img.avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30% !important;
    border: none !important;
}

.podium-name {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.podium-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 12px;
    color: #888;
}

.podium-stats span {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.podium-stats .value {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
}

.podium-stats .kills .value { color: #27ae60; }
.podium-stats .kd .value { color: #3498db; }

.podium-skill {
    font-size: 14px;
    color: #ff5000;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Tabela de Ranking */
.ranking-table-container {
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid #333;
    border-radius: 12px;
    overflow: hidden;
}

.ranking-table {
    width: 100%;
    border-collapse: collapse;
}

.ranking-table thead {
    background: #1a1a1a;
}

.ranking-table th {
    padding: 15px 20px;
    text-align: left;
    font-size: 12px;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 1px;
    border-bottom: 1px solid #333;
    cursor: pointer;
    transition: color 0.3s;
}

.ranking-table th:hover {
    color: #ff5000;
}

.ranking-table th.sorted {
    color: #ff5000;
}

.ranking-table th i {
    margin-left: 5px;
    font-size: 10px;
}

.ranking-table tbody tr {
    border-bottom: 1px solid #252525;
    transition: background 0.3s;
}

.ranking-table tbody tr:hover {
    background: rgba(255, 80, 0, 0.05);
}

.ranking-table tbody tr.top-1 { background: rgba(255, 215, 0, 0.05); }
.ranking-table tbody tr.top-2 { background: rgba(192, 192, 192, 0.05); }
.ranking-table tbody tr.top-3 { background: rgba(205, 127, 50, 0.05); }

.ranking-table td {
    padding: 15px 20px;
    font-size: 14px;
    color: #ccc;
}

.ranking-table .rank-cell {
    font-weight: bold;
    font-size: 16px;
    width: 60px;
}

.rank-gold { color: #FFD700 !important; }
.rank-silver { color: #C0C0C0 !important; }
.rank-bronze { color: #CD7F32 !important; }

.player-cell-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.ranking-table .player-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.player-cell .player-avatar,
.player-cell img.player-avatar {
    width: 40px;
    height: 40px;
    border-radius: 30% !important;
    border: 2px solid #ff5000 !important;
    object-fit: cover;
}

.player-cell .player-info {
    display: flex;
    flex-direction: column;
}

.player-cell .player-name {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    transition: color .5s;
    font-weight: bold;
}

.player-cell .player-name:hover {
    color: #ff5000;
    font-weight:bolder;
}

.player-cell .player-steam {
    font-size: 11px;
    color: #666;
}

.player-name {
    white-space: nowrap;
}

.ranking-table .kills-cell { color: #27ae60; font-weight: bold; }
.ranking-table .deaths-cell { color: #e74c3c; }
.ranking-table .kd-cell { color: #3498db; font-weight: bold; }
.ranking-table .hs-cell { color: #f1c40f; }
.ranking-table .score-cell { color: #ff5000; font-weight: bold; font-size: 16px; }
.ranking-table .skill-cell { color: #ff5000; font-weight: bold; font-size: 16px; }

/* Paginação */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 25px;
    border-top: 1px solid #333;
}

.pagination button {
    padding: 10px 20px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
}

.pagination button:hover:not(:disabled) {
    background: #ff5000;
    border-color: #ff5000;
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination .page-info {
    color: #888;
    font-size: 14px;
}

/* Loading */
.loading-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px;
    color: #888;
}

.loading-overlay i {
    font-size: 30px;
    margin-right: 15px;
    color: #ff5000;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.empty-state i {
    font-size: 50px;
    margin-bottom: 20px;
    color: #444;
}

.empty-state h3 {
    color: #888;
    margin-bottom: 10px;
}

/* Badges */
.player-badges {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-top: 5px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    font-size: 10px;
    color: #fff;
}

/* Responsivo */
@media (max-width: 1024px) {
    /* Tablet: manter lado a lado */
    .rank-hero-row {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .podium {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .podium-item {
        order: unset !important;
        width: 100%;
        max-width: 250px;
        min-width: auto;
        padding: 20px 15px;
    }
    
    .podium-item.first {
        padding: 25px 20px;
    }
    
    .podium-item.first .podium-avatar {
        width: 80px;
        height: 80px;
    }
    
    .global-stats-panel {
        padding: 20px;
    }
    
    .gauges-row {
        gap: 15px;
    }
    
    .gauge-container canvas {
        width: 150px !important;
        height: 150px !important;
    }
    
    .gauge-value {
        font-size: 24px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    /* Mobile: empilhar */
    .rank-hero-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .top-players h2 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .podium {
        gap: 12px;
        padding: 10px;
    }
    
    .podium-item {
        max-width: 100%;
        padding: 15px 12px;
    }
    
    .podium-item.first {
        padding: 18px 15px;
    }
    
    .podium-avatar {
        width: 60px;
        height: 60px;
    }
    
    .podium-item.first .podium-avatar {
        width: 70px;
        height: 70px;
    }
    
    .podium-item.third .podium-avatar {
        width: 55px;
        height: 55px;
    }
    
    .podium-name {
        font-size: 14px;
        max-width: 100%;
    }
    
    .podium-stats {
        gap: 15px;
        font-size: 11px;
    }
    
    .podium-stats .value {
        font-size: 16px;
    }
    
    .podium-rank {
        font-size: 32px;
        margin-bottom: 10px;
    }
    
    .global-stats-panel {
        padding: 20px 15px;
    }
    
    .global-stats-panel h2 {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .gauges-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gauge-container canvas {
        width: 180px !important;
        height: 180px !important;
    }
    
    .gauge-value {
        font-size: 24px;
    }
    
    .gauge-text {
        font-size: 10px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .stat-item {
        padding: 12px;
    }
    
    .stat-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .stat-info .stat-value {
        font-size: 18px;
    }
    
    .stat-info .stat-label {
        font-size: 10px;
    }
    
    .rank-filters {
        flex-direction: column;
    }
    
    .rank-search {
        width: 100%;
    }
    
    .rank-filter-group {
        width: 100%;
        justify-content: space-between;
    }
    
    .ranking-table {
        font-size: 12px;
    }
    
    .ranking-table th,
    .ranking-table td {
        padding: 10px;
    }
    
    .player-cell .player-avatar {
        width: 32px;
        height: 32px;
    }
    
    .ranking-table .player-steam {
        display: none;
    }
    
    /* Esconder colunas menos importantes em mobile */
    .ranking-table .hide-mobile {
        display: none;
    }
}

/* =====================================================
   PÁGINA DE DETALHES DO JOGADOR
   ===================================================== */

.player-profile {
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid #333;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
}

.player-profile-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 25px;
}

.player-profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 30%;
    border: 2px solid #ff5000;
}

.player-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30%;
}

.player-profile-info h1 {
    font-size: 28px;
    color: #fff;
    margin: 0 0 8px 0;
}

.player-profile-info .steam-id {
    color: #666;
    font-size: 13px;
    font-family: monospace;
}

.player-profile-info .rank-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 80, 0, 0.2);
    padding: 6px 15px;
    border-radius: 20px;
    margin-top: 10px;
    font-size: 14px;
    color: #ff5000;
    font-weight: bold;
}

.player-profile-info .last-seen {
    color: #888;
    font-size: 12px;
    margin-top: 8px;
}

.player-profile-actions {
    margin-left: auto;
    display: flex;
    gap: 10px;
}

.player-profile-actions a {
    padding: 10px 20px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s;
}

.player-profile-actions a:hover {
    background: #ff5000;
    border-color: #ff5000;
}

/* Stats Grid do Jogador */
.player-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.player-stat-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.player-stat-card .value {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
}

.player-stat-card .label {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    margin-top: 5px;
}

.player-stat-card.kills .value { color: #27ae60; }
.player-stat-card.deaths .value { color: #e74c3c; }
.player-stat-card.kd .value { color: #3498db; }
.player-stat-card.hs .value { color: #f1c40f; }
.player-stat-card.score .value { color: #ff5000; }
.player-stat-card.suicides .value { color: #9b59b6; }

/* Seções */
.player-section {
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid #333;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
}

.player-section h2 {
    font-size: 18px;
    color: #fff;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.player-section h2 i {
    color: #ff5000;
}

/* Armas Favoritas */
.weapons-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.weapon-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.weapon-name {
    width: 150px;
    color: #fff;
    font-size: 14px;
}

.weapon-bar {
    flex: 1;
    height: 24px;
    background: #1a1a1a;
    border-radius: 4px;
    overflow: hidden;
}

.weapon-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff5000, #ff8000);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.weapon-percent {
    width: 50px;
    text-align: right;
    color: #888;
    font-size: 13px;
}

/* Histórico de Kills */
.kills-history {
    max-height: 400px;
    overflow-y: auto;
}

.kill-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #252525;
}

.kill-item:last-child {
    border-bottom: none;
}

.kill-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.kill-icon.kill { background: rgba(39, 174, 96, 0.2); color: #27ae60; }
.kill-icon.death { background: rgba(231, 76, 60, 0.2); color: #e74c3c; }
.kill-icon.headshot { background: rgba(241, 196, 15, 0.2); color: #f1c40f; }

.kill-details {
    flex: 1;
}

.kill-text {
    color: #fff;
    font-size: 14px;
}

.kill-text .player-link {
    color: #3498db;
    text-decoration: none;
}

.kill-text .player-link:hover {
    text-decoration: underline;
}

.kill-text .weapon {
    color: #ff5000;
}

.kill-meta {
    font-size: 11px;
    color: #666;
    margin-top: 3px;
}

/* Badges do Jogador */
.player-badges-section {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.badge-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 15px 20px;
    min-width: 180px;
}

.badge-card .badge-icon {
    font-size: 28px;
}

.badge-card .badge-info h4 {
    margin: 0;
    color: #fff;
    font-size: 14px;
}

.badge-card .badge-info p {
    margin: 3px 0 0 0;
    color: #888;
    font-size: 11px;
}

/* =====================================================
   GLOBAL TABS (Ranking, Weapons, Maps)
   ===================================================== */

.global-tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    background: rgba(20, 20, 20, 0.9);
    padding: 8px;
    border-radius: 12px;
    border: 1px solid #333;
}

.global-tab-btn {
    flex: 1;
    padding: 14px 25px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #888;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.global-tab-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.global-tab-btn.active {
    background: linear-gradient(135deg, #ff5000 0%, #ff8000 100%);
    color: #fff;
}

.global-tab-btn i {
    font-size: 16px;
}

.global-tab-content {
    display: none;
}

.global-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Weapons Section */
.weapons-section,
.maps-section {
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid #333;
    border-radius: 16px;
    padding: 25px;
}

.weapons-section h2,
.maps-section h2 {
    font-size: 20px;
    color: #fff;
    margin: 0 0 25px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.weapons-section h2 i,
.maps-section h2 i {
    color: #ff5000;
}

/* Global Weapons Grid */
.weapons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.global-weapon-card {
    background: linear-gradient(180deg, rgba(30, 30, 30, 0.9) 0%, rgba(25, 25, 25, 0.95) 100%);
    border: 1px solid #333;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.global-weapon-card:hover {
    border-color: #ff5000;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 80, 0, 0.2);
}

.global-weapon-card.top-1 {
    border-color: #FFD700;
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.1) 0%, rgba(25, 25, 25, 0.95) 100%);
}

.global-weapon-card.top-2 {
    border-color: #C0C0C0;
    background: linear-gradient(180deg, rgba(192, 192, 192, 0.1) 0%, rgba(25, 25, 25, 0.95) 100%);
}

.global-weapon-card.top-3 {
    border-color: #CD7F32;
    background: linear-gradient(180deg, rgba(205, 127, 50, 0.1) 0%, rgba(25, 25, 25, 0.95) 100%);
}

.global-weapon-card .weapon-rank {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 12px;
    font-weight: bold;
    color: #666;
}

.global-weapon-card.top-1 .weapon-rank { color: #FFD700; }
.global-weapon-card.top-2 .weapon-rank { color: #C0C0C0; }
.global-weapon-card.top-3 .weapon-rank { color: #CD7F32; }

.global-weapon-card .weapon-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.global-weapon-card .weapon-header i {
    font-size: 24px;
    color: #ff5000;
}

.global-weapon-card .weapon-header .weapon-icon {
    color: #ff5000;
}

.global-weapon-card .weapon-name {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
}

.global-weapon-card .weapon-bar {
    height: 6px;
    background: #1a1a1a;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 15px;
}

.global-weapon-card .weapon-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff5000, #ff8000);
    border-radius: 3px;
}

.global-weapon-card .weapon-stats-row {
    display: flex;
    justify-content: space-between;
}

.global-weapon-card .weapon-stats-row .stat {
    text-align: center;
}

.global-weapon-card .weapon-stats-row .value {
    display: block;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
}

.global-weapon-card .weapon-stats-row .value.kills { color: #27ae60; }
.global-weapon-card .weapon-stats-row .value.hs { color: #f1c40f; }
.global-weapon-card .weapon-stats-row .value.players { color: #3498db; }

.global-weapon-card .weapon-stats-row .label {
    font-size: 10px;
    color: #888;
    text-transform: uppercase;
}

/* Global Maps Grid */
.global-maps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.global-map-card {
    background: linear-gradient(180deg, rgba(30, 30, 30, 0.9) 0%, rgba(25, 25, 25, 0.95) 100%);
    border: 1px solid #333;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
}

.global-map-card:hover {
    border-color: #ff5000;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(255, 80, 0, 0.2);
}

.global-map-card .map-thumb {
    position: relative;
    height: 120px;
    overflow: hidden;
}

.global-map-card .map-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.global-map-card:hover .map-thumb img {
    transform: scale(1.05);
}

.global-map-card .map-rank {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.8);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    color: #ff5000;
}

.global-map-card .map-info {
    padding: 15px;
}

.global-map-card .map-name {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.global-map-card .map-stats-row {
    display: flex;
    gap: 15px;
    margin-bottom: 8px;
    font-size: 13px;
}

.global-map-card .map-stats-row span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.global-map-card .map-stats-row .kills { color: #27ae60; }
.global-map-card .map-stats-row .players { color: #3498db; }

.global-map-card .map-rating-row {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 12px;
}

.global-map-card .map-rating-row span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.global-map-card .map-rating-row .rating i { font-size: 11px; }
.global-map-card .map-rating-row .favs i { font-size: 11px; }

.global-map-card .map-bar {
    height: 4px;
    background: #1a1a1a;
    border-radius: 2px;
    overflow: hidden;
}

.global-map-card .map-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff5000, #ff8000);
    border-radius: 2px;
}

/* Responsive */
@media (max-width: 768px) {
    .global-tabs {
        flex-direction: column;
    }
    
    .global-tab-btn {
        justify-content: flex-start;
    }
    
    .weapons-grid {
        grid-template-columns: 1fr;
    }
    
    .global-maps-grid {
        grid-template-columns: 1fr;
    }
}