/* ================================
   THE INTERVIEW - Marquee Spectacular
   Modern Cinematic Design
   ================================ */

:root {
    --color-primary: #1a73e8;
    --color-secondary: #34a853;
    --color-dark: #0a0a0a;
    --color-darker: #000000;
    --color-light: #ffffff;
    --color-gray: #6b7280;
    --color-gray-light: #f3f4f6;
    --color-blue-dark: #0f172a;
    --color-blue-light: #60a5fa;
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--color-dark);
    color: var(--color-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ================================
   LOADER
   ================================ */

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-title {
    font-family: var(--font-display);
    font-size: 6rem;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out;
}

.loader-bar {
    width: 300px;
    height: 2px;
    background: rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}

.loader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background: var(--color-light);
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(200%); }
}

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

/* ================================
   NAVIGATION
   ================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(10, 10, 10, 0);
    transition: var(--transition);
}

.nav.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.nav-brand {
    font-family: var(--font-display);
    font-size: 1.8rem;
    letter-spacing: 0.1em;
}

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

.nav-link {
    color: var(--color-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-light);
    transition: var(--transition);
}

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

.nav-cta {
    padding: 0.75rem 1.5rem;
    background: var(--color-light);
    color: var(--color-dark);
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--color-gray-light);
    transform: translateY(-2px);
}

/* ================================
   HERO SECTION
   ================================ */

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(0,0,0,0.4) 0%,
        rgba(0,0,0,0.7) 50%,
        rgba(10,10,10,0.95) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1200px;
    padding: 8rem 2rem 0 2rem;
    animation: fadeInUp 1.2s ease-out;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 8rem;
    line-height: 0.9;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.title-line {
    display: block;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.title-line:nth-child(1) { animation-delay: 0.3s; }
.title-line:nth-child(2) { animation-delay: 0.5s; }

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.7s forwards;
    opacity: 0;
}

.hero-tagline {
    font-size: 1.8rem;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.6;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.9s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.1s forwards;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.3s forwards;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.7;
    margin-top: 0.5rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-size: 0.875rem;
    opacity: 0.6;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    margin: 0 auto 0.5rem;
}

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

/* ================================
   BUTTONS
   ================================ */

.btn {
    padding: 1rem 2.5rem;
    border: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--color-light);
    color: var(--color-dark);
}

.btn-primary:hover {
    background: var(--color-gray-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255,255,255,0.2);
}

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

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.btn-text {
    background: transparent;
    color: var(--color-light);
    padding: 0.5rem 0;
    font-weight: 600;
    border-bottom: 2px solid transparent;
}

.btn-text:hover {
    border-bottom-color: var(--color-light);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
}

.btn-download {
    background: var(--color-primary);
    color: white;
}

/* ================================
   SECTIONS
   ================================ */

.section {
    padding: 8rem 0;
}

.section-dark {
    background: var(--color-dark);
}

.section-light {
    background: #111;
}

.section-cta {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    text-align: center;
}

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

.section-header {
    margin-bottom: 4rem;
}

.section-header.centered {
    text-align: center;
}

.section-label {
    display: block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-blue-light);
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-title {
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: 1.1;
    letter-spacing: 0.02em;
}

/* ================================
   SYNOPSIS SECTION
   ================================ */

.synopsis-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.synopsis-main p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.8;
}

.lead {
    font-size: 1.5rem !important;
    font-weight: 300;
    margin-bottom: 2rem !important;
}

.emphasis {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-blue-light);
}

.synopsis-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: rgba(255,255,255,0.05);
    padding: 2rem;
    border-left: 3px solid var(--color-blue-light);
}

.info-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.info-card blockquote {
    font-style: italic;
    font-size: 1.125rem;
    line-height: 1.6;
}

/* ================================
   FEATURES GRID
   ================================ */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 5rem;
}

.feature {
    background: rgba(255,255,255,0.03);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--color-blue-light);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

/* ================================
   CHARACTERS
   ================================ */

