/*
==========================================================
OUANAMINTHE FC - MATCH CENTER
File: match-center.css
Part: 1 / 2

Sections:
1. Match Center Variables
2. Base Page
3. Main Container
4. Top Navigation
5. Status Badges
6. Scoreboard Card
7. Team Logos
8. Score Display
9. Match Information
10. Global Match Cards
11. Section Headings
12. Match Summary
13. Countdown
14. Goal Scorers
15. Buttons
16. Loading and Empty States
==========================================================
*/


/* ======================================================
   1. MATCH CENTER VARIABLES
====================================================== */

:root {
    --match-primary: var(--color-primary, #33a8ff);
    --match-primary-dark: var(--color-primary-dark, #0077cc);
    --match-primary-light: var(--color-primary-light, #d9f0ff);

    --match-white: #ffffff;
    --match-black: #0a1628;

    --match-text: #1b2638;
    --match-text-soft: #65758b;
    --match-text-light: #8b99aa;

    --match-background: #f4f8fc;
    --match-background-soft: #eef5fb;

    --match-border: #dfe8f1;
    --match-border-soft: #edf2f7;

    --match-success: #16a36a;
    --match-success-light: #ddf8ed;

    --match-danger: #e53935;
    --match-danger-dark: #c62828;
    --match-danger-light: #ffe4e4;

    --match-warning: #f5a623;
    --match-warning-light: #fff2d8;

    --match-muted: #64748b;
    --match-muted-light: #edf1f5;

    --match-shadow-sm:
        0 6px 20px rgba(15, 42, 70, 0.06);

    --match-shadow-md:
        0 14px 40px rgba(15, 42, 70, 0.10);

    --match-shadow-lg:
        0 25px 70px rgba(9, 44, 77, 0.15);

    --match-radius-sm: 10px;
    --match-radius-md: 16px;
    --match-radius-lg: 24px;
    --match-radius-xl: 32px;

    --match-transition:
        all 0.3s ease;
}


/* ======================================================
   2. BASE PAGE
====================================================== */

.match-center-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(
            circle at 10% 5%,
            rgba(51, 168, 255, 0.14),
            transparent 28%
        ),
        radial-gradient(
            circle at 90% 15%,
            rgba(0, 119, 204, 0.09),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #f8fbfe 0%,
            var(--match-background) 45%,
            #eef5fa 100%
        );
}

.match-center-page::before,
.match-center-page::after {
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    content: "";
    pointer-events: none;
    filter: blur(2px);
}

.match-center-page::before {
    top: 180px;
    left: -180px;
    width: 420px;
    height: 420px;
    background: rgba(51, 168, 255, 0.06);
}

.match-center-page::after {
    right: -220px;
    bottom: 300px;
    width: 500px;
    height: 500px;
    background: rgba(0, 119, 204, 0.05);
}

.match-center-section {
    position: relative;
    z-index: 1;
    padding-top: 55px;
    padding-bottom: 90px;
}

.match-center-page *,
.match-center-page *::before,
.match-center-page *::after {
    box-sizing: border-box;
}


/* ======================================================
   3. MAIN CONTAINER
====================================================== */

.match-center-page .container-custom {
    width: min(1180px, calc(100% - 40px));
    margin-right: auto;
    margin-left: auto;
}

.match-center-page img {
    display: block;
    max-width: 100%;
}

.match-center-page a {
    text-decoration: none;
}

.match-center-page button,
.match-center-page a {
    -webkit-tap-highlight-color: transparent;
}


/* ======================================================
   4. TOP NAVIGATION
====================================================== */

.match-center-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.match-center-back {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--match-text);
    font-size: 0.92rem;
    font-weight: 700;
    transition: var(--match-transition);
}

.match-center-back i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--match-border);
    border-radius: 50%;
    background: var(--match-white);
    color: var(--match-primary-dark);
    font-size: 0.95rem;
    box-shadow: var(--match-shadow-sm);
    transition: var(--match-transition);
}

.match-center-back:hover {
    color: var(--match-primary-dark);
}

.match-center-back:hover i {
    border-color: var(--match-primary);
    background: var(--match-primary);
    color: var(--match-white);
    transform: translateX(-3px);
}


