/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Premium Brand Color Palette - Rich & Mature */
    --primary: #6366F1;
    --primary-dark: #4F46E5;
    --primary-light: #818CF8;
    --primary-darker: #4338CA;
    --accent: #06B6D4;
    --accent-dark: #0891B2;
    --accent-light: #22D3EE;
    
    /* Rich Background Colors */
    --dark: #0F172A;
    --dark-alt: #1E293B;
    --dark-surface: #1E293B;
    --dark-elevated: #334155;
    
    /* Sophisticated Grays */
    --gray-900: #0F172A;
    --gray-800: #1E293B;
    --gray-700: #334155;
    --gray-600: #475569;
    --gray-500: #64748B;
    --gray-400: #94A3B8;
    --gray-300: #CBD5E1;
    --gray-200: #E2E8F0;
    --gray-100: #F1F5F9;
    --white: #FFFFFF;
    
    /* Legacy support for existing Netflix references */
    --netflix-red: #6366F1;
    --netflix-red-dark: #4F46E5;
    --netflix-red-light: #818CF8;
    --netflix-black: #0F172A;
    --netflix-dark: #0F172A;
    --netflix-gray: #334155;
}

body {
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

* {
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== HEADER ===== */
.main-header {
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 30px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.logo-section:hover {
    opacity: 0.8;
}

.header-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    object-fit: cover;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.brand-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.brand-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-subtitle {
    font-size: 0.85rem;
    color: var(--gray-400);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.main-nav {
    display: flex;
    gap: 5px;
}

/* Hide main nav on mobile */
@media (max-width: 767px) {
    .main-nav {
        display: none;
    }
}

.nav-link {
    padding: 10px 20px;
    color: var(--gray-300);
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--white);
    background: var(--gray-800);
}

.nav-link.active {
    color: var(--primary);
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.search-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--gray-700);
    background: transparent;
    color: var(--gray-300);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-toggle:hover {
    background: var(--gray-800);
    color: var(--white);
    border-color: var(--gray-600);
}

.subscribe-btn {
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.subscribe-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-darker) 100%);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
    transform: translateY(-1px);
}

/* ===== SEARCH OVERLAY ===== */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.98) 100%);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 100px;
    overflow-y: auto;
}

.search-overlay.active {
    display: flex;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 100px;
    padding-bottom: 100px;
    overflow: hidden;
}

.search-box {
    width: 100%;
    max-width: 700px;
    position: relative;
    margin: 0 20px 20px;
}

.search-box input {
    width: 100%;
    padding: 20px 60px 20px 25px;
    font-size: 1.3rem;
    border: 2px solid var(--gray-700);
    border-radius: 50px;
    background: var(--dark-alt);
    color: var(--white);
    outline: none;
}

.search-box input:focus {
    border-color: var(--primary);
}

.search-close {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: rgba(99, 102, 241, 0.2);
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.search-close:hover {
    background: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.search-results {
    width: 100%;
    max-width: 700px;
    margin: 0 20px 40px;
    max-height: calc(100vh - 300px);
    overflow-y: auto;
    padding: 0 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    &::-webkit-scrollbar {
        display: none;
    }
}

.search-result-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    margin-bottom: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.search-result-item:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: var(--primary);
    transform: translateX(4px);
}

.search-result-thumb {
    width: 160px;
    height: 90px;
    min-width: 160px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.search-result-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.search-result-title {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-meta {
    color: var(--gray-400);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===== HERO CAROUSEL ===== */
.hero-section {
    position: relative;
    height: 700px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-alt) 100%);
    margin-top: 0;
    clear: both;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: blur(0);
    background-position: center;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    padding: 60px 0 40px;
    z-index: 2;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.5) 50%, transparent 100%);
    pointer-events: none;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.hero-content * {
    pointer-events: auto;
}

.hero-content .container {
    max-width: 1400px;
    width: 100%;
    padding: 0 24px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
    margin-top: 0;
    line-height: 1.2;
    max-width: 800px;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    color: var(--gray-300);
    font-size: 1rem;
}

.hero-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.hero-description {
    color: var(--gray-300);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 700px;
    margin-bottom: 25px;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

.hero-btn {
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero-btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
}

.hero-btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-darker) 100%);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
    transform: translateY(-2px);
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Swiper Custom Styling */
.hero-swiper .swiper-pagination {
    z-index: 10;
    bottom: 20px !important;
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: auto !important;
    right: auto !important;
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.hero-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--white);
    opacity: 0.5;
}

