/* Global Styles - Era Movie Network */
:root {
    --gold-light: #f1e5ac;
    --gold: #d4af37;
    --gold-dark: #aa8a2e;
    --black-light: #2a2a2a;
    --black: #1a1a1a;
    --black-dark: #0a0a0a;
    --white: #ffffff;
    --gray: #9ca3af;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utilities */
.gold-text {
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gold-bg {
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    color: var(--black-dark);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

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

.btn-outline:hover {
    background: rgba(212, 175, 55, 0.1);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: 0.3s;
}

header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -1px;
}

.logo i {
    color: var(--gold);
}

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

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

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

.search-bar input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 15px 8px 35px;
    border-radius: 20px;
    color: white;
    outline: none;
    width: 200px;
    transition: 0.3s;
}

.search-bar input:focus {
    width: 280px;
    border-color: var(--gold);
}

.search-bar i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    color: var(--gold);
    cursor: pointer;
}

@media (max-width: 768px) {
    nav {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
}

/* Hero */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--black), transparent, rgba(0,0,0,0.5));
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero-tag {
    background: rgba(212, 175, 55, 0.2);
    color: var(--gold);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
    display: inline-block;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.hero h1 {
    font-size: clamp(40px, 8vw, 80px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 40px;
}

/* Sections */
section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
}

.section-header .line {
    width: 60px;
    height: 4px;
    background: var(--gold);
    border-radius: 2px;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-card {
    background: var(--black-light);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.stat-card:hover {
    border-color: var(--gold);
    transform: translateY(-10px);
}

.stat-card i {
    font-size: 40px;
    color: var(--gold);
    margin-bottom: 20px;
}

.stat-card h3 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 5px;
}

.stat-card p {
    color: var(--gray);
}

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

.movie-card {
    background: var(--black-light);
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.movie-img {
    aspect-ratio: 2/3;
    overflow: hidden;
    position: relative;
}

.movie-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

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

.movie-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.movie-card:hover .movie-overlay {
    opacity: 1;
}

.play-btn {
    width: 60px;
    height: 60px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black-dark);
    font-size: 24px;
}

.movie-info {
    padding: 15px;
}

.movie-info h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.movie-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--gray);
}

.rating {
    color: var(--gold);
    font-weight: bold;
}

/* News */
.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.news-item {
    background: var(--black-light);
    padding: 20px;
    border-radius: 15px;
    border-left: 4px solid var(--gold);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
}

.news-item:hover {
    background: rgba(255, 255, 255, 0.05);
    padding-left: 25px;
}

.news-item h3 {
    font-size: 16px;
    max-width: 80%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-date {
    font-size: 12px;
    color: var(--gray);
}

/* Footer */
footer {
    background: var(--black-dark);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

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

.footer-col h4 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 25px;
    position: relative;
    padding-left: 15px;
}

.footer-col h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background: var(--gold);
}

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

.footer-col ul li a {
    color: var(--gray);
}

.footer-col ul li a:hover {
    color: var(--gold);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.social-links a:hover {
    background: var(--gold);
    color: var(--black-dark);
}

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

/* Floating Button */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.download-float {
    background: var(--gold);
    color: var(--black-dark);
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Filters */
.filter-section {
    background: var(--black-light);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 40px;
}

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

.filter-group:last-child {
    margin-bottom: 0;
}

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

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-option {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
}

.filter-option.active {
    background: var(--gold);
    color: var(--black-dark);
    font-weight: bold;
}

/* Contact Form */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-form {
    background: var(--black-light);
    padding: 40px;
    border-radius: 20px;
}

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

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

.form-group input, .form-group textarea {
    width: 100%;
    background: var(--black);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 15px;
    border-radius: 10px;
    color: white;
    outline: none;
}

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

/* Responsive */
@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    .hero h1 {
        font-size: 40px;
    }
}
