/* ====== CONTENEDOR PRINCIPAL ====== */
.top-container {
    max-width: 650px;              
    margin: 70px auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 30px 40px;
    border-radius: 18px;
    box-shadow: 0 0 25px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.1);
    animation: fadeIn 0.8s ease-out;
    color: #fff; /* Color del texto SOLO dentro del top */
}

/* ====== TÍTULO ====== */
.top-container h1 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 32px;
    font-weight: 600;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255,215,0,0.4);
}

/* ====== TABLA ====== */
.top-table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 12px;
}

.top-table thead {
    background: rgba(255,255,255,0.1);
}

.top-table th {
    padding: 14px;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid rgba(255,255,255,0.15);
}

.top-table td {
    padding: 14px;
    font-size: 16px;
}

/* Filas alternas */
.top-table tr:nth-child(even) {
    background: rgba(255,255,255,0.03);
}

.top-table tr:nth-child(odd) {
    background: rgba(255,255,255,0.06);
}

/* Hover */
.top-table tr:hover {
    background: rgba(255,255,255,0.15);
    transition: 0.25s;
}

/* Columna del ranking */
.top-table td:first-child {
    text-align: center;
    font-weight: bold;
    color: #ffd700;
    font-size: 18px;
}

/* ====== ANIMACIÓN ====== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ====== RESPONSIVE ====== */
@media (max-width: 500px) {
    .top-container {
        padding: 20px;
    }

    .top-table th, .top-table td {
        padding: 10px;
        font-size: 14px;
    }

    .top-container h1 {
        font-size: 26px;
    }
}

