/* 福利视频 - 主样式文件 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

/* 头部导航 */
.header {
    background: rgba(255,255,255,0.95);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo h1 {
    color: #667eea;
    font-size: 24px;
    font-weight: bold;
}

.logo span {
    color: #764ba2;
    font-size: 12px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
}

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

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 20px;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102,126,234,0.3);
}

.search-box {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 25px;
    padding: 8px 16px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.search-box:focus-within {
    border-color: #667eea;
    box-shadow: 0 0 15px rgba(102,126,234,0.2);
}

.search-box input {
    background: none;
    border: none;
    color: #333;
    outline: none;
    width: 200px;
    font-size: 14px;
}

.search-box input::placeholder {
    color: #999;
}

.search-btn {
    background: none;
    border: none;
    color: #667eea;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 15px;
    transition: all 0.3s ease;
    font-size: 16px;
}

.search-btn:hover {
    background: rgba(102,126,234,0.1);
    transform: scale(1.1);
}

/* 主要内容区域 */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* 轮播横幅 */
.hero-banner {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 60px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

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

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.gradient-1 {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.gradient-2 {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.gradient-3 {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 600px;
    padding: 0 20px;
}

.banner-content h2 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.banner-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.banner-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.btn-primary:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255,255,255,0.2);
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 2px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255,255,255,0.1);
}

.banner-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

/* 分类导航 */
.category-nav {
    margin-bottom: 60px;
}

.category-nav h3 {
    text-align: center;
    font-size: 32px;
    color: white;
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

.category-item {
    text-decoration: none;
    color: inherit;
    background: rgba(255,255,255,0.95);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.category-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    background: white;
}

.category-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.category-item span {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 10px;
}

.category-count {
    font-size: 14px;
    color: #667eea;
    font-weight: 500;
}

/* 热门推荐 */
.hot-recommend {
    margin-bottom: 60px;
}

.hot-recommend h3 {
    text-align: center;
    font-size: 32px;
    color: white;
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.recommend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.video-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.video-card.featured {
    border: 2px solid #667eea;
    box-shadow: 0 5px 20px rgba(102,126,234,0.3);
}

.video-thumb {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.thumb-bg {
    width: 100%;
    height: 100%;
}

.movie-bg {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.tv-bg {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.variety-bg {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.anime-bg {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.documentary-bg {
    background: linear-gradient(135deg, #fa709a, #fee140);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #667eea;
    opacity: 0;
    transition: all 0.3s ease;
}

.video-card:hover .play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.hot-badge, .new-badge, .quality-badge, .update-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    color: white;
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

.hot-badge {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}

.new-badge {
    background: linear-gradient(135deg, #00d2d3, #54a0ff);
}

.quality-badge {
    background: linear-gradient(135deg, #5f27cd, #341f97);
}

.update-badge {
    background: linear-gradient(135deg, #00d2d3, #54a0ff);
}

.video-info {
    padding: 20px;
}

.video-info h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.video-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.rating {
    color: #ffd700;
    font-size: 14px;
}

.views {
    color: #999;
    font-size: 14px;
}

.watch-btn {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.watch-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102,126,234,0.3);
}

/* 最新更新 */
.latest-updates {
    margin-bottom: 60px;
}

.latest-updates h3 {
    text-align: center;
    font-size: 32px;
    color: white;
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.updates-container {
    background: rgba(255,255,255,0.95);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.update-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 20px;
    border: 2px solid #e9ecef;
    background: white;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #666;
}

.tab-btn:hover,
.tab-btn.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
}

.updates-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.update-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.update-item:hover {
    background: white;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.update-thumb {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    flex-shrink: 0;
}

.movie-thumb {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.tv-thumb {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.variety-thumb {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.anime-thumb {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.update-info {
    flex: 1;
}

.update-info h5 {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
    font-weight: 600;
}

.update-time {
    color: #999;
    font-size: 12px;
    margin-right: 10px;
}

.update-episode {
    color: #667eea;
    font-size: 12px;
    font-weight: 500;
}

.quick-play {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 8px 16px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    align-self: center;
}

.quick-play:hover {
    transform: scale(1.05);
    box-shadow: 0 3px 10px rgba(102,126,234,0.3);
}

/* 平台数据统计 */
.platform-stats {
    margin-bottom: 60px;
}

.platform-stats h3 {
    text-align: center;
    font-size: 32px;
    color: white;
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item {
    background: rgba(255,255,255,0.95);
    padding: 40px 20px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.stat-item:hover {
    transform: translateY(-10px);
    background: white;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 18px;
    color: #333;
    font-weight: 600;
    margin-bottom: 5px;
}

.stat-desc {
    font-size: 14px;
    color: #666;
}

/* 用户评论 */
.user-reviews {
    margin-bottom: 60px;
}

.user-reviews h3 {
    text-align: center;
    font-size: 32px;
    color: white;
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: rgba(255,255,255,0.95);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.user-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    margin-bottom: 15px;
}

.review-content h5 {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.rating {
    color: #ffd700;
    font-size: 14px;
    margin-bottom: 15px;
}

.review-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.review-time {
    color: #999;
    font-size: 12px;
}

/* 页脚 */
.footer {
    background: rgba(255,255,255,0.95);
    color: #333;
    padding: 50px 0 20px;
    margin-top: 60px;
    backdrop-filter: blur(10px);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #667eea;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: #667eea;
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #e9ecef;
    margin-top: 30px;
    color: #999;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
    }
    
    .nav-menu {
        margin: 15px 0;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .search-box {
        width: 100%;
        max-width: 300px;
    }
    
    .banner-content h2 {
        font-size: 32px;
    }
    
    .banner-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .recommend-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reviews-container {
        grid-template-columns: 1fr;
    }
    
    .update-tabs {
        flex-direction: column;
        align-items: center;
    }
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(102,126,234,.3);
    border-radius: 50%;
    border-top-color: #667eea;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 通用工具类 */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }