/* ========================================
   Ranks Component
   ======================================== */

.ranks-server-selector {
    position: relative;
}

.ranks-server-btn {
    background: rgba(13, 202, 240, 0.08);
    border: 1px solid rgba(13, 202, 240, 0.3);
    border-radius: 0.5rem;
    color: #fff;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.ranks-server-btn:hover {
    background: rgba(13, 202, 240, 0.15);
    border-color: #0dcaf0;
}

.ranks-dropdown-menu {
    background: rgba(15, 22, 33, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 0.5rem !important;
    min-width: 160px !important;
}

.ranks-dropdown-item {
    transition: all 0.2s ease;
    color: rgba(255, 255, 255, 0.8);
}

.ranks-dropdown-item:hover {
    background: rgba(13, 202, 240, 0.1);
    color: #fff;
}

.ranks-dropdown-item.active {
    background: rgba(13, 202, 240, 0.2);
    color: #0dcaf0;
}

.ranks-row-top1 {
    background: rgba(255, 215, 0, 0.08) !important;
}

.ranks-row-top1:hover {
    background: rgba(255, 215, 0, 0.12) !important;
}

.ranks-row-top2 {
    background: rgba(192, 192, 192, 0.08) !important;
}

.ranks-row-top2:hover {
    background: rgba(192, 192, 192, 0.12) !important;
}

.ranks-row-top3 {
    background: rgba(205, 127, 50, 0.08) !important;
}

.ranks-row-top3:hover {
    background: rgba(205, 127, 50, 0.12) !important;
}

.ranks-row-user {
    background: rgba(13, 202, 240, 0.12) !important;
    border-top: 1px solid rgba(13, 202, 240, 0.3) !important;
}

.ranks-row-user:hover {
    background: rgba(13, 202, 240, 0.15) !important;
}

.ranks-medal-1 {
    color: #ffd700;
}

.ranks-medal-2 {
    color: #c0c0c0;
}

.ranks-medal-3 {
    color: #cd7f32;
}

.ranks-kda {
    color: #22c55e !important;
}

/* Compact table layout */

.ranks-th {
    color: rgba(13, 202, 240, 0.7);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.5rem 0.75rem;
}

.ranks-td {
    padding: 0.5rem 0.75rem;
}

@media (max-width: 768px) {
    .ranks-table {
        min-width: 600px !important;
        width: auto !important;
    }
}

/* ========================================
   Activity Record - Professional Design
   ======================================== */

.activity-record-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.75rem 2rem;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, rgba(13, 202, 240, 0.08) 0%, rgba(13, 202, 240, 0.03) 100%);
    border: 1px solid rgba(13, 202, 240, 0.2);
    border-radius: 1rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.activity-record-card:hover {
    border-color: rgba(13, 202, 240, 0.4) !important;
    box-shadow: 0 8px 32px rgba(13, 202, 240, 0.15);
    transform: translateY(-2px);
}

.record-icon-wrapper {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, rgba(13, 202, 240, 0.2) 0%, rgba(13, 202, 240, 0.1) 100%);
}

/* Mobile Optimizations */
@media (max-width: 767px) {
    .activity-record-card {
        flex-direction: column;
        text-align: center;
    }
    
    .record-icon-wrapper {
        width: 56px;
        height: 56px;
    }
}

/* ========================================
   Leaderboard Menu
   ======================================== */

.leaderboard-menu {
    border-width: 1px !important;
    color: gray !important;
}

.leaderboard-menu:hover {
    border-width: 2px !important;
    color: rgb(180, 180, 180) !important;
}

.leaderboard-menu.active {
    border-width: 2px !important;
    color: white !important;
}

/* ========================================
   Magnates Component
   ======================================== */

.magnate-avatar {
    width: 28px;
    height: 28px;
    object-fit: cover;
    padding: 2px;
    background-color: rgba(255, 255, 255, 0.08);
}
