/* Estilos generales */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

header {
    background: #006847; /* Verde de Nacional */
    color: white;
    text-align: center;
    padding: 1rem;
}

header h1 {
    margin: 0;
    font-size: 1.8rem;
}

.live {
    background: red;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.8em;
    animation: blink 1s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.date {
    margin: 0.5rem 0;
    font-weight: bold;
}

/* Marcador */
.scoreboard {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem auto;
    max-width: 600px;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.team {
    text-align: center;
    flex: 1;
}

.team img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.team-name {
    display: block;
    margin: 0.5rem 0;
    font-weight: bold;
    font-size: 1.2rem;
}

.goals {
    font-size: 2.5rem;
    font-weight: bold;
    color: #006847;
}

.vs {
    font-size: 1.5rem;
    margin: 0 1rem;
    font-weight: bold;
}

/* Estado del partido */
.match-status {
    text-align: center;
    margin: 1.5rem 0;
}

#minute {
    font-weight: bold;
    font-size: 1.5rem;
    color: #d32f2f;
}

#status {
    background: #333;
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 1rem;
    text-transform: uppercase;
}

/* Botones */
.actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

button {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    background: #006847;
    color: white;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

button:hover {
    background: #005538;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Anuncios */
.ad-banner {
    margin: 2rem auto;
    padding: 1rem;
    background: #f0f0f0;
    text-align: center;
    border-radius: 8px;
    max-width: 1200px;
    border: 1px dashed #ccc;
}

/* Contenido dinámico */
#dynamic-content {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Footer */
footer {
    text-align: center;
    padding: 1.5rem;
    background: #333;
    color: white;
    font-size: 0.9rem;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.5rem;
    }
    
    .scoreboard {
        padding: 1rem;
        margin: 1rem auto;
    }
    
    .team img {
        width: 60px;
        height: 60px;
    }
    
    .actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    button {
        width: 100%;
    }
}
