/**
 * MLBB Esports Official Navbar Style
 * Faithfully replicated 100% from MLBB-Esports.html (Image 2)
 * Exact dimensions, colors, typography, spacing, and fixed/sticky behavior.
 */

:root {
    --mlbb-nav-bg: #0c0f12;
    --mlbb-nav-text: #f1e8d5;
    --mlbb-nav-muted: #a6a29b;
    --mlbb-nav-accent: #ed4b4e;
    --mlbb-nav-border: rgba(178, 151, 89, 0.22);
    --mlbb-nav-popover-bg: #f1e8d5;
    --mlbb-nav-popover-text: #404040;
    --mlbb-nav-popover-selected: #bd3037;
    /* --mlbb-nav-font-body: "Exo 2", "Exo", sans-serif;
    --mlbb-nav-font-nav: "Exo 2", "Exo", sans-serif; */
    --mlbb-nav-font-body: "Bebas Neue Pro Expanded", sans-serif;
    --mlbb-nav-font-nav: "Bebas Neue Pro Expanded", sans-serif;
    --mlbb-nav-font-display: "Bebas Neue", sans-serif;
}

/* Hide legacy bottom dock and landscape sidebar globally (MLBB uses top header) */
.m8-bottom-nav__v2,
.m8-bottom-nav-portrait,
.m8-sidebar-landscape {
    display: none !important;
}

/* =========================================================
   1. FIXED / STICKY HEADER (STAYS FIXED ON SCROLL)
   ========================================================= */
#header,
#m8-main-header,
.hp-header-wrapper {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 999999 !important;
    background-color: var(--mlbb-nav-bg) !important;
    pointer-events: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: 0 1px 0 var(--mlbb-nav-border) !important;
}

/* Offset page content so it starts right below the fixed navbar */
.m8-main-scroll-view {
    padding-top: 70px !important;
    margin-top: 0 !important;
}

/* =========================================================
   2. DESKTOP NAVBAR CONTAINER (70px HEIGHT, 24px PADDING)
   ========================================================= */
.hp-header {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    height: 70px !important;
    min-height: 70px !important;
    max-height: 70px !important;
    padding: 0 24px !important;
    background-color: #0c0f12 !important;
    border-bottom: 1px solid rgba(178, 151, 89, 0.24) !important;
    box-sizing: border-box !important;
    width: 100% !important;
    position: relative !important;
    user-select: none;
    gap: 20px !important;
}

/* =========================================================
   3. BRAND GROUP (LEFT)
   ========================================================= */
.hp-nav-brands {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    flex: none !important;
}

/* Logo 1: Mobile Legends Bang Bang Wordmark (Width 100px, Height 32px) */
.hp-nav-game {
    display: flex !important;
    align-items: center !important;
    flex: none !important;
    text-decoration: none !important;
    outline: none !important;
}

.hp-nav-game .hp-game-logo {
    display: block !important;
    width: 112px !important;
    height: 36px !important;
    position: relative !important;
    overflow: hidden !important;
    flex: none !important;
    mix-blend-mode: normal !important;
}

.hp-nav-game .hp-game-logo img {
    position: absolute !important;
    top: -38px !important;
    left: 0 !important;
    width: 112px !important;
    height: 112px !important;
    max-width: none !important;
    display: block !important;
    filter: url("#game-brand-cream") !important;
}

/* Logo 2: MLBB Esports Crest + Label (Width 29px x 31px) */
.hp-logo {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    text-decoration: none !important;
    color: var(--mlbb-nav-text) !important;
    /* transform: translateY(-2px) !important; */
    outline: none !important;
    padding-top: 2px !important;
}

.hp-logo:before,
.hp-logo:after {
    display: none !important;
    content: none !important;
}

.hp-logo img {
    display: block !important;
    /* width: 70px !important; */
    width: 80px !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    filter: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: static !important;
    flex-shrink: 0 !important;
    aspect-ratio: 1257 / 512 !important;
}

