/* APKZIVA Header V3 - Midnight; added after theme, V1, V2 styles */
:root{--apkz-h-bg:#0a181a;--apkz-h-border:#304741;--apkz-h-text:#f0ebe1;--apkz-h-dim:#c8d1ca;--apkz-h-accent:#a4cb59}
.header#header{background:#0a181a!important;border-bottom:1px solid #29413c!important;box-shadow:0 6px 22px rgba(0,0,0,.13)!important;overflow:visible!important}
.header#header .header-in{max-width:1380px!important;padding:0 20px!important;min-height:78px;display:flex!important;gap:24px!important;align-items:center!important;justify-content:space-between!important;position:relative}
.header#header a.logo{height:auto!important;width:236px!important;min-width:190px!important;max-width:236px!important;margin:0!important;display:flex!important;align-items:center!important;flex:0 0 236px!important}
.header#header a.logo img{display:block!important;width:236px!important;max-width:236px!important;height:56px!important;max-height:56px!important;object-fit:contain!important;margin:0!important}
.header#header .search-wrap{margin:0!important;max-width:515px!important;min-width:180px;flex:1 1 380px!important}
.header#header .search-box{height:45px;display:flex;align-items:center;border:1px solid #36534f!important;background:#172b30!important;border-radius:24px!important;overflow:hidden}
.header#header .search-box input{height:43px!important;min-width:0;flex:1;background:transparent!important;color:var(--apkz-h-text)!important;padding:0 18px!important;box-shadow:none!important;border:0!important;font-size:14px}
.header#header .search-box input::placeholder{color:#aebcb7!important;opacity:1}
.header#header .search-box button{height:43px!important;width:49px!important;border:0!important;background:transparent!important;color:var(--apkz-h-text)!important}
.header#header .apkz-nav{flex:0 0 auto!important;margin-left:auto!important;position:relative;z-index:1001}
.header#header .apkz-nav-list{display:flex!important;align-items:center!important;gap:9px!important;margin:0!important;padding:0!important;list-style:none!important}
.header#header .apkz-nav-list>li{display:block!important;position:relative!important;float:none!important;margin:0!important;padding:0!important;list-style:none!important}
.header#header .apkz-nav-list>li>a,.header#header .apkz-games-link{display:inline-flex!important;align-items:center!important;gap:9px!important;padding:13px 12px!important;color:var(--apkz-h-text)!important;font-size:14px!important;font-weight:600!important;white-space:nowrap!important;text-transform:none!important;text-decoration:none!important;line-height:1.1!important;border:0!important;background:transparent!important}
.header#header .apkz-nav-list>li>a:hover,.header#header .apkz-games-link:hover{color:var(--apkz-h-accent)!important}
.header#header .apkz-nav-list a .fa{color:#c5d0c7!important;font-size:15px}
.header#header .apkz-games-trigger{display:flex;align-items:center;background:rgba(153,197,98,.09);border:1px solid rgba(157,201,93,.26);border-radius:13px}
.header#header .apkz-games-trigger .apkz-games-link{color:var(--apkz-h-accent)!important;padding-right:4px!important}
.header#header .apkz-games-trigger .fa-gamepad{color:var(--apkz-h-accent)!important}
.header#header .apkz-games-toggle{background:transparent!important;color:var(--apkz-h-accent)!important;cursor:pointer!important;border:0!important;border-radius:9px!important;padding:12px 12px 12px 6px!important;min-width:31px;min-height:41px;line-height:1}
.header#header .apkz-games-toggle:focus-visible,.header#header .apkz-nav-list a:focus-visible{outline:2px solid var(--apkz-h-accent)!important;outline-offset:3px}
.header#header .apkz-games-dropdown{display:none!important;position:absolute!important;z-index:10050!important;top:calc(100% + 11px)!important;left:0!important;width:245px!important;max-height:min(70vh,570px)!important;overflow-y:auto!important;background:#102224!important;border:1px solid #436056!important;border-radius:16px!important;padding:8px!important;margin:0!important;list-style:none!important;box-shadow:0 20px 45px rgba(0,0,0,.42)!important;visibility:visible!important;opacity:1!important;transform:none!important}
.header#header .apkz-nav-games:hover>.apkz-games-dropdown,.header#header .apkz-nav-games:focus-within>.apkz-games-dropdown,.header#header .apkz-nav-games.is-open>.apkz-games-dropdown{display:block!important}
.header#header .apkz-games-dropdown>li{list-style:none!important;margin:0!important;padding:0!important;float:none!important;display:block!important}
.header#header .apkz-games-dropdown>li>a{display:flex!important;gap:13px!important;align-items:center!important;padding:11px 13px!important;background:transparent!important;color:#e8e9e0!important;border-radius:9px!important;text-decoration:none!important;font-size:13px!important;line-height:1.3!important;white-space:normal!important;font-weight:500!important}
.header#header .apkz-games-dropdown>li>a .fa{color:#b6c5bc!important;font-size:15px!important;width:19px!important;text-align:center!important;flex-shrink:0!important}
.header#header .apkz-games-dropdown>li>a:hover,.header#header .apkz-games-dropdown>li>a:focus-visible{background:#284337!important;color:#e9f5da!important}
.header#header .btn-menu,.header#header .btn-search{color:#f0ebe1!important}
/* Existing mobile hamburger menu retains its behavior, but inherits dark surface. */
.mmenu-panel{background:#102224!important;color:#f0ebe1!important}
.mmenu-panel a,.mmenu-panel .mmenu a{color:#f0ebe1!important}
.mmenu-panel a:hover{color:#a4cb59!important}
@media(max-width:1160px){.header#header .header-in{gap:12px!important}.header#header a.logo{flex-basis:196px!important;width:196px!important;min-width:160px!important}.header#header a.logo img{width:196px!important;max-width:196px!important}.header#header .apkz-nav-list>li>a,.header#header .apkz-games-link{padding-left:7px!important;padding-right:7px!important;font-size:13px!important}.header#header .search-wrap{max-width:420px!important}}
@media(max-width:900px){.header#header .apkz-nav{display:none!important}.header#header .header-in{min-height:69px;padding:0 16px!important}.header#header a.logo{min-width:160px!important;flex-basis:190px!important}.header#header a.logo img{width:190px!important;max-width:190px!important;height:49px!important}.header#header .btn-menu{display:block!important;margin-right:4px!important}.header#header .search-wrap{max-width:none!important}}
@media(max-width:560px){.header#header .header-in{gap:9px!important}.header#header a.logo{min-width:135px!important;flex-basis:145px!important}.header#header a.logo img{width:145px!important;max-width:145px!important;height:43px!important}.header#header .search-wrap{min-width:0;flex:1 1 auto!important}.header#header .search-box input{padding:0 10px!important;font-size:12px!important}.header#header .search-box{height:41px!important}.header#header .search-box button{height:39px!important;width:37px!important}.header#header .btn-menu{font-size:19px!important}}


/* APKZIVA HEADER V3.1 FIX */
.header#header .apkz-nav-apps:hover > .apkz-apps-dropdown,
.header#header .apkz-nav-apps:focus-within > .apkz-apps-dropdown {
    display: block !important;
}

.header#header .apkz-nav-apps > a:hover,
.header#header .apkz-nav-apps:focus-within > a {
    color: #a4cb59 !important;
}

.header#header .apkz-games-dropdown,
.header#header .apkz-apps-dropdown {
    top: 100% !important;
    margin-top: 0 !important;
    background: #102224 !important;
    border: 1px solid #36544a !important;
    color: #eeeae1 !important;
    max-height: min(68vh, 520px) !important;
    scrollbar-width: thin;
    scrollbar-color: #456158 #102224;
}

.header#header .apkz-games-dropdown::-webkit-scrollbar,
.header#header .apkz-apps-dropdown::-webkit-scrollbar {
    width: 5px;
}

.header#header .apkz-games-dropdown::-webkit-scrollbar-thumb,
.header#header .apkz-apps-dropdown::-webkit-scrollbar-thumb {
    background: #456158;
    border-radius: 10px;
}

.header#header .apkz-games-dropdown::-webkit-scrollbar-track,
.header#header .apkz-apps-dropdown::-webkit-scrollbar-track {
    background: #102224;
}

.header#header .apkz-games-dropdown > li > a,
.header#header .apkz-apps-dropdown > li > a {
    color: #eeeae1 !important;
    border-bottom: 0 !important;
}

