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

:root {
    --black: #0a0a0a;
    --black-soft: #121212;
    --gold: #d4af37;
    --gold-dim: #b8860b;
    --gold-light: #f5e6b3;
    --text: #e5e5e5;
    --text-dim: #a0a0a0;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--black);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

/* Layout Helpers */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.flex { display: flex; }
.grid { display: grid; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-4 { gap: 1rem; }
.gap-8 { gap: 2rem; }

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

header.scrolled {
    padding: 0.5rem 0;
    background: rgba(10, 10, 10, 0.95);
}

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

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

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.search-box {
    position: relative;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 0.4rem 1rem;
    display: flex;
    align-items: center;
}

.search-box input {
    background: transparent;
    border: none;
    color: white;
    padding-left: 0.5rem;
    outline: none;
    width: 150px;
    transition: var(--transition);
}

.search-box input:focus {
    width: 200px;
}

/* Button */
.btn {
    padding: 0.6rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: var(--gold);
    color: var(--black);
}

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

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

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--black) 20%, transparent 100%),
                linear-gradient(to top, var(--black) 10%, transparent 40%);
}

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

.hero-tag {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-dim);
}

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

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

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

.movie-poster {
    aspect-ratio: 2/3;
    background: var(--black-soft);
    position: relative;
    overflow: hidden;
}

.movie-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.movie-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition);
}

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

.movie-info {
    margin-top: 1rem;
}

.movie-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.rating-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--gold);
    color: var(--black);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
    z-index: 2;
}

/* Section Title */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-title p {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    font-size: 0.85rem;
}

/* News List */
.news-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
}

.news-featured {
    display: grid;
    gap: 2rem;
}

.news-card {
    display: flex;
    gap: 1.5rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 12px;
    transition: var(--transition);
}

.news-card:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
}

.news-img {
    width: 200px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.news-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content h3 {
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.news-content p {
    color: var(--text-dim);
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-sidebar {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 2rem;
}

.news-ticker {
    max-height: 500px;
    overflow-y: auto;
}

.news-ticker-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.news-ticker-item:last-child {
    border-bottom: none;
}

.news-ticker-date {
    font-size: 0.75rem;
    color: var(--gold);
    margin-bottom: 0.3rem;
}

/* Floating Download Button */
.floating-download {
    position: fixed;
    right: 30px;
    bottom: 100px;
    z-index: 999;
    background: var(--gold);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    animation: float 3s ease-in-out infinite;
}

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

/* Footer */
footer {
    background: var(--black-soft);
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
}

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

.footer-logo {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    display: block;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    color: var(--gold);
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

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

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .news-container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    header .nav-links { display: none; }
    .hero h1 { font-size: 2.8rem; }
    .section-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .movie-grid { grid-template-columns: repeat(2, 1fr); }
    .news-card { flex-direction: column; }
    .news-img { width: 100%; height: 200px; }
}

/* Product Page Filters */
.filters-wrapper {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 3rem;
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.filter-label {
    min-width: 60px;
    color: var(--gold);
    font-weight: 600;
}

.filter-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-item {
    padding: 4px 12px;
    border-radius: 4px;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 0.9rem;
}

.filter-item.active {
    background: var(--gold);
    color: var(--black);
}

.filter-item:hover:not(.active) {
    border-color: var(--gold);
}

/* Contact Page Map Mock */
.map-placeholder {
    width: 100%;
    height: 400px;
    background: var(--black-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
    margin-top: 2rem;
    border-radius: 12px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    color: white;
    border-radius: 4px;
    outline: none;
}

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

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 4rem;
}

.page-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
    border-radius: 4px;
}

.page-btn.active {
    background: var(--gold);
    color: var(--black);
}

/* App Page */
.app-hero {
    padding: 120px 0;
    text-align: center;
}

.app-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.feature-box {
    padding: 3rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    text-align: center;
}

.feature-box i {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 2rem;
}