.hero-swiper .swiper-pagination-bullet-active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    opacity: 1;
    box-shadow: 0 0 8px rgba(99, 102, 241, 0.6);
}

.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    color: var(--white);
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    z-index: 3;
}

.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
    background: var(--primary);
}

/* Hide navigation arrows on mobile and adjust pagination */
@media (max-width: 767px) {
    .hero-swiper .swiper-button-next,
    .hero-swiper .swiper-button-prev {
        display: none !important;
    }

    .hero-slide img {
        object-fit: cover;
        background-position: center;
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    .hero-content {
        justify-content: flex-end;
    }
    
    .hero-swiper .swiper-pagination {
        bottom: 20px !important;
        z-index: 10;
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: auto !important;
        right: auto !important;
        text-align: center !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    /* Ensure hero buttons don't overlap with pagination */
    .hero-actions {
        margin-bottom: 50px;
    }
}

/* ===== STATS BAR ===== */
.stats-bar {
    background: linear-gradient(to bottom, var(--gray-100), var(--white));
    border-bottom: 1px solid var(--gray-200);
    padding: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-box {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.stat-box:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
}

.stat-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 14px;
    padding: 14px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-icon svg {
    width: 28px;
    height: 28px;
    fill: var(--white);
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.stat-box:hover .stat-icon {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-darker) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.35);
}

.stat-box:hover .stat-icon svg {
    transform: scale(1.05);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-top: 4px;
}

/* ===== VIDEO SECTIONS ===== */
.video-section {
    padding: 80px 0;
}

.video-section.dark-section {
    background: linear-gradient(to bottom, var(--gray-100), var(--white));
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
}

.view-all {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.view-all:hover {
    color: var(--primary-dark);
}

/* Video Swiper */
.video-swiper {
    padding: 10px 0 30px;
}

.video-swiper .swiper-button-next,
.video-swiper .swiper-button-prev {
    color: var(--primary);
    background: var(--white);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid var(--gray-200);
}

.video-swiper .swiper-button-next:hover,
.video-swiper .swiper-button-prev:hover {
    background: var(--primary);
    color: var(--white);
}

.video-swiper .swiper-button-next::after,
.video-swiper .swiper-button-prev::after {
    font-size: 20px;
}

/* Video Card */
.video-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
    height: 100%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.video-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.25);
}

.video-card-thumb {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    background: var(--gray-200);
}

.video-card-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-card-thumb img {
    transform: scale(1.05);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.9);
    color: var(--white);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
}

.video-card-content {
    padding: 16px;
}

.video-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.video-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.video-card-views {
    font-weight: 600;
    color: var(--primary);
}

/* ===== MOBILE BOTTOM NAVIGATION ===== */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 767px) {
    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.95) 100%);
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(99, 102, 241, 0.2);
        z-index: 1000;
        padding: 8px 0 max(8px, env(safe-area-inset-bottom));
    }
    
    /* Floating social icons mobile */
    .floating-social {
        right: 12px;
        bottom: 95px;
        gap: 10px;
    }
    
    .floating-social-btn {
        width: 40px;
        height: 40px;
    }
    
    .floating-social-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .mobile-bottom-nav {
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
        justify-content: space-around;
        align-items: center;
    }
    
    .mobile-nav-link {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 8px 4px;
        color: var(--gray-400);
        text-decoration: none;
        transition: all 0.3s ease;
        border-radius: 8px;
        margin: 0 4px;
        min-height: 60px;
    }
    
    .mobile-nav-link svg {
        width: 22px;
        height: 22px;
        transition: all 0.3s ease;
    }
    
    .mobile-nav-link span {
        font-size: 0.7rem;
        font-weight: 500;
        transition: all 0.3s ease;
    }
    
    .mobile-nav-link.active {
        color: var(--primary);
    }
    
    .mobile-nav-link.active svg {
        transform: scale(1.1);
    }
    
    .mobile-nav-link:active {
        background: rgba(229, 9, 20, 0.1);
        transform: scale(0.95);
    }
    
    /* Add padding to body to prevent content from being hidden behind bottom nav */
    body {
        padding-bottom: 70px;
    }
}

@media (max-width: 480px) {
    .mobile-nav-link {
        padding: 6px 2px;
        gap: 3px;
        min-height: 55px;
    }
    
    .mobile-nav-link svg {
        width: 20px;
        height: 20px;
    }
    
    .mobile-nav-link span {
        font-size: 0.65rem;
    }
    
    body {
        padding-bottom: 65px;
    }
}

