* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --dark-bg: #2a2a2a;
    --darker-bg: #1a1a1a;
    --card-bg: #333333;
    --primary-gold: #888888;
    --text-light: #e8e8e8;
    --text-muted: #a0a0a0;
    --border-color: #4a4a4a;
}

body {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #252525 100%);
    color: var(--text-light);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Floating Dust Particles */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 50%;
    bottom: -10px;
    animation: float-up 10s infinite linear;
    opacity: 0;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.5);
}

.particle:nth-child(1) { left: 2%; animation-delay: 0s; }
.particle:nth-child(2) { left: 5%; animation-delay: 0.5s; }
.particle:nth-child(3) { left: 8%; animation-delay: 1s; }
.particle:nth-child(4) { left: 12%; animation-delay: 1.5s; }
.particle:nth-child(5) { left: 15%; animation-delay: 2s; }
.particle:nth-child(6) { left: 18%; animation-delay: 2.5s; }
.particle:nth-child(7) { left: 22%; animation-delay: 3s; }
.particle:nth-child(8) { left: 25%; animation-delay: 3.5s; }
.particle:nth-child(9) { left: 28%; animation-delay: 4s; }
.particle:nth-child(10) { left: 32%; animation-delay: 4.5s; }
.particle:nth-child(11) { left: 35%; animation-delay: 5s; }
.particle:nth-child(12) { left: 38%; animation-delay: 5.5s; }
.particle:nth-child(13) { left: 42%; animation-delay: 6s; }
.particle:nth-child(14) { left: 45%; animation-delay: 6.5s; }
.particle:nth-child(15) { left: 48%; animation-delay: 7s; }
.particle:nth-child(16) { left: 52%; animation-delay: 7.5s; }
.particle:nth-child(17) { left: 55%; animation-delay: 8s; }
.particle:nth-child(18) { left: 58%; animation-delay: 8.5s; }
.particle:nth-child(19) { left: 62%; animation-delay: 9s; }
.particle:nth-child(20) { left: 65%; animation-delay: 9.5s; }
.particle:nth-child(21) { left: 68%; animation-delay: 10s; }
.particle:nth-child(22) { left: 72%; animation-delay: 0.3s; }
.particle:nth-child(23) { left: 75%; animation-delay: 0.8s; }
.particle:nth-child(24) { left: 78%; animation-delay: 1.3s; }
.particle:nth-child(25) { left: 82%; animation-delay: 1.8s; }
.particle:nth-child(26) { left: 85%; animation-delay: 2.3s; }
.particle:nth-child(27) { left: 88%; animation-delay: 2.8s; }
.particle:nth-child(28) { left: 92%; animation-delay: 3.3s; }
.particle:nth-child(29) { left: 95%; animation-delay: 3.8s; }
.particle:nth-child(30) { left: 98%; animation-delay: 4.3s; }
.particle:nth-child(31) { left: 3%; animation-delay: 4.8s; }
.particle:nth-child(32) { left: 7%; animation-delay: 5.3s; }
.particle:nth-child(33) { left: 11%; animation-delay: 5.8s; }
.particle:nth-child(34) { left: 16%; animation-delay: 6.3s; }
.particle:nth-child(35) { left: 20%; animation-delay: 6.8s; }
.particle:nth-child(36) { left: 24%; animation-delay: 7.3s; }
.particle:nth-child(37) { left: 29%; animation-delay: 7.8s; }
.particle:nth-child(38) { left: 33%; animation-delay: 8.3s; }
.particle:nth-child(39) { left: 37%; animation-delay: 8.8s; }
.particle:nth-child(40) { left: 41%; animation-delay: 9.3s; }
.particle:nth-child(41) { left: 46%; animation-delay: 9.8s; }
.particle:nth-child(42) { left: 50%; animation-delay: 0.2s; }
.particle:nth-child(43) { left: 54%; animation-delay: 0.7s; }
.particle:nth-child(44) { left: 59%; animation-delay: 1.2s; }
.particle:nth-child(45) { left: 63%; animation-delay: 1.7s; }
.particle:nth-child(46) { left: 67%; animation-delay: 2.2s; }
.particle:nth-child(47) { left: 71%; animation-delay: 2.7s; }
.particle:nth-child(48) { left: 76%; animation-delay: 3.2s; }
.particle:nth-child(49) { left: 80%; animation-delay: 3.7s; }
.particle:nth-child(50) { left: 84%; animation-delay: 4.2s; }

