* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, Arial;
    background: #0b1220;
    color: #e5e7eb;
}

/* HEADER */
.header {
    text-align: center;
    padding: 15px;
    background: #0f172a;
    border-bottom: 1px solid #1f2937;
}

/* NAV */
.nav {
    display: flex;
    justify-content: space-around;
    background: #111827;
    padding: 10px 0;
    position: sticky;
    top: 0;
}

.nav a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
}

.nav a.active {
    color: #22c55e;
    font-weight: bold;
}

/* CONTENEDOR */
.container {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* CARDS */
.card {
    background: #111827;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.card h2 {
    margin-bottom: 10px;
    font-size: 16px;
}

/* TABLA */
table {
    width: 100%;
    border-collapse: collapse;
}

th {
    text-align: left;
    font-size: 12px;
    color: #9ca3af;
}

td {
    padding: 6px 0;
    font-size: 14px;
}

/* PARTIDOS */
.match {
    display: grid;
    grid-template-columns: 1fr 80px 1fr;
    align-items: center;
    background: #0f172a;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 8px;
}

/* EQUIPOS */
.team {
    width: 100%;
    font-size: 14px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.local {
    text-align: right;
}

.visitante {
    text-align: left;
}

/* RESULTADO */
.score {
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    background: #020617;
    padding: 4px 8px;
    border-radius: 6px;
}

/* LIBRE */
.bye {
    background: #1e293b;
    border: 1px dashed #475569;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    color: #cbd5f5;
}

/* RESPONSIVE */
@media (min-width: 768px) {
    .container {
        max-width: 600px;
        margin: auto;
    }
}