/* Global Styles & Variables */
:root {
    --primary-color: #39ff14; /* Neon Grass Green */
    --secondary-color: #1a1a1a;
    --bg-dark: #0a0a0a;
    --bg-card: #121212;
    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --accent-gradient: linear-gradient(135deg, #39ff14 0%, #00ff87 100%);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800;
    letter-spacing: -0.03em;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 2.5rem;
    text-align: center;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

section {
    padding: 100px 0;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    transition: var(--transition);
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(15px);
}

header.scrolled {
    padding: 15px 0;
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

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

.logo {
    font-size: 2rem;
    font-weight: 900;
    text-decoration: none;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: #fff;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

nav a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    opacity: 0.8;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(57, 255, 20, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #000;
}

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

.movie-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
}

.movie-card:hover {
    transform: translateY(-12px);
    border-color: var(--primary-color);
    box-shadow: 0 25px 50px rgba(0,0,0,0.6);
}

.movie-card img {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

.movie-info {
    padding: 20px;
}

.movie-info h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.movie-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rating {
    color: var(--primary-color);
    font-weight: 800;
    background: rgba(57, 255, 20, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

/* Footer */
footer {
    background: #050505;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

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

.footer-col h4 {
    margin-bottom: 25px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

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

.footer-col a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-flex {
        flex-direction: column;
        gap: 25px;
    }
    nav ul {
        gap: 20px;
        font-size: 0.85rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .btn {
        padding: 12px 25px;
        font-size: 0.85rem;
    }
}
