body{
    margin:0;
    font-family:Arial, Helvetica, sans-serif;
    background:linear-gradient(160deg,#052e16,#166534);
}

.banner{
    height:320px;
    background:url('../img/banner.png') center/cover;
}

.timebar{
    background:#99ddff;
    color:#e60000;
    text-align:center;
    padding:12px;
    font-size:30px;
    font-weight:bold;
    border-bottom:4px solid #0066cc;
    box-shadow:0 3px 8px rgba(0,0,0,.3);
}

.main{
    display:flex;
}

.content{
    flex:1;
    padding:20px;
}

/* =========================
   RESUMEN SUPERIOR
========================= */

.mini-stats{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-bottom:20px;
    justify-content:center;
}

.mini-box{
    min-width:110px;
    text-align:center;
    padding:12px;
    border-radius:15px;
    color:#fff;
    font-weight:bold;
    font-size:18px;
    border:3px solid rgba(255,255,255,.4);
    box-shadow:0 4px 10px rgba(0,0,0,.35);
    transition:.3s;
}

.mini-box:hover{
    transform:translateY(-3px);
    box-shadow:0 8px 18px rgba(0,0,0,.45);
}

/* colores automáticos */

.mini-box:nth-child(1){
    background:linear-gradient(135deg,#00c853,#00695c);
}

.mini-box:nth-child(2){
    background:linear-gradient(135deg,#cd7f32,#7b4a12);
}

.mini-box:nth-child(3){
    background:linear-gradient(135deg,#cfd8dc,#607d8b);
}

.mini-box:nth-child(4){
    background:linear-gradient(135deg,#ffd600,#ff8f00);
    color:#222;
}

.mini-box:nth-child(5){
    background:linear-gradient(135deg,#00e5ff,#3f51b5);
}

.mini-box:nth-child(6){
    background:linear-gradient(135deg,#ff1744,#880e4f);
}

/* =========================
   COLUMNAS
========================= */

.ranking-container{
    display:flex;
    gap:18px;
    flex-wrap:wrap;
}

.ranking-col{
    background:#ffffff;
    border-radius:18px;
    overflow:hidden;
    min-width:300px;
    box-shadow:0 6px 18px rgba(0,0,0,.35);
    border:2px solid #ddd;
}

.ranking-title{
    text-align:center;
    font-size:20px;
    font-weight:bold;
    padding:12px;
    color:#fff;
}

/* títulos por categoría */

.ranking-col:nth-child(1) .ranking-title{
    background:linear-gradient(90deg,#00c853,#00695c);
}

.ranking-col:nth-child(2) .ranking-title{
    background:linear-gradient(90deg,#cd7f32,#7b4a12);
}

.ranking-col:nth-child(3) .ranking-title{
    background:linear-gradient(90deg,#cfd8dc,#607d8b);
}

.ranking-col:nth-child(4) .ranking-title{
    background:linear-gradient(90deg,#ffd600,#ff8f00);
    color:#222;
}

.ranking-col:nth-child(5) .ranking-title{
    background:linear-gradient(90deg,#00e5ff,#3f51b5);
}

/* =========================
   FILAS
========================= */

.rank-row{
    display:flex;
    align-items:center;
    gap:2px;
    padding:8px 10px;
    border-bottom:1px solid #ececec;
    font-size:16px;
    transition:.2s;
}

.rank-row:hover{
    background:#f8f9ff;
}

.rank-num{
    width:35px;
    font-weight:bold;
    color:#0066ff;
}

.rank-call{
    width:95px;
    font-weight:bold;
    color: #ff0000;
}

.rank-mode{
    width:40px;
    text-align:center;
    font-weight:bold;
    color:#009688;
}

.rank-date{
    flex:1;
    text-align:right;
    color:#444;
}

/* =========================
   MENU
========================= */

.menu{
    width:220px;
    background:#1f2d3a;
    min-height:100vh;
    padding:15px;
    box-sizing:border-box;
}

.menu h2{
    color:#ffcc00;
    text-align:center;
    margin-bottom:20px;
}

.menu a{
    display:block;
    text-decoration:none;
    background:#66ccff;
    color:#c40000;
    font-weight:bold;
    padding:12px;
    margin-bottom:10px;
    border-radius:12px;
    transition:.25s;
    text-align:center;
    border:2px solid rgba(255,255,255,.4);
}

.menu a:hover{
    background:#ff9933;
    transform:translateX(3px);
}

/* =========================
   MOVIL
========================= */

@media(max-width:1200px){

    .ranking-container{
        justify-content:center;
    }

    .main{
        flex-direction:column;
    }

    .menu{
        width:100%;
        min-height:auto;
    }

    .mini-stats{
        justify-content:center;
    }
}