/* SEO and Accessibility Utilities */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip to main content link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 10000;
    transition: var(--transition);
}

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

/* Enhanced focus styles for accessibility */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.3);
}

input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.3);
}

/* SEO optimized hero subtitle styling */
.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
    line-height: 1.7;
    font-weight: 400;
}

/* Enhanced quick search styling */
#popular-searches {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Footer legal links styling */
.footer-bottom nav {
    margin-top: 1rem;
    text-align: center;
}

.footer-bottom nav a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 0.5rem;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-bottom nav a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Enhanced search suggestions for better UX */
.search-suggestions[role="listbox"] {
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.suggestion-item[role="option"] {
    cursor: pointer;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.suggestion-item[role="option"]:hover,
.suggestion-item[role="option"]:focus {
    background: rgba(99, 102, 241, 0.1);
    transform: translateX(5px);
    outline: none;
}

/* Enhanced loading states */
.loading-spinner[aria-live="polite"] p {
    font-weight: 500;
    color: var(--text-muted);
    margin-top: 1rem;
    font-size: 1rem;
}

/* Improved article styling for feature cards */
.feature-card[role="article"] {
    scroll-margin-top: 100px; /* For smooth scroll navigation */
}

/* Enhanced statistics section */
.stats[role="group"] {
    margin-top: 2.5rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Performance optimization - will-change for animations */
.floating-icons i,
.globe,
.orbit {
    will-change: transform;
}

.search-btn:hover,
.feature-card:hover,
.quick-btn:hover {
    will-change: transform, box-shadow;
}

/* Print styles for SEO */
@media print {
    .bg-animation,
    .floating-icons,
    .search-form,
    .quick-search {
        display: none !important;
    }
    
    .hero-title,
    .section-title {
        color: #000 !important;
    }
    
    body {
        background: white !important;
        color: #000 !important;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-icons i {
        animation: none;
    }
    
    .typing-text {
        animation: none;
        border-right: none;
    }
    
    .gradient-text {
        animation: none;
    }
}

:root {
    --primary-color: #6366F1;
    --primary-rgb: 99, 102, 241;
    --secondary-color: #221f1f;
    --accent-color: #f5f5f1;
    --dark-bg: #141414;
    --card-bg: #1a1a1a;
    --text-light: #ffffff;
    --text-muted: #b3b3b3;
    --gradient: linear-gradient(135deg, #6366F1, #4F46E5);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.4);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Background Animation */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background: linear-gradient(45deg, #141414, #1a1a1a, #0f0f0f);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-icons i {
    position: absolute;
    font-size: 2rem;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
    color: var(--primary-color);
}

.floating-icons i:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.floating-icons i:nth-child(2) { top: 20%; right: 15%; animation-delay: 1s; }
.floating-icons i:nth-child(3) { bottom: 30%; left: 20%; animation-delay: 2s; }
.floating-icons i:nth-child(4) { bottom: 20%; right: 10%; animation-delay: 3s; }
.floating-icons i:nth-child(5) { top: 50%; left: 80%; animation-delay: 4s; }
.floating-icons i:nth-child(6) { top: 70%; left: 50%; animation-delay: 5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo i {
    font-size: 2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

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

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

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    animation: shimmer 2s infinite linear;
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.typing-text {
    display: block;
    color: var(--text-light);
    overflow: hidden;
    border-right: 3px solid var(--primary-color);
    white-space: nowrap;
    animation: typing 3s steps(20, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--primary-color); }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

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

/* Search Container */
.search-container {
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease 1s forwards;
}

.search-form {
    position: relative;
}

.search-input-wrapper {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 0.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.search-input-wrapper:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

.search-input {
    flex: 1;
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-light);
    font-size: 1rem;
    font-family: inherit;
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-btn {
    background: var(--gradient);
    border: none;
    padding: 1rem 2rem;
    border-radius: calc(var(--border-radius) - 4px);
    color: var(--text-light);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow: hidden;
    position: relative;
}

.search-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
}

.search-btn:hover::before {
    left: 100%;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.search-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3);
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border-radius: var(--border-radius);
    margin-top: 0.5rem;
    box-shadow: var(--shadow);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.suggestion-item {
    padding: 1rem 1.5rem;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.suggestion-item:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: translateX(5px);
}

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

/* Quick Search */
.quick-search {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease 1.5s forwards;
}

.quick-search span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.quick-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    color: var(--text-light);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.quick-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

/* Results Section */
.results-section {
    padding: 4rem 0;
    min-height: 50vh;
    display: none;
}

.results-section.active {
    display: block;
}

.loading-spinner {
    text-align: center;
    padding: 4rem 0;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(99, 102, 241, 0.3);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    margin: 0 auto 1rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.movie-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.movie-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.movie-header {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    align-items: flex-start;
}

.movie-poster {
    width: 150px;
    height: 225px;
    border-radius: var(--border-radius);
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(45deg, #333, #555);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 3rem;
}

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

.movie-info {
    flex: 1;
}

.movie-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.movie-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.meta-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.movie-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.platforms-section {
    padding: 0 2rem 2rem;
}

.platforms-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.platform-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

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

.platform-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.platform-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.platform-icon.netflix { background: #e50914; }
.platform-icon.amazon { background: #00a8e1; }
.platform-icon.hulu { background: #1ce783; }
.platform-icon.disney { background: #113cce; }
.platform-icon.other { background: #666; }

.platform-name {
    font-weight: 600;
    color: var(--text-light);
}

.countries-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.country-tag {
    background: var(--gradient);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: white;
    font-weight: 500;
    animation: slideInUp 0.3s ease;
}

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

.no-availability {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: linear-gradient(45deg, rgba(99, 102, 241, 0.05), transparent);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.feature-card {
    background: var(--card-bg);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: var(--transition);
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
}

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

.about-text h2 {
    margin-bottom: 2rem;
    text-align: left;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.globe-container {
    position: relative;
    width: 300px;
    height: 300px;
}

.globe {
    width: 200px;
    height: 200px;
    background: var(--gradient);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.orbit {
    position: absolute;
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.orbit-1 {
    width: 250px;
    height: 250px;
    animation: orbit 8s linear infinite;
}

.orbit-2 {
    width: 280px;
    height: 280px;
    animation: orbit 12s linear infinite reverse;
}

.orbit-3 {
    width: 310px;
    height: 310px;
    animation: orbit 15s linear infinite;
}

@keyframes orbit {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Footer */
.footer {
    background: var(--secondary-color);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section {
    padding: 0 1rem;
}

.footer-section h4 {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
    line-height: 1.5;
}

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

.footer-section p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-section .logo {
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1.2rem;
    margin-top: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.footer-bottom nav {
    margin-top: 1rem;
}

/* Responsive Design - Enhanced Mobile Support */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
        padding: 0 20px;
    }
    
    .nav {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero {
        padding-top: 140px;
        padding-bottom: 4rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .search-container {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .search-input-wrapper {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .search-input {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 1rem;
        border-radius: 12px;
    }
    
    .search-btn {
        justify-content: center;
        width: 100%;
        padding: 1.2rem;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .movie-header {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .movie-poster {
        margin: 0 auto 1.5rem auto;
        max-width: 200px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .about-visual {
        order: 1;
        margin-bottom: 2rem;
    }
    
    .about-text {
        order: 2;
    }
    
    .stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .stat {
        min-width: 120px;
        text-align: center;
    }
    
    .platforms-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-card {
        padding: 2.5rem 2rem;
        text-align: center;
    }
    
    .feature-icon {
        margin-bottom: 1.5rem;
    }
    
    .quick-search {
        flex-direction: column;
        align-items: center;
    }
    
    .footer {
        padding: 3rem 0 1.5rem;
        margin-top: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 2rem;
    }
    
    .footer-section {
        text-align: center;
        padding: 0;
    }
    
    .footer-section h4 {
        font-size: 1.2rem;
        margin-bottom: 1.2rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Extra Small Devices (320px to 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
        max-width: 100%;
    }
    
    .header {
        padding: 1rem 0;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .nav {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .hero {
        padding-top: 160px;
        padding-bottom: 3rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 2rem;
        padding: 0 10px;
    }
    
    .search-input {
        font-size: 16px;
        padding: 1rem 0.8rem;
    }
    
    .search-btn {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .search-btn span {
        display: none;
    }
    
    .search-btn i {
        margin-right: 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 1.5rem;
        padding: 0 10px;
    }
    
    .movie-title {
        font-size: 1.3rem;
        line-height: 1.4;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
        margin-bottom: 1rem;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .movie-header {
        padding: 1.5rem 1rem;
    }
    
    .platforms-section {
        padding: 0 1rem 1.5rem;
    }
    
    .stat {
        min-width: 100px;
        margin-bottom: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .footer {
        padding: 2.5rem 0 1rem;
    }
    
    .footer-content {
        gap: 2rem;
    }
    
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .footer-section p,
    .footer-section li a {
        font-size: 0.85rem;
        line-height: 1.6;
    }
    
    .footer-bottom {
        padding-top: 2rem;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
        line-height: 1.6;
    }
    
    .footer-bottom nav {
        font-size: 0.8rem;
    }
    
    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Fix for horizontal scrolling */
    .search-suggestions {
        max-width: calc(100vw - 30px);
        left: 0;
        right: 0;
    }
    
    .floating-icons {
        display: none; /* Hide on very small screens for performance */
    }
}

/* Extra Small Devices (280px to 320px) - Older smartphones */
@media (max-width: 320px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 1.6rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
        padding: 0 5px;
    }
    
    .search-input, .search-btn {
        font-size: 14px;
        padding: 0.9rem 0.7rem;
    }
    
    .section-title {
        font-size: 1.6rem;
        padding: 0 5px;
    }
    
    .feature-card {
        padding: 1.5rem 1rem;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
    }
    
    .footer-section p,
    .footer-section li a {
        font-size: 0.8rem;
    }
}

/* Landscape orientation optimization for mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding-top: 100px;
        padding-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .search-container {
        margin-bottom: 2rem;
    }
}

/* Touch-friendly interactive elements for mobile */
@media (pointer: coarse) {
    .search-btn,
    .nav-link,
    .social-links a,
    .footer-section a {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .search-input {
        min-height: 44px;
        padding: 12px 16px;
    }
    
    .suggestion-item {
        min-height: 48px;
        padding: 12px 16px;
    }
}

/* High DPI displays optimization */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo i,
    .feature-icon i,
    .social-links a i {
        transform: translateZ(0);
        -webkit-font-smoothing: antialiased;
    }
}
