/* ============================================================================
   PvPGN Stats - Estilos Modernos v3.1 con Menú Hamburguesa
   ============================================================================ */

/* ============================================================================
   RESET Y BASE
   ============================================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #16202e;
    background-image: url('../bnet/images/main/w3background.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #e8e8e8;
    line-height: 1.6;
}

/* ============================================================================
   CONTENEDOR PRINCIPAL
   ============================================================================ */
.main-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.content-wrapper {
    flex: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    padding-top: 100px;
    width: 100%;
}

/* ============================================================================
   HEADER / NAVEGACIÓN - FIJO
   ============================================================================ */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(10, 20, 35, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1rem 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    border-bottom: 2px solid rgba(218, 165, 32, 0.3);
    z-index: 1000;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #daa520;
    text-shadow: 0 0 10px rgba(218, 165, 32, 0.5);
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #e8e8e8;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #daa520;
}
/* ============================================================================
   BOTÓN HAMBURGUESA
   ============================================================================ */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.hamburger-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: #daa520;
    border-radius: 3px;
    transition: all 0.3s ease;
    position: absolute;
}

.hamburger-btn span:nth-child(1) {
    top: 6px;
}

.hamburger-btn span:nth-child(2) {
    top: 13px;
}

.hamburger-btn span:nth-child(3) {
    top: 20px;
}

/* Cuando está activo (abierto) - se convierte en X */
.hamburger-btn.active span:nth-child(1) {
    top: 13px;
    transform: rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
    top: 13px;
    transform: rotate(-45deg);
}

.hamburger-btn:hover span {
    background: #e8e8e8;
}
/* ============================================================================
   MENÚ MOBILE OVERLAY
   ============================================================================ */
.mobile-menu-overlay {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(10, 20, 35, 0.98);
    backdrop-filter: blur(10px);
    z-index: 999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 0;
    gap: 0;
}

.mobile-nav-link {
    color: #e8e8e8;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

.mobile-nav-link:hover {
    color: #daa520;
    background: rgba(218, 165, 32, 0.1);
    padding-left: 2rem;
}

/* ============================================================================
   BREADCRUMB
   ============================================================================ */
.breadcrumb {
    padding: 1rem 0;
    font-size: 0.9rem;
    color: #a8b2c1;
}

.breadcrumb a {
    color: #daa520;
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    margin: 0 0.5rem;
    color: #5a6a7a;
}

/* ============================================================================
   CARDS Y CONTENEDORES
   ============================================================================ */
.card {
    background: rgba(15, 25, 45, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-header {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid rgba(218, 165, 32, 0.3);
    color: #daa520;
}

/* ============================================================================
   GRID DE JUEGOS (INDEX)
   ============================================================================ */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}

.game-card {
    background: transparent;
    backdrop-filter: none;
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    box-shadow: none;
    transition: transform 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    min-height: 220px;
    border: none;
}

.game-card:hover {
    transform: scale(1.05);
}

.game-logo {
    max-width: 100%;
    max-height: 120px;
    height: 120px;
    width: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: filter 0.3s ease;
}

.game-card:hover .game-logo {
    filter: drop-shadow(0 8px 16px rgba(218, 165, 32, 0.6));
}

.game-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e8e8e8;
    text-align: center;
    margin-top: auto;
    padding-top: 1.5rem;
    transition: color 0.3s ease;
}

.game-card:hover .game-name {
    color: #daa520;
}

/* ============================================================================
   TABLA DE RANKINGS
   ============================================================================ */
.ranking-container {
    background: rgba(15, 25, 45, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ranking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: rgba(10, 20, 35, 0.6);
    border-bottom: 1px solid rgba(218, 165, 32, 0.3);
}

.search-box {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.search-input {
    padding: 0.6rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 0.95rem;
    width: 250px;
    transition: border-color 0.2s;
    background: rgba(10, 20, 35, 0.6);
    color: #e8e8e8;
}

.search-input:focus {
    outline: none;
    border-color: #daa520;
}

.search-input::placeholder {
    color: #a8b2c1;
}

.btn-search {
    padding: 0.6rem 1.5rem;
    background: linear-gradient(135deg, #daa520 0%, #b8860b 100%);
    color: #0a1628;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-search:hover {
    opacity: 0.9;
}

.ranking-table {
    width: 100%;
    border-collapse: collapse;
}

.ranking-table thead {
    background: rgba(10, 20, 35, 0.8);
    position: sticky;
    top: 0;
    z-index: 10;
}

.ranking-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    color: #daa520;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid rgba(218, 165, 32, 0.3);
}

.ranking-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #e8e8e8;
}

.ranking-table tbody tr {
    transition: background-color 0.2s;
}

.ranking-table tbody tr:hover {
    background-color: rgba(218, 165, 32, 0.1);
}

.rank-cell {
    font-weight: 700;
    color: #daa520;
    font-size: 1.1rem;
}

.player-name {
    font-weight: 600;
    color: #e8e8e8;
    text-decoration: none;
}

.player-name:hover {
    color: #daa520;
}

.race-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.clan-tag {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    background: linear-gradient(135deg, #daa520 0%, #b8860b 100%);
    color: #0a1628;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ============================================================================
   MINI BARRA DE NIVEL (TABLA)
   ============================================================================ */
.level-bar-mini-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.level-bar-mini-bg {
    position: relative;
    width: 100%;
    max-width: 60px;
    height: 15px;
    background: rgba(10, 20, 35, 0.6);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(218, 165, 32, 0.3);
}

.level-bar-mini-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #daa520 0%, #b8860b 100%);
    border-radius: 12px;
    transition: width 0.3s ease-out;
}

.level-number-centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 700;
    color: #daa520;
    font-size: 0.9rem;
    z-index: 1;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
}

/* ============================================================================
   PAGINACIÓN
   ============================================================================ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: rgba(10, 20, 35, 0.6);
}

.page-btn {
    padding: 0.5rem 1rem;
    background: rgba(15, 25, 45, 0.7);
    border: 1px solid rgba(218, 165, 32, 0.3);
    border-radius: 6px;
    color: #e8e8e8;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.page-btn:hover {
    background: rgba(218, 165, 32, 0.3);
    color: #daa520;
    border-color: #daa520;
}

.page-btn.active {
    background: linear-gradient(135deg, #daa520 0%, #b8860b 100%);
    color: #0a1628;
    border-color: #daa520;
}

/* ============================================================================
   PERFIL DE JUGADOR
   ============================================================================ */
.profile-container {
    max-width: 900px;
    margin: 0 auto;
}

.profile-header {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.profile-portrait {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    border: 4px solid #daa520;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(218, 165, 32, 0.3);
}

.profile-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profile-username {
    font-size: 2.5rem;
    font-weight: 700;
    color: #daa520;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(218, 165, 32, 0.5);
}

.profile-rank {
    font-size: 1.3rem;
    color: #e8e8e8;
    font-weight: 600;
}

/* ============================================================================
   BARRA DE EXPERIENCIA
   ============================================================================ */
.exp-container {
    margin: 1.5rem 0;
}

.exp-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #a8b2c1;
}

.exp-header span:last-child {
    color: #daa520;
}

.exp-bar-wrapper {
    position: relative;
    height: 28px;
    background: rgba(10, 20, 35, 0.6);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.3);
    border: 1px solid rgba(218, 165, 32, 0.3);
}

.exp-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #daa520 0%, #b8860b 100%);
    border-radius: 14px;
    transition: width 0.6s ease-out;
    position: relative;
    overflow: hidden;
}

