/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Inter, sans-serif;
    background-color: #0a0a0a;
    color: #e5e5e5;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizelegibility;
}

/* Basic Styles and Typography */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Main content area - compensate for fixed header */
main {
    padding-top: 60px; /* Adjust for fixed header height */
}

main.legal-page {
    padding-top: 120px; /* Legal pages need more padding for their header styling */
}

/* Link Styles */
a {
    color: #f8f8f8;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Specific styles for links in crew bio sections */
.crew-member .bio a {
    color: #f5f5f5;
    text-decoration: none;
    border-bottom: 1px solid rgb(245 245 245 / 30%);
    transition: all 0.3s ease;
}

.crew-member .bio a:hover {
    color: #fff;
    border-bottom-color: rgb(255 255 255 / 60%);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgb(10 10 10 / 90%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgb(139 92 246 / 10%);
    transition: all 0.3s ease;
}

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

.nav-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #8b5cf6, #fb923c);
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #e5e5e5;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #8b5cf6;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #8b5cf6, #fb923c);
    transition: width 0.3s ease;
}

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

/* Hero Section - CLEAN REBUILD */
.hero {
    height: calc(100vh - 80px); /* Account for main padding-top */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: url('../images/hero-background.svg') center/cover no-repeat,
                radial-gradient(circle at 30% 20%, rgb(139 92 246 / 15%) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgb(251 146 60 / 10%) 0%, transparent 50%),
                linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    z-index: -1;
    will-change: transform;
}

.hero-content {
    z-index: 1;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.7rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff; /* Fallback color */
    background: linear-gradient(45deg, #fff, #8b5cf6, #fb923c);
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    white-space: nowrap;
    animation: fade-in-up 1s ease-out;

    /* Ensure proper text rendering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    /* Fix potential webkit clipping issues */
    transform: translateZ(0);
}

.hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: 3rem;
    color: #a0a0a0;
    font-weight: 300;
    animation: fade-in-up 1s ease-out 0.3s both;
}

/* Video Container - CLEAN REBUILD */
.video-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 2rem;
    animation: fade-in-up 1s ease-out 0.6s both;
}

.video-frame {
    aspect-ratio: 16/9;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-frame:hover {
    transform: translateY(-2px);
}

.video-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgb(0 0 0 / 40%);
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgb(255 255 255 / 10%);
    border: 2px solid rgb(255 255 255 / 30%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    transform: scale(1);
    will-change: transform;
}

.play-button:hover {
    background: rgb(255 255 255 / 20%);
    border-color: rgb(255 255 255 / 50%);
    transform: scale(1.1);
}

.play-button:active {
    transform: scale(0.95);
}

.play-icon {
    color: rgb(255 255 255 / 70%);
    font-size: 2rem;
    margin-left: 4px;
}

.trailer-text {
    color: rgb(255 255 255 / 80%);
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    margin: 0;
    text-shadow: 0 2px 4px rgb(0 0 0 / 50%);
}

/* IMDb Button Styles */
.imdb-container {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    animation: fade-in-up 1s ease-out 0.9s both;
}

.imdb-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #f5c518, #ddb000);
    color: #000;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.imdb-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgb(255 255 255 / 20%), transparent);
    transition: left 0.6s ease;
}

.imdb-button:hover::before {
    left: 100%;
}

.imdb-button:hover {
    background: linear-gradient(135deg, #ddb000, #b8940a);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgb(245 197 24 / 40%);
    border-color: rgb(255 255 255 / 20%);
}

.imdb-button:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgb(245 197 24 / 30%);
}

.imdb-logo {
    background: #000;
    color: #f5c518;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.imdb-button:focus {
    outline: 3px solid rgb(245 197 24 / 50%);
    outline-offset: 2px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    cursor: pointer;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid #8b5cf6;
    border-bottom: 2px solid #8b5cf6;
    transform: rotate(45deg);
}

/* Basic animation */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* PLACEHOLDER FOR REST OF CSS - TO BE ADDED BACK */

/* Description Section */
.description {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0f0f0f, #1a1a1a);
}

.description-content {
    max-width: 800px;
    margin: 0 auto;
}