.hp-brand-label {
    font-family: "Bebas Neue Pro Expanded", sans-serif !important;
    font-weight: 500 !important;
    font-size: 19px !important;
    line-height: 1.05 !important;
    letter-spacing: 0.8px !important;
    color: var(--mlbb-nav-text) !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    display: block !important;
}

/* =========================================================
   4. NAVIGATION LINKS (Gap 28px, matching MLBB-Esports.html)
   ========================================================= */
.hp-header nav {
    display: flex !important;
    align-self: stretch !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex: 1 !important;
    gap: 28px !important;
    margin-left: 38px !important;
    height: 70px !important;
}

.hp-header nav a,
.hp-header nav .hp-nav-link {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    height: 70px !important;
    font-family: "Bebas Neue Pro Expanded", sans-serif !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
    letter-spacing: 0.6px !important;
    color: var(--mlbb-nav-text) !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    text-transform: uppercase !important;
    transition: color 0.15s ease !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    /* padding: 0 !important; */
    padding: 3px 0 0 !important;
}

.hp-header nav a span,
.hp-header nav .hp-nav-link span {
    /* font-family: 'Bebas Neue Pro Expanded'; */
    font-size: inherit !important;
    font-weight: inherit !important;
    letter-spacing: inherit !important;
    line-height: inherit !important;
    color: inherit !important;
    display: inline-block !important;
}

/* Active Navigation Item (Underlined in MLBB Red #ec393d, Bold) */
.hp-header nav a.active,
.hp-header nav a[aria-current="page"],
.hp-header nav .hp-nav-link.active,
.hp-header nav a.active span,
.hp-header nav a[aria-current="page"] span,
.hp-header nav .hp-nav-link.active span {
    color: var(--mlbb-nav-text) !important;
    font-weight: 700 !important;
}

/* Hover state (applies to both inactive and active items when hovered) */
.hp-header nav a:hover,
.hp-header nav .hp-nav-link:hover,
.hp-header nav a:hover span,
.hp-header nav .hp-nav-link:hover span,
.hp-header nav a.active:hover,
.hp-header nav a.active:hover span,
.hp-header nav a[aria-current="page"]:hover,
.hp-header nav a[aria-current="page"]:hover span,
.hp-header nav .hp-nav-link.active:hover,
.hp-header nav .hp-nav-link.active:hover span {
    color: var(--g_clr-gold-pale, #e1cf93) !important;
}

.hp-header nav a.active::after,
.hp-header nav a[aria-current="page"]::after,
.hp-header nav .hp-nav-link.active::after {
    content: "" !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 4px !important;
    background-color: #ec393d !important;
}

/* =========================================================
   5. PREFERENCES (EN & UTC+7 BUTTONS: HEIGHT 32px, GAP 10px)
   ========================================================= */
.hp-preferences {
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
    align-self: center !important;
    flex: none !important;
    margin-left: auto !important;
}

/* Dropdown Drawer Container */
.hp-pref-drawer {
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}

/* Summary Trigger Button (32px height, rounded 4px, widened) */
.hp-pref-drawer > summary {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 0 14px !important;
    background: #151b20 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 4px !important;
    height: 32px !important;
    min-height: 32px !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    list-style: none !important;
    font-family: "Bebas Neue Pro Expanded", sans-serif !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    color: var(--mlbb-nav-text) !important;
    white-space: nowrap !important;
    transition: background-color 0.15s ease, border-color 0.15s ease !important;
    user-select: none !important;
    outline: none !important;
}

#hp-lang-drawer > summary {
    min-width: 76px !important;
}

#hp-tz-drawer > summary {
    min-width: 104px !important;
}

.hp-pref-drawer > summary::-webkit-details-marker {
    display: none !important;
}

.hp-pref-drawer > summary:hover,
.hp-pref-drawer[open] > summary {
    background: #1c242b !important;
    border-color: rgba(255, 255, 255, 0.28) !important;
    color: var(--mlbb-nav-text) !important;
}

/* Trigger Flag Icon */
.hp-pref-drawer .pref-flag {
    width: 21px !important;
    height: 14px !important;
    object-fit: cover !important;
    border-radius: 2px !important;
    display: block !important;
    flex: none !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) !important;
}

