:root {
    --primary-color: #0B005A;
    --secondary-color: #1a0087;
    --accent-color: #ff6b6b;
    --text-color: #ffffff;
    --text-secondary: #e0e0e0;
}

/* 响应式布局基础设置 */
body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, sans-serif;
    background-color: var(--primary-color);
    color: var(--text-color);
}

/* 语言切换器样式更新 */
.language-switcher {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
    background-color: rgba(26, 0, 135, 0.8); /* 半透明背景 */
    padding: 0.5rem;
    border-radius: 4px;
    backdrop-filter: blur(8px); /* 背景模糊效果 */
    -webkit-backdrop-filter: blur(8px); /* Safari 支持 */
}

.language-switcher select {
    background-color: var(--secondary-color);
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem;
    border-radius: 4px;
}

/* 海报轮播样式更新 */
.poster-slider {
    width: 100%;
    height: 50vh;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1; /* 确保轮播图在导航栏下方 */
    border: none;
}

.swiper-slide {
    width: 100%;
    height: 100%;
    background: var(--primary-color); /* 改用主题色 */
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; /* 确保图片正确显示 */
}

/* 添加轮播导航按钮样式 */
.swiper-button-next,
.swiper-button-prev {
    color: var(--text-color); /* 使用主题文字颜色 */
    background-color: rgba(26, 0, 135, 0.5);
    padding: 2rem;
    border-radius: 4px;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: rgba(26, 0, 135, 0.8);
}

/* 添加轮播分页器样式 */
.swiper-pagination-bullet {
    background: var(--text-color);
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: var(--accent-color);
    opacity: 1;
}

/* 视频区域样式 */
.video-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

#youtubePlayer {
    aspect-ratio: 16/9;
    width: 100%;
}

/* 应用商店链接样式 */
.store-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    flex-wrap: wrap;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.store-button img {
    transition: transform 0.2s ease;
}

.store-button img:hover {
    transform: scale(1.05);
}

/* 响应式适配 */
@media (max-width: 768px) {
    .poster-slider {
        height: 30vh;
    }
}

/* 添加加载状态指示器 */
.loading-spinner {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 添加页面过渡效果 */
.page-transition {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.page-transition.loaded {
    opacity: 1;
}

/* 添加暗色模式支持 */
@media (prefers-color-scheme: dark) {
    :root {
        --primary-color: #0B005A;
        --secondary-color: #1a0087;
        --text-color: #ffffff;
    }
}

/* 添加焦点状态样式 */
:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* 添加滚动平滑效果 */
html {
    scroll-behavior: smooth;
} 