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

body {
    font-family: "Microsoft YaHei", "Hiragino Sans GB", "WenQuanYi Micro Hei", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

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

a:hover {
    color: #b20710;
}

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: 80px 0;
}

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

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
    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: #e50914;
}

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

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #e50914;
    color: #fff;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #b20710;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(229, 9, 20, 0.3);
}

/* 头部样式 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 10px 0;
    background-color: rgba(0, 0, 0, 0.95);
    box-shadow: 0 5px 15px 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: 700;
}

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

.main-nav ul {
    display: flex;
}

.main-nav ul li {
    margin-left: 25px;
}

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

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

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
}

/* 轮播背景 */
.hero-slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5));
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    width: 80%;
    max-width: 800px;
    z-index: 3;
}

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

.slide-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 10;
}

.slider-controls span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-controls span:hover {
    background-color: rgba(229, 9, 20, 0.8);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 10;
}

.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: #e50914;
    transform: scale(1.2);
}

/* 关于我们 */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

/* 关于我们 (续) */
.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 16px;
    color: #555;
}

/* 服务特色 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
}

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

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #222;
}

.feature-card p {
    color: #666;
}

/* 影厅展示 */
.rooms-slider {
    position: relative;
    overflow: hidden;
}

.rooms-container {
    display: flex;
    transition: transform 0.5s ease;
}

.room-card {
    flex: 0 0 calc(33.333% - 20px);
    margin: 0 10px;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.room-image {
    height: 250px;
    overflow: hidden;
}

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

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

.room-info {
    padding: 20px;
}

.room-info h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #222;
}

.room-info p {
    color: #666;
    margin-bottom: 15px;
}

.rooms-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 -20px;
    z-index: 10;
}

.rooms-controls span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 -20px;
}

.rooms-controls span:hover {
    background-color: rgba(229, 9, 20, 0.8);
}

/* 观影套餐 */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.package-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

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

.package-card.popular {
    border: 2px solid #e50914;
}

.popular-tag {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #e50914;
    color: #fff;
    padding: 5px 15px;
    font-size: 14px;
    font-weight: 600;
    border-bottom-left-radius: 10px;
}

.package-header {
    background-color: #222;
    color: #fff;
    padding: 20px;
    text-align: center;
}

.package-header h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.package-price {
    font-size: 36px;
    font-weight: 700;
    color: #e50914;
}

.package-price span {
    font-size: 16px;
    font-weight: 400;
    color: #aaa;
}

.package-content {
    padding: 20px;
}

.package-content ul {
    margin-bottom: 20px;
}

.package-content ul li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #666;
    display: flex;
    align-items: center;
}

.package-content ul li:last-child {
    border-bottom: none;
}

.package-content ul li i {
    margin-right: 10px;
    font-size: 16px;
}

.icon-check {
    color: #4CAF50;
}

.icon-times {
    color: #F44336;
}

.package-content .btn {
    width: 100%;
    text-align: center;
}

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

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

.app-info {
    flex: 1;
}

.text-left {
    text-align: left;
}

.text-left h2::after {
    left: 0;
    transform: none;
}

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

.app-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.feature-icon {
    flex: 0 0 60px;
    height: 60px;
    margin-right: 15px;
    background-color: rgba(229, 9, 20, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 24px;
    color: #e50914;
}

.feature-text h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #222;
}

.feature-text p {
    color: #666;
}

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

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    background-color: #222;
    color: #fff;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background-color: #e50914;
    color: #fff;
}

.download-btn i {
    font-size: 24px;
    margin-right: 10px;
}

.app-image {
    flex: 1;
    position: relative;
}

.app-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* 用户评价 */
.testimonials-slider {
    position: relative;
    overflow: hidden;
}

.testimonials-container {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 20px);
    margin: 0 10px;
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.testimonial-content {
    margin-bottom: 20px;
    position: relative;
}

.testimonial-content::before {
    content: '\201C';
    font-size: 60px;
    color: rgba(229, 9, 20, 0.1);
    position: absolute;
    top: -20px;
    left: -10px;
}

.testimonial-content p {
    color: #555;
    font-style: italic;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.author-info h4 {
    font-size: 18px;
    font-weight: 600;
    color: #222;
    margin-bottom: 5px;
}

.author-info p {
    color: #666;
    font-size: 14px;
}

.testimonials-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 -20px;
    z-index: 10;
}

.testimonials-controls span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 -20px;
}

.testimonials-controls span:hover {
    background-color: rgba(229, 9, 20, 0.8);
}

/* 热门影片 */
.movies-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

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

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

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

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

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