/* Trigger Clock & Globe Icons */
.hp-pref-drawer .pref-clock,
.hp-pref-drawer .pref-globe {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
    min-height: 14px !important;
    line-height: 1 !important;
    color: var(--mlbb-nav-muted) !important;
    flex-shrink: 0 !important;
}

.hp-pref-drawer .pref-clock svg,
.hp-pref-drawer .pref-globe svg {
    width: 14px !important;
    height: 14px !important;
    display: block !important;
    flex-shrink: 0 !important;
}

.hp-pref-drawer .pref-globe i {
    font-size: 13px !important;
    display: block !important;
    line-height: 1 !important;
}

.hp-pref-drawer > summary:hover .pref-clock,
.hp-pref-drawer[open] > summary .pref-clock,
.hp-pref-drawer > summary:hover .pref-globe,
.hp-pref-drawer[open] > summary .pref-globe {
    color: var(--mlbb-nav-text) !important;
}

/* Rotating Chevron Indicator */
.hp-pref-drawer > summary > i {
    font-size: 0;
    width: 12px;
    height: 12px;
    display: grid;
    place-items: center;
    font-style: normal;
    flex: 0 0 12px;
}

.hp-pref-drawer > summary > i::before {
    content: "";
    display: block;
    width: 5px;
    height: 5px;
    border-right: 1.2px solid var(--mlbb-nav-muted);
    border-bottom: 1.2px solid var(--mlbb-nav-muted);
    transform: rotate(45deg);
    transition: transform 0.18s ease;
    margin-top: -2px;
}

.hp-pref-drawer[open] > summary > i::before {
    transform: rotate(225deg);
    margin-top: 2px;
    border-color: var(--mlbb-nav-text);
}

/* Popover Menu (Parchment solid style) */
.hp-pref-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: 220px;
    min-width: 200px;
    max-width: calc(100vw - 32px);
    max-height: 220px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #c5b174 rgba(0, 0, 0, 0.1);
    background: var(--mlbb-nav-popover-bg);
    border: 0;
    border-radius: 4px;
    padding: 6px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.7);
    z-index: 1050;
    box-sizing: border-box;
}

.hp-pref-menu::-webkit-scrollbar {
    width: 5px;
}
.hp-pref-menu::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}
.hp-pref-menu::-webkit-scrollbar-thumb {
    background: #c5b174;
    border-radius: 3px;
}

.hp-pref-menu::before {
    content: "";
    position: absolute;
    right: 14px;
    top: -6px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid var(--mlbb-nav-popover-bg);
}

.hp-pref-menu button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    background: transparent;
    border: 0;
    border-radius: 3px;
    color: var(--mlbb-nav-popover-text);
    padding: 8px 10px;
    min-height: 34px;
    font-family: "Bebas Neue Pro Expanded", sans-serif !important;
    font-weight: 600;
    font-size: 12px;
    line-height: 1.2;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    transition: background-color 0.12s ease;
    box-sizing: border-box;
    text-align: left;
    outline: none;
}

.hp-pref-menu button .pref-flag {
    width: 16px;
    height: 11px;
    margin-right: 8px;
    border-radius: 1.5px;
    flex-shrink: 0;
}

.hp-pref-menu button:hover {
    background: #e2dcce;
    color: #111;
}

.hp-pref-menu button[aria-pressed="true"] {
    color: var(--mlbb-nav-popover-selected);
    font-weight: 700;
}

.hp-pref-menu button[aria-pressed="true"]::after {
    content: "✓";
    position: absolute;
    right: 10px;
    font-weight: 700;
    color: var(--mlbb-nav-popover-selected);
    font-size: 13px;
}

#hp-tz-drawer .hp-pref-menu {
    width: max-content !important;
    min-width: 260px !important;
    max-width: calc(100vw - 32px) !important;
    max-height: none !important;
    overflow-y: visible !important;
}

#hp-tz-drawer .hp-pref-menu button {
    padding: 8px 28px 8px 12px !important;
    white-space: nowrap !important;
}

