/* ==========================================================================
   Drama Online — Unified Luxury Dark-Gold Site Header v2.0
   Loaded AFTER app.css, drama-mobile-ux.css, and custom.css.
   Covers: Desktop Sticky Glass Navbar, Pill Navigation, Fixed RTL Icon Spacing,
           Active Route State, Frosted Dropdown, Upgraded Search + #datafetch,
           Refined Promo Banner, WP Admin Bar Offset, and Mobile Drawer/Search.
   ========================================================================== */

:root {
    --do-hdr-bg: rgba(11, 15, 25, 0.90);
    --do-hdr-bg-solid: rgba(9, 13, 22, 0.97);
    --do-hdr-surface: rgba(13, 19, 34, 0.97);
    --do-hdr-gold: #f5c16c;
    --do-hdr-gold-bright: #ffd98a;
    --do-hdr-gold-soft: rgba(245, 193, 108, 0.14);
    --do-hdr-gold-border: rgba(245, 193, 108, 0.24);
    --do-hdr-text: #e2e8f0;
    --do-hdr-muted: #94a3b8;
    --do-hdr-border: rgba(255, 255, 255, 0.08);
}

/* ---- Core Header Shell ---- */
header.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    width: 100%;
    height: auto !important;
    min-height: 72px;
    background: linear-gradient(180deg, rgba(11, 15, 25, 0.95) 0%, rgba(13, 18, 31, 0.88) 100%) !important;
    backdrop-filter: blur(18px) saturate(145%);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
    border-bottom: 1px solid rgba(245, 193, 108, 0.14) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.36);
    font-family: "JF-Flat", -apple-system, BlinkMacSystemFont, sans-serif;
    transition: background-color 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

header.site-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 1px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent 8%, rgba(245, 193, 108, 0.38) 50%, transparent 92%);
    opacity: 0.75;
}

header.site-header.is-scrolled {
    background: var(--do-hdr-bg-solid) !important;
    border-bottom-color: rgba(245, 193, 108, 0.20) !important;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.56);
}

/* WordPress Admin Bar offset so sticky/fixed header never slips behind #wpadminbar */
@media (min-width: 783px) {
    body.admin-bar header.site-header {
        top: 32px !important;
    }
}
@media (min-width: 601px) and (max-width: 782px) {
    body.admin-bar header.site-header {
        top: 46px !important;
    }
}

/* Remove duplicate backdrop-filter / dark background on inner .navbar */
header.site-header .navbar,
header.site-header .navbar.bg-dark-transparent {
    background: transparent !important;
    background-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    border: 0 !important;
}

/* Clean keyboard-only focus rings inside header (override harsh app.css outline on click) */
header.site-header a:focus,
header.site-header button:focus,
header.site-header .nav-link:focus,
header.site-header input:focus {
    outline: none !important;
    outline-offset: 0 !important;
}
header.site-header a:focus-visible,
header.site-header button:focus-visible,
header.site-header .nav-link:focus-visible {
    outline: 2px solid var(--do-hdr-gold) !important;
    outline-offset: 2px !important;
}

/* ---- Brand Logo ---- */
header.site-header .navbar-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1;
}

header.site-header .site-logo-img {
    height: 68px !important;
    width: auto !important;
    max-width: 235px !important;
    max-height: none !important;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.4));
    transition: transform 0.22s ease, filter 0.22s ease, height 0.22s ease;
}

header.site-header .navbar-brand:hover .site-logo-img {
    transform: translateY(-1px) scale(1.03);
    filter: drop-shadow(0 4px 18px rgba(245, 193, 108, 0.30));
}

@media (min-width: 1400px) {
    header.site-header .site-logo-img {
        height: 74px !important;
        max-width: 255px !important;
    }
}

/* ---- UNIVERSAL RTL ICON FIX (Desktop + Dropdown + Mobile Drawer) ----
   Bootstrap LTR .me-1 adds margin-right which sits on the OUTER edge in RTL,
   causing SVG icons to collide directly with the Arabic text. Neutralize .me-1
   and use inline-flex + gap on span[itemprop="name"] instead. */
header.site-header #primary-menu .nav-link > span[itemprop="name"],
header.site-header #primary-menu .dropdown-item > span[itemprop="name"] {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    line-height: 1.25;
}

header.site-header #primary-menu .nav-link svg,
header.site-header #primary-menu .nav-link svg.me-1,
header.site-header #primary-menu .dropdown-item svg,
header.site-header #primary-menu .dropdown-item svg.me-1 {
    margin: 0 !important;
    width: 15px !important;
    height: 15px !important;
    min-width: 15px;
    flex: 0 0 15px;
    color: var(--do-hdr-gold);
    opacity: 0.9;
    vertical-align: middle;
    transition: transform 0.2s ease, opacity 0.2s ease, color 0.2s ease;
}

