/**
 * Mobile Responsive CSS - Super IPTV
 * Clean, specific mobile styles
 */

/* ============================================
   DESKTOP: HIDE MOBILE ELEMENTS
============================================ */
.mobile-menu-toggle,
.mobile-toggle,
#mobileMenuToggle,
#mobileToggle,
.mobile-bottom-nav {
    display: none;
}

/* ============================================
   CSS VARIABLES FOR MOBILE
   Synced with main design system
============================================ */
:root {
    /* Spacing - synced with main */
    --mobile-padding: var(--space-md, 16px);
    --mobile-gap: var(--space-sm, 12px);
    --mobile-radius: var(--radius-lg, 12px);
    --mobile-font-base: 15px;
    --mobile-header-height: 60px;
    --mobile-bottom-nav-height: 65px;
    --safe-area-bottom: env(safe-area-inset-bottom, 0px);
    --safe-area-top: env(safe-area-inset-top, 0px);
    
    /* Additional spacing tokens */
    --m-space-xs: 4px;
    --m-space-sm: 8px;
    --m-space-md: 16px;
    --m-space-lg: 24px;
    --m-space-xl: 32px;
    --m-space-2xl: 40px;
    --m-space-section: 50px;
    
    /* Colors - synced with main design system */
    --m-bg-base: var(--bg-base, #0a0a0a);
    --m-bg-card: var(--bg-card, #141414);
    --m-bg-elevated: var(--bg-elevated, #1a1a1a);
    --m-primary: var(--primary, #e50914);
    --m-primary-hover: var(--primary-hover, #b20710);
    --m-text-primary: var(--text-primary, #ffffff);
    --m-text-secondary: var(--text-secondary, #e5e5e5);
    --m-text-muted: var(--text-muted, #b3b3b3);
    --m-text-dim: #808080;
    --m-border-subtle: var(--border-subtle, rgba(255,255,255,0.08));
    --m-border-light: var(--border-light, rgba(255,255,255,0.15));
    
    /* Transitions */
    --m-transition-fast: 0.2s ease;
    --m-transition-normal: 0.3s ease;
}

/* ============================================
   MOBILE DRAWER MENU - Netflix Style
============================================ */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background: var(--m-bg-card);
    z-index: 9999;
    transition: left var(--m-transition-normal);
    overflow-y: auto;
    padding-top: var(--safe-area-top);
    box-shadow: 5px 0 40px rgba(0,0,0,0.8);
    display: flex;
    flex-direction: column;
}

.mobile-drawer.open {
    left: 0;
}

.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.75);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all var(--m-transition-normal);
}

.mobile-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer-header {
    padding: var(--mobile-padding);
    border-bottom: 1px solid var(--m-border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--m-bg-base);
}

.mobile-drawer-header .nav-logo .brand {
    color: var(--m-primary);
    font-weight: 900;
    font-size: 1.4rem;
}

.mobile-drawer-header .nav-logo-icon {
    display: none;
}

.mobile-drawer-close {
    width: 40px;
    height: 40px;
    background: var(--m-border-subtle);
    border: none;
    border-radius: 50%;
    color: var(--m-text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--m-transition-normal);
}

.mobile-drawer-close:hover {
    background: rgba(229,9,20,0.2);
    color: var(--m-primary);
    transform: rotate(90deg);
}

.mobile-drawer-nav {
    padding: var(--m-space-sm) 0;
    flex: 1;
}

.mobile-drawer-nav a {
    display: flex;
    align-items: center;
    gap: var(--m-space-md);
    padding: var(--m-space-md) var(--m-space-lg);
    color: var(--m-text-secondary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    transition: all var(--m-transition-fast);
    border-left: 3px solid transparent;
}

.mobile-drawer-nav a:hover {
    background: rgba(255,255,255,0.05);
    color: var(--m-text-primary);
}

.mobile-drawer-nav a.active {
    background: rgba(229,9,20,0.15);
    color: var(--m-text-primary);
    border-left-color: var(--m-primary);
    font-weight: 600;
}

.mobile-drawer-nav a i {
    width: var(--m-space-lg);
    font-size: 1.1rem;
    color: var(--m-text-muted);
    transition: color var(--m-transition-fast);
}

.mobile-drawer-nav a.active i,
.mobile-drawer-nav a:hover i {
    color: var(--m-primary);
}

.mobile-drawer-divider {
    height: 1px;
    background: var(--m-border-subtle);
    margin: var(--m-space-sm) var(--m-space-lg);
}

.mobile-drawer-footer {
    padding: var(--mobile-padding);
    border-top: 1px solid var(--m-border-subtle);
    background: var(--m-bg-base);
}

.mobile-drawer-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--m-space-sm);
    width: 100%;
    padding: var(--m-space-md);
    background: var(--m-primary);
    color: var(--m-text-primary);
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    border-radius: var(--m-space-xs);
    font-size: 1rem;
    transition: background var(--m-transition-normal);
}

.mobile-drawer-cta:hover {
    background: var(--m-primary-hover);
}

/* ============================================
   MOBILE BOTTOM NAVIGATION - Netflix Style
============================================ */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--mobile-bottom-nav-height);
    padding-bottom: var(--safe-area-bottom);
    background: rgba(20, 20, 20, 0.98);
    border-top: 1px solid var(--m-border-subtle);
    z-index: 1000;
    transition: transform var(--m-transition-normal);
}

.mobile-bottom-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px;
    color: var(--m-text-dim);
    text-decoration: none;
    font-size: 0.65rem;
    font-weight: 500;
    transition: all var(--m-transition-fast);
}

.mobile-bottom-nav a i {
    font-size: 1.2rem;
}

.mobile-bottom-nav a.active {
    color: var(--m-text-primary);
}

.mobile-bottom-nav a.active i {
    color: var(--m-primary);
}

.mobile-bottom-nav a:hover {
    color: var(--m-text-secondary);
}

/* ============================================
   TABLET STYLES (768px - 1024px)
============================================ */
@media screen and (max-width: 1024px) {
    .container {
        padding: 0 20px;
        max-width: 100%;
    }
}

/* ============================================
   MOBILE HEADER & NAVIGATION (max 992px)
============================================ */
@media screen and (max-width: 992px) {
    /* ============================================
       MOBILE HEADER - Netflix Style
    ============================================ */
    
    /* Header container */
    .header {
        background: linear-gradient(to bottom, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.8) 100%) !important;
        height: auto;
    }
    
    .header.scrolled {
        background: rgba(20, 20, 20, 0.98) !important;
    }
    
    .header-inner {
        padding: 0 12px;
        height: 70px !important;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    /* Logo - Netflix Style */
    .logo {
        display: flex !important;
        align-items: center;
        flex-shrink: 0;
        gap: 8px;
    }
    
    .logo-image {
        height: 55px !important;
        max-height: 55px !important;
        min-height: 55px !important;
        width: auto !important;
        display: block !important;
        object-fit: contain;
    }
    
    .logo-icon {
        display: flex !important;
        width: 36px !important;
        height: 36px !important;
        border-radius: 8px !important;
    }
    
    .logo-icon::before {
        border-left: 11px solid white !important;
        border-top: 7px solid transparent !important;
        border-bottom: 7px solid transparent !important;
        margin-left: 2px !important;
    }
    
    .logo-text {
        display: flex !important;
        flex-direction: column;
        line-height: 1.1;
    }
    
    .logo-text .brand {
        display: flex !important;
        font-size: 20px !important;
    }
    
    .logo-text .tagline {
        display: none;
    }
    
    /* Nav - Right side controls container */
    .nav {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-left: auto;
    }
    
    /* Hide desktop navigation links */
    .nav-links {
        display: none !important;
    }
    
    /* Nav actions - only show language */
    .nav-actions {
        display: flex;
        align-items: center;
        order: 1;
    }
    
    .nav-actions .btn-ghost,
    .nav-actions .btn-primary {
        display: none !important;
    }
    
    /* Language switcher - Compact, next to menu */
    .lang-switcher {
        display: block !important;
        position: relative;
        z-index: 99999;
    }
    
    .lang-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        height: 34px;
        padding: 0 8px;
        background: transparent;
        border: 1px solid rgba(255,255,255,0.25);
        border-radius: 4px;
        font-size: 0.75rem;
        gap: 4px;
        color: white;
    }
    
    .lang-btn i.fa-globe {
        font-size: 0.85rem;
    }
    
    .lang-btn #currentLang {
        font-size: 0.7rem;
        font-weight: 500;
    }
    
    .lang-btn i.fa-chevron-down {
        font-size: 0.5rem;
        opacity: 0.7;
    }
    
    .lang-dropdown {
        position: fixed !important;
        top: auto !important;
        bottom: 100px !important;
        left: 16px !important;
        right: 16px !important;
        width: auto !important;
        z-index: 99999 !important;
        background: var(--m-bg-card);
        border: 1px solid var(--m-border-light);
        border-radius: var(--mobile-radius);
    }
    
    /* Mobile menu toggle - FAR RIGHT (order 2) */
    .mobile-toggle,
    #mobileToggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: transparent;
        border: none;
        border-radius: 4px;
        color: white;
        font-size: 1.4rem;
        cursor: pointer;
        transition: color var(--m-transition-fast);
        order: 2;
        margin-left: 4px;
    }
    
    .mobile-toggle:hover {
        color: var(--m-primary);
    }
    
    /* Also handle dynamically created toggle */
    .mobile-menu-toggle,
    #mobileMenuToggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: transparent;
        border: none;
        color: white;
        font-size: 1.4rem;
        cursor: pointer;
        order: 2;
    }
}