.description h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #fff;
    text-align: center;
}

.description p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #d0d0d0;
    line-height: 1.8;
    text-align: left;
}

.description .emphasis {
    font-style: italic;
    color: #fb923c;
    font-weight: 500;
    font-size: 1.2rem;
}

/* Section Breaks */
.section-break {
    padding: 3rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.break-line {
    width: 100px;
    height: 2px;
    background: linear-gradient(45deg, #8b5cf6, #fb923c);
    border-radius: 1px;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: #0a0a0a;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #fff;
}

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

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #d0d0d0;
    line-height: 1.8;
    text-align: left;
}

.mood-board {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    height: 200px;
}

.mood-item {
    border-radius: 8px;
    transition: transform 0.3s ease;
    position: relative;
    overflow: visible;
    min-height: 100px;
}

.mood-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    position: absolute;
    top: -3px;
    left: -3px;
    transform: rotate(-1deg);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 12px rgb(0 0 0 / 30%);
}

.mood-item:hover {
    transform: scale(1.05);
}

.mood-item:hover .mood-image {
    transform: rotate(-1deg) scale(1.02);
}

.mood-item:nth-child(3) {
    grid-column: span 2;
}

/* Cast & Crew Section - CLEAN REBUILD */
.cast-crew {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0f0f0f, #1a1a1a);
}

/* Featured Crew - Jake and Nehemiah */
.featured-crew {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 4rem;
}

.crew-member.featured {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    background: rgb(255 255 255 / 2%);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid rgb(139 92 246 / 10%);
    transition: all 0.3s ease;
    align-items: start;
}

.crew-member.featured:hover {
    transform: translateY(-5px);
    border-color: rgb(139 92 246 / 30%);
    box-shadow: 0 10px 30px rgb(139 92 246 / 10%);
}

.crew-member.featured .crew-photo {
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, #8b5cf6, #fb923c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin: 0;
    flex-shrink: 0;
}

.crew-member.featured .crew-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.crew-member.featured h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #fff;
    text-align: left;
}

.crew-member.featured .role {
    color: #8b5cf6;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-align: left;
}

.crew-member.featured .bio {
    color: #d0d0d0;
    line-height: 1.7;
    font-size: 1.05rem;
    text-align: left;
}

/* Regular Crew Grid */
.crew-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.crew-member:not(.featured) {
    background: rgb(255 255 255 / 2%);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgb(139 92 246 / 10%);
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.crew-member:not(.featured):hover {
    transform: translateY(-5px);
    border-color: rgb(139 92 246 / 30%);
    box-shadow: 0 10px 30px rgb(139 92 246 / 10%);
}

.crew-member:not(.featured) .crew-photo {
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, #8b5cf6, #fb923c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin: 0 0 1.5rem;
    flex-shrink: 0;
}

.crew-member:not(.featured) h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #fff;
    text-align: center;
}

.crew-member:not(.featured) .role {
    color: #8b5cf6;
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 1rem;
    text-align: center;
}

.crew-member:not(.featured) .bio {
    color: #a0a0a0;
    line-height: 1.6;
    font-size: 0.95rem;
    text-align: center;
    flex-grow: 1;
}

/* Shared crew photo styles */
.crew-photo::before {
    content: '👤';
    font-size: 3rem;
    color: rgb(255 255 255 / 30%);
    position: absolute;
    z-index: 1;
}

.crew-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    z-index: 2;
}

.production-company {
    padding: 3rem;
    background: rgb(139 92 246 / 5%);
    border-radius: 12px;
    border: 1px solid rgb(139 92 246 / 20%);
}

.production-company h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #8b5cf6, #fb923c);
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: left;
}

.production-company p {
    color: #d0d0d0;
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: left;
}

/* Footer - Complete 2025 Redesign */
.footer {
    position: relative;
    background: linear-gradient(135deg, #000 0%, #1a0b2e 25%, #16213e 50%, #0f3460 75%, #000 100%);
    margin-top: 6rem;
    overflow: hidden;
}

/* Animated wave separator */
.footer-wave {
    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 1;
}

.footer-wave svg {
    width: 100%;
    height: 100%;
    animation: wave-float 6s ease-in-out infinite;
}

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

    50% { transform: translateY(-10px); }
}