/* ======================================================
   5. STATUS BADGES
====================================================== */

.match-center-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 15px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: var(--match-shadow-sm);
}

.match-center-status strong {
    font-weight: 900;
}

.status-live {
    border: 1px solid rgba(229, 57, 53, 0.20);
    background: var(--match-danger-light);
    color: var(--match-danger-dark);
}

.status-finished {
    border: 1px solid rgba(22, 163, 106, 0.20);
    background: var(--match-success-light);
    color: #087649;
}

.status-upcoming {
    border: 1px solid rgba(51, 168, 255, 0.22);
    background: var(--match-primary-light);
    color: var(--match-primary-dark);
}

.status-postponed {
    border: 1px solid rgba(245, 166, 35, 0.24);
    background: var(--match-warning-light);
    color: #9a5a00;
}

.status-cancelled {
    border: 1px solid rgba(229, 57, 53, 0.20);
    background: var(--match-danger-light);
    color: var(--match-danger-dark);
}

.status-default {
    border: 1px solid var(--match-border);
    background: var(--match-muted-light);
    color: var(--match-muted);
}

.match-live-dot {
    position: relative;
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--match-danger);
}

.match-live-dot::after {
    position: absolute;
    inset: -5px;
    border: 2px solid rgba(229, 57, 53, 0.35);
    border-radius: 50%;
    content: "";
    animation: matchLivePulse 1.4s infinite;
}

@keyframes matchLivePulse {
    0% {
        opacity: 1;
        transform: scale(0.5);
    }

    70% {
        opacity: 0;
        transform: scale(1.4);
    }

    100% {
        opacity: 0;
        transform: scale(1.5);
    }
}


/* ======================================================
   6. SCOREBOARD CARD
====================================================== */

.match-scoreboard-card {
    position: relative;
    overflow: hidden;
    margin-bottom: 28px;
    border: 1px solid rgba(255, 255, 255, 0.50);
    border-radius: var(--match-radius-xl);
    background:
        linear-gradient(
            135deg,
            #063e6f 0%,
            #0879c7 46%,
            #33a8ff 100%
        );
    color: var(--match-white);
    box-shadow: var(--match-shadow-lg);
}

.match-scoreboard-card::before {
    position: absolute;
    top: -150px;
    left: -100px;
    width: 390px;
    height: 390px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    content: "";
}

.match-scoreboard-card::after {
    position: absolute;
    right: -110px;
    bottom: -180px;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    content: "";
}

.match-scoreboard-heading {
    position: relative;
    z-index: 2;
    padding: 29px 32px 8px;
    text-align: center;
}

.match-scoreboard-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.match-scoreboard-heading p {
    margin: 0;
    color: var(--match-white);
    font-size: 1rem;
    font-weight: 700;
}

.match-scoreboard {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(180px, 0.72fr)
        minmax(0, 1fr);
    align-items: center;
    gap: 30px;
    padding: 34px 55px 45px;
}


/* ======================================================
   7. TEAM LOGOS
====================================================== */

.scoreboard-team {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.scoreboard-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 126px;
    height: 126px;
    margin-bottom: 18px;
    padding: 13px;
    border: 1px solid rgba(255, 255, 255, 0.30);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow:
        0 16px 35px rgba(0, 31, 61, 0.22),
        inset 0 0 0 6px rgba(51, 168, 255, 0.07);
}

.scoreboard-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.scoreboard-logo span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background:
        linear-gradient(
            135deg,
            var(--match-primary),
            var(--match-primary-dark)
        );
    color: var(--match-white);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 0.03em;
}

.scoreboard-team h1,
.scoreboard-team h2 {
    max-width: 280px;
    margin: 0 0 6px;
    color: var(--match-white);
    font-size: clamp(1.15rem, 2vw, 1.7rem);
    font-weight: 800;
    line-height: 1.2;
}

.scoreboard-team small {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}


/* ======================================================
   8. SCORE DISPLAY
====================================================== */