@media (max-width: 360px) {
    .mobile-nav-link {
        padding: 5px 2px;
        gap: 2px;
        min-height: 50px;
    }
    
    .mobile-nav-link svg {
        width: 18px;
        height: 18px;
    }
    
    .mobile-nav-link span {
        font-size: 0.6rem;
    }
    
    body {
        padding-bottom: 60px;
    }
}

/* ===== ABOUT PAGE ===== */
.about-section {
    padding: 80px 0 40px;
    background: linear-gradient(to bottom, var(--gray-100), var(--white));
    min-height: calc(100vh - 200px);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-header {
    text-align: center;
    margin-bottom: 60px;
}

.about-profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid var(--primary);
    object-fit: cover;
    margin-bottom: 30px;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
}

.about-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.about-subtitle {
    font-size: 1.2rem;
    color: var(--gray-600);
    margin-bottom: 40px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.about-stat-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: 16px;
    border: 2px solid var(--gray-200);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.about-stat-item:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
}

.about-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.about-stat-label {
    font-size: 1rem;
    color: var(--gray-600);
    font-weight: 600;
}

.about-description {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    border: 2px solid var(--gray-200);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.about-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 20px;
}

.about-description p:last-child {
    margin-bottom: 0;
}

.about-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.about-subscribe-btn {
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.about-subscribe-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-darker) 100%);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
}

.about-youtube-btn {
    padding: 16px 32px;
    background: var(--white);
    color: var(--primary);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.about-youtube-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.3);
}

/* ===== FOOTER ===== */
.main-footer {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-alt) 100%);
    color: var(--gray-300);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(99, 102, 241, 0.2);
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-brand img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.footer-brand h3 {
    font-size: 1.5rem;
    color: var(--white);
}

.footer-desc {
    color: var(--gray-400);
    line-height: 1.6;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-subscribe-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.footer-subscribe-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-darker) 100%);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
    transform: translateY(-1px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--gray-800);
    color: var(--gray-500);
}

.footer-bottom p {
    margin: 5px 0;
}

.footer-bottom a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

/* ===== FLOATING SOCIAL ICONS ===== */
.floating-social {
    position: fixed;
    right: 20px;
    bottom: 100px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
    transition: all 0.3s ease;
    position: relative;
}

.floating-social-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.floating-social-btn.instagram {
    background: linear-gradient(135deg, #E4405F 0%, #C13584 50%, #833AB4 100%);
    box-shadow: 0 4px 12px rgba(225, 48, 108, 0.4);
}

.floating-social-btn.instagram:hover {
    box-shadow: 0 6px 20px rgba(225, 48, 108, 0.6);
}

.floating-social-btn.facebook {
    background: linear-gradient(135deg, #1877F2 0%, #0C63D4 100%);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
}

.floating-social-btn.facebook:hover {
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.6);
}

.floating-social-btn.share {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.4);
}

.floating-social-btn.share:hover {
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.6);
}

.floating-social-btn svg {
    width: 24px;
    height: 24px;
}

/* ===== LOADING OVERLAY ===== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-overlay.hidden {
    display: none;
}

.loader {
    text-align: center;
}

.loader-ring {
    display: inline-block;
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.loader-ring:after {
    content: " ";
    display: block;
    width: 64px;
    height: 64px;
    margin: 8px;
    border-radius: 50%;
    border: 6px solid var(--primary);
    border-color: var(--primary) transparent var(--primary) transparent;
    animation: loader-ring 1.2s linear infinite;
}

@keyframes loader-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loader p {
    color: var(--white);
    margin-top: 20px;
    font-size: 1.1rem;
}

/* ===== SHORTS PAGE - REELS STYLE ===== */
.shorts-page {
    background: var(--dark);
    overflow: hidden;
}

.shorts-page .main-header {
    display: none;
}

/* Fixed Header for Shorts */
.shorts-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.9) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1000;
    width: 100%;
}

.back-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.back-btn:hover {
    background: rgba(99, 102, 241, 0.25);
    border-color: rgba(99, 102, 241, 0.4);
    transform: scale(1.05);
}

.shorts-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    flex: 1;
    text-align: center;
    margin: 0;
}

.subscribe-btn-small {
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    flex-shrink: 0;
}

.subscribe-btn-small:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-darker) 100%);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
    transform: translateY(-1px);
}

