/* ===================================== */
/* RESET */
/* ===================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#0f172a;
    color:white;
}

/* ===================================== */
/* LOGIN */
/* ===================================== */

#login-screen{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:30px;
}

.login-container{
    width:100%;
    max-width:1200px;
}

.brand-area{
    text-align:center;
    margin-bottom:40px;
}

.brand-area h1{
    font-size:3rem;
    font-weight:700;
}

.brand-area p{
    color:#cbd5e1;
    margin-top:10px;
}

.access-grid{
    display:flex;
    gap:25px;
    justify-content:center;
    flex-wrap:wrap;
}

.access-card{
    background:#1e293b;
    width:380px;
    border-radius:25px;
    padding:30px;
    box-shadow:0 0 20px rgba(0,0,0,.4);
}

.access-card:hover{
    transform:translateY(-4px);
    transition:.3s;
}

.icon{
    font-size:3rem;
    text-align:center;
}

.access-card h2{
    text-align:center;
    margin:15px 0;
}

.access-card input{
    width:100%;
    padding:14px;
    margin-top:10px;
    border:none;
    border-radius:12px;
}

.access-card button{
    width:100%;
    padding:14px;
    margin-top:15px;
    border:none;
    border-radius:12px;
    background:#22c55e;
    color:white;
    font-weight:600;
    cursor:pointer;
}

/* ===================================== */
/* SEGUIMIENTO */
/* ===================================== */

.screen{
    display:none;
}

.active{
    display:block;
}

#follow-male,
#follow-female{
    padding:40px 20px;
}

.follow-header{
    text-align:center;
    margin-bottom:30px;
}

.teams-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
    max-width:1100px;
    margin:auto;
}

.team-select{
    height:180px;
    border-radius:20px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    cursor:pointer;
    font-weight:600;
    transition:.3s;
}

.team-select:hover{
    transform:translateY(-5px);
}

.team-select span{
    font-size:3rem;
}

/* Países */

.colombia{
    background:#facc15;
    color:#111827;
}

.brasil{
    background:#16a34a;
}

.argentina{
    background:#38bdf8;
    color:#111827;
}

.francia{
    background:#1d4ed8;
}

.follow-actions{
    margin-top:30px;
    display:flex;
    justify-content:center;
    gap:15px;
}

.follow-actions button{
    padding:14px 25px;
    border:none;
    border-radius:12px;
    cursor:pointer;
    font-weight:600;
}

.follow-actions button:first-child{
    background:#475569;
    color:white;
}

.follow-actions button:last-child{
    background:#22c55e;
    color:white;
}

/* ===================================== */
/* NAVBAR */
/* ===================================== */

.navbar{
    position:sticky;
    top:0;
    z-index:999;
    background:#111827;
    border-bottom:1px solid #334155;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 20px;
}

.nav-brand{
    display:flex;
    gap:10px;
}

.brand-box{
    background:#1e293b;
    padding:10px 15px;
    border-radius:10px;
    font-weight:600;
}

.navbar ul{
    display:flex;
    list-style:none;
    gap:25px;
}

.navbar a{
    color:white;
    text-decoration:none;
    font-weight:500;
}

.navbar a:hover{
    color:#facc15;
}

/* ===================================== */
/* SECCIONES */
/* ===================================== */

.content-section{
    max-width:1200px;
    margin:auto;
    padding:30px 20px;
}

.section-title{
    margin-bottom:20px;
    font-size:1.8rem;
}

/* ===================================== */
/* BIENVENIDA */
/* ===================================== */

.welcome-card{
    background:#1e293b;
    border-radius:20px;
    padding:25px;
    margin-bottom:25px;
}

/* ===================================== */
/* PARTIDOS */
/* ===================================== */

.sports-card{
    background:#1e293b;
    border-radius:20px;
    padding:25px;
    margin-bottom:20px;
}

.match-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.team-side{
    display:flex;
    flex-direction:column;
    align-items:center;
    font-size:1.2rem;
}

.match-center{
    text-align:center;
}

.score{
    font-size:3rem;
    font-weight:700;
}

.status{
    color:#94a3b8;
    margin-top:5px;
}

.date{
    margin-top:5px;
    font-size:.9rem;
}

.events-row{
    margin-top:10px;
    padding:10px;
    background:#0f172a;
    border-radius:10px;
}

.red-card{
    border-left:4px solid red;
}

/* ===================================== */
/* EQUIPOS */
/* ===================================== */

.teams-showcase{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
}

.country-card{
    border-radius:20px;
    padding:20px;
    text-align:center;
}

.flag-big{
    font-size:4rem;
}

.last-match{
    margin-top:15px;
    padding:10px;
    background:rgba(0,0,0,.2);
    border-radius:10px;
}

/* ===================================== */
/* TABLAS */
/* ===================================== */

.positions-table{
    width:100%;
    border-collapse:collapse;
    background:#facc15;
    color:#111827;
    border-radius:15px;
    overflow:hidden;
}

.positions-table th{
    background:#eab308;
}

.positions-table th,
.positions-table td{
    padding:12px;
    text-align:center;
}

/* ===================================== */
/* CALENDARIO */
/* ===================================== */

.calendar-card{
    background:#1e293b;
    padding:20px;
    border-radius:20px;
    margin-bottom:15px;
}

/* ===================================== */
/* BOTONES */
/* ===================================== */

button{
    transition:.3s;
}

button:hover{
    opacity:.9;
}

/* ===================================== */
/* RESPONSIVE */
/* ===================================== */

@media(max-width:768px){

    .navbar{
        flex-direction:column;
        gap:15px;
    }

    .navbar ul{
        flex-wrap:wrap;
        justify-content:center;
    }

    .match-top{
        flex-direction:column;
        gap:20px;
    }

    .score{
        font-size:2.5rem;
    }

    .brand-area h1{
        font-size:2rem;
    }

}