/* Global Styles */
:root {
    --gold-light: #f1e5ac;
    --gold: #d4af37;
    --gold-dark: #aa8a2e;
    --black-rich: #0a0a0a;
    --black-soft: #1a1a1a;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --white: #ffffff;
}

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

body {
    background-color: var(--black-rich);
    color: #d1d5db;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--black-rich);
}
::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.5);
}

/* Layout Containers */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Helpers */
.gold-gradient {
    background: linear-gradient(to right, var(--gold-dark), var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.gold-button {
    background: linear-gradient(to right, var(--gold-dark), var(--gold));
    color: var(--black-rich);
    font-weight: bold;
    padding: 12px 32px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.gold-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: all 0.3s ease;
}
nav.scrolled {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
}
.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gold);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black-rich);
}
.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}
.nav-links a {
    text-decoration: none;
    color: var(--gray-400);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--gold);
}

/* Hero Section */
.hero {
    height: 85vh;
    position: relative;
    display: flex;
    align-items: center;
    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;
    opacity: 0.4;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--black-rich) 20%, transparent 80%),
                linear-gradient(to top, var(--black-rich), transparent);
}
.hero-content {
    max-width: 700px;
}
.hero-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--gold);
    border-radius: 50px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 24px;
}
.hero h1 {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--white);
}
.hero p {
    font-size: 18px;
    color: var(--gray-400);
    margin-bottom: 40px;
}

/* Movie Cards */
.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, min-min(180px, 1fr));
    gap: 24px;
}
@media (min-width: 640px) { .movie-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } }

.movie-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s ease;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.movie-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.3);
}
.movie-img {
    aspect-ratio: 2/3;
    overflow: hidden;
    position: relative;
}
.movie-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.movie-card:hover .movie-img img {
    transform: scale(1.1);
}
.movie-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--gold);
    color: var(--black-rich);
    font-size: 10px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}
.movie-rating {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(4px);
    color: var(--gold);
    font-size: 12px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.movie-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, var(--black-rich), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.movie-card:hover .movie-overlay {
    opacity: 1;
}
.play-btn {
    width: 48px;
    height: 48px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black-rich);
    margin-bottom: 12px;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}
.movie-info {
    padding: 12px;
    text-align: center;
}
.movie-info h3 {
    font-size: 16px;
    color: var(--white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.movie-info p {
    font-size: 12px;
    color: var(--gray-500);
}

/* Sections */
section {
    padding: 80px 0;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}
.section-title h2 {
    font-size: 32px;
    color: var(--white);
    margin-bottom: 8px;
}
.section-title p {
    color: var(--gray-500);
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-item {
    text-align: center;
}
.stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    margin: 0 auto 16px;
}
.stat-item h3 {
    font-size: 32px;
    color: var(--white);
}
.stat-item p {
    color: var(--gray-500);
    font-size: 14px;
}

/* News & Dynamics */
.news-dynamics {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}
@media (min-width: 1024px) { .news-dynamics { grid-template-columns: 2fr 1fr; } }

.news-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.news-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 32px;
    cursor: pointer;
}
.news-item:hover h3 {
    color: var(--gold);
}
.news-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}
.news-item h3 {
    font-size: 20px;
    color: var(--white);
    transition: color 0.3s;
}
.news-item p {
    font-size: 14px;
    color: var(--gray-500);
}

.dynamics-box {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 24px;
    height: 500px;
    overflow-y: auto;
}
.dynamic-msg {
    font-size: 12px;
    color: var(--gray-500);
    border-left: 2px solid rgba(212, 175, 55, 0.3);
    padding-left: 12px;
    margin-bottom: 16px;
}

/* Footer */
footer {
    background: var(--black-soft);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 40px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 60px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }

.footer-logo {
    margin-bottom: 24px;
}
.footer-desc {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 24px;
}
.footer-links h4 {
    color: var(--white);
    margin-bottom: 24px;
}
.footer-links ul {
    list-style: none;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    text-decoration: none;
    color: var(--gray-500);
    font-size: 14px;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: var(--gold);
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 40px;
    text-align: center;
    font-size: 12px;
    color: var(--gray-600);
}

/* Floating Buttons */
.floating-actions {
    position: fixed;
    bottom: 32px;
    right: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 999;
}
.float-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.float-btn.gold {
    background: var(--gold);
    color: var(--black-rich);
}
.float-btn.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: var(--gold);
}
.float-btn:hover {
    transform: scale(1.1);
}

/* Page Transitions */
.page {
    display: none;
}
.page.active {
    display: block;
    animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Products Page Filters */
.filters-box {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 40px;
}
.filter-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}
.filter-row:last-child { margin-bottom: 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.filter-label {
    font-size: 14px;
    font-weight: bold;
    color: var(--gray-500);
    min-width: 60px;
}
.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.filter-opt {
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--gray-400);
    cursor: pointer;
    transition: all 0.3s;
}
.filter-opt:hover { background: rgba(255, 255, 255, 0.1); }
.filter-opt.active {
    background: var(--gold);
    color: var(--black-rich);
}

/* About Page */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}
@media (min-width: 768px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-img {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.about-img img { width: 100%; display: block; }

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-form {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    padding: 40px;
}
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-size: 12px; font-weight: bold; color: var(--gray-500); margin-bottom: 8px; text-transform: uppercase; }
.form-group input, .form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 16px;
    color: var(--white);
    outline: none;
    transition: border-color 0.3s;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--gold); }
