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

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

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

a:hover {
    color: #ff4757;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.section {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #333;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #ff6b6b;
}

.section-header p {
    color: #777;
    font-size: 18px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #ff6b6b;
    color: #fff;
    border: 2px solid #ff6b6b;
}

.btn-primary:hover {
    background-color: #ff4757;
    border-color: #ff4757;
    color: #fff;
}

.btn-secondary {
    background-color: transparent;
    color: #ff6b6b;
    border: 2px solid #ff6b6b;
}

.btn-secondary:hover {
    background-color: #ff6b6b;
    color: #fff;
}

.read-more {
    display: inline-block;
    font-weight: 600;
    color: #ff6b6b;
    position: relative;
}

.read-more:after {
    content: '→';
    margin-left: 5px;
    transition: all 0.3s ease;
}

.read-more:hover:after {
    margin-left: 10px;
}

/* 导航栏样式 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.logo-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    color: #ff6b6b;
}

.main-nav ul {
    display: flex;
}

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

.main-nav ul li a {
    color: #333;
    font-weight: 600;
    position: relative;
}

.main-nav ul li a:hover {
    color: #ff6b6b;
}

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

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* 主横幅样式 */
.hero-banner {
    position: relative;
    height: 500px;
    background-image: url('../picture/b1.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

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

/* 热门话题模块样式 */
.topic-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

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

.topic-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.topic-image {
    height: 200px;
    overflow: hidden;
}

.topic-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.topic-card:hover .topic-image img {
    transform: scale(1.1);
}

.topic-content {
    padding: 20px;
}

.topic-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.topic-content p {
    color: #666;
    margin-bottom: 15px;
}

/* 明星动态模块样式 */
.news-slider {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.news-slide {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.news-slide:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 20px;
    position: relative;
}

.news-tag {
    position: absolute;
    top: -15px;
    left: 20px;
    background-color: #ff6b6b;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.news-content h3 {
    font-size: 18px;
    margin: 10px 0;
    color: #333;
}

.news-content p {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.slider-controls button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid #ff6b6b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-controls button:hover {
    background-color: #ff6b6b;
}

.slider-controls button i {
    border: solid #ff6b6b;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 5px;
    transition: all 0.3s ease;
}

.slider-controls button:hover i {
    border-color: #fff;
}

.arrow-left {
    transform: rotate(135deg);
}

.arrow-right {
    transform: rotate(-45deg);
}

/* 影视资讯模块样式 */
.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

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

.movie-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.movie-poster {
    height: 380px;
    position: relative;
    overflow: hidden;
}

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

.movie-card:hover .movie-poster img {
    transform: scale(1.1);
}

.movie-rating {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ff6b6b;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.movie-info {
    padding: 20px;
}

.movie-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.movie-meta {
    color: #777;
    font-size: 14px;
    margin-bottom: 10px;
}

.movie-desc {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}

/* 综艺爆料模块样式 */
.variety-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.variety-featured {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.variety-image {
    height: 100%;
    overflow: hidden;
}

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

.variety-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.variety-content h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.variety-content p {
    color: #666;
    margin-bottom: 20px;
}

.variety-list {
    display: grid;
    grid-template-rows: repeat(4, 1fr);
    gap: 20px;
}

.variety-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 120px 1fr;
}

.variety-item-image {
    height: 100%;
    overflow: hidden;
}

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

.variety-item-content {
    padding: 15px;
}

.variety-item-content h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

.variety-item-content p {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

/* 娱乐八卦模块样式 */
.gossip-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.gossip-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 200px 1fr;
}

.gossip-image {
    height: 100%;
    overflow: hidden;
}

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

.gossip-content {
    padding: 20px;
    position: relative;
}

.gossip-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #ff6b6b;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.gossip-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    padding-right: 80px;
    color: #333;
}

.gossip-content p {
    color: #666;
    margin-bottom: 15px;
    font-size: 14px;
}

/* APP下载模块样式 */
.app-download {
    background-color: #fff;
    padding: 80px 0;
}

/* APP下载模块样式（续） */
.app-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.app-info h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

.app-description {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

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

.app-features li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #555;
}

.feature-icon {
    width: 24px;
    height: 24px;
    background-color: #ff6b6b;
    border-radius: 50%;
    margin-right: 15px;
    position: relative;
}

.feature-icon:before {
    content: '✓';
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
}

.app-buttons {
    display: flex;
    gap: 20px;
}

.btn-app {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    color: #fff;
}

.android {
    background-color: #3ddc84;
}

.ios {
    background-color: #000;
}

.android-icon, .ios-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.android-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M17.6,9.48l1.84-3.18c0.16-0.31,0.04-0.69-0.26-0.85c-0.29-0.15-0.65-0.06-0.83,0.22l-1.88,3.24 c-2.86-1.21-6.08-1.21-8.94,0L5.65,5.67c-0.19-0.29-0.58-0.38-0.87-0.2C4.5,5.65,4.41,6.01,4.56,6.3L6.4,9.48 C3.3,11.25,1.28,14.44,1,18h22C22.72,14.44,20.7,11.25,17.6,9.48z M7,15.25c-0.69,0-1.25-0.56-1.25-1.25 c0-0.69,0.56-1.25,1.25-1.25S8.25,13.31,8.25,14C8.25,14.69,7.69,15.25,7,15.25z M17,15.25c-0.69,0-1.25-0.56-1.25-1.25 c0-0.69,0.56-1.25,1.25-1.25s1.25,0.56,1.25,1.25C18.25,14.69,17.69,15.25,17,15.25z'%3E%3C/path%3E%3C/svg%3E");
}

.ios-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M17.05,20.28c-0.98,0.95-2.05,0.8-3.08,0.35c-1.09-0.46-2.09-0.48-3.24,0c-1.44,0.62-2.2,0.44-3.06-0.35 c-2.1-2.02-3.78-7.11-1.52-10.81c0.86-1.4,2.21-2.3,3.72-2.33c1.11-0.02,2.05,0.39,2.95,0.63c1.04,0.28,1.99,0.67,3.13-0.05 c1.09-0.69,2.02-0.56,2.91,0.18c0.96,0.79,1.64,1.92,2.02,3.18c-2.58,1.4-2.1,4.98,0.51,5.86C20.52,18.69,18.16,19.22,17.05,20.28z M12.03,7.26c-0.09-2.47,2.11-4.64,4.57-4.77C16.76,4.86,14.52,7.33,12.03,7.26z'%3E%3C/path%3E%3C/svg%3E");
}

.app-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.app-screenshot {
    max-height: 500px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.app-qrcode {
    position: absolute;
    bottom: 20px;
    right: 0;
    background-color: #fff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.app-qrcode img {
    width: 100px;
    height: 100px;
    margin-bottom: 5px;
}

.app-qrcode p {
    font-size: 14px;
    color: #666;
}

/* 精选文章模块样式 */
.articles-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.featured-article {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.featured-article h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    color: #777;
    font-size: 14px;
}

.article-content {
    color: #555;
    margin-bottom: 20px;
}

.article-content p {
    margin-bottom: 15px;
}

/* 页脚样式 */
.footer {
    background-color: #222;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 50px;
    margin-bottom: 50px;
}

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

.footer-description p {
    color: #bbb;
    line-height: 1.8;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-nav-section h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
}

.footer-nav-section h4:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #ff6b6b;
}

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

.footer-nav-section ul li a {
    color: #bbb;
    transition: all 0.3s ease;
}

.footer-nav-section ul li a:hover {
    color: #ff6b6b;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 30px;
}

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

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

.footer-links ul {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-links ul li a {
    color: #bbb;
}

.copyright {
    text-align: center;
    color: #777;
    font-size: 14px;
}

.copyright p {
    margin-bottom: 10px;
}

.copyright a {
    color: #bbb;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .variety-container {
        grid-template-columns: 1fr;
    }
    
    .gossip-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .news-slider {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .app-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .header .container {
        height: 70px;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-content p {
        font-size: 18px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .variety-featured {
        grid-template-columns: 1fr;
    }
    
    .variety-image {
        height: 250px;
    }
    
    .gossip-card {
        grid-template-columns: 1fr;
    }
    
    .gossip-image {
        height: 200px;
    }
    
    .footer-nav {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .news-slider {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
    }
    
    .variety-item {
        grid-template-columns: 1fr;
    }
    
    .variety-item-image {
        height: 180px;
    }
    
    .app-buttons {
        flex-direction: column;
    }
}

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

.section {
    animation: fadeIn 0.8s ease-out;
}

/* 透明轮播背景 */
.section:nth-child(odd) {
    position: relative;
    overflow: hidden;
}

.section:nth-child(odd)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(45deg, rgba(255, 107, 107, 0.05) 25%, transparent 25%, transparent 50%, rgba(255, 107, 107, 0.05) 50%, rgba(255, 107, 107, 0.05) 75%, transparent 75%, transparent);
    background-size: 60px 60px;
    z-index: -1;
    animation: backgroundMove 20s linear infinite;
}

@keyframes backgroundMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 60px 60px;
    }
}