/* Main footer content */
.footer-main {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding: 4rem 0 3rem;
    border-bottom: 1px solid rgb(139 92 246 / 15%);
}

/* Brand section with enhanced styling */
.footer-brand {
    max-width: 400px;
}

.footer-logo-container {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #8b5cf6, #fb923c, #06b6d4);
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    line-height: 1.1;
    position: relative;
}

.footer-logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, #8b5cf6, #fb923c);
    border-radius: 2px;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% {
        opacity: 0.6;
        transform: scaleX(1);
    }

    50% {
        opacity: 1;
        transform: scaleX(1.1);
    }
}

.footer-year {
    background: linear-gradient(45deg, #fb923c, #8b5cf6);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgb(139 92 246 / 30%);
    animation: year-glow 4s ease-in-out infinite;
}

@keyframes year-glow {
    0%, 100% { box-shadow: 0 4px 15px rgb(139 92 246 / 30%); }
    50% { box-shadow: 0 6px 25px rgb(251 146 60 / 40%); }
}

.footer-tagline {
    color: #fb923c;
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 500;
    text-shadow: 0 2px 10px rgb(251 146 60 / 30%);
}

.footer-description {
    color: #c0c0c0;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    text-align: left;
}

/* Social media links with modern design */
.footer-social {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.2rem;
    background: rgb(139 92 246 / 10%);
    border: 1px solid rgb(139 92 246 / 30%);
    border-radius: 25px;
    color: #c4b5fd;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgb(139 92 246 / 20%), transparent);
    transition: left 0.6s ease;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    background: rgb(139 92 246 / 20%);
    border-color: rgb(139 92 246 / 60%);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgb(139 92 246 / 30%);
}

.social-link svg {
    transition: transform 0.3s ease;
}

.social-link:hover svg {
    transform: scale(1.1) rotate(5deg);
}

/* Navigation section */
.footer-nav-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-nav-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #8b5cf6, #fb923c);
    border-radius: 1px;
}

.footer-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-link {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding-right: 1.5rem;
    display: block;
}

.footer-link::after {
    content: '▶';
    position: absolute;
    right: 0;
    color: #8b5cf6;
    font-size: 0.7rem;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #fff;
    padding-right: 2rem;
}

.footer-link:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* Film details section */
.footer-detail {
    margin-bottom: 1rem;
}

.detail-label {
    color: #8b5cf6;
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.3rem;
}

.detail-value {
    color: #d0d0d0;
    font-size: 0.9rem;
    line-height: 1.4;
    display: block;
}

/* Keywords cloud */
.keywords-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.keyword-tag {
    background: linear-gradient(135deg, rgb(139 92 246 / 15%), rgb(251 146 60 / 15%));
    color: #c4b5fd;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgb(139 92 246 / 20%);
    transition: all 0.3s ease;
    cursor: default;
    backdrop-filter: blur(5px);
}

.keyword-tag:hover {
    background: linear-gradient(135deg, rgb(139 92 246 / 25%), rgb(251 146 60 / 25%));
    border-color: rgb(139 92 246 / 40%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgb(139 92 246 / 20%);
}

/* Bottom section */
.footer-bottom {
    position: relative;
    z-index: 2;
    padding: 2rem 0;
    background: rgb(0 0 0 / 30%);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    text-align: center;
    width: 100%;
}

.footer-copyright {
    text-align: center;
}

.footer-copyright p {
    color: #a0a0a0;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.footer-seo {
    color: #888;
    font-size: 0.8rem;
    font-style: italic;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-legal-link {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-legal-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #8b5cf6;
    transition: width 0.3s ease;
}

.footer-legal-link:hover {
    color: #8b5cf6;
}

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

/* Floating particles for visual interest */
.footer-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, #8b5cf6, transparent);
    border-radius: 50%;
    opacity: 0.6;
}

.particle-1 {
    top: 20%;
    left: 10%;
    animation: floatParticle 8s ease-in-out infinite;
}

.particle-2 {
    top: 60%;
    right: 20%;
    animation: floatParticle 6s ease-in-out infinite reverse;
}

.particle-3 {
    bottom: 30%;
    left: 70%;
    animation: float-particle 10s ease-in-out infinite;
}

@keyframes float-particle {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }

    33% {
        transform: translateY(-20px) translateX(10px);
        opacity: 0.8;
    }

    66% {
        transform: translateY(10px) translateX(-5px);
        opacity: 0.5;
    }
}

