
/* =========================================
   MOSTPLAY PARTNERS - GLOBAL STYLES
========================================= */

:root {
    --mp-primary: #0047C8;
    --mp-primary-dark: #001B50;
    --mp-navy: #071653;
    --mp-yellow: #FFDE00;
    --mp-white: #FFFFFF;
    --mp-text: #08194F;
    --mp-muted: #64748B;
    --mp-border: #DCE7F8;

    --mp-container: 1200px;
    --mp-radius: 8px;
}

/* Global Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    color: var(--mp-text);
    background: var(--mp-white);
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

/* Global Container */
.mp-container {
    width: min(100% - 32px, var(--mp-container));
    margin-inline: auto;
}

/* Buttons */
.mp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--mp-radius);
    font-weight: 700;
    transition: 0.2s ease;
}

.mp-btn-primary {
    background: var(--mp-yellow);
    color: var(--mp-navy);
}

.mp-btn-primary:hover {
    background: #F3CC00;
}

.mp-btn-outline {
    border: 1px solid #FFFFFF;
    color: #FFFFFF;
    background: transparent;
}



/* =====================================
   MOSTPLAY HEADER
===================================== */

.mostplay-desktop-header {
    background: #050505;
    color: #ffffff;
    padding: 15px 24px;
}

.mostplay-header-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.mostplay-header-logo {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
}

.mostplay-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mostplay-nav-list {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mostplay-nav-list li {
    list-style: none;
}

.mostplay-nav-list a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 14px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

/* Login and Sign Up: yellow buttons */
.mostplay-nav-list .menu-item-login > a,
.mostplay-nav-list .menu-item-signup > a {
    background: #ffda00;
    color: #07132e;
    border-radius: 9px;
    padding: 12px 18px;
}

.mostplay-nav-list .menu-item-login > a:hover,
.mostplay-nav-list .menu-item-signup > a:hover {
    background: #f0c900;
}

.mostplay-header-language {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
}

/* =====================================
   MOBILE HEADER
===================================== */

.mostplay-mobile-header {
    display: none;
    background: #050505;
    color: #ffffff;
    padding: 15px 20px;
}

.mostplay-mobile-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mostplay-mobile-logo {
    color: #ffffff;
    text-decoration: none;
    font-size: 19px;
    font-weight: 700;
}

.mostplay-mobile-toggle {
    background: transparent;
    color: #ffffff;
    border: 0;
    font-size: 28px;
    cursor: pointer;
}

.mostplay-mobile-navigation {
    padding-top: 16px;
}

.mostplay-mobile-navigation[hidden] {
    display: none;
}

.mostplay-mobile-nav-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mostplay-mobile-nav-list li {
    list-style: none;
}

.mostplay-mobile-nav-list a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    padding: 12px;
}

.mostplay-mobile-nav-list .menu-item-login > a,
.mostplay-mobile-nav-list .menu-item-signup > a {
    background: #ffda00;
    color: #07132e;
    border-radius: 9px;
    margin: 8px 0;
    font-weight: 700;
    text-align: center;
}

@media (max-width: 991px) {
    .mostplay-desktop-header {
        display: none;
    }

    .mostplay-mobile-header {
        display: block;
    }
}



/* Desktop Logo */
.mostplay-header-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.mostplay-logo-image {
    display: block;
    width: 150px;
    max-width: 100%;
    height: auto;
}

/* Mobile Logo */
.mostplay-mobile-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.mostplay-mobile-logo-image {
    display: block;
    width: 125px;
    max-width: 100%;
    height: auto;
}



/* ===================================
   MOSTPLAY DESKTOP HEADER
=================================== */

