/* ========================================
   MOBILE RESPONSIVE STYLES - COMPLETE SITE
   ======================================== */

/* ==================== BASE MOBILE STYLES ==================== */
@media (max-width: 767px) {
    
    /* Global fixes */
    html {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
        position: relative !important;
    }
    
    body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
        position: relative !important;
    }
    
    body.menu-open,
    body.sidebar-open {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
        height: 100% !important;
        height: 100dvh !important;
    }

    /* Container */
    .container {
        padding: 0 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        overflow-x: hidden !important;
    }

    /* Typography */
    body {
        font-size: 14px;
    }

    h1 {
        font-size: 1.8rem !important;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    h3 {
        font-size: 1.2rem !important;
    }

    /* ==================== HEADER & NAVIGATION ==================== */

    /* Hide desktop nav */
    header nav {
        display: none !important;
    }
    
    /* Header düzeltmeleri */
    header {
        position: sticky !important;
        top: 0 !important;
        z-index: 10000 !important;
        width: 100% !important;
        max-width: 100vw !important;
    }
    
    .navbar {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
    }

    /* Show mobile menu toggle with High Z-Index */
    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        width: 45px;
        height: 45px;
        min-width: 45px;
        min-height: 45px;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        cursor: pointer;
        padding: 10px;
        z-index: 10002;
        position: relative;
        transition: all 0.3s ease;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .mobile-menu-toggle:active,
    .mobile-menu-toggle:focus {
        transform: scale(0.95);
        background: rgba(229, 9, 20, 0.3);
        outline: none;
    }
    
    .mobile-menu-toggle.active {
        background: rgba(229, 9, 20, 0.4);
    }

    .mobile-menu-toggle span {
        width: 100%;
        height: 3px;
        background: white;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
        background: var(--primary-color);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
        background: var(--primary-color);
    }

    /* Premium Mobile Menu Drawer */
    .mobile-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 350px;
        height: 100vh;
        height: 100dvh; /* Dynamic viewport height for mobile */
        background: rgba(15, 15, 20, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 10001;
        transition: right 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
        overflow-y: auto;
        overflow-x: hidden;
        padding: 80px 20px 40px;
        box-shadow: -10px 0 50px rgba(0, 0, 0, 0.8);
        border-left: 1px solid rgba(255, 255, 255, 0.05);
        -webkit-overflow-scrolling: touch;
    }
    
    .mobile-menu.active {
        right: 0 !important;
    }

    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
        z-index: 10000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        pointer-events: none;
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .mobile-menu ul {
        list-style: none;
        padding: 0;
        margin: 0;
        width: 100%;
    }

    .mobile-menu li {
        margin-bottom: 5px;
        width: 100%;
    }

    .mobile-menu a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 15px;
        color: white;
        text-decoration: none;
        border-radius: 8px;
        transition: all 0.3s ease;
        font-size: 16px;
        min-height: 50px;
        -webkit-tap-highlight-color: rgba(229, 9, 20, 0.3);
    }
    
    .mobile-menu a i {
        width: 20px;
        text-align: center;
        color: var(--primary-color);
    }

    .mobile-menu a:hover,
    .mobile-menu a.active {
        background: var(--primary-color);
        transform: translateX(5px);
    }
    
    .mobile-menu a.active i {
        color: white;
    }

    /* Header adjustments */
    header {
        padding: 15px 0 !important;
    }

    .navbar {
        justify-content: space-between !important;
    }

    .logo {
        font-size: 1.5rem !important;
    }

    /* Hide search on mobile */
    .search-container {
        display: none !important;
    }

    /* ==================== HERO SLIDER ==================== */

    .hero-slider-container {
        height: 50vh !important;
        min-height: 400px !important;
    }

    .hero-slide {
        height: 50vh !important;
    }

    .hero-content {
        padding: 20px !important;
    }

    .hero-title {
        font-size: 1.8rem !important;
        margin-bottom: 10px !important;
    }

    .hero-desc {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        max-height: 60px !important;
        overflow: hidden !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
    }

    .hero-meta {
        font-size: 0.85rem !important;
        margin-bottom: 15px !important;
    }

    .hero-btns {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .hero-btns .btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 12px 20px !important;
        font-size: 0.9rem !important;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 35px !important;
        height: 35px !important;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 18px !important;
    }

    /* ==================== GENRE PILLS ==================== */

    .genre-pills-container {
        padding: 10px 0 !important;
    }

    .genre-scroll {
        gap: 8px !important;
        padding: 0 15px !important;
    }

    .genre-pill {
        padding: 8px 15px !important;
        font-size: 0.85rem !important;
        white-space: nowrap !important;
    }

    /* ==================== MOVIE GRIDS ==================== */

    .movie-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    .movie-card {
        margin-bottom: 0 !important;
    }

    .movie-title {
        font-size: 0.9rem !important;
    }

    .movie-meta {
        font-size: 0.75rem !important;
    }

    /* ==================== FEATURED SLIDER ==================== */

    .featured-card {
        width: 150px !important;
    }

    .featured-slider-section {
        margin-top: 30px !important;
    }

    .section-title {
        font-size: 1.3rem !important;
        margin-bottom: 20px !important;
    }

    /* ==================== VIDEO PLAYER (MOVIE PAGE) ==================== */

    .premium-player-wrapper {
        padding: 10px !important;
        margin-bottom: 20px !important;
        border-radius: 12px !important;
    }

    .premium-player-tabs {
        gap: 8px !important;
        flex-wrap: wrap !important;
    }

    .premium-tab {
        padding: 10px 16px !important;
        font-size: 0.85rem !important;
        flex: 1 1 calc(50% - 4px) !important;
        min-width: calc(50% - 4px) !important;
        justify-content: center !important;
    }

    .premium-tab i {
        font-size: 0.9rem !important;
    }

    .premium-player-container {
        border-radius: 8px !important;
    }

    /* Movie Info Card */
    .movie-info-card {
        padding: 20px !important;
        margin-bottom: 30px !important;
    }

    .movie-title-main {
        font-size: 2rem !important;
        margin-bottom: 15px !important;
    }

    .movie-meta-row {
        gap: 15px !important;
        flex-wrap: wrap !important;
    }

    .meta-item {
        font-size: 0.9rem !important;
    }

    .rating-badge {
        font-size: 0.95rem !important;
        padding: 6px 12px !important;
    }

    .genre-tags {
        gap: 8px !important;
    }

    .genre-tag {
        padding: 6px 12px !important;
        font-size: 0.8rem !important;
    }

    .movie-overview {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }

    /* Cast Section */
    .premium-cast-section {
        margin-top: 40px !important;
    }

    .section-title-premium {
        font-size: 1.5rem !important;
        margin-bottom: 20px !important;
    }

    .cast-carousel {
        gap: 15px !important;
    }

    .cast-card {
        min-width: 120px !important;
    }

    .cast-image {
        border-radius: 8px !important;
    }

    .cast-name {
        font-size: 0.85rem !important;
    }

    .cast-character {
        font-size: 0.75rem !important;
    }

    /* Similar Movies */
    .premium-similar-section {
        margin-top: 40px !important;
    }

    .premium-movie-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    /* ==================== ROBOT PAGE ==================== */

    .robot-interface-wrapper {
        padding: 20px 0 !important;
    }

    .dashboard-header {
        padding: 20px !important;
    }

    .neon-title {
        font-size: 1.8rem !important;
    }

    .cockpit-panel {
        padding: 20px !important;
    }

    .cockpit-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .mood-selector {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .mood-card {
        padding: 15px !important;
    }

    .controls-row {
        flex-direction: column !important;
        gap: 15px !important;
    }

    .hud-select {
        width: 100% !important;
        font-size: 0.9rem !important;
    }

    .hud-submit-btn {
        padding: 15px !important;
        font-size: 1rem !important;
    }

    /* ==================== SIDEBAR ==================== */

    .sidebar {
        display: none !important;
        position: fixed !important;
        top: 0 !important;
        left: -100% !important;
        width: 85% !important;
        max-width: 350px !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: rgba(15, 15, 20, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        z-index: 10002 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        padding: 60px 20px 40px !important;
        box-shadow: 2px 0 50px rgba(0, 0, 0, 0.8) !important;
        border-right: 1px solid rgba(255, 255, 255, 0.05) !important;
        transition: left 0.4s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    .sidebar.active {
        display: block !important;
        left: 0 !important;
    }
    
    .sidebar-close-btn {
        display: flex !important;
        position: absolute !important;
        top: 15px !important;
        right: 15px !important;
        width: 40px !important;
        height: 40px !important;
        background: rgba(229, 9, 20, 0.2) !important;
        border: 1px solid rgba(229, 9, 20, 0.3) !important;
        border-radius: 50% !important;
        color: white !important;
        font-size: 1.2rem !important;
        cursor: pointer !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 10003 !important;
        -webkit-tap-highlight-color: transparent !important;
    }
    
    .sidebar-close-btn:active {
        transform: scale(0.9) !important;
        background: rgba(229, 9, 20, 0.4) !important;
    }

    .main-content {
        width: 100% !important;
        padding: 0 !important;
    }
    
    /* Sidebar overlay */
    .sidebar-overlay {
        display: none !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        height: 100dvh !important;
        background: rgba(0, 0, 0, 0.8) !important;
        backdrop-filter: blur(3px) !important;
        -webkit-backdrop-filter: blur(3px) !important;
        z-index: 10001 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: opacity 0.3s ease, visibility 0.3s ease !important;
        pointer-events: none !important;
    }
    
    .sidebar-overlay.active {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    /* ==================== FOOTER ==================== */

    footer {
        padding: 30px 0 20px !important;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .footer-col h3 {
        font-size: 1.1rem !important;
        margin-bottom: 15px !important;
    }

    .footer-col ul li {
        margin-bottom: 10px !important;
    }

    .footer-col a {
        font-size: 0.9rem !important;
    }

    .footer-bottom {
        flex-direction: column !important;
        gap: 15px !important;
        text-align: center !important;
    }

    .social-links {
        justify-content: center !important;
    }

    /* ==================== BROWSE PAGE ==================== */

    .browse-header {
        padding: 20px 15px !important;
    }

    .browse-title {
        font-size: 1.5rem !important;
    }

    .filter-bar {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .filter-bar select {
        width: 100% !important;
    }

    /* ==================== BUTTONS & FORMS ==================== */

    .btn {
        padding: 12px 20px !important;
        font-size: 0.9rem !important;
        min-height: 44px !important;
        /* Touch-friendly */
    }

    input[type="text"],
    input[type="email"],
    textarea,
    select {
        font-size: 16px !important;
        /* Prevent zoom on iOS */
        padding: 12px !important;
        min-height: 44px !important;
    }

    /* ==================== UTILITIES ==================== */

    .mt-section {
        margin-top: 30px !important;
    }

    .mb-section {
        margin-bottom: 30px !important;
    }

    /* Hide elements on mobile */
    .desktop-only {
        display: none !important;
    }

    /* Show elements only on mobile */
    .mobile-only {
        display: block !important;
    }
}

/* ==================== TABLET STYLES (768px - 1023px) ==================== */
@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        padding: 0 30px !important;
    }

    .movie-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px !important;
    }

    .premium-movie-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .hero-title {
        font-size: 2.5rem !important;
    }

    .premium-tab {
        flex: 0 1 auto !important;
        min-width: auto !important;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ==================== LARGE TABLET/SMALL DESKTOP ==================== */
@media (min-width: 1024px) {

    /* Hide mobile menu on desktop */
    .mobile-menu-toggle {
        display: none !important;
    }

    .mobile-menu,
    .mobile-menu-overlay {
        display: none !important;
    }

    .mobile-only {
        display: none !important;
    }

    .desktop-only {
        display: block !important;
    }
}

/* ==================== TOUCH OPTIMIZATIONS ==================== */
@media (hover: none) and (pointer: coarse) {

    /* Touch device optimizations */
    a,
    button {
        min-height: 44px !important;
        min-width: 44px !important;
    }

    .movie-card:active {
        transform: scale(0.98);
    }

    .btn:active {
        transform: scale(0.95);
    }
}

/* ==================== LANDSCAPE MOBILE ==================== */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-slider-container {
        height: 70vh !important;
    }

    .hero-slide {
        height: 70vh !important;
    }
}

/* ==================== SMALL MOBILE (320px - 374px) ==================== */
@media (max-width: 374px) {
    .logo {
        font-size: 1.2rem !important;
    }

    .hero-title {
        font-size: 1.5rem !important;
    }

    .movie-grid {
        gap: 10px !important;
    }

    .premium-tab {
        padding: 8px 12px !important;
        font-size: 0.75rem !important;
    }

    .genre-pill {
        padding: 6px 12px !important;
        font-size: 0.75rem !important;
    }
}

/* ==================== ADDITIONAL MOBILE FIXES ==================== */
@media (max-width: 767px) {
    
    /* ==================== VIEWPORT & BASE FIXES ==================== */
    html {
        -webkit-text-size-adjust: 100% !important;
        -ms-text-size-adjust: 100% !important;
    }
    
    body {
        overflow-x: hidden !important;
        width: 100% !important;
        position: relative !important;
        -webkit-font-smoothing: antialiased !important;
    }
    
    * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* ==================== CONTAINER FIXES ==================== */
    .container {
        padding: 0 15px !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        width: 100% !important;
    }
    
    /* ==================== HEADER & NAVIGATION IMPROVEMENTS ==================== */
    header {
        position: sticky !important;
        top: 0 !important;
        z-index: 10000 !important;
        width: 100% !important;
        padding: 10px 0 !important;
    }
    
    .navbar {
        flex-wrap: nowrap !important;
        gap: 10px !important;
        align-items: center !important;
        width: 100% !important;
    }
    
    .logo {
        font-size: 1.3rem !important;
        flex: 0 0 auto !important;
        white-space: nowrap !important;
    }
    
    .mobile-menu-toggle {
        flex-shrink: 0 !important;
        order: 2 !important;
    }
    
    /* ==================== SEARCH CONTAINER ==================== */
    .search-container {
        display: none !important;
    }
    
    /* Mobile Search Button */
    .mobile-search-toggle {
        display: flex !important;
        width: 45px;
        height: 45px;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        align-items: center;
        justify-content: center;
        color: white;
        cursor: pointer;
        z-index: 10001;
    }
    
    /* ==================== HERO SLIDER MOBILE ==================== */
    .hero-slider-container {
        height: 50vh !important;
        min-height: 300px !important;
        max-height: 400px !important;
        margin-bottom: 20px !important;
    }
    
    .hero-slide {
        height: 100% !important;
    }
    
    .hero-content {
        max-width: 100% !important;
        padding: 15px !important;
        justify-content: flex-end !important;
        padding-bottom: 30px !important;
    }
    
    .hero-title {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
        margin-bottom: 10px !important;
    }
    
    .hero-desc {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        max-height: 60px !important;
        -webkit-line-clamp: 2 !important;
        margin-bottom: 15px !important;
    }
    
    .hero-meta {
        font-size: 0.8rem !important;
        gap: 10px !important;
        margin-bottom: 15px !important;
        flex-wrap: wrap !important;
    }
    
    .hero-btns {
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
    }
    
    .hero-btns .btn {
        width: 100% !important;
        padding: 12px 20px !important;
        font-size: 0.9rem !important;
        justify-content: center !important;
    }
    
    /* ==================== MOVIE HERO SECTION ==================== */
    .movie-hero {
        min-height: auto !important;
        padding-top: 70px !important;
        background-attachment: scroll !important;
        padding-bottom: 20px !important;
    }
    
    .movie-hero-content {
        padding: 0 15px !important;
        width: 100% !important;
    }
    
    .premium-player-wrapper {
        padding: 15px !important;
        margin-bottom: 20px !important;
    }
    
    .premium-player-tabs {
        flex-wrap: wrap !important;
        gap: 8px !important;
        margin-bottom: 15px !important;
    }
    
    .premium-tab {
        flex: 1 1 calc(50% - 4px) !important;
        min-width: calc(50% - 4px) !important;
        padding: 10px 12px !important;
        font-size: 0.8rem !important;
        justify-content: center !important;
    }
    
    .premium-tab i {
        font-size: 0.85rem !important;
    }
    
    .premium-player-container {
        aspect-ratio: 16/9 !important;
        min-height: 200px !important;
        max-height: 250px !important;
    }
    
    .movie-info-card {
        padding: 20px !important;
        margin-bottom: 20px !important;
    }
    
    .movie-title-main {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
        margin-bottom: 15px !important;
    }
    
    .movie-meta-row {
        gap: 10px !important;
        flex-wrap: wrap !important;
        margin-bottom: 15px !important;
    }
    
    .meta-item {
        font-size: 0.85rem !important;
    }
    
    .rating-badge {
        font-size: 0.9rem !important;
        padding: 6px 12px !important;
    }
    
    .genre-tags {
        gap: 6px !important;
        margin-bottom: 15px !important;
    }
    
    .genre-tag {
        padding: 6px 12px !important;
        font-size: 0.8rem !important;
    }
    
    .movie-overview {
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
    }
    
    /* ==================== HALL OF FAME SECTION ==================== */
    .hall-of-fame-hero {
        min-height: 50vh !important;
        padding: 20px !important;
        margin-bottom: 20px !important;
        background-size: cover !important;
        background-position: center !important;
    }
    
    .hof-content {
        padding: 20px !important;
    }
    
    .hof-title {
        font-size: 1.5rem !important;
        margin-bottom: 10px !important;
    }
    
    .hof-desc {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        margin-bottom: 15px !important;
    }
    
    .hof-badge {
        font-size: 0.8rem !important;
        padding: 6px 12px !important;
        margin-bottom: 10px !important;
    }
    
    .hof-meta {
        font-size: 0.85rem !important;
        gap: 10px !important;
        margin-bottom: 15px !important;
        flex-wrap: wrap !important;
    }
    
    /* ==================== IMAGES RESPONSIVE ==================== */
    img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .movie-poster {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 2/3 !important;
        object-fit: cover !important;
    }
    
    .cast-image {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 2/3 !important;
    }
    
    .premium-movie-card img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 2/3 !important;
    }
    
    /* ==================== MOVIE GRID IMPROVEMENTS ==================== */
    .movie-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 10px 0 !important;
    }
    
    .movie-card {
        margin-bottom: 0 !important;
        width: 100% !important;
    }
    
    .movie-card a {
        display: block !important;
        width: 100% !important;
    }
    
    .movie-title {
        font-size: 0.9rem !important;
        line-height: 1.3 !important;
        margin-bottom: 5px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        display: block !important;
    }
    
    .movie-meta {
        font-size: 0.75rem !important;
        gap: 8px !important;
        flex-wrap: wrap !important;
    }
    
    .card-badges {
        top: 5px !important;
        left: 5px !important;
        right: 5px !important;
    }
    
    .badge-quality,
    .badge-lang {
        font-size: 0.65rem !important;
        padding: 3px 6px !important;
    }
    
    /* ==================== PREMIUM MOVIE GRID ==================== */
    .premium-movie-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    /* ==================== PAGINATION ==================== */
    .pagination {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        align-items: center !important;
        margin-top: 30px !important;
    }
    
    .pagination .btn {
        width: 100% !important;
        max-width: 250px !important;
        padding: 12px 20px !important;
    }
    
    /* ==================== SECTION HEADERS ==================== */
    .section-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
        margin-bottom: 20px !important;
    }
    
    .section-title {
        font-size: 1.3rem !important;
        margin: 30px 0 20px !important;
        padding-left: 15px !important;
    }
    
    .view-all {
        font-size: 0.85rem !important;
        padding: 8px 15px !important;
    }
    
    /* ==================== ROBOT BANNER ==================== */
    .robot-banner {
        flex-direction: column !important;
        text-align: center !important;
        padding: 20px 15px !important;
        gap: 15px !important;
        margin: 20px 0 !important;
    }
    
    .robot-content h2 {
        font-size: 1.3rem !important;
        margin-bottom: 10px !important;
    }
    
    .robot-content p {
        font-size: 0.9rem !important;
    }
    
    .robot-actions {
        flex-direction: column !important;
        width: 100% !important;
        gap: 10px !important;
    }
    
    .robot-mood-btn {
        width: 100% !important;
        text-align: center !important;
        padding: 12px 20px !important;
    }
    
    /* ==================== FEATURED SLIDER ==================== */
    .featured-slider-section {
        margin-top: 20px !important;
    }
    
    .featuredSwiper {
        padding-bottom: 20px !important;
    }
    
    .featured-card {
        width: 140px !important;
    }
    
    .featured-title {
        font-size: 0.85rem !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }
    
    .featured-meta {
        font-size: 0.75rem !important;
    }
    
    /* ==================== CAST CAROUSEL ==================== */
    .premium-cast-section {
        margin-top: 30px !important;
    }
    
    .section-title-premium {
        font-size: 1.5rem !important;
        margin-bottom: 20px !important;
    }
    
    .cast-carousel {
        gap: 12px !important;
        padding-bottom: 15px !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    .cast-card {
        min-width: 100px !important;
        flex-shrink: 0 !important;
    }
    
    .cast-image {
        margin-bottom: 8px !important;
    }
    
    .cast-name {
        font-size: 0.8rem !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }
    
    .cast-character {
        font-size: 0.7rem !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }
    
    /* ==================== GENRE PILLS ==================== */
    .genre-pills-container {
        padding: 10px 0 !important;
        position: sticky !important;
        top: 60px !important;
    }
    
    .genre-scroll {
        gap: 8px !important;
        padding: 0 15px !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    .genre-pill {
        padding: 8px 15px !important;
        font-size: 0.85rem !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }
    
    /* ==================== NAVBAR FIXES ==================== */
    .navbar {
        flex-wrap: nowrap !important;
        gap: 10px !important;
    }
    
    .logo {
        flex: 0 0 auto !important;
    }
    
    /* ==================== FOOTER IMPROVEMENTS ==================== */
    .che-footer {
        padding: 40px 0 20px !important;
        margin-top: 60px !important;
    }
    
    .footer-top {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        text-align: center !important;
    }
    
    .footer-desc {
        max-width: 100% !important;
        text-align: center !important;
    }
    
    .footer-stats {
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 10px !important;
    }
    
    .stat-box {
        min-width: 80px !important;
        padding: 10px 15px !important;
    }
    
    .newsletter-form {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    .newsletter-form input {
        width: 100% !important;
        padding: 12px !important;
        font-size: 16px !important;
    }
    
    .newsletter-form button {
        width: 100% !important;
        padding: 12px !important;
    }
    
    .footer-bottom {
        flex-direction: column !important;
        gap: 15px !important;
        text-align: center !important;
    }
    
    .footer-bottom-links {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    /* ==================== TOUCH TARGETS ==================== */
    a, button, .movie-card, .genre-pill, .premium-tab {
        -webkit-tap-highlight-color: rgba(229, 9, 20, 0.3) !important;
        min-height: 44px !important;
        display: flex !important;
        align-items: center !important;
    }
    
    .btn {
        min-height: 44px !important;
        padding: 12px 20px !important;
    }
    
    /* ==================== TEXT OVERFLOW ==================== */
    .movie-title,
    .featured-title,
    .cast-name,
    .cast-character {
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }
    
    /* ==================== SWIPER MOBILE ==================== */
    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }
    
    .swiper-pagination {
        bottom: 10px !important;
    }
    
    .swiper-pagination-bullet {
        width: 8px !important;
        height: 8px !important;
    }
    
    /* ==================== SIDEBAR MOBILE TOGGLE ==================== */
    .sidebar-mobile-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100% !important;
        margin: 15px 0 !important;
        padding: 15px !important;
        font-size: 1rem !important;
        min-height: 44px !important;
        background: rgba(20, 20, 20, 0.9) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 8px !important;
        color: white !important;
        cursor: pointer !important;
        z-index: 100 !important;
        position: relative !important;
        -webkit-tap-highlight-color: rgba(229, 9, 20, 0.3) !important;
        touch-action: manipulation !important;
    }
    
    .sidebar-mobile-toggle:active {
        transform: scale(0.98) !important;
        background: rgba(229, 9, 20, 0.2) !important;
    }
    
    .sidebar-mobile-toggle i {
        color: var(--primary-color) !important;
        font-size: 1.1rem !important;
    }
    
    /* ==================== PAGE LAYOUT ==================== */
    .page-layout {
        flex-direction: column !important;
        gap: 20px !important;
    }
    
    .main-content {
        width: 100% !important;
        padding: 0 !important;
    }
    
    /* ==================== PREVENT HORIZONTAL SCROLL ==================== */
    html {
        overflow-x: hidden !important;
        width: 100% !important;
        position: relative !important;
        -webkit-text-size-adjust: 100% !important;
    }
    
    body {
        overflow-x: hidden !important;
        width: 100% !important;
        position: relative !important;
        max-width: 100vw !important;
    }
    
    body.menu-open {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
        height: 100% !important;
    }
    
    /* ==================== FORMS & INPUTS ==================== */
    input[type="text"],
    input[type="email"],
    input[type="search"],
    textarea,
    select {
        font-size: 16px !important;
        padding: 12px !important;
        min-height: 44px !important;
        width: 100% !important;
        -webkit-appearance: none !important;
        border-radius: 8px !important;
    }
    
    /* ==================== QUALITY BADGES ==================== */
    .quality-badge {
        font-size: 0.7rem !important;
        padding: 4px 8px !important;
    }
    
    /* ==================== ADDITIONAL FIXES ==================== */
    .mt-section {
        margin-top: 30px !important;
    }
    
    .mb-section {
        margin-bottom: 30px !important;
    }
    
    /* Smooth scrolling */
    * {
        -webkit-overflow-scrolling: touch !important;
    }
    
    /* Prevent text selection on buttons */
    button, .btn {
        -webkit-user-select: none !important;
        user-select: none !important;
    }
}