.header#header .apkz-games-dropdown > li > a:hover,
.header#header .apkz-apps-dropdown > li > a:hover {
    background: #284337 !important;
    color: #f3f4ec !important;
}
/* END APKZIVA HEADER V3.1 FIX */


/* APKZIVA MINIMAL NAV START */

/* All three navigation items use the same boxed design */
.header#header .apkz-nav-list {
    gap: 10px !important;
}

.header#header .apkz-nav-list > li > a,
.header#header .apkz-games-trigger {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 43px !important;
    padding: 0 18px !important;
    background: #152729 !important;
    border: 1px solid #35504c !important;
    border-radius: 12px !important;
    color: #eeeae1 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    transition: background .2s ease, border-color .2s ease !important;
}

/* Games gets a subtle active state */
.header#header .apkz-games-trigger {
    background: #263d31 !important;
    border-color: #56744a !important;
}

.header#header .apkz-games-link {
    padding: 0 2px 0 16px !important;
    min-height: 41px !important;
    color: #b5d883 !important;
}

/* Remove decorative icons everywhere in the desktop navigation */
.header#header .apkz-nav-list .fa,
.header#header .apkz-games-dropdown .fa,
.header#header .apkz-apps-dropdown .fa {
    display: none !important;
}

/* Keep a subtle dropdown indicator */
.header#header .apkz-games-toggle {
    min-width: 28px !important;
    min-height: 41px !important;
    padding: 0 12px 0 2px !important;
    font-size: 0 !important;
}

