:root {
    --orange: #ff9d00;
    --bg: #0b0b0b;
    --text: #f5f5f5;
    --muted: #c5c5c5;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    background: #111;
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
}

button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

.topbar {
    height: 20px;
    background: #050505;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(12px, 2.4vw, 48px);
    overflow: hidden;
    white-space: nowrap;
    padding: 0 10px;
}

.topbar a {
    color: #ddd;
    font-size: 11px;
    line-height: 20px;
    transition: color 0.2s;
    flex-shrink: 0;
}

.topbar a:hover { color: var(--orange); }

.info {
    display: inline-flex;
    width: 15px;
    height: 15px;
    align-items: center;
    justify-content: center;
    border: 1px solid #aaa;
    border-radius: 50%;
    font-size: 10px;
    margin-left: 5px;
}

.mainbar {
    height: 68px;
    background: #0d0d0d;
    display: flex;
    align-items: center;
    padding: 0 18px 0 15px;
    gap: 12px;
    position: relative;
}

.hamburger {
    width: 25px;
    height: 32px;
    border: 0;
    padding: 4px 0;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    flex-shrink: 0;
}

.hamburger span {
    height: 3px;
    width: 22px;
    background: var(--orange);
    border-radius: 3px;
}

.brand-icons {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    color: white;
}

.icon-item {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 34px;
    padding: 0 8px;
    border-radius: 4px;
    transition: background 0.2s;
}

.icon-item:hover { background: rgba(255, 255, 255, 0.08); }

.gender-symbol {
    font-size: 24px;
    line-height: 1;
    color: white;
    transition: color 0.2s;
    font-weight: normal;
    user-select: none;
}

.icon-item:hover .gender-symbol { color: var(--orange); }

.star-arrow {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid white;
    transition: border-top-color 0.2s, transform 0.2s;
    margin-top: 2px;
}

.icon-item:hover .star-arrow { border-top-color: var(--orange); }

.icon-item.open .star-arrow {
    transform: rotate(180deg);
    border-top-color: var(--orange);
}

.icon-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 50px;
    padding: 6px;
    background: #191919;
    border: 1px solid #333;
    border-radius: 4px;
    box-shadow: 0 8px 20px #0008;
    z-index: 30;
}

.icon-item.open .icon-dropdown { display: block; }

.icon-dropdown .gender-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    color: #ddd;
    font-size: 22px;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    user-select: none;
    white-space: nowrap;
}

.icon-dropdown .gender-switch:hover {
    background: #292929;
    color: var(--orange);
}

.logo-img {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    width: auto;
    position: relative;
    z-index: 5;
    line-height: 0;
    transition: height 0.2s;
}

.logo-img img {
    height: 100%;
    width: auto;
    display: block;
    object-fit: contain;
    filter: none;
    max-width: 220px;
}

.search {
    height: 41px;
    flex: 1;
    min-width: 100px;
    max-width: none;
    background: #242424;
    border-radius: 25px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 12px;
    line-height: 0;
    margin: 0 6px;
}

.search svg { flex-shrink: 0; display: block; }

.search input {
    border: 0;
    outline: 0;
    color: white;
    background: transparent;
    width: 100%;
    min-width: 0;
    font-size: 14px;
    line-height: normal;
    padding: 0;
    height: 100%;
}