@keyframes float-up {
    0% {
        bottom: -10px;
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    95% {
        opacity: 1;
    }
    100% {
        bottom: 100vh;
        opacity: 0;
        transform: translateX(calc(sin(var(--angle)) * 100px));
    }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 10;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 50px;
    width: 50px;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid var(--primary-gold);
}

.nav {
    display: flex;
    gap: 30px;
    flex: 1;
    margin-left: 50px;
}

.nav-item {
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s;
    font-size: 14px;
}

.nav-item.active {
    color: var(--primary-gold);
    border-bottom: 2px solid var(--primary-gold);
    padding-bottom: 5px;
}

.nav-item:hover {
    color: var(--primary-gold);
}

.search-input {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    padding: 10px 15px;
    border-radius: 8px;
    width: 200px;
    font-size: 14px;
}

.search-input::placeholder {
    color: var(--text-muted);
}

/* Gamemodes */
.gamemodes-container {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    overflow-x: auto;
    padding: 10px 0;
    scroll-behavior: smooth;
}

/* Scrollbar styles */
.gamemodes-container::-webkit-scrollbar {
    height: 8px;
}

.gamemodes-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.gamemodes-container::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.4);
    border-radius: 10px;
    transition: background 0.3s;
}

.gamemodes-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 215, 0, 0.7);
}

.gamemode-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    background-color: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
    animation: floatUp 0.6s ease-out forwards;
    opacity: 0;
}

.gamemode-tab:nth-child(1) { animation-delay: 0.1s; }
.gamemode-tab:nth-child(2) { animation-delay: 0.2s; }
.gamemode-tab:nth-child(3) { animation-delay: 0.3s; }
.gamemode-tab:nth-child(4) { animation-delay: 0.4s; }
.gamemode-tab:nth-child(5) { animation-delay: 0.5s; }
.gamemode-tab:nth-child(6) { animation-delay: 0.6s; }
.gamemode-tab:nth-child(7) { animation-delay: 0.7s; }
.gamemode-tab:nth-child(8) { animation-delay: 0.8s; }
.gamemode-tab:nth-child(9) { animation-delay: 0.9s; }
.gamemode-tab:nth-child(10) { animation-delay: 1s; }

@keyframes floatUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gamemode-tab:hover {
    border-color: var(--primary-gold);
    transform: translateY(-2px);
}

.gamemode-tab.active {
    background-color: transparent;
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

.gamemode-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.gamemode-name {
    font-size: 13px;
    font-weight: 600;
}

/* Info Box */
.info-box {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    justify-content: space-between;
}

.info-icon {
    font-size: 20px;
}

.info-text {
    font-weight: 600;
}

.server-info {
    display: flex;
    gap: 10px;
    align-items: center;
}

.server-label {
    font-size: 12px;
    color: var(--text-muted);
}

.discord-btn {
    background-color: var(--primary-gold);
    color: #000;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    transition: opacity 0.3s;
    text-decoration: none;
    display: inline-block;
}

.discord-btn:hover {
    opacity: 0.9;
}

/* Leaderboard */
.leaderboard {
    background-color: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.leaderboard-header {
    display: none;
    grid-template-columns: 50px 240px 70px 1fr;
    gap: 15px;
    padding: 15px 20px;
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
}

.leaderboard-header.show {
    display: grid;
}

.leaderboard-body {
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: auto;
    scroll-behavior: smooth;
}

.leaderboard-body::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.leaderboard-body::-webkit-scrollbar-track {
    background: transparent;
}

.leaderboard-body::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

.leaderboard-body::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

.leaderboard-row {
    display: grid;
    grid-template-columns: 50px 240px 70px 1fr;
    gap: 15px;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
    transition: background-color 0.3s;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.leaderboard-row:hover {
    background-color: var(--card-bg);
}

/* Top 3 Medals */
.leaderboard-row.rank-1 {
    border-left: 4px solid #ffd700;
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.1) 0%, transparent 100%);
}

.leaderboard-row.rank-1 .col.rank {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.leaderboard-row.rank-1 .player-rank {
    border: 3px solid #ffd700;
    border-radius: 8px;
    padding: 4px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), transparent);
}