.scoreboard-center {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.scoreboard-score {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    min-width: 190px;
    margin-bottom: 13px;
    padding: 14px 22px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 22px;
    background: rgba(0, 32, 64, 0.24);
    backdrop-filter: blur(14px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 13px 30px rgba(0, 30, 58, 0.14);
}

.scoreboard-score strong {
    min-width: 52px;
    color: var(--match-white);
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1;
}

.scoreboard-score span {
    color: rgba(255, 255, 255, 0.66);
    font-size: 2rem;
    font-weight: 400;
}

.scoreboard-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 102px;
    height: 76px;
    margin-bottom: 14px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 22px;
    background: rgba(0, 32, 64, 0.23);
    color: var(--match-white);
    font-size: 1.55rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    backdrop-filter: blur(12px);
}

.scoreboard-status-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 29px;
    padding: 7px 13px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
    color: var(--match-white);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.scoreboard-live-text {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.80);
    font-size: 0.82rem;
    font-weight: 600;
}


/* ======================================================
   9. MATCH INFORMATION
====================================================== */

.match-main-information {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(165px, 1fr));
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(0, 32, 64, 0.19);
    backdrop-filter: blur(12px);
}

.match-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 94px;
    padding: 20px 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.match-info-item:last-child {
    border-right: 0;
}

.match-info-item i {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    color: var(--match-white);
    font-size: 1.05rem;
}

.match-info-item div {
    min-width: 0;
}

.match-info-item span {
    display: block;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.match-info-item strong {
    display: block;
    overflow: hidden;
    color: var(--match-white);
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.35;
    text-overflow: ellipsis;
}


/* ======================================================
   10. GLOBAL MATCH CARDS
====================================================== */

.match-center-card {
    position: relative;
    overflow: hidden;
    margin-top: 26px;
    padding: 34px;
    border: 1px solid var(--match-border-soft);
    border-radius: var(--match-radius-lg);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--match-shadow-md);
}

.match-center-card::before {
    position: absolute;
    top: 0;
    left: 35px;
    width: 75px;
    height: 4px;
    border-radius: 0 0 6px 6px;
    background:
        linear-gradient(
            90deg,
            var(--match-primary),
            var(--match-primary-dark)
        );
    content: "";
}

.match-center-card:hover {
    border-color: rgba(51, 168, 255, 0.24);
}

.match-center-card p:last-child {
    margin-bottom: 0;
}


/* ======================================================
   11. SECTION HEADINGS
====================================================== */

.match-section-heading {
    margin-bottom: 27px;
}

.match-section-heading span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 7px;
    color: var(--match-primary-dark);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.match-section-heading span::before {
    width: 22px;
    height: 2px;
    border-radius: 10px;
    background: var(--match-primary);
    content: "";
}

.match-section-heading h2 {
    margin: 0;
    color: var(--match-text);
    font-size: clamp(1.45rem, 3vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
}


/* ======================================================
   12. MATCH SUMMARY
====================================================== */

.match-summary-content {
    position: relative;
    padding-left: 25px;
    color: var(--match-text-soft);
    font-size: 1rem;
    line-height: 1.85;
}

.match-summary-content::before {
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 0;
    width: 4px;
    border-radius: 10px;
    background:
        linear-gradient(
            180deg,
            var(--match-primary),
            var(--match-primary-dark)
        );
    content: "";
}


/* ======================================================
   13. COUNTDOWN
====================================================== */

.match-center-countdown {
    display: grid;
    grid-template-columns: repeat(4, minmax(105px, 1fr));
    gap: 16px;
}

.match-center-countdown:empty::before {
    grid-column: 1 / -1;
    display: block;
    padding: 25px;
    border: 1px dashed var(--match-border);
    border-radius: var(--match-radius-md);
    background: var(--match-background);
    color: var(--match-text-soft);
    content: "Chargement du compte à rebours...";
    text-align: center;
}

.countdown-item {
    position: relative;
    overflow: hidden;
    padding: 24px 15px;
    border: 1px solid rgba(51, 168, 255, 0.15);
    border-radius: var(--match-radius-md);
    background:
        linear-gradient(
            145deg,
            #fafdff,
            #edf7ff
        );
    text-align: center;
    box-shadow: var(--match-shadow-sm);
}

.countdown-item::after {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 85px;
    height: 85px;
    border-radius: 50%;
    background: rgba(51, 168, 255, 0.08);
    content: "";
}

.countdown-item strong {
    position: relative;
    z-index: 1;
    display: block;
    margin-bottom: 5px;
    color: var(--match-primary-dark);
    font-size: clamp(1.7rem, 4vw, 2.5rem);
    font-weight: 900;
    line-height: 1;
}

.countdown-item span {
    position: relative;
    z-index: 1;
    color: var(--match-text-soft);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.countdown-finished {
    grid-column: 1 / -1;
    padding: 24px;
    border: 1px solid rgba(22, 163, 106, 0.18);
    border-radius: var(--match-radius-md);
    background: var(--match-success-light);
    color: #087649;
    font-size: 1rem;
    font-weight: 800;
    text-align: center;
}


/* ======================================================
   14. GOAL SCORERS
====================================================== */

.goal-scorers-list {
    display: grid;
    gap: 14px;
}

.goal-scorer-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    min-height: 76px;
    padding: 14px 18px;
    border: 1px solid var(--match-border-soft);
    border-radius: var(--match-radius-md);
    background: var(--match-white);
    transition: var(--match-transition);
}

.goal-scorer-item:hover {
    border-color: rgba(51, 168, 255, 0.25);
    box-shadow: var(--match-shadow-sm);
    transform: translateY(-2px);
}

.goal-scorer-item.is-home {
    border-left: 4px solid var(--match-primary);
}

.goal-scorer-item.is-away {
    border-right: 4px solid var(--match-primary-dark);
}

.goal-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--match-background-soft);
    font-size: 1.2rem;
}

.goal-scorer-item div {
    min-width: 0;
}

.goal-scorer-item div strong {
    display: block;
    overflow: hidden;
    margin-bottom: 3px;
    color: var(--match-text);
    font-size: 0.96rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.goal-scorer-item div span {
    color: var(--match-primary-dark);
    font-size: 0.78rem;
    font-weight: 800;
}

.goal-scorer-item small {
    max-width: 180px;
    color: var(--match-text-soft);
    font-size: 0.74rem;
    font-weight: 700;
    text-align: right;
}




.result-report-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}


/* ======================================================
   16. MATCH NOT FOUND
====================================================== */

.match-center-not-found {
    max-width: 680px;
    margin: 50px auto;
    padding: 60px 35px;
    border: 1px solid var(--match-border);
    border-radius: var(--match-radius-xl);
    background: var(--match-white);
    text-align: center;
    box-shadow: var(--match-shadow-lg);
}

.match-center-not-found-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 86px;
    height: 86px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: var(--match-danger-light);
    color: var(--match-danger);
    font-size: 2.2rem;
}

.match-center-not-found h1 {
    margin: 0 0 12px;
    color: var(--match-text);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 900;
}

.match-center-not-found p {
    max-width: 480px;
    margin: 0 auto 25px;
    color: var(--match-text-soft);
    font-size: 0.95rem;
    line-height: 1.7;
}


/* ======================================================
   17. GENERIC EMPTY CONTENT
====================================================== */

.match-empty-content {
    padding: 35px 20px;
    border: 1px dashed var(--match-border);
    border-radius: var(--match-radius-md);
    background: var(--match-background);
    color: var(--match-text-soft);
    text-align: center;
}

.match-empty-content i {
    display: block;
    margin-bottom: 10px;
    color: var(--match-primary);
    font-size: 2rem;
}

.match-empty-content p {
    margin: 0;
}


/* ======================================================
   18. ACCESSIBILITY
====================================================== */

.match-center-page a:focus-visible,
.match-center-page button:focus-visible {
    outline: 3px solid rgba(51, 168, 255, 0.35);
    outline-offset: 3px;
}

.match-center-page iframe {
    border: 0;
}


/* ======================================================
   19. TABLET RESPONSIVE - PART 1
====================================================== */

@media (max-width: 991.98px) {

    .match-center-section {
        padding-top: 40px;
        padding-bottom: 70px;
    }

    .match-scoreboard {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(150px, 0.65fr)
            minmax(0, 1fr);
        gap: 18px;
        padding: 32px 25px 40px;
    }

    .scoreboard-logo {
        width: 105px;
        height: 105px;
    }

    .scoreboard-score {
        min-width: 150px;
        padding-right: 15px;
        padding-left: 15px;
    }

    .scoreboard-score strong {
        min-width: 40px;
        font-size: 3.2rem;
    }

    .match-main-information {
        grid-template-columns: repeat(2, 1fr);
    }

    .match-info-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .match-info-item:nth-child(2n) {
        border-right: 0;
    }

    .match-center-countdown {
        grid-template-columns: repeat(4, 1fr);
    }

}


