* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background: #f8f9fa;
    color: #333;
}

header {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(231,76,60,0.3);
}

.logo h1 {
    font-size: 1.8rem;
    color: white;
    font-weight: 700;
}

.logo p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover, nav a.active {
    color: #f1c40f;
}

.user-actions {
    display: flex;
    gap: 1rem;
}

.user-actions button {
    padding: 0.6rem 1.2rem;
    border: 1px solid white;
    background: transparent;
    color: white;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.user-actions button:hover {
    background: white;
    color: #e74c3c;
}

.user-actions button.register {
    background: white;
    color: #e74c3c;
}

.user-actions button.register:hover {
    background: rgba(255,255,255,0.9);
}

.hero {
    background: url('https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=cinema%20movie%20theater%20red%20curtain&image_size=landscape_16_9') no-repeat center center/cover;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #f1c40f;
}

.hero p {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1rem !important;
    color: #ddd !important;
    font-weight: normal !important;
    margin-bottom: 2rem !important;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(90deg, #e74c3c, #c0392b);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(231,76,60,0.4);
}

.btn.secondary {
    background: transparent;
    border: 2px solid white;
    margin-left: 1rem;
}

.btn.secondary:hover {
    background: white;
    color: #e74c3c;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 5rem;
    padding: 2rem 5%;
    background: white;
}

.stat-item {
    text-align: center;
}

.stat-item .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #e74c3c;
}

.stat-item p {
    color: #666;
    margin-top: 0.25rem;
}

.featured {
    padding: 3rem 5%;
}

.featured h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.featured-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.featured-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.featured-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 1.5rem;
    color: white;
}

.featured-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.featured-info p {
    font-size: 0.9rem;
    color: #ddd;
}

.featured-info .rating {
    display: inline-block;
    background: #f1c40f;
    color: #333;
    padding: 2px 8px;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.genres {
    padding: 2rem 5%;
    background: #f8f9fa;
}

.genres h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.genre-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.genre-tags a {
    padding: 0.6rem 1.5rem;
    background: white;
    border-radius: 25px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s;
    border: 1px solid #ddd;
}

.genre-tags a:hover {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

.page-title {
    padding: 2rem 5%;
    text-align: center;
    background: white;
}

.page-title h2 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.page-title p {
    color: #666;
}

.filter-bar {
    padding: 1rem 5%;
    background: white;
    border-bottom: 1px solid #eee;
}

.filter-group {
    display: flex;
    gap: 0.7rem;
    margin-bottom: 1rem;
}

.filter-group span {
    color: #666;
    font-weight: 500;
    padding-top: 0.5rem;
}

.filter-group button {
    padding: 0.5rem 1.2rem;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.filter-group button.active, .filter-group button:hover {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

.movies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 3rem 5%;
}

.movie-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.movie-info {
    padding: 1.2rem;
}

.movie-info h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.movie-info .genre {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.movie-info .rating {
    color: #f1c40f;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.movie-info .desc {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.movie-card .btn {
    width: 100%;
    text-align: center;
}

.series-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 3rem 5%;
}

.series-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: relative;
}

.series-card .badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e74c3c;
    color: white;
    padding: 3px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    z-index: 1;
}

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

.series-info {
    padding: 1.2rem;
}

.series-info h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.series-info .genre {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.series-info .rating {
    color: #f1c40f;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.series-info .episodes {
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.series-info .desc {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.series-card .btn {
    width: 100%;
    text-align: center;
}

.vip-benefits {
    padding: 2rem 5%;
    background: #f8f9fa;
}

.vip-benefits h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.benefit-item {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 10px;
}

.benefit-item img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.benefit-item h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.benefit-item p {
    color: #999;
    font-size: 0.9rem;
}

.vip-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 3rem 5%;
}

.vip-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: relative;
}

.vip-card.featured {
    border: 2px solid #e74c3c;
    transform: scale(1.02);
}

.featured-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #e74c3c, #c0392b);
    color: white;
    padding: 3px 15px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
}

.vip-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.price-wrap {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 0.25rem;
}

.vip-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #e74c3c;
}

.vip-card .period {
    color: #666;
}

.vip-card .discount {
    color: #27ae60;
    font-weight: 600;
    margin: 0.5rem 0;
}

.vip-card ul {
    list-style: none;
    padding: 1rem 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.vip-card li {
    padding: 0.5rem 0;
    color: #666;
}

.vip-card .btn {
    margin-top: 1rem;
    width: 100%;
}

.vip-reviews {
    padding: 3rem 5%;
    background: #f8f9fa;
}

.vip-reviews h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.review-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
}

.reviewer-info {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reviewer-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.reviewer-info .name {
    font-weight: 600;
    color: #2c3e50;
}

.reviewer-info .membership {
    color: #999;
    font-size: 0.85rem;
}

.review-text {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.rating-stars {
    color: #f1c40f;
    font-size: 1.2rem;
}

.variety-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 3rem 5%;
}

.variety-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.variety-card h3 {
    padding: 1rem;
    color: #2c3e50;
}

.variety-card p {
    padding: 0 1rem;
    color: #e74c3c;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.variety-card .btn {
    margin: 1rem;
    width: calc(100% - 2rem);
    text-align: center;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 3rem 5%;
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.contact-info h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: #666;
    line-height: 2;
    margin-bottom: 0.5rem;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.contact-form h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
    margin-bottom: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #e74c3c;
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form .btn {
    width: 100%;
    text-align: center;
}

footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        gap: 1rem;
    }
    
    .stats {
        flex-wrap: wrap;
        gap: 2rem;
    }
    
    .featured-grid, .movies-grid, .series-grid, .vip-plans, .benefits-grid, .reviews-grid, .variety-grid {
        grid-template-columns: 1fr;
    }
    
    .hero p {
        font-size: 1.8rem;
    }
    
    .filter-group {
        flex-wrap: wrap;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}
