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

:root {
    --gold: #d4af37;
    --gold-light: #f5e1a4;
    --black: #0a0a0a;
    --dark-grey: #1a1a1a;
    --light-grey: #2a2a2a;
    --text-color: #e0e0e0;
    --accent: #ff9800;
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

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

/* Header & Nav */
header {
    background-color: rgba(10, 10, 10, 0.95);
    border-bottom: 1px solid var(--light-grey);
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo span {
    color: var(--accent);
}

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

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

.search-bar {
    display: flex;
    background: var(--light-grey);
    border-radius: 20px;
    padding: 5px 15px;
}

.search-bar input {
    background: transparent;
    border: none;
    color: white;
    padding: 5px;
    outline: none;
}

/* Common Section */
section {
    padding: 80px 5%;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 40px;
    border-left: 5px solid var(--gold);
    padding-left: 20px;
    color: var(--gold-light);
}

/* Hero Section */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://tse-mm.bing.com/th?q=电影海报背景大图') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 10%;
    margin-top: 70px;
}

.hero h1 {
    font-size: 4rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2rem;
}

.btn-primary {
    background: var(--gold);
    color: black;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: bold;
}

/* Features/Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: center;
    background: var(--dark-grey);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--gold);
}

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

.movie-card {
    background: var(--dark-grey);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s;
}

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

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

.movie-card .info {
    padding: 10px;
}

.movie-card .title {
    font-weight: bold;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.movie-card .rating {
    color: var(--accent);
    font-size: 0.8rem;
}

/* News List */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-item {
    background: var(--dark-grey);
    padding: 20px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Footer */
footer {
    background: #050505;
    padding: 60px 5% 20px;
    border-top: 1px solid var(--light-grey);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--light-grey);
    font-size: 0.8rem;
    color: #666;
}

/* Floating App Button */
.float-app {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--gold);
    color: black;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    z-index: 999;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 10px;
    }
    nav ul {
        margin-top: 10px;
        gap: 15px;
        font-size: 0.9rem;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
}

/* Form Styles */
.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    background: var(--light-grey);
    border: 1px solid var(--light-grey);
    color: white;
}

.contact-form button {
    background: var(--gold);
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}
