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

:root {
    --primary: #e50914; /* Netflix Red / Cinema Red */
    --secondary: #ffc107; /* Gold / Popcorn Yellow */
    --dark: #0a0a0a;
    --dark-surface: #141414;
    --light: #f5f5f5;
    --text-main: #ffffff;
    --text-muted: #b3b3b3;
    --glass: rgba(229, 9, 20, 0.15);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

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

html {
    scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, .logo {
    font-family: 'Playfair Display', serif;
}

/* Utilities */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 25px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: #ff0f1a;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.section-padding {
    padding: 100px 0;
}

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

.section-title {
    font-size: 3.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    transition: all 0.4s ease;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
}

.navbar.scrolled {
    background: var(--dark);
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

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

.logo {
    font-size: 2.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 900;
    font-style: italic;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

.mobile-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.hero-content {
    max-width: 850px;
}

.hero h1 {
    font-size: 5.5rem;
    line-height: 1;
    margin-bottom: 25px;
    text-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 45px;
    max-width: 700px;
}

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

.movie-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--dark-surface);
}

.movie-card:hover {
    transform: scale(1.05) translateY(-5px);
    z-index: 10;
    box-shadow: 0 15px 40px rgba(0,0,0,0.8);
}

.movie-poster-wrap {
    position: relative;
    aspect-ratio: 2/3;
    overflow: hidden;
    display: block;
}

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

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

.movie-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.movie-card:hover .movie-overlay {
    transform: translateY(0);
    opacity: 1;
}

.movie-title {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: white;
}

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

.movie-rating {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary);
    color: var(--dark);
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 900;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Footer */
footer {
    background: #050505;
    padding: 100px 0 50px;
    border-top: 1px solid var(--glass-border);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-desc {
    color: var(--text-muted);
    margin-bottom: 35px;
    font-size: 1.05rem;
}

.footer-title {
    font-size: 1.4rem;
    margin-bottom: 30px;
    color: white;
    font-weight: 700;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 50px;
    border-top: 1px solid var(--glass-border);
    color: #444;
    font-size: 0.95rem;
}

/* Animations */
[data-aos] {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1200px) {
    .hero h1 { font-size: 4.5rem; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-toggle { display: block; }
    .hero h1 { font-size: 3.2rem; }
    .section-title { font-size: 2.5rem; }
    .footer-top { grid-template-columns: 1fr; }
}