/* Footer Responsive Design */
@media (width <= 1024px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: span 2;
        text-align: center;
        margin-bottom: 1rem;
    }

    .footer-social {
        flex-direction: row;
        justify-content: center;
        gap: 2rem;
    }
}

@media (width <= 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 0 2rem;
    }

    .footer-brand {
        grid-column: span 1;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: none; /* Remove width constraint on mobile */
        width: 100%; /* Take full width */
    }

    .footer-logo-container {
        justify-content: center;
    }

    .footer-tagline,
    .footer-description {
        text-align: center;
    }

    .footer-social {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        justify-content: center;
        width: 100%;
    }

    .footer-logo {
        font-size: 1.8rem;
    }

    .footer-nav,
    .footer-info,
    .footer-keywords {
        text-align: center;
    }

    .footer-nav-title {
        text-align: center;
    }

    .footer-nav-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-nav-list {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1rem;
    }

    .footer-nav-list li {
        width: 100%;
        max-width: 200px;
    }

    .footer-link {
        padding: 0.8rem 1rem;
        background: rgb(139 92 246 / 10%);
        border: 1px solid rgb(139 92 246 / 20%);
        border-radius: 8px;
        transition: all 0.3s ease;
        text-align: center;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .footer-link:hover {
        background: rgb(139 92 246 / 20%);
        border-color: rgb(139 92 246 / 40%);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgb(139 92 246 / 20%);
    }

    .footer-link::after {
        content: none; /* Remove the arrow for better mobile appearance */
    }

    .footer-bottom-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }

    .footer-tech {
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .keywords-cloud {
        justify-content: center;
    }

    .social-link {
        min-height: 48px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

@media (width <= 480px) {
    .footer-logo {
        font-size: 1.6rem;
    }

    .footer-main {
        padding: 2rem 0 1.5rem;
    }

    .footer-social {
        gap: 0.8rem;
    }

    .social-link {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }

    .keyword-tag {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }

    .footer-legal {
        flex-direction: column;
        gap: 0.8rem;
    }

    .footer-legal-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.5rem;
    }
}

/* Enhanced Focus States for Accessibility */
.footer-link:focus,
.social-link:focus,
.footer-legal-link:focus {
    outline: 2px solid #8b5cf6;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Print Styles for Footer */
@media print {
    .footer {
        background: none !important;
        color: #000 !important;
        border-top: 2px solid #000;
    }

    .footer-wave {
        display: none;
    }

    .footer-logo,
    .footer-nav-title {
        color: #000 !important;
    }

    .footer-link,
    .footer-description,
    .footer-seo {
        color: #000 !important;
    }
}

/* Legal Pages Styling - 2025 Design */
.legal-page {
    /* padding-top moved to main.legal-page rule above */
    min-height: 100vh;
    background: linear-gradient(135deg, #000 0%, #1a0b2e 25%, #16213e 50%, #0f3460 75%, #000 100%);
}

.legal-header {
    text-align: center;
    padding: 4rem 0 3rem;
    border-bottom: 1px solid rgb(139 92 246 / 20%);
    margin-bottom: 3rem;
    position: relative;
}

.legal-header::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #8b5cf6, #fb923c);
    border-radius: 2px;
}

.legal-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    background: linear-gradient(135deg, #fff, #8b5cf6, #fb923c);
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.legal-subtitle {
    color: #c0c0c0;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.legal-meta {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: #8b5cf6;
}

.legal-meta span {
    background: rgb(139 92 246 / 10%);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgb(139 92 246 / 20%);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-intro {
    background: rgb(139 92 246 / 5%);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #8b5cf6;
    margin-bottom: 3rem;
}

.legal-intro p {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin: 0;
}

.legal-section {
    background: rgb(255 255 255 / 2%);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgb(139 92 246 / 10%);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.legal-section:hover {
    border-color: rgb(139 92 246 / 20%);
    box-shadow: 0 5px 20px rgb(139 92 246 / 10%);
}

.legal-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgb(139 92 246 / 30%);
}

.legal-section h3 {
    font-size: 1.3rem;
    color: #fb923c;
    margin: 2rem 0 1rem;
    font-weight: 600;
}

.legal-section h4 {
    font-size: 1.1rem;
    color: #8b5cf6;
    margin: 1.5rem 0 0.5rem;
    font-weight: 600;
}

.legal-section p {
    color: #d0d0d0;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.legal-section ul {
    margin: 1rem 0 1.5rem 1.5rem;
    color: #c0c0c0;
}

.legal-section li {
    margin-bottom: 0.5rem;
    position: relative;
}

.legal-section li::marker {
    color: #8b5cf6;
}

.legal-section a {
    color: #8b5cf6;
    text-decoration: none;
    border-bottom: 1px solid rgb(139 92 246 / 30%);
    transition: all 0.3s ease;
}

.legal-section a:hover {
    color: #c4b5fd;
    border-bottom-color: rgb(196 181 253 / 60%);
}

.contact-info {
    background: rgb(251 146 60 / 10%);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #fb923c;
    margin-top: 1rem;
}

.legal-quick-links {
    background: rgb(0 0 0 / 30%);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 3rem;
    text-align: center;
}

.legal-quick-links h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.legal-quick-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.legal-quick-links a {
    background: rgb(139 92 246 / 10%);
    color: #c4b5fd;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    border: 1px solid rgb(139 92 246 / 30%);
    transition: all 0.3s ease;
    font-weight: 500;
}

.legal-quick-links a:hover {
    background: rgb(139 92 246 / 20%);
    border-color: rgb(139 92 246 / 50%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgb(139 92 246 / 20%);
}

/* Press Page Specific Styles */
.press-page .legal-header {
    background: rgb(139 92 246 / 5%);
    border-radius: 12px;
    border: 1px solid rgb(139 92 246 / 20%);
}

.press-page .legal-content {
    padding-bottom: 4rem;
}

.press-highlight {
    background: linear-gradient(135deg, rgb(139 92 246 / 20%), rgb(251 146 60 / 20%));
    padding: 1rem 2rem;
    border-radius: 25px;
    margin-top: 1.5rem;
    display: inline-block;
}

.press-email {
    color: #fff !important;
    font-weight: 600;
    border-bottom: 2px solid rgb(255 255 255 / 30%) !important;
}

.press-email:hover {
    border-bottom-color: rgb(255 255 255 / 80%) !important;
}

.press-quick-contact {
    margin-bottom: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-card {
    background: rgb(139 92 246 / 10%);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgb(139 92 246 / 20%);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgb(139 92 246 / 20%);
    border-color: rgb(139 92 246 / 40%);
}

.contact-card h3 {
    color: #fb923c;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.press-resources {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.resource-category {
    background: rgb(255 255 255 / 3%);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgb(139 92 246 / 10%);
}

.resource-category h3 {
    color: #8b5cf6;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.press-kit-access {
    background: rgb(251 146 60 / 10%);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #fb923c;
    margin-top: 2rem;
    text-align: center;
}

.film-synopsis .synopsis-content {
    background: rgb(0 0 0 / 20%);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid #8b5cf6;
}

.key-facts .facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.fact-item {
    background: rgb(139 92 246 / 10%);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgb(139 92 246 / 20%);
}

.fact-item h4 {
    color: #fb923c;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.fact-item p {
    color: #fff;
    font-weight: 500;
    margin: 0;
}

.social-links-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.social-item {
    background: rgb(139 92 246 / 5%);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgb(139 92 246 / 10%);
}

.inquiry-template {
    background: rgb(0 0 0 / 20%);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.coverage-note {
    background: rgb(251 146 60 / 10%);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #fb923c;
    margin-top: 1rem;
    font-style: italic;
}

/* Responsive Design for Legal Pages */
@media (width <= 768px) {
    main {
        padding-top: 70px; /* Smaller header on mobile */
    }

    main.legal-page {
        padding-top: 100px; /* Legal pages still need more padding on mobile */
    }

    .legal-header {
        padding: 2rem 0;
    }

    .legal-title {
        font-size: 2.5rem;
    }

    .legal-meta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .legal-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .legal-section h2 {
        font-size: 1.6rem;
    }

    .legal-section h3 {
        font-size: 1.2rem;
    }

    .legal-section h4 {
        font-size: 1rem;
    }

    .press-page .legal-content {
        padding-bottom: 3rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .press-resources {
        grid-template-columns: 1fr;
    }

    .facts-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    .legal-quick-links ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .legal-quick-links a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 280px;
    }
}

@media (width <= 480px) {
    .legal-section {
        padding: 1rem;
    }

    .legal-content {
        padding: 0 0.5rem;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .legal-title {
        font-size: 2rem;
    }

    .legal-section h2 {
        font-size: 1.4rem;
    }

    .facts-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .legal-meta span {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Mobile Menu Toggle Button */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.nav-toggle:hover {
    background-color: rgb(139 92 246 / 10%);
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #e5e5e5;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Overlay */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgb(0 0 0 / 80%);
    backdrop-filter: blur(10px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu */
.nav-menu.mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: linear-gradient(135deg, #000, #1a0b2e);
    border-left: 1px solid rgb(139 92 246 / 20%);
    z-index: 1000;
    padding: 6rem 2rem 2rem;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.nav-menu.mobile.active {
    right: 0;
}

.nav-menu.mobile .nav-link {
    display: block;
    padding: 1rem 0;
    font-size: 1.2rem;
    border-bottom: 1px solid rgb(139 92 246 / 10%);
    color: #e5e5e5;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-menu.mobile .nav-link:hover {
    color: #8b5cf6;
    padding-left: 1rem;
    border-bottom-color: rgb(139 92 246 / 30%);
}

/* Close button for mobile menu */
.nav-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: #e5e5e5;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.nav-close:hover {
    background: rgb(139 92 246 / 20%);
    color: #8b5cf6;
}

/* Responsive Design */
@media (width <= 1024px) {
    /* Tablet Crew Layout */
    .crew-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .crew-member.featured {
        grid-template-columns: 150px 1fr;
        gap: 2rem;
        padding: 2.5rem;
    }

    .crew-member.featured .crew-photo {
        width: 150px;
        height: 150px;
    }

    /* Improve tablet spacing */
    .container {
        padding: 0 1.5rem;
    }

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

    .video-container {
        max-width: 500px;
    }
}

@media (width <= 768px) {
    /* Mobile Navigation */
    .nav {
        padding: 1rem 1.5rem;
    }

    .nav-menu {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    /* Hero Section Mobile Improvements */
    .hero {
        min-height: calc(100vh - 70px); /* Account for mobile main padding-top */
        padding: 0 1rem;
    }

    .hero-content {
        max-width: 100%;
        padding: 0 1rem;
    }

    .hero-title {
        font-size: clamp(1.8rem, 8vw, 3rem);
        line-height: 1.2;
        margin-bottom: 1.5rem;
        white-space: normal;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        line-height: 1.5;
    }

    /* Video Section Mobile */
    .video-container {
        max-width: 100%;
        margin: 0 auto 1.5rem;
    }

    .play-button {
        width: 60px;
        height: 60px;
    }

    .play-icon {
        font-size: 1.5rem;
    }

    .trailer-text {
        font-size: 1rem;
    }

    /* IMDb Button Mobile */
    .imdb-container {
        margin-top: 1.5rem;
    }

    .imdb-button {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
        gap: 0.6rem;
    }

    .imdb-logo {
        font-size: 0.8rem;
        padding: 0.15rem 0.4rem;
    }

    /* Content Sections Mobile */
    .description,
    .about,
    .cast-crew {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .description h2 {
        font-size: 2rem;
    }

    .description p {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }

    /* About Section Mobile */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text p {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }

    .mood-board {
        grid-template-columns: 1fr;
        gap: 1rem;
        height: auto;
    }

    .mood-item {
        height: 150px;
        min-height: 150px;
    }

    .mood-item:nth-child(3) {
        grid-column: span 1;
    }

    /* Cast & Crew Mobile - CLEAN REBUILD */
    .cast-crew {
        padding: 4rem 0;
    }

    .featured-crew {
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .crew-member.featured {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
        text-align: center;
    }

    .crew-member.featured .crew-photo {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }

    .crew-member.featured .crew-info {
        text-align: center;
    }

    .crew-member.featured h3,
    .crew-member.featured .role,
    .crew-member.featured .bio {
        text-align: center;
    }

    .crew-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .crew-member:not(.featured) {
        padding: 1.5rem;
    }

    .crew-member:not(.featured) .crew-photo {
        width: 100px;
        height: 100px;
        margin-bottom: 1rem;
    }

    .production-company {
        padding: 2rem;
        margin-top: 2rem;
    }

    .production-company h3 {
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .production-company p {
        text-align: center;
    }

    /* Layout Improvements */
    .container {
        padding: 0 1rem;
    }

    .scroll-indicator {
        bottom: 1rem;
    }
}

@media (width <= 480px) {
    /* Extra Small Mobile Devices */
    .nav {
        padding: 0.8rem 1rem;
    }

    .nav-brand {
        font-size: 1.3rem;
    }

    .nav-menu.mobile {
        width: 100%;
        right: -100%;
    }

    /* Hero Section for Small Screens */
    .hero {
        padding: 0 0.5rem;
    }

    .hero-content {
        padding: 0 0.5rem;
    }

    .hero-title {
        font-size: clamp(1.5rem, 7vw, 2.5rem);
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    /* Video adjustments for very small screens */
    .play-button {
        width: 50px;
        height: 50px;
    }

    .play-icon {
        font-size: 1.2rem;
    }

    .trailer-text {
        font-size: 0.9rem;
    }

    /* IMDb Button for Small Mobile */
    .imdb-container {
        margin-top: 1rem;
    }

    .imdb-button {
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
        gap: 0.5rem;
    }

    .imdb-logo {
        font-size: 0.75rem;
        padding: 0.1rem 0.3rem;
    }

    /* Content sections for small screens */
    .description,
    .about,
    .cast-crew {
        padding: 2.5rem 0;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .description h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .description p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .description .emphasis {
        font-size: 1.1rem;
    }

    /* Cast & Crew for small screens - CLEAN */
    .cast-crew {
        padding: 2.5rem 0;
    }

    .crew-member.featured {
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .crew-member.featured .crew-photo {
        width: 120px;
        height: 120px;
    }

    .crew-member:not(.featured) {
        padding: 1rem;
    }

    .crew-member:not(.featured) .crew-photo {
        width: 80px;
        height: 80px;
    }

    .crew-member h3 {
        font-size: 1.3rem;
    }

    .crew-member .bio {
        font-size: 0.9rem;
    }

    .production-company {
        padding: 1.5rem;
    }

    .production-company h3 {
        font-size: 1.5rem;
    }

    .production-company p {
        font-size: 1rem;
    }

    /* Layout for very small screens */
    .container {
        padding: 0 0.75rem;
    }

    .mood-item {
        height: 120px;
        min-height: 120px;
    }

    .scroll-indicator {
        display: none; /* Hide on very small screens to save space */
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets for mobile */
    .nav-link,
    .play-button,
    .crew-member {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-menu.mobile .nav-link {
        padding: 1.5rem 0;
        min-height: 56px;
    }

    .play-button {
        width: 70px;
        height: 70px;
    }

    /* Improve hover states for touch devices */
    .crew-member:hover {
        transform: none;
        box-shadow: 0 5px 15px rgb(139 92 246 / 15%);
    }
}

/* Landscape mobile orientation */
@media (width <= 768px) and (orientation: landscape) {
    .hero {
        height: 100vh;
        padding: 0 1rem;
    }

    .hero-content {
        padding: 0 2rem;
    }

    .hero-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .video-container {
        max-width: 400px;
    }

    .scroll-indicator {
        bottom: 0.5rem;
    }
}

/* Performance optimizations for mobile */
@media (width <= 768px) {
    /* Reduce complex animations on mobile for better performance */
    .hero-background {
        background-attachment: scroll; /* Remove parallax on mobile */
    }

    /* Simplify animations for mobile */
    .crew-member:hover {
        transform: none;
        box-shadow: 0 3px 10px rgb(139 92 246 / 15%);
    }

    .mood-item:hover {
        transform: none;
    }

    .mood-item:hover .mood-image {
        transform: rotate(-1deg);
    }

    /* Reduce footer particles on mobile */
    .footer-particles {
        display: none;
    }

    /* Optimize font sizes for mobile readability */
    .hero-title {
        line-height: 1.2;
        text-rendering: optimizelegibility;
    }

    /* Better mobile typography */
    body {
        font-size: 16px; /* Ensure 16px minimum for mobile */
        line-height: 1.6;
    }

    /* Mobile-specific button improvements */
    .play-button {
        -webkit-tap-highlight-color: transparent;
        user-select: none;
    }
}

/* Additional accessibility improvements */
@media (width <= 768px) {
    /* Improve focus indicators for mobile */
    .nav-toggle:focus,
    .nav-close:focus {
        outline: 3px solid #8b5cf6;
        outline-offset: 2px;
    }

    /* Better spacing for touch targets */
    .footer-link,
    .nav-menu.mobile .nav-link {
        min-height: 48px;
        display: flex;
        align-items: center;
    }

    /* Prevent zoom on input focus (if any forms are added later) */
    input, select, textarea {
        font-size: 16px;
    }

    /* Improve readability */
    .description p,
    .about-text p {
        text-align: left;
        hyphens: auto;
        overflow-wrap: break-word;
    }

    .crew-member .bio {
        text-align: center; /* Center bio text on mobile */
        hyphens: auto;
        overflow-wrap: break-word;
    }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .nav-toggle span,
    .nav-overlay,
    .nav-menu.mobile,
    .crew-member,
    .mood-item,
    .social-link {
        transition: none !important;
    }

    .hero-background {
        background-attachment: scroll;
    }

    .scroll-indicator {
        animation: none;
    }
}

/* High contrast mode support for mobile */
@media (prefers-contrast: more) and (width <= 768px) {
    .nav-toggle span {
        background: #fff;
        box-shadow: 0 0 2px #000;
    }

    .nav-menu.mobile {
        background: #000;
        border: 2px solid #fff;
    }

    .play-button {
        border: 3px solid #fff;
        background: rgb(0 0 0 / 80%);
    }
}

/* Dark mode considerations for mobile */
@media (prefers-color-scheme: dark) and (width <= 768px) {
    .nav-menu.mobile {
        background: linear-gradient(135deg, #000, #1a0b2e);
    }
}

/* Print styles for mobile */
@media print {
    .nav-toggle,
    .nav-overlay,
    .nav-menu.mobile,
    .play-button,
    .scroll-indicator {
        display: none !important;
    }
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
    .hero {
        min-height: -webkit-fill-available;
    }

    .nav-menu.mobile {
        height: -webkit-fill-available;
    }
}

/* Android Chrome specific fixes */
@media screen and (width <= 768px) {
    .hero {
        min-height: 100vh;
        min-height: calc(var(--vh, 1vh) * 100);
    }
}

/* SEO and Accessibility Improvements */

/* Focus styles for accessibility */
.nav-link:focus,
.play-button:focus {
    outline: 2px solid #8b5cf6;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Skip to main content link for screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #8b5cf6;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 9999;
}

.skip-link:focus {
    top: 6px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: more) {
    .nav-link,
    .hero-title,
    .section-title {
        text-shadow: 1px 1px 2px rgb(0 0 0 / 80%);
    }
}

/* Improve image loading */
.crew-image,
.mood-image,
.video-background {
    object-fit: cover;
}

/* Print styles for better document printing */
@media print {
    .header,
    .scroll-indicator,
    .play-button {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }

    .hero-title,
    .section-title {
        color: #000;
    }
}
