.matches {
    max-width: 1200px;
    width: 90%;
    margin: 40px auto;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    background: transparent;
    border: 2px solid var(--primary-green);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: fit-content;
}

.matches h1 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--ternary-green);
    margin-bottom: 20px;
}

.matches-columns {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin: 20px;
}

.upcoming-matches,
.past-matches {
    flex: 1;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
}

.upcoming-matches h2,
.past-matches h2 {
    color: var(--ternary-green);
    margin-bottom: 15px;
}

match-preview {
    margin-bottom: 20px;
    padding: 10px;
}

match-preview h3 {
    color: var(--primary-green);
    margin-bottom: 10px;
}

match-preview p {
    margin: 5px 0;
}

match-preview a {
    color: #098009;
    text-decoration: none;
    transition: color 0.3s;
}

match-preview a:hover {
    text-decoration: underline;
    color: #033e03;
}

@media (max-width: 1000px) {
    .matches {
        max-width: 90%;
        padding: 15px;
    }

    .matches h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .matches-columns {
        flex-direction: column;
        gap: 1.5rem;
        margin: 10px 0;
    }

    .upcoming-matches,
    .past-matches {
        padding: 15px;
    }

    .upcoming-matches h2,
    .past-matches h2 {
        font-size: 1.5rem;
    }

    match-preview h3 {
        font-size: 1.2rem;
    }

    match-preview p {
        font-size: 0.9rem;
    }
}

@media (max-width: 600px) {
    .matches {
        max-width: 95%;
        padding: 10px;
    }

    .matches h1 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .matches-columns {
        gap: 1rem;
    }

    .upcoming-matches,
    .past-matches {
        padding: 10px;
    }

    .upcoming-matches h2,
    .past-matches h2 {
        font-size: 1.2rem;
    }

    match-preview h3 {
        font-size: 1rem;
    }

    match-preview p {
        font-size: 0.8rem;
    }
}