/*
|--------------------------------------------------------------------------
| Grid
|--------------------------------------------------------------------------
*/

.mdv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

/*
|--------------------------------------------------------------------------
| Card
|--------------------------------------------------------------------------
*/

.mdv-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.mdv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.10);
}

.mdv-card-content {
    padding: 40px;
}

/*
|--------------------------------------------------------------------------
| Images
|--------------------------------------------------------------------------
*/

.mdv-card-media {
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.mdv-card-media img {
    max-width: 160px;
    max-height: 160px;
    object-fit: contain;
}

.mdv-player-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

/*
|--------------------------------------------------------------------------
| Typography
|--------------------------------------------------------------------------
*/

.mdv-title {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 30px;
    color: #111111;
}

.mdv-meta {
    margin-bottom: 20px;
    color: #444444;
    line-height: 1.6;
}

/*
|--------------------------------------------------------------------------
| Badge
|--------------------------------------------------------------------------
*/

.mdv-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #111111;
    color: #ffffff;
    border-radius: 12px;
    padding: 12px 18px;
    font-weight: 700;
    font-size: 16px;
}

/*
|--------------------------------------------------------------------------
| Sections
|--------------------------------------------------------------------------
*/

.mdv-section {
    margin: 100px 0;
}

.mdv-section:first-child {
    margin-top: 0;
}

/*
|--------------------------------------------------------------------------
| Module Header
|--------------------------------------------------------------------------
*/

.mdv-module-header {
    margin-bottom: 40px;
}

.mdv-module-title {
    font-size: 56px;
    line-height: 1.1;
    margin: 0;
    color: #111111;
}

/*
|--------------------------------------------------------------------------
| Container
|--------------------------------------------------------------------------
*/

.mdv-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/*
|--------------------------------------------------------------------------
| Card Links
|--------------------------------------------------------------------------
*/

.mdv-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.mdv-card-link:hover {
    text-decoration: none;
    color: inherit;
}

/*
|--------------------------------------------------------------------------
| Match Card
|--------------------------------------------------------------------------
*/

.mdv-match-card {
    padding: 30px;
}

.mdv-match-card .mdv-match-layout {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
}

.mdv-match-card .mdv-match-team {
    text-align: center;
}

.mdv-match-card .mdv-match-team-logo img {
    width: 100%;
    max-width: 90px;
    height: 90px;
    object-fit: contain;
    margin: 0 auto;
}

.mdv-match-card .mdv-match-team-name {
    font-size: 18px;
    margin-top: 15px;
}

.mdv-match-card .mdv-match-vs,
.mdv-match-card .mdv-match-score {
    font-size: 36px;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1;
}

.mdv-match-card .mdv-match-datetime {
    font-size: 14px;
    opacity: 0.7;
}

.mdv-match-card .mdv-match-center {
    text-align: center;
}

/*
|--------------------------------------------------------------------------
| Single Player
|--------------------------------------------------------------------------
*/

.mdv-player-single-card {
    padding: 70px;
}

.mdv-player-single-card .mdv-match-layout {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 80px;
    align-items: center;
}

.mdv-player-single-image img {
    width: 100%;
    max-width: 420px;
    border-radius: 24px;
    object-fit: cover;
}

.mdv-player-single-content .mdv-badge {
    margin: 25px 0;
}

/*
|--------------------------------------------------------------------------
| Single Match
|--------------------------------------------------------------------------
*/

.mdv-match-single-card {
    padding: 70px;
}

.mdv-match-single-card .mdv-match-layout {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 80px;
    align-items: center;
}

.mdv-match-single-card .mdv-match-team {
    text-align: center;
}

.mdv-match-single-card .mdv-match-team-logo img {
    width: 100%;
    max-width: 320px;
    max-height: 320px;
    object-fit: contain;
    margin: 0 auto;
}

.mdv-match-single-card .mdv-match-team-name {
    font-size: 42px;
    margin-top: 30px;
    text-align: center;
}

.mdv-match-single-card .mdv-match-score,
.mdv-match-single-card .mdv-match-vs {
    font-size: 72px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 20px;
    text-align: center;
}

.mdv-match-single-card .mdv-match-datetime {
    font-size: 20px;
    opacity: 0.7;
    text-align: center;
}

.mdv-match-single-card .mdv-match-center .mdv-badge {
    margin-top: 25px;
}

/*
|--------------------------------------------------------------------------
| Responsive
|--------------------------------------------------------------------------
*/

@media (max-width: 991px) {

    .mdv-module-title {
        font-size: 42px;
    }
}

@media (max-width: 980px) {

    .mdv-match-single-card {
        padding: 30px;
    }

    .mdv-match-single-card .mdv-match-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .mdv-match-single-card .mdv-match-team-logo img {
        max-width: 180px;
        max-height: 180px;
    }

    .mdv-match-single-card .mdv-match-team-name {
        font-size: 28px;
    }

    .mdv-match-single-card .mdv-match-score,
    .mdv-match-single-card .mdv-match-vs {
        font-size: 48px;
    }

    .mdv-player-single-card .mdv-match-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 767px) {

    .mdv-grid {
        grid-template-columns: 1fr;
    }

    .mdv-section {
        margin: 60px 0;
    }

    .mdv-card-content {
        padding: 30px;
    }

    .mdv-module-title {
        font-size: 36px;
    }

    .mdv-player-single-card {
        padding: 30px;
    }

    .mdv-player-single-image img {
        max-width: 100%;
    }

    .mdv-match-card .mdv-match-layout {
        grid-template-columns: 1fr;
    }

    .mdv-match-card .mdv-match-vs,
    .mdv-match-card .mdv-match-score {
        font-size: 28px;
    }
}