/* ===== CSS RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --accent: #e50914;
    --accent-hover: #f40612;
    --border: #2a2a2a;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ===== NAVIGATION ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 2px;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
}

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

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

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(229, 9, 20, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.3) 0%, var(--bg-primary) 100%);
    pointer-events: none;
    z-index: 2;
}

/* ===== HERO SLIDESHOW ===== */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 2s ease-in-out;
}

.slide.active {
    opacity: 1;
    animation: subtleZoom 10s ease-in-out infinite;
}

@keyframes subtleZoom {
    0% {
        transform: scale(1.05);
    }
    50% {
        transform: scale(1.075);
    }
    100% {
        transform: scale(1.05);
    }
}

.hero-content {
    position: relative;
    text-align: center;
    z-index: 3;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 10vw, 8rem);
    letter-spacing: 8px;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 60px rgba(229, 9, 20, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.hero-socials {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.social-link {
    color: var(--text-primary);
    font-weight: 500;
    letter-spacing: 1px;
    position: relative;
}

.social-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text-primary);
    transition: var(--transition);
}

.social-link:hover::after {
    width: 100%;
}

.cta-button {
    padding: 0.875rem 2.5rem;
    background: var(--accent);
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: var(--transition);
}

.cta-button:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(229, 9, 20, 0.3);
}

/* ===== SECTIONS ===== */
section {
    padding: 6rem 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: 4px;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 1rem auto 0;
}

/* ===== FILMS SECTION ===== */
.films {
    background: var(--bg-secondary);
}

.films-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.film-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.film-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border-color: var(--accent);
}

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

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

.film-card:hover .film-poster img {
    transform: scale(1.05);
}

.film-poster-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
    color: var(--text-secondary);
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.film-info {
    padding: 1.75rem;
}

.film-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.film-year {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.film-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    gap: 1rem;
}

.film-trailer-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.film-trailer-link:hover {
    color: var(--accent-hover);
}

.film-trailer-link svg {
    width: 16px;
    height: 16px;
}

.film-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.film-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.film-link {
    padding: 0.625rem 1.25rem;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 4px;
    border: 1px solid var(--border);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.film-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.film-link svg {
    width: 16px;
    height: 16px;
}

.film-link-disabled {
    padding: 0.625rem 1.25rem;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 4px;
    border: 1px dashed var(--border);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: not-allowed;
}

/* ===== YOUTUBE THUMBNAIL ===== */
.film-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.film-thumbnail:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(229, 9, 20, 0.3);
}

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

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.film-thumbnail:hover .thumbnail-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.thumbnail-overlay svg {
    width: 64px;
    height: 64px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

/* ===== IMDb LINK ===== */
.film-imdb {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.imdb-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, #f5c518 0%, #e5b015 100%);
    color: #000;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 1px;
    border-radius: 8px;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(245, 197, 24, 0.2);
}

.imdb-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 197, 24, 0.4);
}

.imdb-link svg {
    width: 24px;
    height: 24px;
}

/* ===== NEWS SECTION ===== */
.news {
    background: var(--bg-primary);
}

.news-grid {
    display: grid;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

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

.news-card:hover {
    border-color: var(--accent);
    transform: translateX(8px);
}

.news-date {
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.news-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.news-content {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== CONTACT SECTION ===== */
.contact {
    background: var(--bg-secondary);
    text-align: center;
}

.contact-text {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border-radius: 50%;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-4px) scale(1.1);
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-primary);
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.merch-link {
    color: var(--text-secondary);
    font-size: 0.9rem;
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: var(--transition);
}

.merch-link:hover {
    color: var(--text-primary);
    border-color: var(--accent);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: var(--bg-secondary);
        border-top: 1px solid var(--border);
        max-height: 0;
        overflow: hidden;
        transition: var(--transition);
    }

    .nav-links.active {
        max-height: 400px;
        padding: 1rem 0;
    }

    .nav-links li {
        border-top: 1px solid var(--border);
    }

    .nav-links a {
        display: block;
        padding: 1rem;
    }

    .hero-title {
        letter-spacing: 4px;
    }

    .films-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer .container {
        flex-direction: column;
    }

    section {
        padding: 4rem 0;
    }
}
