/* --- 首页根样式 --- */
body, html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #000;
}

/* --- 轮播图样式 --- */
.carousel-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: translateX(100%);
    transition: none; 
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide a {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.slide a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide.active {
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
    z-index: 2;
}

.slide.exit {
    transform: translateX(-100%);
    transition: transform 0.6s ease-in-out;
    z-index: 1;
}

/* --- 首页导航特有视觉 --- */
.brand-trigger {
    color: #FFFFFF;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.menu-panel {
    background: linear-gradient(
        180deg,
        rgba(42, 46, 54, 0.44) 0%,
        rgba(30, 33, 39, 0.40) 55%,
        rgba(22, 24, 29, 0.36) 100%
    );
    backdrop-filter: saturate(88%) brightness(0.92);
    -webkit-backdrop-filter: saturate(88%) brightness(0.92);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
    padding: 8px 14px;
}

/* 首页菜单发光边框效果 */
.menu-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.0) 42%);
}

.menu-panel a {
    color: rgba(255, 255, 255, 0.9);
}

.menu-panel a:hover {
    color: #CCCCCC;
}

.menu-panel a.active-page::after {
    background-color: #FFFFFF;
    width: 4px;
    height: 4px;
}