.header#header .apkz-games-toggle::after {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid #b5d883;
    border-bottom: 1.5px solid #b5d883;
    transform: rotate(45deg) translateY(-2px);
}

/* Applications dropdown indicator */
.header#header .apkz-nav-apps > a::after {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-left: 4px;
    border-right: 1.5px solid #b8c3bc;
    border-bottom: 1.5px solid #b8c3bc;
    transform: rotate(45deg) translateY(-2px);
}

.header#header .apkz-nav-list > li > a:hover,
.header#header .apkz-games-trigger:hover {
    background: #263e34 !important;
    border-color: #66865c !important;
}

/* Unified dropdown items */
.header#header .apkz-games-dropdown > li > a,
.header#header .apkz-apps-dropdown > li > a {
    display: flex !important;
    align-items: center !important;
    padding: 11px 15px !important;
    gap: 0 !important;
    color: #e9e8df !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 8px !important;
    min-height: 38px !important;
}

.header#header .apkz-games-dropdown > li > a:hover,
.header#header .apkz-apps-dropdown > li > a:hover {
    background: #284337 !important;
    color: #b5d883 !important;
}

/* APKZIVA MINIMAL NAV END */


/* APKZIVA: TEXT-ONLY NAVIGATION */
.header#header .apkz-nav-list > li > a::before,
.header#header .apkz-games-link::before,
.header#header .apkz-games-dropdown > li > a::before,
.header#header .apkz-apps-dropdown > li > a::before {
    content: none !important;
    display: none !important;
}

.header#header .apkz-nav-list .fa,
.header#header .apkz-games-dropdown .fa,
.header#header .apkz-apps-dropdown .fa {
    display: none !important;
}

/* END TEXT-ONLY NAVIGATION */