/* ============================================
   MOBILE STYLES (max 768px)
============================================ */
@media screen and (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    body {
        overflow-x: hidden;
        -webkit-tap-highlight-color: transparent;
        padding-bottom: calc(var(--mobile-bottom-nav-height) + var(--safe-area-bottom));
    }
    
    /* Show bottom nav */
    .mobile-bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }
    
    /* Container */
    .container {
        padding: 0 var(--mobile-padding);
    }
    
    /* Prevent zoom on inputs */
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="tel"],
    input[type="number"],
    select,
    textarea {
        font-size: 16px !important;
    }
    
    /* ============================================
       MOBILE HERO - Netflix Cinematic Style
    ============================================ */
    
    /* Hero section - With space after header */
    .hero {
        min-height: 85vh;
        height: auto;
        padding: 100px 0 60px;
        margin-top: 0;
        display: flex;
        align-items: center;
        position: relative;
        overflow: hidden;
    }
    
    /* Background - Full coverage */
    .hero-bg {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }
    
    .hero-bg-image {
        width: 100%;
        height: 100%;
        background-size: cover !important;
        background-position: center top !important;
    }
    
    .hero-bg-overlay {
        background: linear-gradient(
            to bottom,
            rgba(0,0,0,0.5) 0%,
            rgba(0,0,0,0.7) 50%,
            #000 100%
        ) !important;
    }
    
    /* Hide floating decorations on mobile */
    .hero-floating-cards,
    .hero-card-collage,
    .hero-bg-glow {
        display: none !important;
    }
    
    /* Container */
    .hero .container {
        padding: 0 20px;
        margin: 0 auto;
        width: 100%;
        position: relative;
        z-index: 10;
    }
    
    /* Hero content - Centered */
    .hero-content {
        max-width: 100%;
        text-align: center;
        align-items: center;
        margin: 0 auto;
        padding-top: 0;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    /* Live badge - Compact */
    .hero-badge {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 16px;
        font-size: 12px;
        margin-bottom: 20px;
        background: rgba(229,9,20,0.2);
        border: 1px solid rgba(229,9,20,0.5);
        border-radius: 4px;
    }
    
    .hero-badge .live-dot {
        width: 8px;
        height: 8px;
    }
    
    .hero-badge .highlight {
        color: var(--m-primary);
        font-weight: 700;
    }
    
    /* Hero title - BIGGER & Bold */
    .hero-title,
    .hero h1 {
        font-size: 2.4rem !important;
        line-height: 1.1;
        margin-bottom: 8px;
        font-weight: 900;
        letter-spacing: -1px;
    }
    
    .hero h1 .gradient {
        display: block;
        font-size: 2.6rem !important;
        background: linear-gradient(90deg, var(--m-text-primary) 30%, var(--m-primary) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        margin-bottom: 4px;
    }
    
    .hero h1 .line2 {
        display: block;
        font-size: 1.5rem !important;
        color: var(--m-text-secondary);
        font-weight: 600;
        margin-top: 0;
    }
    
    /* Hero description - Larger & readable */
    .hero-subtitle,
    .hero-description,
    .hero p.hero-description {
        font-size: 1rem !important;
        line-height: 1.6;
        margin-bottom: 24px;
        color: var(--m-text-muted);
        max-width: 100%;
    }
    
    /* CTA Buttons - Side by side Netflix style */
    .hero-ctas {
        display: flex;
        flex-direction: row !important;
        gap: 10px;
        width: 100%;
        margin: 0 auto 20px;
        justify-content: center;
    }
    
    .hero-ctas .btn {
        flex: 1;
        max-width: 160px;
        padding: 12px 16px !important;
        font-size: 0.85rem !important;
        font-weight: 600;
        border-radius: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }
    
    .hero-ctas .btn i {
        font-size: 0.9rem;
    }
    
    .hero-ctas .btn-netflix {
        background: var(--m-primary);
        color: var(--m-text-primary);
        border: none;
    }
    
    .hero-ctas .btn-ghost {
        background: var(--m-border-light);
        color: var(--m-text-primary);
        border: none;
    }
    
    /* Stats - Horizontal compact strip */
    .hero-stats {
        display: flex;
        justify-content: center;
        gap: 0;
        margin-bottom: 16px;
        background: rgba(255,255,255,0.05);
        border-radius: 8px;
        padding: 10px 0;
        border: 1px solid rgba(255,255,255,0.08);
    }
    
    .hero-stats .stat-item {
        flex: 1;
        text-align: center;
        padding: 0 8px;
        border-right: 1px solid rgba(255,255,255,0.1);
    }
    
    .hero-stats .stat-item:last-child {
        border-right: none;
    }
    
    .hero-stats .stat-value {
        font-size: 1.1rem !important;
        font-weight: 700;
        color: var(--m-text-primary);
        line-height: 1.2;
    }
    
    .hero-stats .stat-label {
        font-size: 0.65rem;
        color: var(--m-text-dim);
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    /* Value props - Compact grid */
    .hero-value-props {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-top: 0;
    }
    
    .hero-value-props .value-prop {
        font-size: 0.7rem;
        color: var(--m-text-muted);
        display: flex;
        align-items: flex-start;
        gap: 6px;
        text-align: left;
        line-height: 1.3;
    }
    
    .hero-value-props .value-prop i {
        color: var(--m-primary);
        font-size: 0.65rem;
        margin-top: 2px;
        flex-shrink: 0;
    }
    
    /* Hero CTA fallback */
    .hero-cta,
    .hero-buttons {
        display: flex;
        flex-direction: row;
        gap: 10px;
        width: 100%;
        margin: 0 auto;
        justify-content: center;
    }
    
    .hero-cta .btn,
    .hero-buttons .btn {
        flex: 1;
        max-width: 160px;
        padding: 12px 16px;
        font-size: 0.85rem;
        justify-content: center;
        transform: none !important;
    }
    
    /* ============================================
       FEATURES SECTION
    ============================================ */
    .features-section,
    .section {
        padding: var(--m-space-section) 0;
    }
    
    .section-header {
        margin-bottom: 24px;
        text-align: center;
        padding: 0 16px;
    }
    
    .section-title,
    .section h2 {
        font-size: 1.3rem;
        line-height: 1.3;
        margin-bottom: 8px;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .section-title i {
        font-size: 1rem;
        color: var(--m-primary);
    }
    
    .section-subtitle,
    .section p {
        font-size: 0.9rem;
    }
    
    .view-all {
        font-size: 0.85rem;
        padding: 8px 12px;
    }
    
    /* ============================================
       PLATFORM FEATURES - Mobile Optimized
    ============================================ */
    .platform-features {
        padding: var(--m-space-2xl) 0 !important;
        background: var(--m-bg-base);
    }
    
    .platform-features .container {
        padding: 0 16px;
    }
    
    .platform-features .features-header {
        text-align: center;
        margin-bottom: 24px;
    }
    
    .features-badge {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 8px 14px;
        font-size: 11px;
        margin-bottom: 12px;
        border-radius: 4px;
        background: rgba(229,9,20,0.15);
        border: 1px solid rgba(229,9,20,0.3);
        color: var(--m-primary);
    }
    
    .features-badge i {
        font-size: 10px;
    }
    
    .features-title {
        font-size: 1.5rem !important;
        line-height: 1.25;
        margin-bottom: 10px;
    }
    
    .features-title br {
        display: none;
    }
    
    .features-subtitle {
        font-size: 0.9rem !important;
        color: var(--m-text-dim);
        line-height: 1.5;
    }
    
    /* Features Grid - Stack on mobile */
    .platform-features .features-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    /* Video/GIF container */
    .feature-video-wrapper {
        order: 1;
        margin-bottom: 8px;
    }
    
    .video-container {
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid rgba(255,255,255,0.1);
    }
    
    .promo-gif,
    .promo-video {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 12px;
    }
    
    .video-glow {
        display: none !important;
    }
    
    /* Features List - Below video */
    .features-list {
        order: 2;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    /* Feature Items - Compact cards */
    .feature-item {
        display: flex;
        align-items: flex-start;
        gap: 14px;
        padding: var(--mobile-padding);
        background: rgba(26,26,26,0.8);
        border: 1px solid var(--m-border-subtle);
        border-radius: var(--mobile-radius);
        transition: all var(--m-transition-fast);
    }
    
    .feature-item:hover {
        transform: none;
        background: var(--m-bg-elevated);
    }
    
    .feature-item .feature-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        background: rgba(229,9,20,0.12);
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
    }
    
    .feature-item .feature-icon i {
        font-size: 18px;
        color: var(--m-primary);
    }
    
    .feature-content {
        flex: 1;
    }
    
    .feature-content h3 {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 4px;
        color: var(--m-text-primary);
    }
    
    .feature-content p {
        font-size: 0.85rem;
        color: var(--m-text-dim);
        line-height: 1.5;
        margin: 0;
    }
    
    /* ============================================
       MOVIES & CONTENT CAROUSEL - Mobile
    ============================================ */
    .content-section {
        padding: var(--m-space-xl) 0 !important;
        background: var(--m-bg-base);
    }
    
    .content-section .container {
        padding: 0 16px;
    }
    
    .content-section .section-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 16px;
        padding: 0;
    }
    
    .carousel-container {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 0 16px;
    }
    
    .carousel-container::-webkit-scrollbar {
        display: none;
    }
    
    .carousel-track {
        display: flex;
        gap: 12px;
        padding: 8px 0;
        animation: none !important;
    }
    
    .carousel-track:hover {
        animation-play-state: paused;
    }
    
    /* Content Cards - Movie posters */
    .content-card {
        flex: 0 0 130px;
        width: 130px;
        height: 195px;
        border-radius: 10px;
        overflow: hidden;
        position: relative;
        background: var(--m-bg-elevated);
        border: 1px solid var(--m-border-subtle);
        transition: all var(--m-transition-fast);
    }
    
    .content-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .content-card .rating-badge {
        position: absolute;
        top: 6px;
        left: 6px;
        background: rgba(0,0,0,0.75);
        padding: 4px 6px;
        border-radius: 4px;
        font-size: 10px;
        font-weight: 600;
        color: #ffd700;
        display: flex;
        align-items: center;
        gap: 3px;
    }
    
    .content-card .rating-badge i {
        font-size: 8px;
    }
    
    .content-card .new-badge {
        position: absolute;
        top: 6px;
        right: 6px;
        background: var(--m-primary);
        padding: 3px 6px;
        border-radius: 3px;
        font-size: 9px;
        font-weight: 700;
        color: var(--m-text-primary);
        text-transform: uppercase;
    }
    
    .content-card .play-btn {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 36px;
        height: 36px;
        background: rgba(229,9,20,0.9);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: opacity var(--m-transition-fast);
    }
    
    .content-card .play-btn i {
        font-size: 12px;
        color: var(--m-text-primary);
        margin-left: 2px;
    }
    
    .content-card:active .play-btn {
        opacity: 1;
    }
    
    .content-card-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 8px;
        background: linear-gradient(transparent, rgba(0,0,0,0.9));
    }
    
    .content-card-title {
        font-size: 11px;
        font-weight: 600;
        color: var(--m-text-primary);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .content-card-meta {
        font-size: 9px;
        color: var(--m-text-dim);
        margin-top: 2px;
    }
    
    /* ============================================
       CHANNELS CAROUSEL - Mobile
    ============================================ */
    .channels-section {
        padding: var(--m-space-xl) 0 !important;
        background: var(--m-bg-base);
    }
    
    .channels-carousel-container {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0 16px;
    }
    
    .channels-carousel-container::-webkit-scrollbar {
        display: none;
    }
    
    .channels-carousel-track {
        display: flex;
        gap: 10px;
        padding: 8px 0;
        animation: none !important;
    }
    
    .channel-logo-card {
        flex: 0 0 100px;
        width: 100px;
        background: var(--m-bg-card);
        border: 1px solid var(--m-border-subtle);
        border-radius: 10px;
        overflow: hidden;
        padding: 10px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }
    
    .channel-logo-card img {
        width: 60px;
        height: 40px;
        object-fit: contain;
    }
    
    .channel-logo-card .channel-name {
        font-size: 10px;
        color: var(--m-text-dim);
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
    }
    
    /* Feature cards grid */
    .features-grid,
    .grid-3,
    .grid-4 {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .feature-card {
        padding: 20px;
        text-align: center;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin: 0 auto 14px;
    }
    
    .feature-card h3 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
    
    /* ============================================
       PRICING SECTION
    ============================================ */
    .pricing-grid,
    .plans-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricing-card,
    .plan-card {
        padding: 24px 20px;
        border-radius: 16px;
    }
    
    .pricing-card.featured {
        transform: none;
        margin: 0;
    }
    
    .plan-name,
    .pricing-card h3 {
        font-size: 1.2rem;
    }
    
    .plan-price,
    .price {
        font-size: 2.2rem;
    }
    
    .plan-price span,
    .price span {
        font-size: 0.9rem;
    }
    
    .plan-features li,
    .pricing-features li {
        font-size: 0.9rem;
        padding: 8px 0;
    }
    
    /* ============================================
       STATS SECTION
    ============================================ */
    .stats-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .stat-card {
        padding: 20px 16px;
        text-align: center;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    /* ============================================
       CHANNELS SECTION
    ============================================ */
    .channels-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .channel-card {
        padding: 12px;
        border-radius: 10px;
    }
    
    .channel-logo {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
        object-fit: contain;
        margin-bottom: 8px;
    }
    
    .channel-name {
        font-size: 0.85rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* ============================================
       FAQ SECTION
    ============================================ */
    .faq-item {
        padding: 16px;
        margin-bottom: 12px;
    }
    
    .faq-question {
        font-size: 1rem;
        padding-right: 30px;
    }
    
    .faq-answer {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    /* ============================================
       TESTIMONIALS
    ============================================ */
    .testimonials-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .testimonial-text {
        font-size: 0.95rem;
    }
    
    .testimonial-author {
        font-size: 0.9rem;
    }
    
    /* ============================================
       CTA SECTION
    ============================================ */
    .cta-section {
        padding: var(--m-space-section) var(--mobile-padding);
        text-align: center;
    }
    
    .cta-section h2 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }
    
    .cta-section p {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }
    
    .cta-section .btn {
        width: 100%;
        max-width: 280px;
    }
    
    /* ============================================
       FOOTER
    ============================================ */
    .footer,
    .site-footer {
        padding: var(--m-space-2xl) var(--mobile-padding) 100px;
    }
    
    .footer-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-column h4 {
        font-size: 1rem;
        margin-bottom: 16px;
    }
    
    .footer-column a,
    .footer-column li {
        font-size: 0.9rem;
    }
    
    .footer-bottom {
        text-align: center;
        padding-top: 24px;
        font-size: 0.85rem;
    }
    
    /* ============================================
       GENERAL BUTTONS
    ============================================ */
    .btn {
        padding: 12px 20px;
        font-size: 0.95rem;
        border-radius: var(--mobile-radius);
    }
    
    .btn-large,
    .btn-lg {
        padding: 14px 24px;
        font-size: 1rem;
    }
    
    .btn-small,
    .btn-sm {
        padding: 8px 14px;
        font-size: 0.85rem;
    }
    
    /* Remove hover transforms on mobile */
    .btn:hover,
    .btn:active {
        transform: none;
    }
    
    /* ============================================
       FORMS
    ============================================ */
    .form-group {
        margin-bottom: 16px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 16px;
    }
    
    input,
    select,
    textarea {
        width: 100%;
        padding: 14px 16px;
        border-radius: var(--mobile-radius);
    }
    
    /* ============================================
       TABLES
    ============================================ */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -16px;
        padding: 0 16px;
    }
    
    table {
        min-width: 600px;
    }
    
    th, td {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
    
    /* ============================================
       MODALS
    ============================================ */
    .modal,
    .popup {
        width: 95%;
        max-width: none;
        max-height: 90vh;
        margin: auto;
        border-radius: 16px 16px 0 0;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 16px;
    }
    
    .modal-footer {
        flex-direction: column;
        gap: 10px;
    }
    
    .modal-footer .btn {
        width: 100%;
    }
}

/* ============================================
   SMALL MOBILE (max 480px)
============================================ */
@media screen and (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    /* Hero adjustments */
    .hero {
        padding: 60px 0 30px;
    }
    
    .hero .container {
        padding: 0 16px;
    }
    
    .hero-badge {
        padding: 6px 12px;
        font-size: 11px;
        margin-bottom: 16px;
    }
    
    .hero-title,
    .hero h1 {
        font-size: 2rem !important;
        margin-bottom: 6px;
    }
    
    .hero h1 .gradient {
        font-size: 2.2rem !important;
    }
    
    .hero h1 .line2 {
        font-size: 1.3rem !important;
    }
    
    .hero-subtitle,
    .hero-description,
    .hero p.hero-description {
        font-size: 0.9rem !important;
        margin-bottom: 20px;
    }
    
    /* CTA buttons */
    .hero-ctas {
        gap: 10px;
        margin-bottom: 20px;
    }
    
    .hero-ctas .btn {
        padding: 12px 16px !important;
        font-size: 0.8rem !important;
        max-width: 150px;
    }
    
    /* Stats */
    .hero-stats {
        padding: 10px 0;
        margin-bottom: 16px;
    }
    
    .hero-stats .stat-value {
        font-size: 1rem !important;
    }
    
    .hero-stats .stat-label {
        font-size: 0.6rem;
    }
    
    /* Value props - 2 columns still */
    .hero-value-props {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .hero-value-props .value-prop {
        font-size: 0.7rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .channels-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title,
    .section h2 {
        font-size: 1.3rem;
    }
}

/* ============================================
   EXTRA SMALL MOBILE (max 360px)
============================================ */
@media screen and (max-width: 360px) {
    .hero {
        padding: 56px 0 24px;
    }
    
    .hero h1 .gradient {
        font-size: 1.8rem !important;
    }
    
    .hero h1 .line2 {
        font-size: 1.1rem !important;
    }
    
    .hero-description {
        font-size: 0.85rem !important;
    }
    
    .hero-ctas {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-ctas .btn {
        max-width: 100%;
        width: 100%;
    }
    
    .hero-stats .stat-value {
        font-size: 0.9rem !important;
    }
    
    .hero-stats .stat-label {
        font-size: 0.55rem;
    }
    
    .hero-value-props {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   TOUCH DEVICE OPTIMIZATIONS
============================================ */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets */
    button,
    a,
    input,
    select {
        min-height: 44px;
    }
    
    /* Remove hover effects on touch */
    .btn:hover,
    .card:hover,
    .feature-card:hover {
        transform: none;
    }
}

/* ============================================
   DASHBOARD PAGES (User Area)
============================================ */
@media screen and (max-width: 768px) {
    .dashboard-container {
        flex-direction: column;
    }
    
    .dashboard-sidebar {
        width: 100%;
        position: fixed;
        left: -100%;
        top: 0;
        height: 100vh;
        z-index: 9999;
        transition: left var(--m-transition-normal);
    }
    
    .dashboard-sidebar.open {
        left: 0;
    }
    
    .dashboard-content {
        width: 100%;
        padding: var(--mobile-padding);
    }
    
    .dashboard-header {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .dashboard-title {
        font-size: 1.3rem;
        width: 100%;
    }
    
    .dashboard-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .dashboard-card {
        padding: 16px;
    }
}

/* ============================================
   BLOG PAGES
============================================ */
@media screen and (max-width: 768px) {
    .blog-container {
        flex-direction: column;
    }
    
    .blog-sidebar {
        width: 100%;
        order: 2;
    }
    
    .blog-content {
        width: 100%;
    }
    
    .blog-post-header {
        padding: 24px var(--mobile-padding);
    }
    
    .blog-post-title {
        font-size: 1.5rem;
    }
    
    .blog-post-content {
        padding: 20px var(--mobile-padding);
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .blog-post-content img {
        max-width: 100%;
        height: auto;
    }
}

/* ============================================
   CHECKOUT PAGES
============================================ */
@media screen and (max-width: 768px) {
    .checkout-container {
        flex-direction: column;
    }
    
    .checkout-form,
    .checkout-summary {
        width: 100%;
    }
    
    .checkout-summary {
        order: -1;
        margin-bottom: 24px;
    }
    
    .payment-methods {
        flex-direction: column;
        gap: 12px;
    }
    
    .payment-method {
        width: 100%;
    }
}

/* ============================================
   LEGAL PAGES
============================================ */
@media screen and (max-width: 768px) {
    .legal-content {
        padding: 24px var(--mobile-padding);
    }
    
    .legal-content h1 {
        font-size: 1.5rem;
    }
    
    .legal-content h2 {
        font-size: 1.2rem;
    }
    
    .legal-content p,
    .legal-content li {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

/* ============================================
   DEVICE LANDING PAGES
============================================ */
@media screen and (max-width: 768px) {
    .device-hero {
        padding: 80px var(--mobile-padding) 50px;
        text-align: center;
    }
    
    .device-hero h1 {
        font-size: 1.6rem;
    }
    
    .device-hero p {
        font-size: 0.95rem;
    }
    
    .device-image {
        max-width: 200px;
        margin: 20px auto;
    }
    
    .device-features {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .device-steps {
        padding: 24px var(--mobile-padding);
    }
    
    .step-card {
        padding: 16px;
        text-align: center;
    }
}

/* ============================================
   PRINT STYLES
============================================ */
@media print {
    .mobile-drawer,
    .mobile-drawer-overlay,
    .mobile-bottom-nav,
    .mobile-menu-toggle {
        display: none !important;
    }
}

/* Testimonial Names (replaced h4 for accessibility) */
.testimonial-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color, #fff);
    margin: 0;
}

/* Footer Titles (h3 for proper heading order) */
.footer-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color, #fff);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   DASHBOARD CONTENT CARDS - MOBILE RESPONSIVE
   Fix for distorted/overlapping cards on mobile
============================================ */
@media (max-width: 768px) {
    /* Cards Row - Proper mobile scrolling */
    .cards-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 12px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding: 10px 0 !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .cards-row::-webkit-scrollbar {
        display: none;
    }
    
    /* Content Card - Responsive sizing */
    .content-card {
        flex: 0 0 auto !important;
        width: 140px !important;
        min-width: 140px !important;
        max-width: 140px !important;
        border-radius: 10px !important;
        scroll-snap-align: start;
    }
    
    .content-card img {
        width: 100% !important;
        height: 200px !important;
        object-fit: cover !important;
    }
    
    .content-card-overlay {
        padding: 50px 10px 14px !important;
    }
    
    .content-card-title {
        font-size: 12px !important;
        line-height: 1.2 !important;
        margin-bottom: 4px !important;
        -webkit-line-clamp: 2;
    }
    
    .content-card-meta {
        font-size: 10px !important;
    }
    
    /* Rating & Badges - Mobile size */
    .rating-badge {
        font-size: 10px !important;
        padding: 3px 6px !important;
        top: 8px !important;
        left: 8px !important;
    }
    
    .new-badge {
        font-size: 9px !important;
        padding: 3px 6px !important;
        top: 8px !important;
        right: 8px !important;
    }
    
    /* Play button - Mobile size */
    .content-card .play-btn {
        width: 36px !important;
        height: 36px !important;
    }
    
    .content-card .play-btn i {
        font-size: 12px !important;
    }
    
    /* Disable hover transforms on mobile */
    .content-card:hover {
        transform: none !important;
    }
    
    .content-card:hover img {
        transform: none !important;
    }
    
    /* Small cards for recent section */
    .content-card-small {
        min-width: 110px !important;
        width: 110px !important;
        height: 70px !important;
        border-radius: 8px !important;
    }
    
    /* Section headers - Mobile */
    .section-header {
        padding: 0 16px !important;
        margin-bottom: 12px !important;
    }
    
    .section-title {
        font-size: 1.1rem !important;
    }
    
    .see-all {
        font-size: 0.8rem !important;
    }
    
    /* Content section spacing */
    .content-section {
        margin-bottom: 28px !important;
    }
    
    /* Hero section mobile */
    .dashboard-hero {
        padding: 20px 16px !important;
        min-height: auto !important;
        margin-bottom: 20px !important;
    }
    
    .hero-title {
        font-size: 1.5rem !important;
    }
    
    .hero-subtitle {
        font-size: 0.9rem !important;
        margin-bottom: 20px !important;
    }
    
    /* Subscription card mobile */
    .subscription-card {
        padding: 16px !important;
        border-radius: 12px !important;
    }
    
    .subscription-stats {
        gap: 8px !important;
    }
    
    .stat-item {
        padding: 10px 8px !important;
    }
    
    .stat-item i {
        font-size: 1rem !important;
    }
    
    .stat-item span {
        font-size: 0.7rem !important;
    }
    
    .stat-item strong {
        font-size: 0.75rem !important;
    }
    
    /* Tabs mobile */
    .tabs {
        padding: 0 16px !important;
        gap: 8px !important;
    }
    
    .tab {
        padding: 8px 14px !important;
        font-size: 0.8rem !important;
    }
    
    /* Cards row padding for scrollable areas */
    .cards-row {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* Extra small devices */
@media (max-width: 375px) {
    .content-card {
        width: 120px !important;
        min-width: 120px !important;
        max-width: 120px !important;
    }
    
    .content-card img {
        height: 170px !important;
    }
    
    .content-card-small {
        min-width: 95px !important;
        width: 95px !important;
        height: 60px !important;
    }
}

/* ============================================
   NETFLIX-STYLE DASHBOARD LAYOUT - MOBILE
   Complete mobile overhaul for dashboard pages
============================================ */
@media screen and (max-width: 768px) {
    /* Hide ONLY the dashboard desktop sidebar rail on mobile */
    .tv-layout > .tv-sidebar {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
    }
    
    /* Main content - full width on mobile */
    .tv-main,
    .main-content {
        margin-left: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
    
    /* TV Layout wrapper */
    .tv-layout {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        padding-bottom: 80px !important;
    }
    
    /* Hero section - Netflix compact style */
    .hero-section {
        padding: 16px !important;
        min-height: auto !important;
        border-radius: 0 !important;
        margin: 0 !important;
        background: linear-gradient(180deg, 
            rgba(20, 20, 20, 0.9) 0%,
            rgba(0, 0, 0, 1) 100%) !important;
    }
    
    .hero-section::before,
    .hero-section::after {
        display: none !important;
    }
    
    .hero-content {
        padding: 0 !important;
    }
    
    .hero-title {
        font-size: 1.3rem !important;
        margin-bottom: 6px !important;
        line-height: 1.3 !important;
    }
    
    .hero-subtitle {
        font-size: 0.85rem !important;
        margin-bottom: 16px !important;
        opacity: 0.7 !important;
    }
    
    /* Tabs - Netflix horizontal style */
    .tabs {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        gap: 6px !important;
        padding: 0 16px 8px !important;
        margin: 0 -16px !important;
        scrollbar-width: none !important;
    }
    
    .tabs::-webkit-scrollbar {
        display: none !important;
    }
    
    .tab {
        flex-shrink: 0 !important;
        padding: 8px 16px !important;
        font-size: 0.85rem !important;
        white-space: nowrap !important;
        border-radius: 6px !important;
        background: rgba(255, 255, 255, 0.08) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
    }
    
    .tab.active {
        background: #e50914 !important;
        border-color: #e50914 !important;
    }
    
    /* Content sections - Netflix spacing */
    .content-section {
        margin-bottom: 24px !important;
        padding: 0 !important;
        overflow: visible !important;
    }
    
    .content-section .section-header {
        padding: 0 16px !important;
        margin-bottom: 10px !important;
    }
    
    .content-section .section-title {
        font-size: 1.1rem !important;
        font-weight: 600 !important;
    }
    
    .content-section .section-title i {
        font-size: 0.9rem !important;
        margin-right: 6px !important;
    }
    
    .content-section .see-all {
        font-size: 0.75rem !important;
        color: rgba(255, 255, 255, 0.5) !important;
    }
    
    /* Cards row - Netflix horizontal scroll */
    .cards-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        gap: 10px !important;
        padding: 8px 16px 12px !important;
        margin: 0 !important;
        scroll-snap-type: x mandatory !important;
        scroll-padding-left: 16px !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }
    
    .cards-row::-webkit-scrollbar {
        display: none !important;
    }
    
    /* Auto-scroll rows - disable on mobile for touch usability */
    .cards-row.auto-scroll {
        animation: none !important;
        transform: none !important;
    }
    
    /* Content card - Netflix portrait poster style */
    .content-card {
        flex: 0 0 130px !important;
        width: 130px !important;
        min-width: 130px !important;
        max-width: 130px !important;
        height: auto !important;
        border-radius: 8px !important;
        scroll-snap-align: start !important;
        overflow: hidden !important;
        background: rgba(20, 20, 20, 0.8) !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        position: relative !important;
    }
    
    .content-card img {
        width: 100% !important;
        height: 185px !important;
        object-fit: cover !important;
        display: block !important;
    }
    
    .content-card-overlay {
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        padding: 40px 8px 10px !important;
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.95)) !important;
    }
    
    .content-card-title {
        font-size: 11px !important;
        font-weight: 600 !important;
        line-height: 1.2 !important;
        margin-bottom: 3px !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }
    
    .content-card-meta {
        font-size: 9px !important;
        color: rgba(255, 255, 255, 0.5) !important;
    }
    
    .content-card-meta::before {
        width: 4px !important;
        height: 4px !important;
        margin-right: 4px !important;
    }
    
    /* Badges - compact */
    .content-card .rating-badge {
        position: absolute !important;
        top: 6px !important;
        left: 6px !important;
        padding: 2px 5px !important;
        font-size: 9px !important;
        background: rgba(0, 0, 0, 0.7) !important;
        border-radius: 3px !important;
        z-index: 10 !important;
    }
    
    .content-card .new-badge {
        position: absolute !important;
        top: 6px !important;
        right: 6px !important;
        padding: 2px 5px !important;
        font-size: 8px !important;
        font-weight: 700 !important;
        background: #e50914 !important;
        border-radius: 3px !important;
        z-index: 10 !important;
    }
    
    /* Hide play button on mobile - tap to play */
    .content-card .play-btn {
        display: none !important;
    }
    
    /* Disable hover effects on mobile */
    .content-card:hover {
        transform: none !important;
        box-shadow: none !important;
    }
    
    .content-card:hover img {
        transform: none !important;
    }
    
    .content-card:active {
        transform: scale(0.97) !important;
        transition: transform 0.15s ease !important;
    }
    
    /* Small cards (channels) */
    .content-card-small {
        flex: 0 0 100px !important;
        width: 100px !important;
        min-width: 100px !important;
        height: 65px !important;
        border-radius: 6px !important;
        scroll-snap-align: start !important;
    }
    
    /* Quick Apps row */
    .apps-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        gap: 10px !important;
        padding: 0 16px 16px !important;
        scrollbar-width: none !important;
    }
    
    .apps-row::-webkit-scrollbar {
        display: none !important;
    }
    
    .app-icon {
        flex: 0 0 68px !important;
        width: 68px !important;
        min-width: 68px !important;
        height: 68px !important;
        border-radius: 12px !important;
        background: rgba(30, 30, 30, 0.9) !important;
    }
    
    .app-icon i {
        font-size: 1.4rem !important;
        margin-bottom: 5px !important;
    }
    
    .app-name {
        font-size: 0.6rem !important;
    }
    
    /* Subscription card - compact mobile */
    .subscription-card {
        margin: 12px 16px !important;
        padding: 14px !important;
        border-radius: 12px !important;
    }
    
    .subscription-header {
        margin-bottom: 12px !important;
        gap: 8px !important;
    }
    
    .subscription-title {
        font-size: 0.85rem !important;
    }
    
    .subscription-status {
        padding: 4px 10px !important;
        font-size: 0.65rem !important;
    }
    
    .subscription-grid {
        display: flex !important;
        overflow-x: auto !important;
        gap: 8px !important;
        scrollbar-width: none !important;
    }
    
    .subscription-grid::-webkit-scrollbar {
        display: none !important;
    }
    
    .subscription-item {
        flex: 0 0 auto !important;
        min-width: 80px !important;
        padding: 10px !important;
        border-radius: 8px !important;
    }
    
    .subscription-item-icon {
        font-size: 1rem !important;
        margin-bottom: 4px !important;
    }
    
    .subscription-item-label {
        font-size: 0.55rem !important;
    }
    
    .subscription-item-value {
        font-size: 0.7rem !important;
    }
    
    /* Mobile Bottom Navigation - Netflix style with backdrop blur */
    .mobile-nav {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 68px !important;
        background: rgba(15, 15, 15, 0.85) !important;
        -webkit-backdrop-filter: saturate(180%) blur(20px) !important;
        backdrop-filter: saturate(180%) blur(20px) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
        justify-content: space-around !important;
        align-items: center !important;
        padding: 0 8px !important;
        padding-bottom: env(safe-area-inset-bottom, 0) !important;
        z-index: 9999 !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5) !important;
    }
    
    /* Fallback for browsers without backdrop-filter support */
    @supports not ((-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px))) {
        .mobile-nav {
            background: rgba(10, 10, 10, 0.98) !important;
        }
    }
    
    .mobile-nav-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 8px 12px !important;
        min-width: 50px !important;
        text-decoration: none !important;
        color: rgba(255, 255, 255, 0.5) !important;
        transition: all 0.2s ease !important;
    }
    
    .mobile-nav-item i {
        font-size: 1.3rem !important;
        margin-bottom: 3px !important;
    }
    
    .mobile-nav-item span {
        font-size: 0.6rem !important;
        font-weight: 500 !important;
    }
    
    .mobile-nav-item.active {
        color: #fff !important;
    }
    
    .mobile-nav-item.active i {
        color: #e50914 !important;
    }
    
    /* Loading states */
    .loading {
        padding: 40px 20px !important;
        text-align: center !important;
    }
    
    .loading i {
        font-size: 1.5rem !important;
        margin-bottom: 10px !important;
    }
    
    .loading p {
        font-size: 0.8rem !important;
        color: rgba(255, 255, 255, 0.5) !important;
    }
    
    /* Expired banner mobile */
    .expired-banner {
        margin: 12px 16px !important;
        padding: 16px !important;
        border-radius: 12px !important;
    }
    
    .expired-content {
        flex-direction: column !important;
        text-align: center !important;
        gap: 12px !important;
    }
    
    .expired-icon-wrapper {
        width: 50px !important;
        height: 50px !important;
    }
    
    .expired-icon-wrapper i {
        font-size: 1.4rem !important;
    }
    
    .expired-title {
        font-size: 1.1rem !important;
        flex-direction: column !important;
        gap: 6px !important;
    }
    
    .expired-subtitle {
        font-size: 0.85rem !important;
    }
    
    .expired-actions {
        flex-direction: column !important;
        width: 100% !important;
        gap: 8px !important;
    }
    
    .upgrade-btn,
    .contact-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 12px !important;
        font-size: 0.9rem !important;
    }
    
    /* Body padding for bottom nav */
    body {
        padding-bottom: 80px !important;
    }
}