/* Custom scrollbar hidden on desktop view */
.hp-nav-scrollbar {
    display: none !important;
}

/* =========================================================
   6. RESPONSIVE BREAKPOINTS (MATCHING MLBB-Esports.html)
   ========================================================= */

/* Tablet & Mobile (<= 760px) - Exact match to MLBB-Esports.html */
@media (max-width: 760px) {
    .m8-main-scroll-view {
        padding-top: 92px !important;
    }

    body.has-nav-scrollbar .m8-main-scroll-view,
    .hp-header-wrapper.has-nav-scroll + .m8-main-scroll-view,
    body:has(.hp-header.has-nav-scroll) .m8-main-scroll-view {
        padding-top: 104px !important;
    }

    #header,
    #m8-main-header,
    .hp-header-wrapper {
        height: auto !important;
        min-height: 0 !important;
    }

    .hp-header {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        padding: 12px 16px 0 !important;
        gap: 12px 8px !important;
        position: relative !important;
        box-sizing: border-box !important;
    }

    /* Tier 1 Left: Brand Logos */
    .hp-header .hp-nav-brands {
        grid-column: 1 !important;
        grid-row: 1 !important;
        gap: 10px !important;
        min-width: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
    }

    .hp-header .hp-nav-game,
    .hp-header .hp-nav-game .hp-game-logo {
        width: 80px !important;
        height: 28px !important;
        flex: 0 0 80px !important;
        position: relative !important;
        overflow: hidden !important;
    }

    .hp-header .hp-nav-game .hp-game-logo img {
        width: 80px !important;
        height: 80px !important;
        top: -28px !important;
        left: 0 !important;
        position: absolute !important;
        display: block !important;
    }

    .hp-header .hp-logo {
        gap: 5px !important;
        display: flex !important;
        align-items: center !important;
        /* transform: translateY(-1px) !important; */
    }

    .hp-header .hp-logo img {
        /* width: 50px !important; */
        width: 60px !important;
        min-width: 0 !important;
        max-width: none !important;
        height: auto !important;
        max-height: none !important;
        object-fit: contain !important;
        aspect-ratio: 1257 / 512 !important;
        display: block !important;
    }

    .hp-header .hp-brand-label {
        font-family: "Bebas Neue Pro Expanded", sans-serif !important;
        font-weight: 500 !important;
        font-size: 14px !important;
        line-height: 1.05 !important;
        letter-spacing: 0.8px !important;
        color: var(--mlbb-nav-text) !important;
        white-space: nowrap !important;
    }

    /* Tier 1 Right: Language & Timezone controls */
    .hp-header .hp-preferences {
        grid-column: 2 !important;
        grid-row: 1 !important;
        gap: 6px !important;
        align-self: center !important;
        margin: 0 !important;
        position: static !important;
        transform: none !important;
        display: flex !important;
    }

    .hp-header .hp-pref-drawer > summary {
        height: 32px !important;
        min-height: 32px !important;
        padding: 0 8px !important;
        font-size: 11px !important;
        min-width: 0 !important;
        gap: 4px !important;
        border-radius: 4px !important;
    }

    #hp-lang-drawer > summary,
    #hp-tz-drawer > summary {
        min-width: 0 !important;
    }

    .hp-header .hp-pref-drawer .pref-flag {
        width: 18px !important;
        height: 12px !important;
    }

    .hp-header .hp-pref-drawer .pref-clock,
    .hp-header .hp-pref-drawer .pref-globe {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 14px !important;
        height: 14px !important;
        min-width: 14px !important;
        min-height: 14px !important;
        font-size: 14px !important;
        flex-shrink: 0 !important;
    }

    .hp-header .hp-pref-drawer .pref-clock svg,
    .hp-header .hp-pref-drawer .pref-globe svg {
        width: 14px !important;
        height: 14px !important;
        display: block !important;
        flex-shrink: 0 !important;
    }

    /* Tier 2: Full-Width Horizontal Scrollable Nav */
    .hp-header nav {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        width: 100% !important;
        height: 38px !important;
        display: flex !important;
        gap: 20px !important;
        margin: 0 !important;
        padding: 0 16px 0 0 !important;
        justify-content: flex-start !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        white-space: nowrap !important;
        -webkit-overflow-scrolling: touch !important;
        touch-action: pan-x !important;
        overscroll-behavior-x: contain !important;
        scroll-behavior: auto !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }

    .hp-header nav::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }

    /* Horizontal Scrollbar for Mobile Navbar (Only shown when scrollable) */
    .hp-nav-scrollbar {
        display: none !important;
        grid-column: 1 / -1 !important;
        grid-row: 3 !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin: -8px 0 8px 0 !important;
        padding: 0 !important;
        user-select: none !important;
        transition: none !important;
        animation: none !important;
    }

    .hp-nav-scrollbar.is-scrollable {
        display: block !important;
    }

    .hp-nav-scrollbar-track {
        width: 100% !important;
        height: 2px !important;
        background: rgba(255, 255, 255, 0.16) !important;
        border-radius: 999px !important;
        position: relative !important;
        overflow: hidden !important;
        cursor: pointer !important;
        touch-action: none !important;
        transition: none !important;
        animation: none !important;
    }

    .hp-nav-scrollbar-thumb {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        height: 100% !important;
        min-width: 32px !important;
        background: #c5b174 !important;
        border-radius: 999px !important;
        box-shadow: 0 0 6px rgba(197, 177, 116, 0.6) !important;
        pointer-events: none !important;
        will-change: transform, width !important;
        transition: none !important;
        animation: none !important;
    }

    .hp-header nav a,
    .hp-header nav .hp-nav-link {
        flex: none !important;
        font-family: "Bebas Neue Pro Expanded", sans-serif !important;
        font-weight: 700 !important;
        font-size: 13px !important;
        height: 38px !important;
        min-height: 38px !important;
        display: inline-flex !important;
        align-items: center !important;
        padding: 0 !important;
        color: var(--mlbb-nav-text) !important;
    }

    .hp-header nav a span,
    .hp-header nav .hp-nav-link span {
        /* font-family: 'Bebas Neue Pro Expanded'; */
        font-size: 13px !important;
        font-weight: inherit !important;
    }

    .hp-header nav a.active,
    .hp-header nav a[aria-current="page"],
    .hp-header nav .hp-nav-link.active,
    .hp-header nav a.active span,
    .hp-header nav a[aria-current="page"] span,
    .hp-header nav .hp-nav-link.active span {
        color: var(--mlbb-nav-text) !important;
        font-weight: 700 !important;
    }

    .hp-header nav a:hover,
    .hp-header nav a:hover span,
    .hp-header nav a.active:hover,
    .hp-header nav a.active:hover span {
        color: var(--g_clr-gold-pale, #e1cf93) !important;
    }

    .hp-header nav a.active::after,
    .hp-header nav a[aria-current="page"]::after,
    .hp-header nav .hp-nav-link.active::after {
        height: 3px !important;
        bottom: 0 !important;
    }

    /* Hide redundant bottom mobile dock (matches MLBB-Esports.html) */
    .m8-bottom-nav__v2 {
        display: none !important;
    }
}