/* ==========================================================================
   DESKTOP HEADER ( >= 992px )
   ========================================================================== */
@media (min-width: 992px) {
    header.site-header .navbar > .container {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        min-height: 76px;
        padding-top: 4px;
        padding-bottom: 4px;
        transition: min-height 0.22s ease;
    }

    header.site-header.is-scrolled .navbar > .container {
        min-height: 66px;
    }

    header.site-header.is-scrolled .site-logo-img {
        height: 58px !important;
    }

    header.site-header #dramaNavbar.navbar-collapse {
        display: flex !important;
        flex: 1 1 auto;
        align-items: center;
        justify-content: center;
        min-width: 0;
        overflow: visible !important;
    }

    /* Center Pill Navigation Rail */
    header.site-header #primary-menu.navbar-nav {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap;
        align-items: center !important;
        justify-content: center;
        gap: 4px;
        margin: 0 auto !important;
        padding: 4px 6px !important;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.065);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    }

    header.site-header #primary-menu > .nav-item {
        position: relative;
        flex: 0 0 auto;
    }

    header.site-header #primary-menu .nav-link {
        position: relative;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 5px;
        padding: 8px 14px !important;
        border-radius: 999px !important;
        border: 1px solid transparent;
        background: transparent;
        color: #cbd5e1 !important;
        font-size: 0.875rem !important;
        font-weight: 600 !important;
        line-height: 1.25;
        white-space: nowrap;
        text-decoration: none !important;
        transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    }

    header.site-header #primary-menu .nav-link:hover,
    header.site-header #primary-menu .nav-link:focus-visible,
    header.site-header #primary-menu .dropdown:hover > .nav-link,
    header.site-header #primary-menu .nav-link.show {
        color: #ffffff !important;
        background: rgba(245, 193, 108, 0.11) !important;
        border-color: rgba(245, 193, 108, 0.22);
    }

    header.site-header #primary-menu .nav-link:hover svg,
    header.site-header #primary-menu .dropdown:hover > .nav-link svg,
    header.site-header #primary-menu .nav-link.is-active svg {
        opacity: 1;
        color: var(--do-hdr-gold-bright);
        transform: scale(1.08);
    }

    /* Active Page Highlight */
    header.site-header #primary-menu .nav-link.is-active,
    header.site-header #primary-menu .current-menu-item > .nav-link,
    header.site-header #primary-menu .current-menu-ancestor > .nav-link {
        color: var(--do-hdr-gold) !important;
        background: linear-gradient(135deg, rgba(245, 193, 108, 0.19), rgba(245, 193, 108, 0.08)) !important;
        border-color: rgba(245, 193, 108, 0.34) !important;
        box-shadow: 0 0 18px rgba(245, 193, 108, 0.12);
    }

    /* Dropdown Caret */
    header.site-header #primary-menu .dropdown-toggle::after {
        display: inline-block;
        margin-right: 4px !important;
        margin-left: 0 !important;
        vertical-align: middle;
        border-top: 0.32em solid var(--do-hdr-gold);
        border-right: 0.3em solid transparent;
        border-left: 0.3em solid transparent;
        border-bottom: 0;
        opacity: 0.85;
        transition: transform 0.22s ease, opacity 0.22s ease;
    }

    header.site-header #primary-menu .dropdown:hover > .dropdown-toggle::after,
    header.site-header #primary-menu .dropdown-toggle.show::after {
        transform: rotate(180deg);
        opacity: 1;
    }

    /* Frosted Glass Dropdown Panel */
    header.site-header #primary-menu .dropdown-menu {
        position: absolute !important;
        top: calc(100% + 10px) !important;
        right: 0 !important;
        left: auto !important;
        min-width: 232px !important;
        margin: 0 !important;
        padding: 8px !important;
        border-radius: 16px !important;
        background: var(--do-hdr-surface) !important;
        backdrop-filter: blur(22px) saturate(140%);
        -webkit-backdrop-filter: blur(22px) saturate(140%);
        border: 1px solid rgba(245, 193, 108, 0.22) !important;
        box-shadow: 0 22px 54px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
        z-index: 1060;
        animation: doHdrFadeIn 0.18s ease-out;
    }

    /* Invisible hover bridge so cursor moving to menu never breaks :hover */
    header.site-header #primary-menu .dropdown-menu::before {
        content: "";
        position: absolute;
        top: -14px;
        left: 0;
        right: 0;
        height: 14px;
    }

    header.site-header #primary-menu .dropdown:hover > .dropdown-menu,
    header.site-header #primary-menu .dropdown-menu.show {
        display: block !important;
    }

    header.site-header #primary-menu .dropdown-menu .nav-item {
        width: 100%;
    }

    header.site-header #primary-menu .dropdown-menu .dropdown-item {
        display: flex !important;
        align-items: center;
        width: 100%;
        padding: 9px 13px !important;
        border-radius: 10px !important;
        color: #dbe2ee !important;
        font-size: 0.875rem !important;
        font-weight: 500;
        text-align: right;
        background: transparent !important;
        transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
    }

    header.site-header #primary-menu .dropdown-menu .dropdown-item > span[itemprop="name"] {
        gap: 10px;
        width: 100%;
    }

    header.site-header #primary-menu .dropdown-menu .dropdown-item:hover,
    header.site-header #primary-menu .dropdown-menu .dropdown-item:focus-visible,
    header.site-header #primary-menu .dropdown-menu .dropdown-item.is-active {
        background: rgba(245, 193, 108, 0.12) !important;
        color: var(--do-hdr-gold) !important;
        padding-right: 13px !important;
        transform: translateX(-3px);
    }

    /* ---- Desktop Live Search Pill ---- */
    header.site-header .header-search {
        position: relative;
        flex: 0 0 auto;
        width: 245px;
        min-width: 190px;
        max-width: 290px;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        transition: width 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    header.site-header .header-search .search_input {
        width: 100%;
        height: 42px !important;
        padding: 0 16px 0 42px !important; /* RTL: 16px start (right), 42px end (left for icon) */
        border-radius: 999px !important;
        background: rgba(255, 255, 255, 0.045) !important;
        border: 1px solid rgba(255, 255, 255, 0.10) !important;
        color: #f1f5f9 !important;
        font-size: 0.85rem !important;
        font-family: inherit;
        transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    }

    header.site-header .header-search .search_input::placeholder {
        color: #8896ab !important;
    }

    header.site-header .header-search .search_input:hover {
        border-color: rgba(245, 193, 108, 0.28) !important;
        background: rgba(255, 255, 255, 0.065) !important;
    }

    header.site-header .header-search .search_input:focus {
        background: rgba(13, 19, 34, 0.96) !important;
        border-color: rgba(245, 193, 108, 0.60) !important;
        box-shadow: 0 0 0 3px rgba(245, 193, 108, 0.14), 0 8px 24px rgba(0, 0, 0, 0.36) !important;
    }

    header.site-header .header-search .search-icon {
        position: absolute;
        left: 13px !important;
        right: auto !important;
        top: 50% !important;
        transform: translateY(-50%);
        width: 20px;
        height: 20px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #94a3b8 !important;
        pointer-events: none;
        z-index: 5;
        transition: color 0.2s ease, transform 0.2s ease;
    }

    header.site-header .header-search .search_input:focus + .search-icon {
        color: var(--do-hdr-gold) !important;
        transform: translateY(-50%) scale(1.06);
    }

    /* Upgraded Desktop #datafetch Live Results Dropdown */
    header.site-header #datafetch.Result {
        position: absolute !important;
        top: calc(100% + 10px) !important;
        left: 0 !important;
        right: auto !important;
        width: 365px !important;
        max-width: calc(100vw - 32px) !important;
        max-height: 470px !important;
        overflow-y: auto;
        padding: 8px !important;
        border-radius: 16px !important;
        background: rgba(13, 19, 34, 0.98) !important;
        backdrop-filter: blur(22px);
        -webkit-backdrop-filter: blur(22px);
        border: 1px solid rgba(245, 193, 108, 0.24) !important;
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.68) !important;
        z-index: 1070;
    }
}