/* Reels Container - Instagram Style */
.reels-container {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100vh - 60px);
    height: calc(100dvh - 60px); /* Dynamic viewport height for mobile */
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.reels-container::-webkit-scrollbar {
    display: none;
}

.reels-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Individual Reel */
.reel-item {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for mobile */
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
}

.reel-video-container {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 500px;
    margin: 0 auto;
    background: var(--dark);
}

.reel-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: pointer;
}

.reel-video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    background: var(--dark);
    z-index: 1;
}

.reel-video-iframe[src=""] {
    display: none;
}

.reel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 80px 20px 20px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.5) 50%, transparent 100%);
    z-index: 3;
    pointer-events: none;
}

.reel-overlay * {
    pointer-events: auto;
}

.reel-info {
    color: var(--white);
}

.reel-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.reel-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--gray-300);
}

.reel-views {
    font-weight: 600;
}

/* Action Buttons */
.reel-actions {
    position: absolute;
    right: 15px;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 4;
}

.reel-action-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: none;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reel-action-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.reel-action-btn svg {
    width: 24px;
    height: 24px;
}

/* Play Button Overlay */
.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.5);
}

.play-overlay:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-darker) 100%);
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.7);
}

.play-overlay svg {
    width: 40px;
    height: 40px;
    color: var(--white);
}

/* Scroll Hint */
.scroll-hint {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--white);
    z-index: 999;
    animation: bounce 2s infinite;
    pointer-events: none;
}

.scroll-hint p {
    margin-top: 5px;
    font-size: 0.9rem;
    opacity: 0.8;
}

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