.leaderboard-row.rank-2 {
    border-left: 4px solid #c0c0c0;
    background: linear-gradient(90deg, rgba(192, 192, 192, 0.1) 0%, transparent 100%);
}

.leaderboard-row.rank-2 .col.rank {
    color: #c0c0c0;
    text-shadow: 0 0 10px rgba(192, 192, 192, 0.5);
}

.leaderboard-row.rank-2 .player-rank {
    border: 3px solid #c0c0c0;
    border-radius: 8px;
    padding: 4px;
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.15), transparent);
}

.leaderboard-row.rank-3 {
    border-left: 4px solid #cd7f32;
    background: linear-gradient(90deg, rgba(205, 127, 50, 0.1) 0%, transparent 100%);
}

.leaderboard-row.rank-3 .col.rank {
    color: #cd7f32;
    text-shadow: 0 0 10px rgba(205, 127, 50, 0.5);
}

.leaderboard-row.rank-3 .player-rank {
    border: 3px solid #cd7f32;
    border-radius: 8px;
    padding: 4px;
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.15), transparent);
}

.col.rank {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-gold);
}

.col.player {
    display: flex;
    align-items: center;
    gap: 10px;
}

.player-skin-container {
    width: 75px;
    height: 75px;
    border-radius: 4px;
    border: 2px solid var(--primary-gold);
    background-color: rgba(0, 0, 0, 0.3);
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.player-skin-container canvas {
    width: 100% !important;
    height: 100% !important;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

.player-body-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

.col.score {
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    color: var(--primary-gold);
}

.col.tiers {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
    flex-wrap: wrap;
    padding: 0 10px;
}

.leaderboard-tier-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 50px;
}

.leaderboard-tier-icon {
    border: 3px solid var(--primary-gold);
    border-radius: 50%;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.3);
    transition: transform 0.2s;
}

.leaderboard-tier-icon:hover {
    transform: scale(1.1);
}

.leaderboard-tier-icon img {
    width: 75%;
    height: 75%;
    object-fit: contain;
}

.tier-icon-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-light);
    text-align: center;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 45px;
}