/* Compact Laptop Range (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    header.site-header .navbar > .container {
        gap: 10px;
    }
    header.site-header .site-logo-img {
        height: 56px !important;
        max-width: 195px !important;
    }
    header.site-header #primary-menu .nav-link {
        padding: 7px 10px !important;
        font-size: 0.81rem !important;
    }
    header.site-header #primary-menu .nav-link > span[itemprop="name"] {
        gap: 5px;
    }
    header.site-header .header-search {
        width: 195px !important;
        min-width: 175px !important;
    }
}

@media (min-width: 1200px) {
    header.site-header .header-search:focus-within {
        width: 285px;
    }
}

/* Shared Live Search Results Polish (Desktop & Mobile) */
header.site-header #datafetch.Result ul.MovieList {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    column-count: 1 !important;
    gap: 4px !important;
}

header.site-header #datafetch.Result ul.MovieList li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 0 0 4px 0 !important;
    margin: 0 !important;
}

header.site-header #datafetch.Result ul.MovieList li:last-child {
    border-bottom: 0 !important;
    padding-bottom: 0 !important;
}

header.site-header #datafetch.Result .SearchItem {
    padding: 7px 8px !important;
    border-radius: 11px !important;
    transition: background-color 0.16s ease, transform 0.16s ease !important;
}