.movie-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.movie-card:hover .movie-overlay {
    opacity: 1;
}

.movie-info {
    padding: 20px;
}

.movie-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #222;
}

.movie-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

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

.rating-score {
    font-size: 18px;
    font-weight: 700;
    color: #e50914;
}

.rating-stars {
    color: #FFD700;
}

.more-movies {
    text-align: center;
    margin-top: 40px;
}

/* 文章模块 */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.article-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.article-image {
    height: 250px;
    overflow: hidden;
}

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

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

.article-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #222;
}

.article-meta {
    font-size: 14px;
    color: #888;
    margin-bottom: 15px;
}

.article-excerpt {
    color: #555;
    margin-bottom: 15px;
    flex-grow: 1;
}

.read-more {
    align-self: flex-start;
    color: #e50914;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.read-more::after {
    content: '\2192';
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more:hover::after {
    transform: translateX(5px);
}

/* 联系我们 */
.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-icon {
    flex: 0 0 60px;
    height: 60px;
    margin-right: 15px;
    background-color: rgba(229, 9, 20, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon i {
    font-size: 24px;
    color: #e50914;
}

.info-text h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #222;
}

.info-text p {
    color: #666;
}

.contact-form {
    flex: 1;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    color: #333;
    transition: all 0.3s ease;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #e50914;
    outline: none;
    box-shadow: 0 0 0 2px rgba(229, 9, 20, 0.1);
}

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

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
}

.footer-logo span {
    font-size: 24px;
    font-weight: 700;
    margin-left: 10px;
}

.footer-info {
    flex: 2;
    min-width: 300px;
}

.footer-info p {
    color: #aaa;
    line-height: 1.8;
}

.footer-links {
    flex: 3;
    min-width: 300px;
    display: flex;
    justify-content: space-between;
}

.footer-links-column {
    flex: 1;
}

.footer-links-column h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
    position: relative;
    padding-bottom: 10px;
}

.footer-links-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #e50914;
}

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

.footer-links-column ul li a {
    color: #aaa;
    transition: all 0.3s ease;
}

.footer-links-column ul li a:hover {
    color: #e50914;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #e50914;
    color: #fff;
    transform: translateY(-5px);
}

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

.copyright {
    color: #aaa;
    font-size: 14px;
}

.footer-friends {
    margin-top: 20px;
}

.footer-friends h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
}

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

.footer-friends ul li a {
    color: #aaa;
    font-size: 14px;
}

.footer-friends ul li a:hover {
    color: #e50914;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .movies-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .section {
        padding: 60px 0;
    }
    
    .about-content,
    .app-content,
    .contact-content {
        flex-direction: column;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .movies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .room-card,
    .testimonial-card {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 30px;
    }
    
    .slide-content h1 {
        font-size: 36px;
    }
    
    .slide-content h2 {
        font-size: 32px;
    }
    
    .slide-content p {
        font-size: 18px;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
    }
    
    .room-card,
    .testimonial-card {
        flex: 0 0 calc(100% - 20px);
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .section {
        padding: 40px 0;
    }
    
    .section-header h2 {
        font-size: 26px;
    }
    
    .slide-content h1 {
        font-size: 28px;
    }
    
    .slide-content h2 {
        font-size: 26px;
    }
    
    .slide-content p {
        font-size: 16px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .movies-grid {
        grid-template-columns: 1fr;
    }
    
    .app-download-buttons {
        flex-direction: column;
    }
}

/* 图标字体 */
@font-face {
    font-family: 'icomoon';
    src: url('fonts/icomoon.eot');
    src: url('fonts/icomoon.eot?#iefix') format('embedded-opentype'),
         url('fonts/icomoon.woff') format('woff'),
         url('fonts/icomoon.ttf') format('truetype'),
         url('fonts/icomoon.svg#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
    font-family: 'icomoon';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-check:before { content: '\e900'; }
.icon-times:before { content: '\e901'; }
.icon-star:before { content: '\e902'; }
.icon-star-half:before { content: '\e903'; }
.icon-location:before { content: '\e904'; }
.icon-phone:before { content: '\e905'; }
.icon-email:before { content: '\e906'; }
.icon-time:before { content: '\e907'; }
.icon-calendar:before { content: '\e908'; }
.icon-film:before { content: '\e909'; }
.icon-gift:before { content: '\e90a'; }
.icon-android:before { content: '\e90b'; }
.icon-apple:before { content: '\e90c'; }
.icon-weixin:before { content: '\e90d'; }
.icon-weibo:before { content: '\e90e'; }
.icon-douyin:before { content: '\e90f'; }
.icon-bilibili:before { content: '\e910'; }

