/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "Hiragino Sans GB", "Heiti SC", "WenQuanYi Micro Hei", sans-serif;
    color: #333;
    background-color: #f5f5f5;
    line-height: 1.6;
}

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

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

a:hover {
    color: #ff6b81;
}

ul {
    list-style: none;
}

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

/* 头部样式 */
.header {
    background-color: #1a1a2e;
    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;
}

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

.logo a {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
}

.logo-text {
    background: linear-gradient(45deg, #ff6b81, #fc9d9d);
    -webkit-background-clip: text;
    color: transparent;
    font-size: 28px;
    font-weight: bold;
    margin-left: 10px;
}

.main-nav ul {
    display: flex;
}

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

.main-nav a {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.main-nav a:hover {
    color: #ff6b81;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ff6b81;
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

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

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

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

.search-box button:hover {
    background-color: #ff5268;
}

/* 轮播图样式 */
.slider-section {
    padding: 20px 0;
    background-color: #f0f0f0;
}

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

.slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

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

.slider-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
}

.slider-caption h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.slider-caption p {
    font-size: 16px;
    margin-bottom: 15px;
}

.slider-caption .btn {
    display: inline-block;
    padding: 8px 20px;
    background-color: #ff6b81;
    color: #fff;
    border-radius: 20px;
    font-weight: 500;
}

.slider-caption .btn:hover {
    background-color: #ff5268;
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
}

.slider-controls .prev,
.slider-controls .next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-controls .prev:hover,
.slider-controls .next:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.slider-dots {
    display: flex;
    margin-left: 10px;
}

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

.slider-dots .dot.active {
    background-color: #fff;
}

/* 主要内容区域样式 */
.main-content {
    padding: 30px 0;
}

.section {
    margin-bottom: 40px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
}

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

.section-header h1, .section-header h2 {
    font-size: 22px;
    color: #1a1a2e;
    position: relative;
    padding-left: 15px;
}

.section-header h1::before, .section-header h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 20px;
    background: linear-gradient(to bottom, #ff6b81, #fc9d9d);
    border-radius: 5px;
}

.section-header .more {
    color: #999;
    font-size: 14px;
}

.section-header .more:hover {
    color: #ff6b81;
}

/* 卡片样式 */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

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

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

.card-img {
    position: relative;
    height: 0;
    padding-bottom: 140%;
    overflow: hidden;
}

.card-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.card-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 3px 8px;
    background-color: #ff6b81;
    color: #fff;
    font-size: 12px;
    border-radius: 4px;
}

.card-info {
    padding: 10px;
}

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

.card-info .actors {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-info .desc {
    font-size: 12px;
    color: #999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* MV专区样式 */
.mv-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.mv-item {
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.mv-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mv-img {
    position: relative;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
}

.mv-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.mv-item:hover .mv-img img {
    transform: scale(1.05);
}

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

.mv-item:hover .play-icon {
    opacity: 1;
}

.mv-info {
    padding: 10px;
}

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

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

/* APP下载模块样式 */
.app-download {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #fff;
    border-radius: 10px;
    overflow: hidden;
}

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

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

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

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

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

.app-features li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.feature-icon {
    margin-right: 10px;
    color: #ff6b81;
    font-weight: bold;
}

.download-btns {
    display: flex;
    margin-bottom: 20px;
}

.download-btn {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    margin-right: 15px;
    color: #fff;
    transition: background-color 0.3s ease;
}

.download-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.btn-icon {
    margin-right: 8px;
    font-size: 18px;
}

.scan-tip {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.app-qrcode {
    width: 200px;
    height: 200px;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    margin-right: 30px;
}

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

/* 文章模块样式 */
.article-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.article-item {
    display: flex;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.article-img {
    flex: 0 0 200px;
    height: 150px;
}

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

.article-content {
    flex: 1;
    padding: 15px;
    position: relative;
}

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

.article-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.read-more {
    position: absolute;
    bottom: 15px;
    right: 15px;
    color: #ff6b81;
    font-size: 14px;
}

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

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

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

.footer-logo .logo-text {
    font-size: 24px;
    margin-bottom: 10px;
}

.footer-logo .slogan {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-nav {
    display: flex;
    gap: 50px;
}

.footer-nav-col h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #fff;
}

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

.footer-nav-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-nav-col ul li a:hover {
    color: #ff6b81;
}

.footer-qrcode {
    width: 120px;
    text-align: center;
}

.footer-qrcode img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 10px;
}

.footer-qrcode p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-middle {
    margin-bottom: 30px;
}

.footer-middle h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #fff;
}

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

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

.friend-links ul li {
    margin-right: 15px;
    margin-bottom: 10px;
}

.friend-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: color 0.3s ease;
}

.friend-links ul li a:hover {
    color: #ff6b81;
}

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

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

/* 响应式样式 */
@media (max-width: 992px) {
    .header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    .main-nav {
        margin-bottom: 15px;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .main-nav li {
        margin: 5px 10px;
    }
    
    .slider {
        height: 300px;
    }
    
    .app-content {
        flex-direction: column;
    }
    
    .app-qrcode {
        margin: 0 0 20px 0;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-qrcode {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .slider {
        height: 250px;
    }
    
    .slider-caption h2 {
        font-size: 20px;
    }
    
    .slider-caption p {
        font-size: 14px;
    }
    
    .card-container {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .article-item {
        flex-direction: column;
    }
    
    .article-img {
        flex: 0 0 auto;
        height: 200px;
        width: 100%;
    }
    
    .read-more {
        position: static;
        display: inline-block;
        margin-top: 10px;
    }
}

@media (max-width: 576px) {
    .slider {
        height: 200px;
    }
    
    .search-box input {
        width: 150px;
    }
    
    .card-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mv-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .app-info {
        padding: 20px;
    }
    
    .app-info h2 {
        font-size: 24px;
    }
    
    .app-slogan {
        font-size: 16px;
    }
    
    .download-btns {
        flex-direction: column;
        gap: 10px;
    }
    
    .download-btn {
        width: 100%;
        justify-content: center;
    }
}

/* 自定义透明轮播背景 */
.section.hot-recommend,
.section.new-releases,
.section.hot-movies,
.section.variety-shows {
    position: relative;
    overflow: hidden;
}

.section.hot-recommend::before,
.section.new-releases::before,
.section.hot-movies::before,
.section.variety-shows::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(45deg, rgba(255, 107, 129, 0.05) 25%, transparent 25%, transparent 50%, rgba(255, 107, 129, 0.05) 50%, rgba(255, 107, 129, 0.05) 75%, transparent 75%, transparent);
    background-size: 20px 20px;
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

.section.tianmei-mv {
    background: linear-gradient(to right, rgba(26, 26, 46, 0.05), rgba(255, 107, 129, 0.05));
}

.section.articles {
    background: linear-gradient(to bottom, #fff, #f8f8f8);
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card, .mv-item, .article-item {
    animation: fadeIn 0.5s ease forwards;
}

.card:nth-child(1), .mv-item:nth-child(1), .article-item:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2), .mv-item:nth-child(2), .article-item:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3), .mv-item:nth-child(3), .article-item:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4), .mv-item:nth-child(4), .article-item:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5), .mv-item:nth-child(5), .article-item:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6), .mv-item:nth-child(6), .article-item:nth-child(6) { animation-delay: 0.6s; }

/* 优化悬浮效果 */
.card:hover .card-info h3,
.mv-item:hover .mv-info h3 {
    color: #ff6b81;
}

/* 优化按钮样式 */
.btn {
    display: inline-block;
    padding: 8px 20px;
    background-color: #ff6b81;
    color: #fff;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #ff5268;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 129, 0.3);
}

/* 优化导航栏 */
.main-nav a {
    position: relative;
    padding: 5px 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #ff6b81;
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

/* 优化搜索框 */
.search-box {
    position: relative;
}

.search-box input {
    padding: 10px 15px;
    border: none;
    border-radius: 20px;
    outline: none;
    width: 200px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: all 0.3s ease;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-box input:focus {
    background-color: rgba(255, 255, 255, 0.2);
    width: 220px;
}

.search-box button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    padding: 0 15px;
    border: none;
    background-color: #ff6b81;
    color: #fff;
    border-radius: 0 20px 20px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-box button:hover {
    background-color: #ff5268;
}