.scroll-hint.hidden {
    display: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-section {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .header-content {
        flex-wrap: wrap;
        gap: 10px;
        padding: 12px 0;
    }
    
    .logo-section {
        gap: 8px;
        flex: 1 1 auto;
        min-width: 0;
    }
    
    .header-logo {
        width: 42px;
        height: 42px;
    }
    
    .brand-title {
        font-size: 1.1rem;
    }
    
    .brand-subtitle {
        font-size: 0.8rem;
    }

    .main-nav {
        display: none;
    }
    
    .nav-link {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    .header-actions {
        gap: 8px;
        flex-shrink: 0;
    }
    
    .search-toggle {
        width: 36px;
        height: 36px;
    }
    
    .subscribe-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .hero-section {
        height: 80vh;
        min-height: 350px;
        max-height: 650px;
        margin-top: 0;
    }
    
    .hero-content {
        padding: 100px 0 60px;
        top: 0;
        bottom: 0;
        min-height: auto;
    }
    
    .hero-content .container {
        padding-top: 20px;
    }

    .hero-title {
        font-size: 1.6rem;
        margin-bottom: 12px;
        margin-top: 0;
    }
    
    .hero-meta {
        font-size: 0.9rem;
        gap: 12px;
        margin-bottom: 15px;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .hero-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .stat-box {
        padding: 15px;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        padding: 12px;
        border-radius: 12px;
    }
    
    .stat-icon svg {
        width: 26px;
        height: 26px;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.4rem;
    }
    
    .section-header {
        margin-bottom: 20px;
    }
    
    .video-section {
        padding: 40px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-swiper .swiper-button-next,
    .hero-swiper .swiper-button-prev {
        display: none !important;
    }
    
    .hero-swiper .swiper-pagination {
        bottom: 20px !important;
        z-index: 10;
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: auto !important;
        right: auto !important;
        text-align: center !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    /* Ensure hero buttons don't overlap with pagination */
    .hero-actions {
        margin-bottom: 50px;
    }
    
    .video-swiper .swiper-button-next,
    .video-swiper .swiper-button-prev {
        width: 35px;
        height: 35px;
    }
    
    .video-swiper .swiper-button-next::after,
    .video-swiper .swiper-button-prev::after {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .header-content {
        padding: 10px 0;
    }
    
    .header-logo {
        width: 36px;
        height: 36px;
    }
    
    .brand-title {
        font-size: 0.95rem;
    }
    
    .brand-subtitle {
        font-size: 0.7rem;
        display: none;
    }
    
    .subscribe-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    /* Floating social icons - small mobile */
    .floating-social {
        right: 10px;
        bottom: 90px;
        gap: 8px;
    }
    
    .floating-social-btn {
        width: 38px;
        height: 38px;
    }
    
    .floating-social-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .search-toggle {
        width: 32px;
        height: 32px;
    }
    
    .main-nav {
        gap: 0;
    }
    
    .nav-link {
        padding: 5px 8px;
        font-size: 0.75rem;
    }

    .hero-section {
        height: 70vh;
        min-height: 280px;
        max-height: 650px;
        margin-top: 0;
    }
    
    .hero-content {
        padding: 120px 0 50px;
        top: 0;
        bottom: 0;
        min-height: auto;
    }
    
    .hero-content .container {
        padding-top: 20px;
    }

    .hero-title {
        font-size: 1.3rem;
        margin-bottom: 10px;
        margin-top: 0;
    }

    .hero-meta {
        font-size: 0.8rem;
        gap: 8px;
        flex-wrap: wrap;
    }

    .hero-description {
        font-size: 0.9rem;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .hero-btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .stats-bar {
        padding: 20px 0;
    }
    
    .stat-box {
        padding: 12px;
        gap: 10px;
    }
    
    .stat-icon {
        width: 46px;
        height: 46px;
        padding: 11px;
        border-radius: 11px;
    }
    
    .stat-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .stat-value {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
    
    .view-all {
        font-size: 0.9rem;
    }
    
    .video-section {
        padding: 30px 0;
    }
    
    .video-card-title {
        font-size: 0.9rem;
    }
    
    .video-card-meta {
        font-size: 0.8rem;
    }
    
    .footer-grid {
        gap: 25px;
    }
    
    .footer-brand h3 {
        font-size: 1.3rem;
    }
    
    /* Hide navigation arrows on mobile for better UX */
    .video-swiper .swiper-button-next,
    .video-swiper .swiper-button-prev {
        display: none;
    }
    
    /* About page mobile */
    .about-section {
        padding: 40px 0 30px;
    }
    
    .about-header {
        margin-bottom: 40px;
    }
    
    .about-profile-img {
        width: 120px;
        height: 120px;
        margin-bottom: 20px;
    }
    
    .about-title {
        font-size: 2rem;
    }
    
    .about-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .about-stat-item {
        padding: 20px;
    }
    
    .about-stat-value {
        font-size: 1.5rem;
    }
    
    .about-description {
        padding: 25px;
        margin-bottom: 30px;
    }
    
    .about-description p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .about-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .about-subscribe-btn,
    .about-youtube-btn {
        width: 100%;
        justify-content: center;
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    /* Shorts page mobile */
    .shorts-header {
        height: 56px;
        padding: 0 12px;
        gap: 10px;
    }
    
    .back-btn {
        width: 36px;
        height: 36px;
    }
    
    .back-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .shorts-title {
        font-size: 1.1rem;
        font-weight: 700;
    }
    
    .subscribe-btn-small {
        padding: 6px 14px;
        font-size: 0.8rem;
        border-radius: 18px;
    }
    
    .reels-container {
        top: 56px;
        height: calc(100vh - 56px);
        height: calc(100dvh - 56px); /* Dynamic viewport height for mobile */
    }
    
    .reel-item {
        height: calc(100vh - 56px);
        height: calc(100dvh - 56px); /* Dynamic viewport height for mobile */
    }
    
    .reel-video-container {
        max-width: 100%;
    }
    
    .reel-overlay {
        padding: 60px 15px 15px;
    }
    
    .reel-title {
        font-size: 0.9rem;
        margin-bottom: 8px;
        line-height: 1.3;
    }
    
    .reel-meta {
        font-size: 0.8rem;
        gap: 8px;
    }
    
    .reel-actions {
        right: 10px;
        bottom: 70px;
        gap: 15px;
    }
    
    .reel-action-btn {
        width: 42px;
        height: 42px;
    }
    
    .reel-action-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .play-overlay {
        width: 65px;
        height: 65px;
    }
    
    .play-overlay svg {
        width: 32px;
        height: 32px;
    }
}

/* ===== EXTRA SMALL DEVICES (320px and below) ===== */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    
    /* Header adjustments */
    .header-content {
        padding: 8px 0;
        gap: 6px;
        flex-wrap: wrap;
    }
    
    .logo-section {
        gap: 6px;
        min-width: 0;
        flex: 1 1 auto;
    }
    
    .header-logo {
        width: 32px;
        height: 32px;
        border-width: 1.5px;
        box-shadow: 0 0 0 2px rgba(229, 9, 20, 0.2);
    }
    
    .brand-title {
        font-size: 0.85rem;
        line-height: 1.1;
    }
    
    .brand-subtitle {
        display: none;
    }
    
    .main-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 2px;
        margin-top: 6px;
        flex: 1 1 100%;
    }
    
    .nav-link {
        padding: 4px 6px;
        font-size: 0.7rem;
        border-radius: 6px;
    }
    
    /* Floating social icons - extra small */
    .floating-social {
        right: 8px;
        bottom: 85px;
        gap: 6px;
    }
    
    .floating-social-btn {
        width: 36px;
        height: 36px;
    }
    
    .floating-social-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .header-actions {
        gap: 6px;
        flex-shrink: 0;
    }
    
    .search-toggle {
        width: 30px;
        height: 30px;
    }
    
    .search-toggle svg {
        width: 16px;
        height: 16px;
    }
    
    .subscribe-btn {
        padding: 5px 10px;
        font-size: 0.7rem;
        letter-spacing: 0.3px;
    }
    
    /* Hero section adjustments */
    .hero-section {
        height: 60vh;
        min-height: 250px;
        max-height: 350px;
        margin-top: 0;
    }
    
    .hero-content {
        padding: 130px 0 45px;
        top: 0;
        bottom: 0;
        min-height: auto;
    }
    
    .hero-content .container {
        padding: 20px 10px 0;
    }
    
    .hero-title {
        font-size: 1.1rem;
        margin-bottom: 8px;
        margin-top: 0;
        line-height: 1.3;
        max-width: 100%;
    }
    
    .hero-meta {
        font-size: 0.7rem;
        gap: 6px;
        margin-bottom: 12px;
        flex-wrap: wrap;
    }
    
    .hero-meta span {
        gap: 3px;
    }
    
    .hero-description {
        font-size: 0.8rem;
        line-height: 1.5;
        margin-bottom: 15px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        max-width: 100%;
    }
    
    .hero-actions {
        gap: 10px;
        flex-direction: column;
        width: 100%;
    }
    
    .hero-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
        width: 100%;
        justify-content: center;
        border-radius: 6px;
    }
    
    .hero-btn svg {
        width: 16px;
        height: 16px;
    }
    
    /* Hero swiper controls - hidden on mobile */
    .hero-swiper .swiper-button-next,
    .hero-swiper .swiper-button-prev {
        display: none !important;
    }
    
    .hero-swiper .swiper-pagination {
        bottom: 20px !important;
        z-index: 10;
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: auto !important;
        right: auto !important;
        text-align: center !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    /* Ensure hero buttons don't overlap with pagination */
    .hero-actions {
        margin-bottom: 50px;
    }
    
    .hero-swiper .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }
    
    /* Stats bar */
    .stats-bar {
        padding: 15px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .stat-box {
        padding: 10px;
        gap: 8px;
    }
    
    .stat-icon {
        width: 44px;
        height: 44px;
        padding: 10px;
        border-radius: 10px;
    }
    
    .stat-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .stat-value {
        font-size: 1.1rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    /* About page - extra small */
    .about-section {
        padding: 30px 0 20px;
    }
    
    .about-profile-img {
        width: 100px;
        height: 100px;
    }
    
    .about-title {
        font-size: 1.5rem;
    }
    
    .about-subtitle {
        font-size: 0.9rem;
    }
    
    .about-stats {
        gap: 15px;
        margin-bottom: 30px;
    }
    
    .about-stat-item {
        padding: 15px;
    }
    
    .about-stat-value {
        font-size: 1.3rem;
    }
    
    .about-stat-label {
        font-size: 0.9rem;
    }
    
    .about-description {
        padding: 20px;
        margin-bottom: 25px;
    }
    
    .about-description p {
        font-size: 0.95rem;
    }
    
    /* Shorts page - extra small */
    .shorts-header {
        height: 52px;
        padding: 0 10px;
        gap: 8px;
    }
    
    .back-btn {
        width: 34px;
        height: 34px;
    }
    
    .back-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .shorts-title {
        font-size: 1rem;
    }
    
    .subscribe-btn-small {
        padding: 5px 12px;
        font-size: 0.75rem;
        border-radius: 16px;
    }
    
    .reels-container {
        top: 52px;
        height: calc(100vh - 52px);
        height: calc(100dvh - 52px); /* Dynamic viewport height for mobile */
    }
    
    .reel-item {
        height: calc(100vh - 52px);
        height: calc(100dvh - 52px); /* Dynamic viewport height for mobile */
    }
    
    .reel-overlay {
        padding: 50px 12px 12px;
    }
    
    .reel-title {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }
    
    .reel-meta {
        font-size: 0.75rem;
        gap: 6px;
    }
    
    .reel-actions {
        right: 8px;
        bottom: 60px;
        gap: 12px;
    }
    
    .reel-action-btn {
        width: 40px;
        height: 40px;
    }
    
    .reel-action-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .play-overlay {
        width: 60px;
        height: 60px;
    }
    
    .play-overlay svg {
        width: 28px;
        height: 28px;
    }
    
    /* Video sections */
    .video-section {
        padding: 25px 0;
    }
    
    .section-header {
        margin-bottom: 15px;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .section-title {
        font-size: 1.1rem;
    }
    
    .view-all {
        font-size: 0.85rem;
    }
    
    .video-card-content {
        padding: 12px;
    }
    
    .video-card-title {
        font-size: 0.85rem;
        margin-bottom: 8px;
        line-height: 1.3;
    }
    
    .video-card-meta {
        font-size: 0.75rem;
        gap: 6px;
    }
    
    .video-duration {
        font-size: 0.75rem;
        padding: 3px 6px;
        bottom: 6px;
        right: 6px;
    }
    
    /* Footer */
    .main-footer {
        padding: 40px 0 20px;
    }
    
    .footer-grid {
        gap: 20px;
    }
    
    .footer-brand {
        gap: 10px;
    }
    
    .footer-brand img {
        width: 40px;
        height: 40px;
    }
    
    .footer-brand h3 {
        font-size: 1.1rem;
    }
    
    .footer-desc {
        font-size: 0.85rem;
    }
    
    .footer-col h4 {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .footer-links {
        font-size: 0.85rem;
    }
    
    .footer-links li {
        margin-bottom: 8px;
    }
    
    .footer-subscribe-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .footer-bottom {
        padding-top: 20px;
        font-size: 0.8rem;
    }
    
    /* Search overlay */
    .search-overlay {
        padding-top: 60px;
    }
    
    .search-box {
        margin: 0 15px 15px;
    }
    
    .search-box input {
        padding: 16px 50px 16px 20px;
        font-size: 1.1rem;
        border-radius: 30px;
    }
    
    .search-close {
        width: 40px;
        height: 40px;
        right: 12px;
        font-size: 1.5rem;
    }
    
    .search-results {
        max-width: 100%;
        margin: 0 15px 30px;
        max-height: calc(100vh - 200px);
    }
    
    .search-result-item {
        padding: 12px;
        gap: 12px;
    }
    
    .search-result-thumb {
        width: 120px;
        height: 68px;
        min-width: 120px;
    }
    
    .search-result-title {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }
    
    .search-result-meta {
        font-size: 0.8rem;
    }
    
    .search-result-thumb {
        width: 100px;
        height: 56px;
        min-width: 100px;
    }
}

/* ===== MINIMUM SIZE (320px) ===== */
@media (max-width: 320px) {
    .container {
        padding: 0 8px;
    }
    
    /* Header - even more compact */
    .header-content {
        padding: 6px 0;
        gap: 4px;
    }
    
    .logo-section {
        gap: 4px;
    }
    
    .header-logo {
        width: 28px;
        height: 28px;
    }
    
    .brand-title {
        font-size: 0.75rem;
    }
    
    .main-nav {
        gap: 1px;
        margin-top: 4px;
    }
    
    .nav-link {
        padding: 3px 5px;
        font-size: 0.65rem;
    }
    
    .search-toggle {
        width: 28px;
        height: 28px;
    }
    
    .search-toggle svg {
        width: 14px;
        height: 14px;
    }
    
    .subscribe-btn {
        padding: 4px 8px;
        font-size: 0.65rem;
        letter-spacing: 0.2px;
    }
    
    /* Hero section - minimum size */
    .hero-section {
        height: 60vh;
        min-height: 220px;
        max-height: 300px;
        margin-top: 0;
    }
    
    .hero-content {
        padding: 140px 0 40px;
        top: 0;
        bottom: 0;
        min-height: auto;
    }
    
    .hero-content .container {
        padding: 20px 8px 0;
    }
    
    .hero-title {
        font-size: 1rem;
        margin-bottom: 6px;
        margin-top: 0;
        line-height: 1.2;
    }
    
    .hero-meta {
        font-size: 0.65rem;
        gap: 4px;
        margin-bottom: 10px;
    }
    
    .hero-description {
        font-size: 0.75rem;
        margin-bottom: 12px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
    
    .hero-actions {
        gap: 8px;
    }
    
    .hero-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .hero-btn svg {
        width: 14px;
        height: 14px;
    }
    
    /* Hero swiper controls - hidden on very small screens */
    .hero-swiper .swiper-button-next,
    .hero-swiper .swiper-button-prev {
        display: none !important;
    }
    
    .hero-swiper .swiper-pagination {
        bottom: 20px !important;
        z-index: 10;
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: auto !important;
        right: auto !important;
        text-align: center !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    /* Ensure hero buttons don't overlap with pagination */
    .hero-actions {
        margin-bottom: 50px;
    }
    
    .hero-swiper .swiper-pagination-bullet {
        width: 6px;
        height: 6px;
        margin: 0 3px;
    }
    
    /* Stats bar - compact */
    .stats-bar {
        padding: 12px 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .stat-box {
        padding: 8px;
        gap: 6px;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
        padding: 9px;
        border-radius: 9px;
    }
    
    .stat-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .stat-value {
        font-size: 1rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    /* Shorts page - minimum size */
    .shorts-header {
        height: 50px;
        padding: 0 8px;
        gap: 6px;
    }
    
    .back-btn {
        width: 32px;
        height: 32px;
    }
    
    .back-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .shorts-title {
        font-size: 0.95rem;
    }
    
    .subscribe-btn-small {
        padding: 4px 10px;
        font-size: 0.7rem;
        border-radius: 14px;
    }
    
    .reels-container {
        top: 50px;
        height: calc(100vh - 50px);
        height: calc(100dvh - 50px); /* Dynamic viewport height for mobile */
    }
    
    .reel-item {
        height: calc(100vh - 50px);
        height: calc(100dvh - 50px); /* Dynamic viewport height for mobile */
    }
    
    .reel-overlay {
        padding: 45px 10px 10px;
    }
    
    .reel-title {
        font-size: 0.8rem;
        margin-bottom: 5px;
    }
    
    .reel-meta {
        font-size: 0.7rem;
        gap: 5px;
    }
    
    .reel-actions {
        right: 6px;
        bottom: 55px;
        gap: 10px;
    }
    
    .reel-action-btn {
        width: 38px;
        height: 38px;
    }
    
    .reel-action-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .play-overlay {
        width: 55px;
        height: 55px;
    }
    
    .play-overlay svg {
        width: 24px;
        height: 24px;
    }
    
    /* Video sections */
    .video-section {
        padding: 20px 0;
    }
    
    .section-title {
        font-size: 1rem;
    }
    
    .view-all {
        font-size: 0.8rem;
    }
    
    .video-card-content {
        padding: 10px;
    }
    
    .video-card-title {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }
    
    .video-card-meta {
        font-size: 0.7rem;
    }
    
    /* Footer - compact */
    .main-footer {
        padding: 30px 0 15px;
    }
    
    .footer-grid {
        gap: 15px;
    }
    
    .footer-brand img {
        width: 35px;
        height: 35px;
    }
    
    .footer-brand h3 {
        font-size: 1rem;
    }
    
    .footer-desc {
        font-size: 0.8rem;
    }
    
    .footer-col h4 {
        font-size: 0.95rem;
        margin-bottom: 10px;
    }
    
    .footer-links {
        font-size: 0.8rem;
    }
    
    .footer-links li {
        margin-bottom: 6px;
    }
    
    .footer-subscribe-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    
    .footer-bottom {
        padding-top: 15px;
        font-size: 0.75rem;
    }
    
    /* Floating social icons - minimum size */
    .floating-social {
        right: 6px;
        bottom: 80px;
        gap: 5px;
    }
    
    .floating-social-btn {
        width: 34px;
        height: 34px;
    }
    
    .floating-social-btn svg {
        width: 14px;
        height: 14px;
    }
    
    /* Search overlay - compact */
    .search-overlay {
        padding-top: 60px;
    }
    
    .search-box {
        margin: 0 8px;
    }
    
    .search-box input {
        padding: 12px 45px 12px 15px;
        font-size: 0.9rem;
    }
    
    .search-close {
        width: 30px;
        height: 30px;
        font-size: 1.3rem;
    }
    
    .search-result-item {
        padding: 10px;
        gap: 8px;
    }
    
    .search-result-thumb {
        width: 80px;
        height: 45px;
    }
    
    .search-result-title {
        font-size: 0.85rem;
    }
    
    .search-result-meta {
        font-size: 0.75rem;
    }
}