header.site-header #datafetch.Result .SearchItem:hover {
    background: rgba(245, 193, 108, 0.09) !important;
    transform: translateX(-3px);
}

header.site-header #datafetch.Result .SearchItem .Image {
    width: 52px !important;
    height: 74px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #0b0f19 !important;
}

header.site-header #datafetch.Result .SearchItem .SearchTitle {
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    color: #f1f5f9 !important;
    line-height: 1.35;
}

header.site-header #datafetch.Result .SearchItem:hover .SearchTitle {
    color: var(--do-hdr-gold) !important;
}

header.site-header #datafetch.Result .SearchItem .SubTitle {
    font-size: 0.78rem !important;
    font-weight: 400;
    color: #94a3b8 !important;
    margin-top: 2px;
}

header.site-header #datafetch.Result .SearchItem .Info {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.74rem !important;
    color: #94a3b8 !important;
}

header.site-header #datafetch.Result .SearchItem .Info i {
    color: var(--do-hdr-gold);
    margin-left: 3px;
}

header.site-header #datafetch.Result .error-404 {
    padding: 18px 12px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

@keyframes doHdrFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   MOBILE & TABLET HEADER / DRAWER / SEARCH ( < 992px )
   Preserves 100% of drama-mobile-ux.js hooks and classes.
   ========================================================================== */
@media (max-width: 991.98px) {
    body header.site-header {
        background: rgba(11, 15, 25, 0.96) !important;
        -webkit-backdrop-filter: none !important;
        backdrop-filter: none !important;
        border-bottom: 1px solid rgba(245, 193, 108, 0.16) !important;
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
        min-height: 58px !important;
    }

    header.site-header .navbar > .container {
        min-height: 62px;
        padding-top: 5px;
        padding-bottom: 5px;
    }

    header.site-header .site-logo-img {
        height: 52px !important;
        max-width: 190px !important;
    }

    header.site-header .do-menu-toggle,
    header.site-header .do-search-toggle {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        border: 1px solid rgba(245, 193, 108, 0.18) !important;
        background: rgba(255, 255, 255, 0.045) !important;
        color: var(--do-hdr-gold) !important;
    }

    body.do-search-open header.site-header .do-search-toggle {
        background: rgba(245, 193, 108, 0.18) !important;
        border-color: rgba(245, 193, 108, 0.42) !important;
    }

    /* Slide-out Drawer Luxury Refresh */
    header.site-header #dramaNavbar.navbar-collapse {
        background: linear-gradient(180deg, #0d1322 0%, #090d18 100%) !important;
        border-left: 1px solid rgba(245, 193, 108, 0.16) !important;
    }

    header.site-header .do-drawer-head {
        background: rgba(255, 255, 255, 0.02);
        border-bottom: 1px solid rgba(245, 193, 108, 0.14);
    }

    header.site-header .do-drawer-close {
        border: 1px solid rgba(255, 255, 255, 0.08);
        background: rgba(255, 255, 255, 0.05);
    }

    header.site-header #dramaNavbar .nav-link,
    header.site-header #dramaNavbar .dropdown-item {
        font-size: 0.96rem !important;
        font-weight: 600;
        border: 1px solid transparent;
    }

    header.site-header #dramaNavbar .nav-link > span[itemprop="name"],
    header.site-header #dramaNavbar .dropdown-item > span[itemprop="name"] {
        gap: 10px;
    }

    header.site-header #dramaNavbar .nav-link.is-active,
    header.site-header #dramaNavbar .dropdown-item.is-active {
        background: rgba(245, 193, 108, 0.13) !important;
        color: var(--do-hdr-gold) !important;
        border-color: rgba(245, 193, 108, 0.26);
    }

    header.site-header #dramaNavbar .dropdown-menu {
        background: rgba(255, 255, 255, 0.03) !important;
        border-right: 2px solid rgba(245, 193, 108, 0.42) !important;
    }

    /* Mobile Search Bar Drop-Down */
    header.site-header .header-search {
        background: #0d1322 !important;
        border-bottom: 1px solid rgba(245, 193, 108, 0.18) !important;
        box-shadow: 0 16px 34px rgba(0, 0, 0, 0.55) !important;
    }

    header.site-header .header-search .search_input {
        min-height: 46px;
        height: 46px !important;
        padding: 0 16px 0 44px !important;
        font-size: 16px !important; /* prevents iOS zoom */
        border-radius: 12px !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        color: #f8fafc !important;
    }

    header.site-header .header-search .search_input:focus {
        border-color: rgba(245, 193, 108, 0.55) !important;
        box-shadow: 0 0 0 3px rgba(245, 193, 108, 0.14) !important;
    }

    header.site-header .header-search .search-icon {
        left: 14px !important;
        right: auto !important;
        color: #94a3b8 !important;
    }

    header.site-header .header-search #datafetch.Result {
        position: static !important;
        width: 100% !important;
        margin-top: 8px !important;
        padding: 6px !important;
        border-radius: 12px !important;
        background: rgba(15, 22, 38, 0.96) !important;
        border: 1px solid rgba(245, 193, 108, 0.16) !important;
        max-height: 58vh !important;
    }
}

