/* 3Club topnav — horizontal + hamburger + dropdowns */
.topnav {
    position: sticky;
    top: 0;
    z-index: 200;
    background: linear-gradient(180deg, rgba(11,18,21,.96) 0%, rgba(11,11,11,.94) 100%);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,65,3,.28);
    box-shadow: 0 8px 28px rgba(0,0,0,.35);
}
.topnav-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 16px;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
}
.topnav-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    line-height: 0;
    max-width: 140px;
}
.topnav-logo img {
    height: 22px !important;
    width: auto !important;
    max-width: 140px !important;
    max-height: 22px !important;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(255,65,3,.35));
}
.topnav-logo:hover img { filter: drop-shadow(0 0 14px rgba(251,22,22,.45)); opacity: .92; }

.topnav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid #2A2A2A;
    background: #161616;
    border-radius: 10px;
    cursor: pointer;
    padding: 10px 9px;
    flex-direction: column;
    justify-content: space-between;
}
.topnav-toggle span {
    display: block;
    height: 2px;
    background: #F0F0F0;
    border-radius: 2px;
    transition: .2s ease;
}
.topnav.is-open .topnav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.topnav.is-open .topnav-toggle span:nth-child(2) { opacity: 0; }
.topnav.is-open .topnav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.topnav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
    flex: 1 1 auto;
    justify-content: flex-end;
    min-width: 0;
}
.topnav-links > li { position: relative; flex: 0 0 auto; }

.topnav-link,
.topnav-links > li > a.topnav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #c8d0d4 !important;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 8px 11px;
    border-radius: 8px;
    background: transparent;
    border: 0;
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
}
.topnav-link:hover,
.topnav-links > li > a.topnav-link:hover {
    color: #fff !important;
    background: rgba(255,65,3,.12);
}
.topnav-link.is-on {
    color: #FF4103 !important;
    background: rgba(255,65,3,.1);
}

.caret {
    width: 0; height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #8aa0a8;
}
.dropdown.open .caret,
.dropdown:hover .caret { border-top-color: #FF4103; transform: none; }

.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 200px;
    padding: 8px;
    list-style: none;
    margin: 0;
    background: #101418;
    border: 1px solid #2a3338;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0,0,0,.55), 0 0 0 1px rgba(255,65,3,.12);
    z-index: 220;
}
.dropdown-menu::before {
    content: "";
    position: absolute;
    top: -6px; right: 22px;
    width: 10px; height: 10px;
    background: #101418;
    border-left: 1px solid #2a3338;
    border-top: 1px solid #2a3338;
    transform: rotate(45deg);
}
.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu { display: block; }
.dropdown-menu a {
    display: block;
    color: #d5dee2 !important;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: .88rem;
    font-weight: 500;
}
.dropdown-menu a:hover {
    background: linear-gradient(90deg, rgba(255,65,3,.18), transparent);
    color: #fff !important;
}
.dropdown-menu a.is-out { color: #FB1616 !important; }

@media (max-width: 960px) {
    .topnav-toggle { display: flex; }
    .topnav-links {
        display: none;
        position: absolute;
        left: 0; right: 0;
        top: 58px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 12px 16px;
        background: #0b0b0b;
        border-bottom: 1px solid #2A2A2A;
        max-height: calc(100vh - 58px);
        overflow-y: auto;
        justify-content: flex-start;
    }
    .topnav.is-open .topnav-links { display: flex; }
    .topnav-links > li { width: 100%; }
    .topnav-link { width: 100%; justify-content: space-between; padding: 12px 10px; }
    .dropdown-menu {
        position: static;
        display: none;
        min-width: 0;
        margin: 0 0 8px;
        box-shadow: none;
        right: auto;
    }
    .dropdown-menu::before { display: none; }
    .dropdown:hover .dropdown-menu { display: none; }
    .dropdown.open .dropdown-menu { display: block; }
}