.exp-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255,255,255,0.3) 50%, 
        transparent 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.exp-bar-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #0a1628;
    font-weight: 700;
    font-size: 0.85rem;
    text-shadow: 0 1px 2px rgba(255,255,255,0.3);
    z-index: 1;
}

.level-indicator {
    display: flex;
    justify-content: space-between;
    margin-top: 0.3rem;
    font-size: 0.8rem;
    color: #5a6a7a;
}

/* ============================================================================
   ESTADÍSTICAS DE PERFIL
   ============================================================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: rgba(15, 25, 45, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-label {
    font-size: 0.9rem;
    color: #a8b2c1;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #daa520;
}

.stat-value.wins {
    color: #4CAF50;
}

.stat-value.losses {
    color: #f44336;
}

/* ============================================================================
   TABLA DE RAZAS (PLAY HISTORY)
   ============================================================================ */
.race-stats-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.race-stats-table thead {
    background: rgba(10, 20, 35, 0.8);
}

.race-stats-table th {
    padding: 0.8rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    color: #daa520;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(218, 165, 32, 0.3);
}

.race-stats-table td {
    padding: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #e8e8e8;
}

.race-stats-table tbody tr:nth-child(even) {
    background-color: rgba(15, 25, 45, 0.3);
}

.win-percentage {
    font-weight: 600;
    color: #daa520;
}

/* ============================================================================
   FOOTER
   ============================================================================ */
.main-footer {
    background: rgba(10, 20, 35, 0.95);
    color: #e8e8e8;
    padding: 1rem;
    text-align: center;
    margin-top: 1rem;
    border-top: 2px solid rgba(218, 165, 32, 0.3);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.footer-link {
    color: #e8e8e8;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #daa520;
}

/* ============================================================================
   ICONS GRID (ABOUT PAGE)
   ============================================================================ */
.about-page .content-wrapper {
    max-width: 900px;
}

.icons-grid {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1rem 0;
}

.icon-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0;
    background: transparent;
    border: none;
    transition: all 0.3s ease;
}