.search input::placeholder { color: #aaa; }

.search-toggle {
    display: none;
    width: 38px;
    height: 38px;
    border: 0;
    background: transparent;
    color: #ddd;
    padding: 6px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
}

.search-toggle svg { width: 24px; height: 24px; display: block; }

.member {
    height: 36px;
    padding: 0 15px;
    border: 0;
    border-radius: 24px;
    background: var(--orange);
    color: #111;
    font-weight: bold;
    font-size: 11px;
    white-space: nowrap;
    box-shadow: 0 2px 0 #000;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.member .info {
    border-color: #444;
    color: #333;
    margin-left: 3px;
}

.action {
    position: relative;
    width: 29px;
    height: 34px;
    border: 0;
    background: transparent;
    color: #ddd;
    padding: 3px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action svg { width: 26px; height: 26px; display: block; }

.mini-plus {
    position: absolute;
    right: -2px;
    bottom: 0;
    color: #111;
    background: #ddd;
    width: 11px;
    height: 11px;
    border: 1px solid #111;
    border-radius: 50%;
    font-size: 10px;
    line-height: 9px;
}

.user {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #191919;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border: 0;
    padding: 0;
}

.user svg { width: 27px; height: 27px; display: block; }

.navrow {
    height: 34px;
    background: #0d0d0d;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    padding: 0 17px;
}

.navitem {
    height: 34px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 11px;
    font-weight: bold;
    white-space: nowrap;
}

.navitem.active::after {
    content: "";
    position: absolute;
    height: 2px;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--orange);
}

.chevron {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #ddd;
    margin-top: 3px;
}

.navitem:hover { color: var(--orange); }
.navitem:hover .chevron { border-top-color: var(--orange); }

.flame { color: var(--orange); font-size: 14px; }

.nav-info {
    position: absolute;
    right: -1px;
    top: -5px;
    color: #bbb;
    font-size: 11px;
    font-weight: normal;
}

.dropdown {
    display: none;
    position: absolute;
    z-index: 10;
    top: 34px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 150px;
    padding: 7px;
    background: #191919;
    border: 1px solid #333;
    border-radius: 4px;
    box-shadow: 0 8px 20px #0008;
}

.navitem.open .dropdown { display: block; }

.dropdown a {
    display: block;
    text-align: left;
    padding: 10px;
    border-radius: 3px;
    color: #ddd;
    font-weight: normal;
}

.dropdown a:hover {
    background: #292929;
    color: var(--orange);
}

.sidebar {
    display: none;
    padding: 12px 18px;
    background: #141414;
    border-top: 1px solid #292929;
}

.sidebar.show { display: block; }

.sidebar a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #252525;
    font-size: 13px;
}

.mobile-search-bar {
    display: none;
    background: #0d0d0d;
    padding: 8px 12px;
    border-top: 1px solid #292929;
}

.mobile-search-bar.show { display: flex; }

.mobile-search-bar .search {
    position: static;
    transform: none;
    margin: 0;
    max-width: none;
    flex: 1;
    height: 40px;
}

.age-gate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.age-gate-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
    padding: 44px 52px;
    background: #161616;
    border: 1px solid #2a2a2a;
    border-radius: 14px;
    color: #e0e0e0;
    text-align: center;
    max-width: 520px;
    width: 100%;
    box-shadow: 0 8px 48px rgba(0, 0, 0, 0.8);
}

.age-gate-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    width: auto;
    flex-shrink: 0;
    line-height: 0;
    margin-bottom: 4px;
}

.age-gate-logo img {
    height: 100%;
    width: auto;
    display: block;
    object-fit: contain;
    max-width: 200px;
}

.age-gate-title {
    font-size: 26px;
    font-weight: bold;
    color: #ff9d00;
    letter-spacing: 0.5px;
}

.age-gate-desc {
    font-size: 15px;
    line-height: 1.8;
    color: #c5c5c5;
    max-width: 420px;
}

.age-gate-desc .highlight {
    color: #e0e0e0;
    font-weight: bold;
}

.age-gate-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 360px;
    margin-top: 8px;
}

