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

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    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 {
    width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 头部样式 */
.header {
    background-color: #1E90FF;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    align-items: center;
    height: 60px;
}

.logo {
    display: flex;
    align-items: center;
    margin-right: 30px;
}

.logo-icon {
    font-size: 24px;
    font-weight: bold;
    background-color: #fff;
    color: #1E90FF;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.logo-text {
    font-size: 18px;
    font-weight: bold;
}

.main-nav {
    flex: 1;
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin-right: 20px;
}

.main-nav a {
    display: block;
    padding: 0 10px;
    font-size: 16px;
    position: relative;
}

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

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

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

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

.search-box input {
    width: 200px;
    height: 34px;
    padding: 0 10px;
    border: none;
    border-radius: 17px 0 0 17px;
    outline: none;
}

.search-box button {
    height: 34px;
    padding: 0 15px;
    background-color: #0066CC;
    color: #fff;
    border: none;
    border-radius: 0 17px 17px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

/* 轮播图样式 */
.banner {
    margin: 20px 0;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.banner-wrapper {
    position: relative;
    height: 400px;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    overflow: hidden;
}

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

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

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

.banner-info h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.banner-info p {
    margin-bottom: 15px;
    opacity: 0.8;
}

.banner-info .btn {
    display: inline-block;
    padding: 8px 20px;
    background-color: #1E90FF;
    color: #fff;
    border-radius: 4px;
    font-weight: bold;
}

.banner-info .btn:hover {
    background-color: #0066CC;
}

.banner-dots {
    position: absolute;
    bottom: 15px;
    right: 20px;
    display: flex;
}

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

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

/* 主要内容样式 */
.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;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

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

.section-header h1:before, .section-header h2:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background-color: #1E90FF;
    border-radius: 2px;
}

.more {
    color: #1E90FF;
    font-size: 14px;
}

.more:hover {
    color: #0066CC;
}

/* 卡片样式 */
.card-list {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.card {
    width: calc(16.666% - 20px);
    margin: 0 10px 20px;
    transition: transform 0.3s ease;
    border-radius: 5px;
    overflow: hidden;
    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: 2px 8px;
    background-color: rgba(30, 144, 255, 0.8);
    color: #fff;
    border-radius: 3px;
    font-size: 12px;
}

.card-info {
    padding: 10px;
    background-color: #fff;
}

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

.card-info p {
    color: #999;
    font-size: 12px;
}

/* APP下载样式 */
.app-download {
    background-color: #f0f8ff;
}

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

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

.app-info h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #1E90FF;
}

.app-info p {
    margin-bottom: 20px;
    color: #666;
    font-size: 16px;
}

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

.app-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.icon-check {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-color: #1E90FF;
    border-radius: 50%;
    color: #fff;
    text-align: center;
    line-height: 18px;
    margin-right: 10px;
}

.icon-check:before {
    content: '✓';
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: #1E90FF;
    color: #fff;
    border-radius: 5px;
    font-weight: bold;
    margin-right: 15px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #0066CC;
}

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

.icon-android:before {
    content: '\1F4F1';
}

.icon-apple:before {
    content: '\1F34E';
}

.qrcode {
    text-align: center;
    margin-top: 20px;
}

.qrcode img {
    width: 120px;
    height: 120px;
    border: 1px solid #eee;
    padding: 5px;
    background-color: #fff;
}

.qrcode p {
    margin-top: 10px;
    font-size: 14px;
}

.app-image {
    flex: 1;
    text-align: center;
}

.app-image img {
    max-width: 300px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 影视资讯样式 */
.news-container {
    display: flex;
    flex-direction: column;
}

.news-item {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.news-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.news-img {
    width: 200px;
    height: 120px;
    margin-right: 20px;
    overflow: hidden;
    border-radius: 5px;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.news-content {
    flex: 1;
}

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

.news-desc {
    color: #666;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-meta {
    color: #999;
    font-size: 12px;
}

.news-date {
    margin-right: 15px;
}

/* 观影指南样式 */
.guide-container {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.guide-item {
    width: calc(25% - 30px);
    margin: 0 15px;
    text-align: center;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

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

.guide-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background-color: #1E90FF;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.guide-item h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.guide-item p {
    color: #666;
    font-size: 14px;
}

.icon-play:before {
    content: '\25B6';
}

.icon-screen:before {
    content: '\1F4FA';
}

.icon-download:before {
    content: '\2193';
}

.icon-user:before {
    content: '\1F464';
}

/* 页脚样式 */
.footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 40px 0 20px;
}

.footer-top {
    display: flex;
    margin-bottom: 30px;
}

.footer-logo {
    width: 300px;
    margin-right: 30px;
}

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

.footer-logo p {
    color: #ccc;
    font-size: 14px;
}

.footer-nav {
    flex: 1;
    display: flex;
}

.footer-nav-col {
    flex: 1;
    padding: 0 15px;
}

.footer-nav-col h4 {
    font-size: 16px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.footer-nav-col h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #1E90FF;
}

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

.footer-nav-col ul li a {
    color: #ccc;
    font-size: 14px;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

.footer-links a {
    color: #ccc;
    margin-left: 20px;
    font-size: 12px;
}

.footer-links a:hover {
    color: #1E90FF;
}

/* 响应式样式 */
@media (max-width: 1200px) {
    .container {
        width: 100%;
    }
    
    .card {
        width: calc(20% - 20px);
    }
}

@media (max-width: 992px) {
    .card {
        width: calc(25% - 20px);
    }
    
    .app-content {
        flex-direction: column;
    }
    
    .app-info {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .guide-item {
        width: calc(50% - 30px);
        margin-bottom: 20px;
    }
    
    .footer-top {
        flex-direction: column;
    }
    
    .footer-logo {
        width: 100%;
        margin-right: 0;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        height: auto;
        padding: 15px;
    }
    
    .logo {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .main-nav {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
    }
    
    .main-nav li {
        margin-bottom: 10px;
    }
    
    .search-box {
        width: 100%;
    }
    
    .search-box input {
        flex: 1;
    }
    
    .banner-wrapper {
        height: 300px;
    }
    
    .card {
        width: calc(33.333% - 20px);
    }
    
    .news-item {
        flex-direction: column;
    }
    
    .news-img {
        width: 100%;
        height: 180px;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .footer-nav {
        flex-wrap: wrap;
    }
    
    .footer-nav-col {
        width: 50%;
        flex: none;
        margin-bottom: 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
    }
    
    .copyright {
        margin-bottom: 15px;
    }
    
    .footer-links a {
        margin: 0 10px;
    }
}

@media (max-width: 576px) {
    .card {
        width: calc(50% - 20px);
    }
    
    .guide-item {
        width: 100%;
        margin: 0 0 20px;
    }
    
    .footer-nav-col {
        width: 100%;
    }
}
