:root {
    --bg: #111118;
    --bg2: #18181f;
    --bg3: #1e1e28;
    --gold: #f5c842;
    --gold2: #e8a020;
    --text: #ffffff;
    --text2: #bbbbcc;
    --muted: #666677;
    --border: rgba(245, 200, 66, 0.1);
    --w: 1200px;
}

header {
    width: 100%;
    background: var(--bg2);
    border-bottom: 2px solid var(--gold);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.h-top {
    max-width: var(--w);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 60px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    gap: 3px;
}

.logo-text .name {
    font-size: 18px;
    font-weight: 900;
    color: var(--gold);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo-text .sub {
    font-size: 9px;
    color: var(--muted);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.h-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-bar,
.searchBar {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(245, 200, 66, 0.2);
    border-radius: 6px;
    padding: 0 12px;
    height: 36px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-bar:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(245, 200, 66, 0.1);
}

.search-bar input,
.searchBar input {
    background: transparent;
    color: #fff;
    font-size: 13px;
    width: 160px;
}

.search-bar input::placeholder {
    color: var(--muted);
}

.search-bar button,
.searchBar button {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.search-bar button img,
.searchBar button img {
    width: 14px;
    height: 14px;
    filter: brightness(3) sepia(1) saturate(5) hue-rotate(5deg);
}

.menuBtn {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: background 0.2s;
}

.menuBtn:hover {
    background: rgba(245, 200, 66, 0.12);
}

.menuBtn img {
    width: 18px;
    height: 18px;
    filter: brightness(3);
}

.searchBtn {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: background 0.2s;
}

.searchBtn:hover {
    background: rgba(245, 200, 66, 0.12);
}

.searchBtn img {
    width: 18px;
    height: 18px;
    filter: brightness(3) sepia(1) saturate(5) hue-rotate(5deg);
}

.mobile-search-bar {
    display: none;
    width: 100%;
    height: 100vh;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    padding: 10px 16px;
}

.mobile-search-bar.active {
    display: flex;
}

.mobile-search-bar input {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(245, 200, 66, 0.2);
    border-radius: 6px 0 0 6px;
    padding: 0 14px;
    height: 38px;
    color: #fff;
    font-size: 13px;
}

.mobile-search-bar input::placeholder {
    color: var(--muted);
}

.mobile-search-bar button[type="submit"] {
    height: 38px;
    padding: 0 16px;
    background: var(--gold);
    border-radius: 0 6px 6px 0;
    color: #111;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.h-nav {
    background: var(--bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.h-nav-inner {
    max-width: var(--w);
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 24px;
    overflow-x: auto;
    scrollbar-width: none;
}

.h-nav-inner::-webkit-scrollbar {
    display: none;
}

.h-nav-inner a {
    display: block;
    padding: 10px 16px;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: color 0.2s, border-color 0.2s;
    text-decoration: none;
}

.h-nav-inner a:hover {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

.searchBar {
    display: none;
}

@media screen and (max-width: 769px) {
    .search-bar {
        display: none;
    }

    .h-nav-inner {
        flex-direction: column;
        height: 100vh;
    }

    .menuBtn {
        display: flex;
    }

    .searchBtn {
        display: flex;
    }

    .h-nav {
        display: none;
    }

    .h-nav.active {
        display: block;
    }

    .searchBar.active {
        display: flex;
    }

    .searchBar {
        width: 100%;
        height: 100vh;
    }

    .h-top {
        height: 56px;
        padding: 0 16px;
    }
}