@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

:root {
    --primary-color: #d4af37;
    --primary-hover: #f1c40f;
    --bg-dark: #0a0a0a;
    --bg-card: #1a1a1a;
    --text-main: #ffffff;
    --text-muted: #b0b0b0;
    --gold-gradient: linear-gradient(135deg, #d4af37 0%, #f1c40f 100%);
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Noto Sans SC', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #111;
}
::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

/* Layout */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid #222;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: #fff;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav ul li a:hover {
    color: var(--primary-color);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-mini {
    position: relative;
    display: none;
}

@media (min-width: 768px) {
    .search-mini {
        display: block;
    }
}

.search-mini input {
    background: #222;
    border: 1px solid #333;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    outline: none;
}

/* Buttons */
.btn {
    padding: 8px 18px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    display: inline-block;
}

.btn-primary {
    background: var(--gold-gradient);
    color: #000;
}

.btn-primary:hover {
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

/* Hero Section */
.hero {
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://tse-mm.bing.com/th?q=电影院大厅') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Section Common */
section {
    padding: 60px 0;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
}

.section-title {
    font-size: 24px;
    color: var(--text-main);
}

.section-more {
    color: var(--text-muted);
    font-size: 14px;
}

/* Movie Grid */
.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

@media (max-width: 480px) {
    .movie-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}

.movie-card {
    background: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: var(--transition);
}

.movie-card:hover {
    transform: translateY(-5px);
}

.movie-card-poster {
    width: 100%;
    aspect-ratio: 2/3;
    background: #222;
    position: relative;
}

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

.rating-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.6);
    color: var(--primary-color);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
}

.movie-info {
    padding: 10px;
}

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

.movie-meta {
    font-size: 12px;
    color: var(--text-muted);
}

/* Footer */
footer {
    background: #050505;
    padding: 60px 0 30px;
    border-top: 1px solid #1a1a1a;
    margin-top: 60px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .footer-top {
        grid-template-columns: 1fr;
    }
}

.footer-col h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-col ul li {
    margin-bottom: 10px;
    color: var(--text-muted);
    font-size: 14px;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #1a1a1a;
    text-align: center;
    color: #555;
    font-size: 12px;
}

/* Floating Actions */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.fab {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gold-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate {
    animation: fadeInUp 0.8s ease forwards;
}

/* Catalog Filter */
.filter-box {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
}

.filter-label {
    width: 60px;
    color: var(--primary-color);
    font-weight: 500;
}

.filter-options {
    display: flex;
    gap: 15px;
    flex: 1;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 5px;
}

.filter-item {
    font-size: 14px;
    padding: 2px 10px;
    border-radius: 4px;
}

.filter-item.active {
    background: var(--primary-color);
    color: #000;
}

/* Form Styles */
.contact-form {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    background: #252525;
    border: 1px solid #333;
    color: #fff;
    border-radius: 4px;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stat-item h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-item p {
    color: var(--text-muted);
}
