/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 头部样式 */
header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 32px;
    height: 32px;
    fill: #e94560;
    margin-right: 10px;
}

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

.main-nav {
    display: flex;
    flex-wrap: wrap;
}

.main-nav li {
    margin: 0 10px;
}

.main-nav a {
    display: block;
    padding: 8px 12px;
    color: #fff;
    font-weight: 500;
    border-radius: 4px;
}

.main-nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #e94560;
}

.search-box {
    display: flex;
    align-items: center;
}

.search-box input {
    padding: 8px 15px;
    border: none;
    border-radius: 20px 0 0 20px;
    width: 200px;
    outline: none;
}

.search-btn {
    background-color: #e94560;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 0 20px 20px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background-color: #d63651;
}

/* 轮播图样式 */
.banner-section {
    padding: 20px 0;
    background-color: #0f3460;
    position: relative;
    overflow: hidden;
}

.banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(25, 55, 109, 0.4) 0%, rgba(15, 52, 96, 0.8) 100%);
    z-index: 1;
}

.banner-slider {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    z-index: 2;
}

.slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
}

.slider-item.active {
    opacity: 1;
}

.slider-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.slider-content {
    width: 50%;
    padding: 30px;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    margin-left: 50px;
    z-index: 3;
}

.slider-content h1, .slider-content h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #fff;
}

.slider-content p {
    font-size: 18px;
    margin-bottom: 20px;
}

.btn-watch {
    display: inline-block;
    padding: 10px 25px;
    background-color: #e94560;
    color: #fff;
    border-radius: 25px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-watch:hover {
    background-color: #d63651;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233, 69, 96, 0.4);
}

.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    z-index: 3;
    position: relative;
}

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

.dot.active {
    background-color: #e94560;
    transform: scale(1.2);
}

/* 内容区块通用样式 */
section {
    padding: 40px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #e94560;
    padding-bottom: 10px;
}

.section-header h2 {
    font-size: 24px;
    color: #16213e;
    position: relative;
}

.more {
    color: #e94560;
    font-weight: 500;
}

.more:hover {
    color: #d63651;
    text-decoration: underline;
}

/* 电影卡片样式 */
.movie-grid, .tv-grid, .variety-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.movie-card, .tv-card, .variety-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.movie-card:hover, .tv-card:hover, .variety-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.movie-poster, .tv-poster, .variety-poster {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.movie-poster img, .tv-poster img, .variety-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.movie-card:hover .movie-poster img,
.tv-card:hover .tv-poster img,
.variety-card:hover .variety-poster img {
    transform: scale(1.05);
}

.movie-rating {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(233, 69, 96, 0.9);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: bold;
}

.tv-episodes, .variety-tag {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(22, 33, 62, 0.9);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.movie-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.movie-tag.new {
    background-color: #e94560;
    color: #fff;
}

.movie-info, .tv-info, .variety-info {
    padding: 15px;
}

.movie-info h3, .tv-info h3, .variety-info h3 {
    font-size: 16px;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.movie-info p, .tv-info p, .variety-info p {
    font-size: 14px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* APP下载区块样式 */
.app-download {
    background: linear-gradient(135deg, #0f3460 0%, #16213e 100%);
    color: #fff;
    padding: 60px 0;
}

.app-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.app-info {
    flex: 1;
    padding-right: 30px;
}

.app-info h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #fff;
}

.app-info p {
    font-size: 16px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.app-features {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.feature {
    display: flex;
    align-items: center;
    margin-right: 30px;
    margin-bottom: 15px;
}

.feature svg {
    width: 20px;
    height: 20px;
    fill: #e94560;
    margin-right: 8px;
}

.download-buttons {
    display: flex;
    flex-wrap: wrap;
}

.btn-download {
    display: flex;
    align-items: center;
    padding: 12px 25px;
    background-color: #e94560;
    color: #fff;
    border-radius: 25px;
    margin-right: 15px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.btn-download:hover {
    background-color: #d63651;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233, 69, 96, 0.4);
}

.btn-download svg {
    width: 24px;
    height: 24px;
    fill: #fff;
    margin-right: 10px;
}

.app-qrcode {
    text-align: center;
}

.qrcode-img {
    width: 150px;
    height: 150px;
    margin: 0 auto 10px;
    background-color: #fff;
    padding: 10px;
    border-radius: 10px;
}

.qr-code {
    width: 100%;
    height: 100%;
}

/* 文章区块样式 */
.article-section {
    background-color: #f8f9fa;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.article-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-content {
    padding: 20px;
}

.article-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.article-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more {
    display: inline-block;
    color: #e94560;
    font-weight: 500;
}

.read-more:hover {
    color: #d63651;
    text-decoration: underline;
}

/* 友情链接样式 */
.friend-links {
    background-color: #f0f2f5;
    padding: 30px 0;
}

.friend-links h2 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #16213e;
}

.friend-links ul {
    display: flex;
    flex-wrap: wrap;
}

.friend-links li, .friend-links a {
    margin-right: 15px;
    margin-bottom: 10px;
    color: #666;
    font-size: 14px;
}

.friend-links a:hover {
    color: #e94560;
    text-decoration: underline;
}

/* 页脚样式 */
footer {
    background-color: #16213e;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
}

.footer-column {
    margin-right: 50px;
    margin-bottom: 20px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #fff;
}

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

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-column ul li a:hover {
    color: #e94560;
}

.footer-qrcode {
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.copyright {
    text-align: center;
    margin-bottom: 15px;
}

.copyright p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 5px;
}

.footer-info {
    text-align: center;
}

.footer-info p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 5px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .slider-content {
        width: 70%;
    }
    
    .app-content {
        flex-direction: column;
    }
    
    .app-info {
        padding-right: 0;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    .main-nav {
        margin-bottom: 15px;
        justify-content: center;
    }
    
    .search-box {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }
    
    .slider-content {
        width: 80%;
        margin-left: 20px;
    }
    
    .slider-content h1, .slider-content h2 {
        font-size: 24px;
    }
    
    .slider-content p {
        font-size: 16px;
    }
    
    .movie-grid, .tv-grid, .variety-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .article-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 576px) {
    .banner-slider {
        height: 300px;
    }
    
    .slider-content {
        width: 90%;
        margin-left: 10px;
        padding: 15px;
    }
    
    .slider-content h1, .slider-content h2 {
        font-size: 20px;
    }
    
    .slider-content p {
        font-size: 14px;
    }
    
    .btn-watch {
        padding: 8px 20px;
        font-size: 14px;
    }
    
    .movie-grid, .tv-grid, .variety-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .article-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
    }
    
    .footer-column {
        margin-right: 0;
    }
}

    