/* ======================================================
   20. MOBILE RESPONSIVE - PART 1
====================================================== */

@media (max-width: 767.98px) {

    .match-center-page .container-custom {
        width: min(100% - 24px, 1180px);
    }

    .match-center-section {
        padding-top: 28px;
        padding-bottom: 55px;
    }

    .match-center-topbar {
        align-items: flex-start;
        margin-bottom: 18px;
    }

    .match-center-back {
        font-size: 0.8rem;
    }

    .match-center-back i {
        width: 31px;
        height: 31px;
    }

    .match-center-status {
        min-height: 34px;
        padding: 7px 11px;
        font-size: 0.66rem;
    }

    .match-scoreboard-card {
        border-radius: 22px;
    }

    .match-scoreboard-heading {
        padding: 23px 18px 5px;
    }

    .match-scoreboard-heading p {
        font-size: 0.84rem;
    }

    .match-scoreboard {
        grid-template-columns:
            minmax(0, 1fr)
            100px
            minmax(0, 1fr);
        gap: 9px;
        padding: 27px 12px 32px;
    }

    .scoreboard-logo {
        width: 78px;
        height: 78px;
        margin-bottom: 12px;
        padding: 9px;
    }

    .scoreboard-logo span {
        width: 58px;
        height: 58px;
        font-size: 1rem;
    }

    .scoreboard-team h1,
    .scoreboard-team h2 {
        display: -webkit-box;
        max-width: 130px;
        min-height: 38px;
        overflow: hidden;
        font-size: 0.84rem;
        line-height: 1.25;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .scoreboard-team small {
        font-size: 0.59rem;
    }

    .scoreboard-score {
        min-width: 92px;
        gap: 5px;
        margin-bottom: 10px;
        padding: 11px 6px;
        border-radius: 16px;
    }

    .scoreboard-score strong {
        min-width: 27px;
        font-size: 2.25rem;
    }

    .scoreboard-score span {
        font-size: 1.3rem;
    }

    .scoreboard-vs {
        width: 76px;
        height: 59px;
        border-radius: 15px;
        font-size: 1.15rem;
    }

    .scoreboard-status-text {
        min-height: 25px;
        padding: 6px 8px;
        font-size: 0.56rem;
    }

    .scoreboard-live-text {
        margin-top: 7px;
        font-size: 0.64rem;
    }

    .match-main-information {
        grid-template-columns: 1fr 1fr;
    }

    .match-info-item {
        min-height: 85px;
        gap: 9px;
        padding: 16px 12px;
    }

    .match-info-item i {
        width: 34px;
        height: 34px;
        border-radius: 9px;
        font-size: 0.86rem;
    }

    .match-info-item span {
        font-size: 0.56rem;
    }

    .match-info-item strong {
        font-size: 0.72rem;
    }

    .match-center-card {
        margin-top: 18px;
        padding: 26px 19px;
        border-radius: 19px;
    }

    .match-center-card::before {
        left: 20px;
        width: 60px;
    }

    .match-section-heading {
        margin-bottom: 21px;
    }

    .match-section-heading h2 {
        font-size: 1.35rem;
    }

    .match-summary-content {
        padding-left: 18px;
        font-size: 0.89rem;
        line-height: 1.75;
    }

    .match-center-countdown {
        grid-template-columns: repeat(2, 1fr);
        gap: 11px;
    }

    .countdown-item {
        padding: 20px 10px;
    }

    .goal-scorer-item {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 11px;
        padding: 12px 13px;
    }

    .goal-icon {
        width: 40px;
        height: 40px;
    }

    .goal-scorer-item small {
        grid-column: 2;
        max-width: 100%;
        margin-top: -6px;
        text-align: left;
    }

}


/* ======================================================
   21. SMALL MOBILE RESPONSIVE - PART 1
====================================================== */

@media (max-width: 479.98px) {

    .match-center-topbar {
        flex-wrap: wrap;
    }

    .match-scoreboard {
        grid-template-columns:
            minmax(0, 1fr)
            78px
            minmax(0, 1fr);
        padding-right: 7px;
        padding-left: 7px;
    }

    .scoreboard-logo {
        width: 65px;
        height: 65px;
        padding: 7px;
    }

    .scoreboard-logo span {
        width: 49px;
        height: 49px;
        font-size: 0.85rem;
    }

    .scoreboard-team h1,
    .scoreboard-team h2 {
        max-width: 105px;
        font-size: 0.74rem;
    }

    .scoreboard-score {
        min-width: 74px;
        gap: 3px;
        padding: 10px 3px;
    }

    .scoreboard-score strong {
        min-width: 22px;
        font-size: 1.9rem;
    }

    .scoreboard-score span {
        font-size: 1rem;
    }

    .scoreboard-vs {
        width: 62px;
        height: 50px;
        font-size: 1rem;
    }

    .match-main-information {
        grid-template-columns: 1fr;
    }

    .match-info-item {
        min-height: 72px;
        border-right: 0;
    }

    .match-center-countdown {
        grid-template-columns: 1fr 1fr;
    }

    .match-center-not-found {
        padding: 45px 20px;
    }

}



/* ======================================================
   END OF PART 1
   Do not close or remove anything.
   Paste Part 2 directly below this section.
====================================================== */


/* ======================================================
   FINAL FRENCH / RESPONSIVE POLISH
====================================================== */

.match-info-item {
    min-width: 0;
}

.match-info-item > i {
    display: grid;
    place-items: center;
    line-height: 1;
}

.match-info-item > i::before {
    display: block;
    margin: 0;
    line-height: 1;
}

.match-info-item strong {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
}

.scoreboard-team h1,
.scoreboard-team h2 {
    overflow-wrap: anywhere;
}

.lineup-player .player-position {
    min-width: 50px;
    text-align: center;
}

@media (max-width: 767.98px) {

    .match-center-page .container-custom {
        width: min(100% - 24px, 1180px);
    }

    .match-center-topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .match-scoreboard {
        grid-template-columns:
            minmax(0, 1fr)
            auto
            minmax(0, 1fr);
        gap: 12px;
        padding: 28px 16px 34px;
    }

    .scoreboard-logo {
        width: 88px;
        height: 88px;
        padding: 9px;
    }

    .scoreboard-team h1,
    .scoreboard-team h2 {
        max-width: 120px;
        font-size: 1rem;
    }

    .scoreboard-score {
        min-width: 112px;
        gap: 8px;
        padding: 12px;
    }

    .scoreboard-score strong {
        min-width: 32px;
        font-size: 2.4rem;
    }

    .scoreboard-vs {
        width: 92px;
        height: 64px;
        font-size: .92rem;
        letter-spacing: .03em;
    }

    .match-main-information {
        grid-template-columns: 1fr;
    }

    .match-info-item {
        min-height: 78px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .12);
    }

    .match-info-item:last-child {
        border-bottom: 0;
    }

    .match-center-card {
        padding: 26px 20px;
    }

    .match-center-countdown {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lineups-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {

    .match-scoreboard {
        grid-template-columns:
            minmax(0, 1fr)
            86px
            minmax(0, 1fr);
        gap: 7px;
        padding-inline: 10px;
    }

    .scoreboard-logo {
        width: 72px;
        height: 72px;
    }

    .scoreboard-team h1,
    .scoreboard-team h2 {
        max-width: 100px;
        font-size: .88rem;
    }

    .scoreboard-score {
        min-width: 82px;
        padding: 10px 7px;
    }

    .scoreboard-score strong {
        min-width: 24px;
        font-size: 2rem;
    }

    .scoreboard-score span {
        font-size: 1.3rem;
    }

    .scoreboard-vs {
        width: 82px;
        height: 58px;
        font-size: .78rem;
    }

    .match-center-countdown {
        grid-template-columns: 1fr;
    }

    .goal-scorer-item {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .goal-scorer-item small {
        grid-column: 2;
        max-width: none;
        text-align: left;
    }
}