* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    overflow-x: hidden;
    background: #000;
    color: #fff;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #ff6b6b;
}

/* 页面切换 */
.page {
    display: none;
}

.page.active {
    display: block;
}

/* 首页Banner轮播 */
.hero-slider {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 关于我们部分 */
.about-section {
    padding: 100px 50px;
    background: #fff;
    color: #000;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: auto;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 48px;
    margin-bottom: 30px;
}

.about-text p {
    font-size: 24px;
    line-height: 1.8;
}

/* IP章节 */
.ip-section {
    padding: 100px 50px;
    background: #f5f5f5;
}

.ip-content {
    display: flex;
    gap: 50px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.ip-left {
    flex: 2;
    position: relative;
    height: 600px;
}

.ip-right {
    flex: 1;
    position: relative;
    height: 600px;
}

.ip-slider-left,
.ip-slider-right {
    width: 100%;
    height: 100%;
    position: relative;
}

.ip-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.ip-slide.active {
    opacity: 1;
}

.ip-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 人气产品 */
.popular-products {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.products-bg {
    position: absolute;
    width: 100%;
    height: 100%;
}

.products-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.products-fg {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: fadeSlide 8s ease-in-out infinite;
}

.products-fg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes fadeSlide {
    0%, 100% {
        opacity: 0.3;
        transform: translateX(-20px);
    }
    50% {
        opacity: 1;
        transform: translateX(20px);
    }
}

/* 新闻资讯 */
.news-section {
    height: 100vh;
    position: relative;
}

.news-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 关于我们页面 */
.about-page {
    position: relative;
    min-height: 100vh;
}

.about-banner,
.vision-mission {
    width: 100%;
}

.about-banner img,
.vision-mission img {
    width: 100%;
    height: auto;
    display: block;
}

.artists-fg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    animation: floatFade 10s ease-in-out infinite;
}

.artists-fg img {
    width: 100%;
    height: auto;
}

@keyframes floatFade {
    0%, 100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) translateY(-20px) translateX(-20px);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) translateY(20px) translateX(20px);
    }
}

/* IP产品页面 */
.products-page {
    min-height: 100vh;
}

.products-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }
    
    .nav-menu {
        gap: 20px;
        font-size: 14px;
    }
    
    .about-content {
        flex-direction: column;
        padding: 50px 20px;
    }
    
    .ip-content {
        flex-direction: column;
        padding: 50px 20px;
    }
    
    .ip-left,
    .ip-right {
        height: 400px;
    }
}