/* Fix fixed-header top offset on <= 768px when NO promo banner is rendered (admins / VIP)
   Previously `.site-header + .site-content` failed because `#do-backdrop` sits in between! */
@media (max-width: 768px) {
    header.site-header.do-no-promo ~ .site-content {
        margin-top: calc(var(--do-header-h, 62px) + 0.85rem) !important;
    }
    header.site-header.do-no-promo ~ .do-home-v3 {
        padding-top: calc(var(--do-header-h, 62px) + 0.75rem) !important;
    }
}

/* ==========================================================================
   REFINED LUXURY PROMO BANNER (Shown to non-admin / non-premium visitors)
   ========================================================================== */
.header-promo-banner {
    position: relative;
    z-index: 999;
    margin-top: 0;
    padding: 10px 0 !important;
    overflow: hidden;
    font-family: "JF-Flat", -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #101729 0%, #171f36 52%, #1d1629 100%) !important;
    border-bottom: 1px solid rgba(245, 193, 108, 0.22) !important;
}

.header-promo-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #f5c16c, #e94560, #f5c16c, transparent);
    animation: promo-glow 4s ease infinite;
    will-change: transform;
}

@keyframes promo-glow {
    0%, 100% { transform: translateX(0%); }
    50% { transform: translateX(-50%); }
}

.header-promo-banner .promo-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 8px;
    column-gap: 16px;
    text-align: center;
}

.header-promo-banner .promo-text-area {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 10px;
    min-width: 0;
}

.header-promo-banner .promo-badge {
    background: rgba(245, 193, 108, 0.14);
    color: var(--do-hdr-gold);
    padding: 3px 12px;
    border-radius: 999px;
    font-size: clamp(11px, 0.9vw + 0.5rem, 12.5px);
    font-weight: 700;
    border: 1px solid rgba(245, 193, 108, 0.32);
    white-space: nowrap;
    flex: 0 0 auto;
}

.header-promo-banner .promo-main-text {
    color: #e2e8f0;
    font-size: clamp(12px, 0.7vw + 0.55rem, 13.5px);
    font-weight: 500;
    line-height: 1.4;
}

.header-promo-banner .promo-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    flex: 0 0 auto;
}

.header-promo-banner .promo-btn-login,
.header-promo-banner .promo-btn-sub {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12.5px;
    white-space: nowrap;
    text-decoration: none !important;
    border-radius: 999px;
    transition: all 0.2s ease;
}

.header-promo-banner .promo-btn-login {
    color: #e2e8f0 !important;
    font-weight: 600;
    padding: 5px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.header-promo-banner .promo-btn-login:hover {
    background: rgba(245, 193, 108, 0.12);
    border-color: rgba(245, 193, 108, 0.4);
    color: var(--do-hdr-gold) !important;
}

.header-promo-banner .promo-btn-sub {
    background: linear-gradient(135deg, #f5c16c, #d99b38) !important;
    color: #0b0f19 !important;
    font-weight: 800;
    padding: 6px 16px;
    box-shadow: 0 4px 14px rgba(245, 193, 108, 0.28);
}

.header-promo-banner .promo-btn-sub:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(245, 193, 108, 0.42);
    color: #0b0f19 !important;
}

@media (max-width: 768px) {
    .header-promo-banner {
        margin-top: var(--do-header-h, 62px) !important;
    }
}