.player-rank {
    width: auto;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.player-rank img {
    height: 80px;
    width: auto;
    object-fit: contain;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

.player-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.player-name {
    font-weight: 600;
    font-size: 15px;
}

.player-title {
    font-size: 12px;
    color: var(--text-muted);
}

.player-title span {
    color: var(--primary-gold);
}



.region-na {
    color: #ff6b6b;
}

.region-eu {
    color: #51cf66;
}

.region-as {
    color: #339af0;
}

.region-au {
    color: #ff922b;
}

.region-sa {
    color: #da77f2;
}

.col.tiers {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tier-badge {
    width: 50px;
    height: 60px;
    background-color: var(--card-bg);
    border: 2px solid #c0c0c0;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 6px 4px 0 4px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.tier-badge:hover {
    transform: scale(1.05);
    border-color: var(--primary-gold);
}

.tier-badge-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    margin-bottom: 4px;
}

.tier-badge-text {
    font-size: 8px;
    font-weight: 700;
    color: #fff;
    background-color: #ffd700;
    padding: 2px 4px;
    border-radius: 3px;
    border: none;
    text-align: center;
    width: auto;
    margin-top: auto;
    margin-bottom: 4px;
}

/* Tier Colors */
/* LT5, HT5 - Xám (Gray) - Removed */
.tier-badge.lt5,
.tier-badge.ht5 {
    background-color: transparent;
    border-color: transparent;
}

.tier-badge.lt5 .tier-badge-text,
.tier-badge.ht5 .tier-badge-text {
    color: #fff;
    background-color: transparent;
}

/* LT4, HT4 - Bạc Xám (Silver-Gray) - Removed */
.tier-badge.lt4,
.tier-badge.ht4 {
    background-color: transparent;
    border-color: transparent;
}

.tier-badge.lt4 .tier-badge-text,
.tier-badge.ht4 .tier-badge-text {
    color: #000;
    background-color: transparent;
}

/* LT3, HT3 - Đồng (Bronze) */
.tier-badge.lt3,
.tier-badge.ht3 {
    background-color: rgba(58, 37, 21, 0.3);
    border-color: #cd7f32;
}

.tier-badge.lt3 .tier-badge-text,
.tier-badge.ht3 .tier-badge-text {
    color: #fff;
    background-color: #cd7f32;
}

/* LT2, HT2 - Bạc (Silver) */
.tier-badge.lt2,
.tier-badge.ht2 {
    background-color: rgba(42, 58, 58, 0.3);
    border-color: #e8e8e8;
}

.tier-badge.lt2 .tier-badge-text,
.tier-badge.ht2 .tier-badge-text {
    color: #000;
    background-color: #e8e8e8;
}

/* LT1, HT1 - Vàng (Gold) */
.tier-badge.lt1,
.tier-badge.ht1 {
    background-color: rgba(58, 58, 26, 0.3);
    border-color: #ffd700;
}

.tier-badge.lt1 .tier-badge-text,
.tier-badge.ht1 .tier-badge-text {
    color: #000;
    background-color: #ffd700;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.modal-content {
    position: relative;
    background-color: var(--darker-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    width: 90%;
    max-width: 1000px;
    padding: 20px;
    z-index: 1001;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--primary-gold);
}

.modal-header {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.modal-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.modal-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-header .modal-section {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.modal-header .modal-section h3 {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 15px;
    font-weight: 600;
    letter-spacing: 1px;
}

.skinview-container {
    width: 180px;
    height: 220px;
    border-radius: 4px;
    border: 4px solid #d4a756;
    background-color: var(--card-bg);
    margin: 0 auto 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content-main {
    text-align: center;
    padding: 0;
}

.modal-info {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-username {
    font-size: 28px;
    color: #e91e63;
    margin-bottom: 10px !important;
    font-weight: 700;
}

.modal-title {
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 8px;
}

.modal-region {
    font-size: 12px;
    color: var(--text-muted);
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.modal-section h3 {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: 1px;
}

.modal-position {
    background: linear-gradient(135deg, #FFB800 0%, #FFA500 100%);
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 24px;
    font-weight: 700;
    color: #000;
    display: inline-block;
    margin-top: 15px;
}

.modal-tiers {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 0;
    padding: 0;
    border: none;
    border-radius: 0;
    background-color: transparent;
}

.tier-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    border: none;
    transition: all 0.3s;
    cursor: pointer;
    width: auto;
    height: auto;
    justify-content: center;
}

.tier-card:hover .tier-card-icon {
    transform: scale(1.1);
}

.tier-card-icon {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 3px solid var(--primary-gold);
    background-color: rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
}

.tier-card-icon img {
    width: 90%;
    height: 90%;
    object-fit: contain;
}

.tier-card-text {
    font-size: 10px;
    font-weight: 600;
    color: var(--text-light);
    text-align: center;
    max-width: 70px;
}

.no-data {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    font-size: 14px;
}

.error {
    text-align: center;
    padding: 40px 20px;
    color: #ff6b6b;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .leaderboard-header,
    .leaderboard-row {
        grid-template-columns: 50px 180px 60px 1fr;
        gap: 10px;
    }

    .col.rank {
        font-size: 16px;
    }
    
    .player-skin-container {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .nav {
        margin-left: 0;
        flex-wrap: wrap;
    }

    .leaderboard-header,
    .leaderboard-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .col.rank {
        display: none;
    }

    .col.player {
        gap: 10px;
    }

    .player-rank {
        width: 40px;
        height: 40px;
    }

    .col.tiers {
        justify-content: flex-start;
    }

    /* Mobile tier cards layout */
    .leaderboard-body {
        grid-template-columns: 1fr !important;
    }
}