/* Extra small devices (<= 374px) */
@media (max-width: 374px) {
    .m8-main-scroll-view {
        padding-top: 140px !important;
    }

    .hp-header .hp-preferences {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        justify-self: end !important;
    }

    .hp-header nav {
        grid-area: 3 / 1 / 4 / 3 !important;
        width: 100% !important;
    }

    .hp-nav-scrollbar {
        grid-area: 4 / 1 / 5 / 3 !important;
        width: 100% !important;
    }
}

/* =========================================================
   7. OFFICIAL MLBB ESPORTS FULL FOOTER (MATCHING MLBB-Esports.html)
   ========================================================= */
.hp-full-footer {
    display: block !important;
    /* padding: 34px 5% 26px !important; */
    padding: 24px 5% !important;
    background: #090c0d !important;
    border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
    color: #a6a29b !important;
    box-sizing: border-box !important;
    width: 100% !important;
    position: relative !important;
    margin-top: 0 !important;
    font-family: "Bebas Neue Pro Expanded", sans-serif !important;
}

/* Partner Grid (Center container in web page, align-left within slots) */
.hp-full-footer .hp-partner-grid {
    display: grid !important;
    grid-template-columns: repeat(
        var(--partner-cols, 6),
        minmax(0, 1fr)
    ) !important;
    gap: 0 !important;
    max-width: calc(var(--partner-cols, 6) * 230px) !important;
    width: 100% !important;
    margin: 0 auto 26px !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

.hp-full-footer .hp-partner-slot {
    border-right: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding: 0 20px !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
}

.hp-full-footer .hp-partner-slot:first-child {
    padding-left: 0 !important;
}

.hp-full-footer .hp-partner-slot:last-child {
    border-right: 0 !important;
    padding-right: 0 !important;
}

.hp-full-footer .hp-partner-slot > span {
    display: block !important;
    text-align: left !important;
    align-self: flex-start !important;
    font-family: "Bebas Neue Pro Expanded", sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: rgb(166, 162, 155) !important;
    letter-spacing: 0.9px !important;
    line-height: 1.4 !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    margin-bottom: 14px !important;
}

.hp-full-footer .hp-logo-placeholders {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 10px !important;
    height: 42px !important;
    width: 100% !important;
    border: 0 !important;
    background: none !important;
    padding: 0 !important;
}

.hp-full-footer .hp-logo-placeholders i,
.hp-full-footer .hp-logo-placeholders .hp-partner-logo-item {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
    flex: 1 !important;
    min-width: 0 !important;
    height: 42px !important;
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    text-decoration: none !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    transition: opacity 0.15s ease !important;
}

.hp-full-footer .hp-logo-placeholders i {
    display: none !important;
}

.hp-full-footer .hp-logo-placeholders .hp-partner-logo-item:hover {
    opacity: 0.8 !important;
}

.hp-full-footer .hp-logo-placeholders .hp-partner-logo-item img {
    max-height: 40px !important;
    max-width: 100% !important;
    width: auto !important;
    object-fit: contain !important;
    object-position: left center !important;
    display: block !important;
    filter: none !important;
    opacity: 1 !important;
}

/* Bottom Bar: Social (Left), Policy Links (Center), Copyright (Right) */
.hp-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding: 22px 0 0 !important;
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    gap: 24px !important;
    max-width: 1400px !important;
    width: 100% !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}

