/* ======= 顶部导航 ======= */
.header {
    background: rgba(8, 3, 8, 0.94);
    color: var(--color-white);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid rgba(255, 79, 184, 0.36);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--color-white);
    flex-shrink: 0;
}

.logo-image {
    width: 116px;
    height: 42px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 10px rgba(255, 80, 170, 0.28));
}

.logo-text {
    letter-spacing: 0.5px;
}

.logo:hover {
    color: var(--color-white);
    transform: scale(1.05);
}

.logo-icon {
    font-size: 1.8rem;
}

.nav {
    flex: 1;
}

.nav-panel-logo {
    display: none;
}

.nav-list {
    display: flex;
    gap: 5px;
    justify-content: center;
}

.nav-list a {
    display: block;
    padding: 8px 16px;
    color: var(--color-white);
    border-radius: 20px;
    font-size: 0.95rem;
}

.nav-list a:hover,
.nav-list a.active {
    background: linear-gradient(90deg, #ff2ea6, #ff78c8);
    color: #fff;
}

.search-box {
    display: flex;
    background: #140914;
    border: 1px solid rgba(255, 79, 184, 0.28);
    border-radius: 20px;
    overflow: hidden;
    height: 36px;
}

.search-box input {
    background: transparent;
    color: var(--color-white);
    padding: 0 15px;
    width: 180px;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-box button {
    padding: 0 12px;
    color: var(--color-white);
}

.search-trigger {
    display: none;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #101010;
    color: var(--color-white);
    border: 1px solid #3a3a3a;
    flex-shrink: 0;
}

.search-modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.search-modal.is-visible {
    display: flex;
}

.search-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(6px);
}

.search-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 520px);
    padding: 18px;
    border-radius: 16px;
    background: #111;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.search-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.08);
}

.search-modal__box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 22px;
}

.search-modal__box input {
    flex: 1;
    height: 46px;
    padding: 0 16px;
    border-radius: 24px;
    background: #1d1d1d;
    color: var(--color-white);
    border: 1px solid #343434;
}

.search-modal__box button {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--color-secondary);
    color: var(--color-dark);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    transition: var(--transition);
}

.nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 990;
    display: none;
    background: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(4px);
}

.nav-backdrop.is-visible {
    display: block;
}

body.nav-open {
    overflow: hidden;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ======= 页脚 ======= */
.footer {
    background: #000;
    color: #a0a0a0;
    padding: 34px 0 30px;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 79, 184, 0.16);
}

.footer-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-info {
    margin-bottom: 24px;
    padding: 18px 22px;
    border-radius: 8px;
    background: #120812;
    color: #d6d6d6;
    border: 1px solid rgba(255, 79, 184, 0.14);
    line-height: 1.65;
    font-size: 0.95rem;
}

.footer-info__title {
    margin-bottom: 10px;
    color: var(--color-white);
    font-size: 1.05rem;
    font-weight: 700;
}

.footer-info a {
    color: #ff8bd5;
}

.footer-shortcuts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    padding: 22px 28px;
    border-radius: 8px;
    background: #120812;
    border: 1px solid rgba(255, 79, 184, 0.14);
}

.footer-shortcut {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--color-white);
}

.footer-shortcut__icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #ff2ea6, #ff8bd5);
    color: #fff;
    font-size: 1.55rem;
    box-shadow: 0 6px 18px rgba(255, 255, 255, 0.08);
}

.footer-shortcut__text {
    font-size: 0.95rem;
    font-weight: 500;
}

.footer-business {
    display: block;
    margin-top: 26px;
    padding: 12px 20px;
    text-align: center;
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 700;
    border-radius: 2px;
    background: linear-gradient(90deg, rgba(255, 46, 166, 0.16), rgba(255, 139, 213, 0.12));
    border: 1px solid rgba(255, 79, 184, 0.22);
}

.footer-meta {
    padding: 26px 0 18px;
    text-align: center;
}

.footer-meta__links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    flex-wrap: wrap;
    color: var(--color-white);
    font-size: 0.98rem;
}

