 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Arial', sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: #333;
            line-height: 1.6;
            overflow-x: hidden;
            max-width: 100%;
            position: relative;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
            width: 100%;
            box-sizing: border-box;
            overflow-x: hidden;
        }

        /* Header Section */
        .channel-header {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 40px;
            margin-bottom: 40px;
            text-align: center;
            color: white;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .channel-header h1 {
            font-size: 3rem;
            margin-bottom: 10px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
        }

        .channel-header p {
            font-size: 1.2rem;
            opacity: 0.9;
            max-width: 600px;
            margin: 0 auto;
        }

        /* Video Grid */
        .videos-section {
            margin-bottom: 40px;
        }

        .section-title {
            color: white;
            font-size: 2.5rem;
            margin-bottom: 30px;
            text-align: center;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
            padding: 0 20px;
            word-wrap: break-word;
            hyphens: auto;
        }

        .video-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 25px;
            margin-top: 30px;
        }

        .video-card {
            background: rgba(255, 255, 255, 0.95);
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
            cursor: pointer;
            border: 2px solid transparent;
        }

        .video-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
            border-color: #4facfe;
        }

        .thumbnail-wrapper {
            position: relative;
            overflow: hidden;
        }

        .thumbnail-wrapper img {
            width: 100%;
            height: auto;
            aspect-ratio: 16 / 9;
            object-fit: cover;
            transition: transform 0.3s ease;
            min-height: 160px;
            max-height: 250px;
        }

        /* Ensure images don't cause overflow */
        .thumbnail-wrapper {
            position: relative;
            overflow: hidden;
            width: 100%;
        }

        .video-card:hover .thumbnail-wrapper img {
            transform: scale(1.05);
        }

        .play-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.4);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .video-card:hover .play-overlay {
            opacity: 1;
        }

        .play-button {
            width: 70px;
            height: 70px;
            background: rgba(255, 255, 255, 0.9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            color: #333;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }

        .video-card-info {
            padding: 20px;
        }

        .video-card-info h4 {
            font-size: 1.3rem;
            margin-bottom: 8px;
            color: #333;
            font-weight: 600;
        }

        .video-card-info p {
            color: #666;
            font-size: 0.95rem;
            margin-bottom: 12px;
        }

        .video-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.85rem;
            color: #888;
        }

        .video-duration {
            background: #ff4757;
            color: white;
            padding: 4px 8px;
            border-radius: 4px;
            font-weight: bold;
        }

        /* Stats Section */
        .stats-section {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border-radius: 15px;
            padding: 30px;
            margin-bottom: 40px;
            color: white;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            text-align: center;
        }

        .stat-item h3 {
            font-size: 2.5rem;
            margin-bottom: 5px;
            color: #4facfe;
        }

        .stat-item p {
            font-size: 1rem;
            opacity: 0.9;
        }

        /* Responsive Design - Fixed mobile issues */
        @media (max-width: 768px) {
            .channel-header {
                padding: 20px 15px;
                margin-bottom: 20px;
            }

            .channel-header h1 {
                font-size: 1.8rem;
                margin-bottom: 8px;
            }

            .channel-header p {
                font-size: 1rem;
                padding: 0 10px;
            }

            .channel-avatar {
                width: 80px;
                height: 80px;
                font-size: 2rem;
                margin-bottom: 15px;
            }

            .container {
                padding: 10px;
                max-width: 100%;
                overflow-x: hidden;
            }

            .video-grid {
                grid-template-columns: 1fr;
                gap: 15px;
                max-width: 100%;
                margin: 0;
            }

            .video-card {
                margin: 0 auto;
                max-width: 100%;
            }

            .video-card-info {
                padding: 15px;
            }

            .video-card-info h4 {
                font-size: 1.1rem;
            }

            .video-card-info p {
                font-size: 0.9rem;
            }

            .section-title {
                font-size: 2rem;
                margin-bottom: 20px;
            }

            .play-button {
                width: 60px;
                height: 60px;
                font-size: 20px;
            }
        }

        /* Extra small devices */
        @media (max-width: 480px) {
            .container {
                padding: 8px;
            }

            .channel-header {
                padding: 15px 10px;
            }

            .channel-header h1 {
                font-size: 1.6rem;
            }

            .section-title {
                font-size: 1.8rem;
                text-align: center;
                padding: 0 10px;
            }

            .video-grid {
                gap: 12px;
            }

            .video-card-info {
                padding: 12px;
            }

            .thumbnail-wrapper img {
                height: 180px;
            }
        }

        /* Large screens optimization */
        @media (min-width: 1200px) {
            .video-grid {
                grid-template-columns: repeat(4, 1fr);
            }
        }

        @media (max-width: 1199px) and (min-width: 900px) {
            .video-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 20px;
            }
        }

        @media (max-width: 899px) and (min-width: 600px) {
            .video-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 18px;
            }
        }

        /* Updated Grid Layout for 33 videos - Optimized for all screen sizes */
        .video-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 18px;
            margin-top: 30px;
            max-width: 100%;
            width: 100%;
            padding: 0 10px;
            box-sizing: border-box;
        }

        /* Prevent horizontal overflow */
        html, body {
            overflow-x: hidden;
            max-width: 100%;
        }

        /* Ensure all containers fit mobile screens */
        .container {
            max-width: 100%;
            box-sizing: border-box;
        }

        /* Loading Animation */
        @keyframes pulse {
            0% { opacity: 1; }
            50% { opacity: 0.5; }
            100% { opacity: 1; }
        }

        .loading {
            animation: pulse 2s infinite;
        }

        /* Channel Stats Highlight */
        .channel-header {
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
        }

        /* Updated Grid Layout for 33 videos */
        .video-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 18px;
            margin-top: 30px;
            max-width: 1400px;
            margin-left: auto;
            margin-right: auto;
        }

        /* Enhance grid for large number of videos */
        @media (min-width: 1200px) {
            .video-grid {
                grid-template-columns: repeat(4, 1fr);
            }
        }

        @media (max-width: 1199px) and (min-width: 900px) {
            .video-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (max-width: 899px) and (min-width: 600px) {
            .video-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        /* Enhanced Card Styling */
        .video-card {
            background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
            border: 2px solid transparent;
            transition: all 0.3s ease;
        }

        .video-card:hover {
            border: 2px solid #4facfe;
            box-shadow: 0 15px 35px rgba(79, 172, 254, 0.3);
        }

        /* Channel Logo/Avatar */
        .channel-avatar {
            width: 100px;
            height: 100px;
            background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
            border-radius: 50%;
            margin: 0 auto 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.5rem;
            color: white;
            font-weight: bold;
            box-shadow: 0 10px 30px rgba(79, 172, 254, 0.4);
        }

        /* Video card responsive fixes */
        .video-card {
            background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
            border: 2px solid transparent;
            transition: all 0.3s ease;
            width: 100%;
            max-width: 100%;
            box-sizing: border-box;
            overflow: hidden;
        }

        /* Responsive iframe for modal */
        .video-modal iframe {
            width: 100%;
            max-width: 800px;
            height: 450px;
            max-height: 70vh;
            border: none;
            border-radius: 10px;
        }

        /* Mobile iframe adjustment */
        @media (max-width: 768px) {
            .video-modal iframe {
                width: 95vw;
                height: calc(95vw * 9 / 16);
                max-height: 60vh;
            }
        }