.characters-section {
    margin-top: 5rem;
}

.subsection-title {
    font-family: var(--font-display);
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 0.05em;
}

.characters-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.character {
    background: rgba(255,255,255,0.05);
    padding: 2rem;
    border-top: 3px solid var(--color-blue-light);
}

.character h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.character h4 span {
    font-weight: 300;
    opacity: 0.7;
    font-size: 1rem;
}

/* ================================
   TIMELINE
   ================================ */

.timeline {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.timeline-marker {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--color-blue-light);
    color: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 2rem;
    border-radius: 50%;
}

.timeline-content h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.timeline-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    opacity: 0.9;
}

.cta-box {
    text-align: center;
}

/* ================================
   ABOUT SECTION
   ================================ */

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.8;
}

.playwright-badge {
    background: rgba(255,255,255,0.05);
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.badge-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.badge-text {
    font-weight: 600;
    font-size: 1.125rem;
}

.works-list {
    background: rgba(255,255,255,0.03);
    padding: 2rem;
}

.works-list h4 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.works-list ul {
    list-style: none;
}

.works-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.works-list li:last-child {
    border-bottom: none;
}

/* ================================
   CTA SECTION
   ================================ */

.cta-content h2 {
    font-family: var(--font-display);
    font-size: 4rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.cta-content > p {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.contact-info {
    font-size: 1.125rem;
}

.contact-info p {
    margin: 0.5rem 0;
}

/* ================================
   FOOTER
   ================================ */

.footer {
    background: var(--color-darker);
    padding: 3rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 0.1em;
}

.footer-brand p {
    opacity: 0.7;
    margin-top: 0.5rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--color-light);
    text-decoration: none;
    opacity: 0.7;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.5;
    font-size: 0.875rem;
}

/* ================================
   MODAL
   ================================ */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(10px);
}

.modal-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    max-height: 90vh;
    background: #111;
    padding: 3rem;
    overflow-y: auto;
    z-index: 10;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
    background: none;
    border: none;
    color: var(--color-light);
    font-size: 3rem;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.modal-close:hover {
    transform: rotate(90deg);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.modal-header h2 {
    font-family: var(--font-display);
    font-size: 3rem;
    letter-spacing: 0.05em;
}

.modal-content {
    font-size: 1.125rem;
    line-height: 1.8;
}

.modal-content h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin: 2rem 0 1rem;
    letter-spacing: 0.05em;
}

.modal-content p {
    margin-bottom: 1.5rem;
}

.modal-content ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.modal-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

/* ================================
   RESPONSIVE
   ================================ */

@media (max-width: 1024px) {
    .hero-poster { 
        content: url('../images/poster-mobile.png') !important;
        object-position: center top !important;
        transform: scale(1.15) translateY(-8%) !important;
    }
    .hero-content {
        padding: 7rem 2rem 0 2rem !important;
    }
    .hero-title { font-size: 6rem; }
    .section-title { font-size: 3rem; }
    .synopsis-grid,
    .about-grid { grid-template-columns: 1fr; }
    .features-grid,
    .characters-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav { padding: 1rem; }
    .nav-links { display: none; }
    .hero-poster { 
        content: url('../images/poster-mobile.png') !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        object-position: center top !important;
        transform: scale(1.2) translateY(-10%) !important;
    }
    .hero-content {
        padding: 8rem 2rem 0 2rem !important;
    }
    .hero-title { font-size: 4rem; }
    .hero-tagline { font-size: 1.2rem; }
    .hero-stats { gap: 2rem; }
    .section { padding: 4rem 0; }
    .section-title { font-size: 2.5rem; }
    .features-grid,
    .characters-grid { grid-template-columns: 1fr; }
    .timeline-item { flex-direction: column; gap: 1rem; }
    .contact-buttons { flex-direction: column; }
    .footer-content { flex-direction: column; gap: 2rem; text-align: center; }
    .modal-container { padding: 2rem 1.5rem; }
}