/* Social icons on left */
.hp-full-footer .hp-footer-social,
.hp-footer-social {
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

.hp-full-footer .hp-footer-social a,
.hp-footer-social a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #a6a29b !important;
    text-decoration: none !important;
    font-size: 13px !important;
    width: 32px !important;
    height: 32px !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 6px !important;
    background: rgba(255, 255, 255, 0.02) !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

.hp-full-footer .hp-footer-social a:hover,
.hp-footer-social a:hover {
    color: #ed493e !important;
    border-color: #ed493e !important;
    background: rgba(237, 73, 62, 0.08) !important;
    transform: translateY(-1px) !important;
}

.hp-full-footer .hp-footer-social a svg,
.hp-footer-social a svg {
    width: 15px !important;
    height: 15px !important;
    display: block !important;
    stroke: currentColor !important;
    stroke-width: 1.5 !important;
    transition: stroke 0.2s ease !important;
}

.hp-full-footer .hp-footer-social a:hover svg,
.hp-footer-social a:hover svg {
    stroke: #ed493e !important;
}

.hp-full-footer .hp-footer-social a i,
.hp-footer-social a i {
    font-size: 13px !important;
    line-height: 1 !important;
}

.hp-full-footer .hp-footer-social a img,
.hp-footer-social a img {
    width: 14px !important;
    height: 14px !important;
    object-fit: contain !important;
    opacity: 0.75 !important;
    transition: opacity 0.15s ease !important;
}

.hp-full-footer .hp-footer-social a:hover img,
.hp-footer-social a:hover img {
    opacity: 1 !important;
}

.hp-full-footer .hp-footer-bottom.no-partner-grid {
    border-top: 0 !important;
    padding-top: 0 !important;
}

/* Center Policy Links */
.hp-footer-policy {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
    font-family: "Bebas Neue Pro Expanded", sans-serif !important;
    font-weight: 500 !important;
    font-size: 12px !important;
    white-space: nowrap !important;
}

.hp-footer-policy a {
    color: #a6a29b !important;
    text-decoration: none !important;
    transition: color 0.15s ease !important;
    font-family: "Bebas Neue Pro Expanded", sans-serif !important;
    font-size: inherit !important;
}

.hp-footer-policy a:hover {
    color: #ed493e !important;
}

.hp-footer-policy span {
    color: #666a6d !important;
    font-size: 14px !important;
    user-select: none !important;
}

/* Right Copyright */
.hp-footer-bottom small {
    display: block !important;
    text-align: right !important;
    font-family: "Bebas Neue Pro Expanded", sans-serif !important;
    font-weight: 400 !important;
    font-size: 12px !important;
    color: #a6a29b !important;
    white-space: nowrap !important;
}

/* Responsive (Tablets & Mobile) */
@media (max-width: 1050px) {
    .hp-full-footer .hp-partner-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 22px 0 !important;
    }
    .hp-full-footer .hp-partner-slot:nth-child(3n) {
        border-right: 0 !important;
        padding-right: 0 !important;
    }
    .hp-full-footer .hp-partner-slot:nth-child(3n + 1) {
        padding-left: 0 !important;
    }
    .hp-footer-bottom {
        grid-template-columns: 1fr 1fr !important;
    }
    .hp-footer-bottom small {
        grid-column: 1 / -1 !important;
        text-align: center !important;
    }
}