.icon-item:hover {
    background: rgba(15, 25, 45, 0.3);
    padding-left: 0.5rem;
}

.icon-item img {
    width: 48px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    flex-shrink: 0;
    display: block;
}

.icon-name {
    font-weight: 600;
    color: #e8e8e8;
    font-size: 1rem;
    margin: 0;
}

.icon-requirement {
    color: #daa520;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
    margin-left: auto;
}

/* ============================================================================
   RESPONSIVE - MOBILE
   ============================================================================ */
@media (max-width: 768px) {
    .hamburger-btn {
        display: flex;
    }
    
    .main-nav {
        display: none;
    }
    
    .content-wrapper {
        padding: 1rem;
        padding-top: 100px;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-header {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .profile-portrait {
        margin: 0 auto;
    }
    
    .ranking-table {
        font-size: 0.85rem;
    }
    
    .ranking-table th,
    .ranking-table td {
        padding: 0.6rem;
    }
    
    .search-input {
        width: 100%;
    }
    
    .ranking-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .site-title {
        font-size: 1.4rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1200px) {
    .icon-item {
        flex-wrap: wrap;
        gap: 0.5rem;
        padding: 0.8rem 0.5rem;
    }
    
    .icon-item img {
        flex-shrink: 0;
    }
    
    .icon-name {
        flex: 1;
        margin-right: 0;
        font-size: 0.95rem;
    }
    
    .icon-requirement {
        width: 100%;
        margin-left: 0;
        padding-left: 56px;
        font-size: 0.85rem;
        margin-top: 0.3rem;
    }
}

@media (max-width: 600px) {
    .ranking-container .pagination {
        gap: 0.2rem;
    }
    
    .ranking-container .pagination span {
        font-size: 0.75rem;
        padding: 0.3rem 0.5rem;
    }
    
    .ranking-container .page-btn {
        padding: 0.3rem 0.5rem;
        font-size: 0.75rem;
    }
	
    .ranking-table th:nth-child(4),
    .ranking-table td:nth-child(4),
    .ranking-table th:nth-child(6),
    .ranking-table td:nth-child(6),
    .ranking-table th:nth-child(7),
    .ranking-table td:nth-child(7),
    .ranking-table th:nth-child(8),
    .ranking-table td:nth-child(8) {
        display: none;
    }
    
    .race-stats-table th:last-child,
    .race-stats-table td:last-child {
        display: none;
    }
}

/* ============================================================================
   UTILIDADES
   ============================================================================ */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.text-muted {
    color: #a8b2c1;
}

.text-primary {
    color: #daa520;
}

.text-success {
    color: #4CAF50;
}

.text-danger {
    color: #f44336;
}

/* ============================================================================
   CHAMPIONS RANKINGS - ESTILOS INDEPENDIENTES
   ============================================================================ */

/* Breadcrumb Champions */
.champions-breadcrumb {
    padding: 1rem 0;
    font-size: 0.9rem;
    color: #a8b2c1;
}

.champions-breadcrumb a {
    color: #daa520;
    text-decoration: none;
    font-weight: 500;
}

.champions-breadcrumb a:hover {
    text-decoration: underline;
}

.champions-breadcrumb-separator {
    margin: 0 0.5rem;
    color: #5a6a7a;
}

/* Contenedor Principal Champions */
.champions-ranking-container {
    background: rgba(15, 25, 45, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Header Champions */
.champions-ranking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: rgba(10, 20, 35, 0.6);
    border-bottom: 1px solid rgba(218, 165, 32, 0.3);
    gap: 1rem;
    flex-wrap: wrap;
}

/* Filtro de Categoría */
.champions-category-filter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.champions-category-label {
    color: #daa520;
    font-weight: 600;
}

.champions-category-select {
    padding: 0.6rem 1rem;
    border: 2px solid rgba(218, 165, 32, 0.3);
    border-radius: 8px;
    background: rgba(10, 20, 35, 0.6);
    color: #e8e8e8;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s;
}

.champions-category-select:focus {
    outline: none;
    border-color: #daa520;
}

/* Paginación Champions */
.champions-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.champions-pagination-footer {
    padding: 1.5rem;
    background: rgba(10, 20, 35, 0.6);
}

.champions-page-btn {
    padding: 0.5rem 1rem;
    background: rgba(15, 25, 45, 0.7);
    border: 1px solid rgba(218, 165, 32, 0.3);
    border-radius: 6px;
    color: #e8e8e8;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.champions-page-btn:hover {
    background: rgba(218, 165, 32, 0.3);
    color: #daa520;
    border-color: #daa520;
}

.champions-page-btn.champions-page-disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.champions-page-info {
    padding: 0.5rem 1rem;
    font-weight: 600;
    color: #e8e8e8;
}

/* Búsqueda Champions */
.champions-search-box {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.champions-search-input {
    padding: 0.6rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 0.95rem;
    width: 250px;
    transition: border-color 0.2s;
    background: rgba(10, 20, 35, 0.6);
    color: #e8e8e8;
}

.champions-search-input:focus {
    outline: none;
    border-color: #daa520;
}

.champions-search-input::placeholder {
    color: #a8b2c1;
}

.champions-btn-search {
    padding: 0.6rem 1.5rem;
    background: linear-gradient(135deg, #daa520 0%, #b8860b 100%);
    color: #0a1628;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.champions-btn-search:hover {
    opacity: 0.9;
}

/* Tabla Champions */
.champions-table {
    width: 100%;
    border-collapse: collapse;
}

.champions-table thead {
    background: rgba(10, 20, 35, 0.8);
    position: sticky;
    top: 0;
    z-index: 10;
}

.champions-table th {
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: #daa520;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid rgba(218, 165, 32, 0.3);
}

.champions-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #e8e8e8;
    text-align: center;
}

.champions-table tbody tr {
    transition: background-color 0.2s;
}

.champions-table tbody tr:hover {
    background-color: rgba(218, 165, 32, 0.1);
}

/* Columnas específicas */
.champions-col-rank {
    width: 3%;
}

.champions-col-level {
    width: 3%;
}

.champions-col-tier {
    width: 3%;
}

.champions-col-name {
    width: 20%;
    text-align: left;
}

.champions-col-mmr {
    width: 5%;
}

.champions-col-wins {
    width: 5%;
}

.champions-col-losses {
    width: 5%;
}

.champions-col-disconnect {
    width: 5%;
}

.champions-col-winrate {
    width: 10%;
}

/* Celdas específicas */
.champions-rank-cell {
    font-weight: 700;
    color: #daa520;
    font-size: 1.1rem;
}

.champions-level-cell {
    font-weight: 700;
    color: #daa520;
    font-size: 1.1rem;
}

.champions-tier-cell {
    text-align: center;
}

.champions-name-cell {
    text-align: left;
}

.champions-mmr-cell {
    font-weight: 700;
    color: #daa520;
    font-size: 1.1rem;
}

.champions-wins-cell {
    color: #4CAF50;
}

.champions-losses-cell {
    color: #f44336;
}

.champions-winrate-cell {
    font-weight: 600;
    color: #daa520;
}

/* Icono de Tier */
.champions-tier-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* Nombre del Jugador */
.champions-player-name {
    font-weight: 600;
    color: #e8e8e8;
    cursor: default;
}

/* Sin Resultados */
.champions-no-results {
    text-align: center;
    padding: 3rem;
    color: #95a5a6;
}

/* ============================================================================
   RESPONSIVE - CHAMPIONS MOBILE
   ============================================================================ */
@media (max-width: 500px) {
    .champions-table .champions-col-level,
    .champions-table .champions-col-from,
    .champions-table .champions-col-wins,
    .champions-table .champions-col-losses,
    .champions-table .champions-col-disconnect,
    .champions-table .champions-col-winrate {
        display: none;
    }
    
    /* Ajustar anchos de columnas visibles */
    .champions-table .champions-col-rank {
        width: 20%;
        text-align: center;
    }
    
    .champions-table .champions-col-tier {
        width: 20%;
        text-align: center;
    }
    
    .champions-table .champions-col-name {
        width: 60%;
        text-align: left;
    }
    
    /* Header responsive */
    .champions-ranking-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    /* Filtro responsive */
    .champions-category-filter {
        width: 100%;
        justify-content: space-between;
    }
    
    .champions-category-select {
        flex: 1;
    }
    
	/* Paginación responsive */
	.champions-pagination {
		flex-wrap: nowrap;
		gap: 0.2rem;
		justify-content: center;
	}

	.champions-page-btn {
		padding: 0.3rem 0.5rem;
		font-size: 0.75rem;
	}

	.champions-page-info {
		white-space: nowrap;
		text-align: center;
		padding: 0.3rem 0.5rem;
		font-size: 0.75rem;
	}
    
	/* Búsqueda responsive */
	.champions-search-box {
		width: 100%;
		flex-direction: row;
	}

	.champions-search-input {
		flex: 1;
		min-width: 0;
        font-size: 0.85rem;
	}

	.champions-btn-search {
		width: auto;
		padding: 0.7rem 1.5rem;
	}
    
    /* Tabla responsive */
    .champions-table th,
    .champions-table td {
        padding: 0.6rem;
        font-size: 0.85rem;
    }
    
    .champions-rank-cell {
        font-size: 0.95rem;
    }
}

/* ============================================================================
   FUENTES LOCALES - Inter
   ============================================================================ */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter_24pt-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter_24pt-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter_24pt-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter_24pt-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}