.age-btn {
    width: 100%;
    height: 48px;
    padding: 0 36px;
    border: 0;
    border-radius: 24px;
    font-size: 15px;
    font-weight: bold;
    white-space: nowrap;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.age-btn-yes {
    background: var(--orange);
    color: #111;
    box-shadow: 0 3px 0 #000;
}

.age-btn-yes:hover {
    background: #ffb733;
    transform: translateY(-1px);
}

.age-btn-no {
    background: transparent;
    color: #aaa;
    border: 1px solid #444;
}

.age-btn-no:hover {
    color: #fff;
    border-color: #888;
    background: rgba(255, 255, 255, 0.05);
}

.age-gate-footer {
    font-size: 12px;
    color: #666;
    border-top: 1px solid #2a2a2a;
    padding-top: 18px;
    margin-top: 4px;
    width: 100%;
    max-width: 420px;
}

.age-gate-footer a {
    color: #ff9d00;
    text-decoration: underline;
}

.age-gate-footer a:hover {
    color: #ffb733;
}

.age-gate-overlay.hidden {
    display: none;
}

@media (max-width: 850px) {
    .topbar {
        justify-content: center;
        padding: 0 6px;
        gap: clamp(8px, 1.6vw, 24px);
        flex-wrap: wrap;
        height: auto;
        min-height: 20px;
        padding-top: 2px;
        padding-bottom: 2px;
    }
    .topbar a {
        font-size: 10px;
        line-height: 18px;
    }

    .mainbar { gap: 11px; padding: 0 12px; }

    .gender-symbol { font-size: 20px; }

    .star-arrow {
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 5px solid white;
    }

    .logo-img { height: 44px; }

    .member { padding: 0 10px; }

    .navrow { padding: 0 5px; }

    .navitem { font-size: 10px; }

    .nav-info { display: none; }

    .age-gate-box {
        padding: 32px 28px;
        gap: 18px;
    }
    .age-gate-logo {
        height: 44px;
    }
    .age-gate-title {
        font-size: 22px;
    }
    .age-gate-desc {
        font-size: 14px;
    }
}

@media (max-width: 560px) {
    .topbar {
        gap: 8px 12px;
        padding: 2px 8px;
        height: auto;
        min-height: 22px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .topbar a {
        font-size: 9px;
        line-height: 16px;
    }
    .topbar a:nth-child(7),
    .topbar a:nth-child(8) {
        display: none;
    }
    .topbar a:nth-child(5),
    .topbar a:nth-child(6) {
        display: inline-block;
    }

    .mainbar {
        height: 56px;
        padding: 0 10px;
        gap: 4px;
        position: relative;
        justify-content: flex-start;
    }

    .hamburger {
        display: flex;
        width: 30px;
        height: 34px;
        padding: 5px 2px;
        gap: 5px;
    }

    .hamburger span {
        width: 24px;
        height: 3px;
        background: var(--orange);
    }

    .brand-icons { display: flex; }

    .icon-item {
        padding: 0 4px;
        gap: 4px;
        height: 32px;
    }

    .gender-symbol { font-size: 18px; }

    .star-arrow {
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 5px solid white;
    }

    .logo-img {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        height: 40px;
        z-index: 10;
    }

    .logo-img img {
        max-width: 180px;
    }

    .search { display: none; }

    .search-toggle {
        display: flex;
        margin-left: auto;
        width: 36px;
        height: 36px;
        padding: 6px;
        color: #ddd;
    }

    .search-toggle svg { width: 22px; height: 22px; }

    .member { display: none; }
    .action { display: none; }

    .user {
        margin-left: 2px;
        width: 34px;
        height: 34px;
        flex-shrink: 0;
    }

    .user svg { width: 22px; height: 22px; }

    .navrow {
        display: flex;
        overflow-x: auto;
        scrollbar-width: none;
        padding: 0 5px;
        height: 32px;
    }

    .navrow::-webkit-scrollbar { display: none; }

    .navitem {
        min-width: 80px;
        padding: 0 8px;
        height: 32px;
        font-size: 10px;
    }

    .mobile-search-bar { padding: 6px 10px; }

    .mobile-search-bar .search {
        display: flex;
        height: 38px;
        background: #242424;
        border-radius: 20px;
        padding: 0 12px;
        gap: 8px;
    }

    .mobile-search-bar .search input { font-size: 13px; }

    .age-gate-overlay {
        padding: 14px;
    }
    .age-gate-box {
        padding: 26px 18px;
        gap: 14px;
    }
    .age-gate-logo {
        height: 38px;
    }
    .age-gate-title {
        font-size: 19px;
    }
    .age-gate-desc {
        font-size: 13px;
        line-height: 1.7;
    }
    .age-btn {
        height: 44px;
        font-size: 14px;
    }
    .age-gate-footer {
        font-size: 11px;
        padding-top: 14px;
    }
}

@media (max-width: 380px) {
    .mainbar { padding: 0 6px; }
    .gender-symbol { font-size: 16px; }
    .logo-img { height: 34px; }
    .user { width: 30px; height: 30px; }
    .user svg { width: 19px; height: 19px; }
    .search-toggle { width: 32px; height: 32px; }

    .topbar {
        gap: 6px 8px;
        padding: 2px 6px;
    }
    .topbar a {
        font-size: 8px;
        line-height: 14px;
    }
    .topbar a:nth-child(6),
    .topbar a:nth-child(7),
    .topbar a:nth-child(8) {
        display: none;
    }
    .topbar a:nth-child(5) {
        display: inline-block;
    }

    .age-gate-box {
        padding: 20px 14px;
        gap: 12px;
    }
    .age-gate-logo {
        height: 32px;
    }
    .age-gate-title {
        font-size: 17px;
    }
    .age-gate-desc {
        font-size: 12px;
    }
}