.footer-meta__links a {
    color: #ff8bd5;
}

.footer-meta__brand {
    margin-top: 14px;
    color: #ff8bd5;
    font-size: 0.98rem;
}

/* ======= 响应式 ======= */
@media (max-width: 768px) {
    .header {
        background: rgba(5, 5, 5, 0.96);
        backdrop-filter: blur(12px);
    }

    .header-inner {
        height: 56px;
        position: relative;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 12px;
        padding: 0 10px;
    }

    .logo {
        order: 2;
        font-size: 1.15rem;
        gap: 0;
    }

    .logo-image {
        width: 92px;
        height: 34px;
    }

    .nav-toggle {
        order: 1;
        display: inline-flex;
        width: 34px;
        height: 38px;
        align-items: center;
        justify-content: center;
        border-radius: 0;
        background: transparent;
        border: 0;
        flex-shrink: 0;
    }

    .nav-toggle span {
        width: 24px;
        height: 3px;
        border-radius: 999px;
    }

    .search-box {
        order: 3;
        display: flex;
        flex: 1;
        height: 38px;
        min-width: 0;
        border-radius: 999px;
        background: #202020;
        border: 0;
        overflow: hidden;
    }

    .search-box input {
        flex: 1;
        width: auto;
        min-width: 0;
        padding: 0 12px 0 18px;
        font-size: 0.88rem;
    }

    .search-box button {
        width: 46px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #ff2ea6, #ff78c8);
        color: #fff;
        font-size: 1.25rem;
        flex-shrink: 0;
    }

    .nav {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1200;
        width: min(76vw, 288px);
        height: 100vh;
        height: 100dvh;
        flex: none;
        flex-basis: auto;
        max-height: none;
        overflow-y: auto;
        padding: 22px 14px 22px;
        border-radius: 0 22px 22px 0;
        background: linear-gradient(180deg, #080808, #020202);
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 18px 0 45px rgba(0, 0, 0, 0.6);
        transform: translateX(-104%);
        transition: transform 0.28s ease;
    }

    .nav.open {
        transform: translateX(0);
    }

    .nav-panel-logo {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 8px 0 22px;
        margin-bottom: 8px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-panel-logo img {
        width: 128px;
        height: auto;
        object-fit: contain;
        filter: drop-shadow(0 6px 14px rgba(255, 183, 45, 0.16));
    }

    .nav-list {
        flex-direction: column;
        gap: 6px;
        justify-content: flex-start;
    }

    .nav-list a {
        display: block;
        padding: 12px 14px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.045);
        border-bottom: 0;
        color: rgba(255, 255, 255, 0.9);
    }

    .nav-list a:hover,
    .nav-list a.active {
        background: linear-gradient(90deg, #ff2ea6, #ff8bd5);
        color: #fff;
    }

    .search-modal__dialog {
        width: min(100%, 420px);
        padding: 18px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        background: linear-gradient(180deg, #111, #060606);
    }

    .search-modal__box {
        padding-top: 22px;
        gap: 8px;
    }

    .search-modal__box input {
        height: 44px;
        min-width: 0;
        background: #080808;
    }

    .search-modal__box button {
        width: 44px;
        height: 44px;
        flex-shrink: 0;
    }

    .footer {
        padding: 24px 0 24px;
    }

    .footer-container {
        padding: 0 12px;
    }

    .footer-info {
        margin-bottom: 18px;
        padding: 16px 14px;
        font-size: 0.88rem;
    }

    .footer-info__title {
        font-size: 0.96rem;
    }

    .footer-shortcuts {
        gap: 14px;
        padding: 16px 12px;
    }

    .footer-shortcut__icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        font-size: 1.3rem;
    }

    .footer-shortcut__text {
        font-size: 0.82rem;
        text-align: center;
    }

    .footer-business {
        margin-top: 18px;
    }

    .footer-meta {
        padding: 20px 0 14px;
    }

    .footer-meta__links {
        gap: 14px;
        font-size: 0.9rem;
    }

    .footer-meta__brand {
        font-size: 0.9rem;
    }

}