@media (min-width: 992px) {

    .mostplay-desktop-header {
        background: linear-gradient(
            110deg,
            #0763d9 0%,
            #0049b5 55%,
            #003184 100%
        );
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.15);
    }

    .mostplay-header-container {
        max-width: 1320px;
        margin: 0 auto;
        padding: 12px 24px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 32px;
        min-height: 76px;
    }

    .mostplay-logo-image {
        width: 150px;
        height: auto;
        display: block;
    }

    .mostplay-header-right {
        display: flex;
        align-items: center;
        gap: 18px;
    }

    .mostplay-nav-list {
        display: flex;
        align-items: center;
        gap: 28px;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .mostplay-nav-list li {
        margin: 0;
        padding: 0;
    }

    .mostplay-nav-list a {
        color: #ffffff;
        text-decoration: none;
        font-size: 14px;
        font-weight: 600;
        white-space: nowrap;
        transition: opacity 0.2s ease;
    }

    .mostplay-nav-list a:hover {
        opacity: 0.85;
    }

    /* Login button - second last menu item */
    .mostplay-nav-list > li:nth-last-child(2) > a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 40px;
        padding: 0 20px;
        border: 1px solid rgba(255,255,255,0.8);
        border-radius: 8px;
        background: transparent;
        color: #ffffff;
    }

    /* Sign Up button - last menu item */
    .mostplay-nav-list > li:last-child > a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 40px;
        padding: 0 20px;
        border-radius: 8px;
        background: #ffda00;
        color: #061d4b;
        font-weight: 700;
    }

    .mostplay-header-language {
        display: flex;
        align-items: center;
        gap: 6px;
        color: #ffffff;
        font-size: 13px;
        white-space: nowrap;
    }
}



/* Country selector */
.mostplay-header-language {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    white-space: nowrap;
}

.mostplay-country-flag {
    font-size: 20px;
    line-height: 1;
}

.mostplay-country-code {
    font-size: 13px;
    font-weight: 600;
}

.mostplay-country-arrow {
    font-size: 15px;
}


/* =====================================
   DESKTOP COUNTRY SELECTOR
===================================== */

.mostplay-header-language {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-width: 110px;
    height: 42px;
    padding: 0 12px;

    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 9px;

    background: rgba(0, 50, 150, 0.12);
    color: #ffffff;

    box-sizing: border-box;
    white-space: nowrap;
    cursor: pointer;
}

/* Circular country flag */
.mostplay-country-flag {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 25px;
    height: 25px;
    flex: 0 0 25px;

    border-radius: 50%;
    overflow: hidden;

    font-size: 28px;
    line-height: 1;
}

/* Country code */
.mostplay-country-code {
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
}

/* Dropdown arrow */
.mostplay-country-arrow {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-left: 1px;
}

/* Hover */
.mostplay-header-language:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

/* =====================================
   FIX CIRCULAR BANGLADESH FLAG
===================================== */

.mostplay-header-language {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-width: 110px;
    height: 42px;
    padding: 0 12px;

    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 9px;

    box-sizing: border-box;
    vertical-align: middle;
}

/* Green circular flag */
.mostplay-country-flag {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 24px;
    height: 24px;
    min-width: 24px;

    background: #163e90;
    border-radius: 50%;
    overflow: hidden;

    font-size: 0;
    line-height: 0;
}

/* Red circle inside flag */
.mostplay-flag-circle {
    display: block;
    width: 12px;
    height: 12px;

    background: #f42a41;
    border-radius: 50%;
}

/* BD text */
.mostplay-country-code {
    display: inline-flex;
    align-items: center;

    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}

/* Down arrow */
.mostplay-country-arrow {
    display: block;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}


/* Country-specific header flags */

.mostplay-header-language .mostplay-country-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 21px;
    line-height: 1;
    flex-shrink: 0;
}

.mostplay-header-language .mostplay-country-flag .mostplay-flag-circle {
    display: none;
}

.mostplay-header-language .mostplay-country-code {
    display: inline-flex;
    align-items: center;
}

.mostplay-header-language .mostplay-country-arrow {
    display: block;
    flex-shrink: 0;
}



/* Circular country flags — desktop and mobile */

.mostplay-header-language .mostplay-country-flag {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    min-width: 24px;
    overflow: hidden;
    border-radius: 50%;
    flex-shrink: 0;
}

.mostplay-header-language .mostplay-header-flag-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.mostplay-header-language .mostplay-country-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
