/* General styles for both views */
.matchmakingbanner-container {
    color: #ffffff;
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin: 0 auto;
    display: flex;
    align-items: center;
    min-width: 300px;
}

/* Background image and gradient for desktop view */
@media (min-width: 768px) {
    .matchmakingbanner-container {
        background: linear-gradient(90deg, #025296 0%, #011A30 100%);
        background-image: url('../images/Matchmaking-web.webp');
        background-image: url('../images/Matchmaking-web.webp'), linear-gradient(90deg, #025296 0%, #011A30 100%);
        padding: 40px;
        background-size: cover;
        height: 250px;
    }

    .matchmakingbanner-container h1 {
        font-size: 26px;
        color: #ffffff !important;
        font-family: Roboto, sans-serif;
    }

    .matchmakingbanner-container p {
        font-size: 1.5rem;
        font-family: Roboto, sans-serif;
    }

    .matchmakingbanner-container .matchmaking-button {
        padding: 12px 24px;
    }
}

/* Background image and gradient for mobile view */
@media (max-width: 767px) {
    .matchmakingbanner-container {
        background: linear-gradient(90deg, #025296 0%, #011A30 100%);
        background-image: url('../images/Matchmaking-mobile.webp');
        background-image: url('../images/Matchmaking-mobile.webp'), linear-gradient(90deg, #025296 0%, #011A30 100%);
        padding: 30px;
        background-size: cover;
        height: 400px;
    }

    .matchmakingbanner-container h1 {
        font-size: 26px;
        color: #ffffff!important;
        font-family: Roboto, sans-serif;
        text-align: left;
    }

    .matchmakingbanner-container p {
        font-size: 16px;
        font-family: Roboto, sans-serif;
        text-align: left;
    }

    .matchmakingbanner-container .matchmaking-button {
        padding: 10px 20px;
        font-size: 16px;
        text-align: left;
        font-family: Roboto, sans-serif;
    }
    .matchmakingbanner-content {
        max-width: 600px;
        margin: 0 auto;
        text-align: left;
    }
}

.matchmakingbanner-content {
    max-width: 600px;
    margin: 0 auto;
}

.matchmakingbanner-container h1 {
    margin-bottom: 20px;
}

.matchmakingbanner-container p {
    margin-bottom: 30px;
}

.matchmakingbanner-container .matchmaking-button{
    background-color: white;
    color: #0d4a8a !important;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.matchmakingbanner-container .matchmaking-button:hover {
    background-color: #e0e0e0 !important;
}