@media (max-width: 768px) {
    .hp-full-footer {
        padding: 24px 16px 20px !important;
        margin-top: 0 !important;
        text-align: center !important;
    }
    .hp-full-footer .hp-partner-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 18px 0 !important;
        justify-content: center !important;
    }
    .hp-full-footer .hp-partner-slot {
        border-right: 1px solid rgba(255, 255, 255, 0.12) !important;
        padding: 0 12px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    .hp-full-footer .hp-partner-slot:nth-child(2n) {
        border-right: 0 !important;
        padding-right: 0 !important;
    }
    .hp-full-footer .hp-partner-slot:nth-child(2n + 1) {
        padding-left: 0 !important;
    }
    .hp-full-footer .hp-partner-slot > span {
        white-space: normal !important;
        font-size: 10px !important;
        min-height: auto !important;
        margin-bottom: 8px !important;
        text-align: center !important;
        align-self: center !important;
        width: 100% !important;
    }
    .hp-full-footer .hp-logo-placeholders {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
    }
    .hp-full-footer .hp-logo-placeholders .hp-partner-logo-item {
        justify-content: center !important;
        text-align: center !important;
    }
    .hp-full-footer .hp-logo-placeholders .hp-partner-logo-item img {
        object-position: center !important;
        margin: 0 auto !important;
    }
    .hp-footer-bottom {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        gap: 18px !important;
        width: 100% !important;
    }
    .hp-full-footer .hp-footer-social,
    .hp-footer-social {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        gap: 10px !important;
        margin: 0 auto !important;
    }
    .hp-footer-policy {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
        flex-wrap: wrap !important;
        gap: 8px 14px !important;
        margin: 0 auto !important;
    }
    .hp-footer-bottom small {
        display: block !important;
        text-align: center !important;
        width: 100% !important;
        white-space: normal !important;
        line-height: 1.5 !important;
        margin: 0 auto !important;
    }
}

@media (max-width: 480px) {
    .hp-full-footer .hp-partner-grid {
        grid-template-columns: 1fr !important;
        gap: 16px 0 !important;
    }
    .hp-full-footer .hp-partner-slot {
        border-right: 0 !important;
        padding: 0 0 14px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    }
    .hp-full-footer .hp-partner-slot:last-child {
        border-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
}
