        /* GIF Specific Styles */
        .gif-preview-container {
            position: relative;
            overflow: hidden;
            border-radius: 8px;
            background: #f8fafc;
            border: 1px solid #e2e8f0;
        }
        
        .gif-frame-indicator {
            position: absolute;
            top: 8px;
            right: 8px;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 2px 8px;
            border-radius: 12px;
            font-size: 0.7rem;
            font-weight: 600;
            z-index: 10;
        }
        
        .gif-controls {
            display: flex;
            gap: 0.5rem;
            align-items: center;
            margin-top: 0.5rem;
            flex-wrap: wrap;
        }
        
        .gif-play-btn {
            padding: 6px 16px;
            background: linear-gradient(135deg, #4299e1, #2b6cb0);
            color: white;
            border: none;
            border-radius: 6px;
            cursor: pointer;
            font-size: 0.85rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 6px;
            transition: all 0.2s;
        }
        
        .gif-play-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(66, 153, 225, 0.4);
        }
        
        .gif-play-btn:active {
            transform: translateY(0);
        }
        
        .frame-counter {
            font-size: 0.85rem;
            color: #4a5568;
            background: #f7fafc;
            padding: 6px 12px;
            border-radius: 6px;
            border: 1px solid #e2e8f0;
            font-weight: 500;
        }
        
        .frame-extraction-options {
            background: #f0fff4;
            border: 2px solid #c6f6d5;
            border-radius: 10px;
            padding: 1.25rem;
            margin: 1.5rem 0;
        }
        
        .frame-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
            gap: 0.5rem;
            margin-top: 1rem;
            max-height: 300px;
            overflow-y: auto;
            padding: 0.75rem;
            background: #f8fafc;
            border-radius: 8px;
            border: 1px solid #e2e8f0;
        }
        
        .frame-thumb {
            position: relative;
            border: 2px solid #e2e8f0;
            border-radius: 6px;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.2s;
            background: white;
        }
        
        .frame-thumb:hover {
            border-color: #4299e1;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        }
        
        .frame-thumb.selected {
            border-color: #38a169;
            box-shadow: 0 0 0 3px rgba(56, 161, 105, 0.2);
            transform: scale(1.05);
        }
        
        .frame-thumb img {
            width: 100%;
            height: 60px;
            object-fit: contain;
            background: #f8fafc;
        }
        
        .frame-number {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(0, 0, 0, 0.8);
            color: white;
            text-align: center;
            font-size: 0.65rem;
            padding: 3px;
            font-weight: 600;
        }
        
        .frame-delay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            text-align: center;
            font-size: 0.6rem;
            padding: 2px;
        }
        
        /* Frame Selector Styles */
        .frame-selector {
            display: flex;
            gap: 0.5rem;
            align-items: center;
            margin-top: 1rem;
            padding: 1rem;
            background: #f1f5f9;
            border-radius: 8px;
        }
        
        .frame-range {
            flex: 1;
        }
        
        .frame-range input[type="range"] {
            width: 100%;
            height: 6px;
            background: #e2e8f0;
            border-radius: 3px;
            outline: none;
            -webkit-appearance: none;
        }
        
        .frame-range input[type="range"]::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 20px;
            height: 20px;
            background: #4299e1;
            border-radius: 50%;
            cursor: pointer;
            box-shadow: 0 2px 4px rgba(0,0,0,0.2);
        }
        
        /* SEO Content Styles */
        .seo-content {
            max-width: 800px;
            margin: 3rem auto;
            line-height: 1.7;
            color: #4a5568;
        }
        
        .seo-content h2 {
            color: #2d3748;
            margin-top: 2.5rem;
            margin-bottom: 1rem;
            font-size: 1.5rem;
        }
        
        .seo-content h3 {
            color: #2d3748;
            margin-top: 1.5rem;
            margin-bottom: 0.75rem;
            font-size: 1.25rem;
        }
        
        .seo-content p {
            margin-bottom: 1rem;
        }
        
        .seo-content ul, .seo-content ol {
            margin-bottom: 1.5rem;
            padding-left: 1.5rem;
        }
        
        .seo-content li {
            margin-bottom: 0.5rem;
        }
        
        .faq-item {
            margin-bottom: 1rem;
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            overflow: hidden;
        }
        
        .faq-question {
            padding: 1rem;
            background: #edf2f7;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .faq-answer {
            padding: 1rem;
            background: white;
            display: none;
        }
        
        .info-box {
            background: #f0fff4;
            border-left: 4px solid #38a169;
            padding: 1.5rem;
            margin: 1.5rem 0;
            border-radius: 0 8px 8px 0;
        }
        
        .warning-box {
            background: #fffaf0;
            border-left: 4px solid #ed8936;
            padding: 1.5rem;
            margin: 1.5rem 0;
            border-radius: 0 8px 8px 0;
        }
        
        .tip-box {
            background: #ebf8ff;
            border-left: 4px solid #4299e1;
            padding: 1.5rem;
            margin: 1.5rem 0;
            border-radius: 0 8px 8px 0;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .modern-button {
            position: relative;
            overflow: hidden;
        }

        .modern-button::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.3);
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
        }

        .modern-button:hover::before {
            width: 300px;
            height: 300px;
        }

        .upload-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
        }

        .convert-btn:hover {
            transform: translateY(-3px) scale(1.02);
            box-shadow: 0 8px 24px rgba(66, 153, 225, 0.5);
        }

        .download-btn:hover {
            transform: translateY(-2px);
        }

        #downloadBtn:hover {
            box-shadow: 0 6px 20px rgba(34, 197, 94, 0.5);
        }

        #downloadZipBtn:hover {
            box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
            background: linear-gradient(135deg, #7c3aed, #6d28d9);
        }

        .modern-button:active {
            transform: translateY(0);
        }

        #clearBtn:hover {
            background: #fee2e2;
            border-color: #fca5a5;
        }
        
        /* Frame extraction stats */
        .frame-stats {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
            padding: 0.75rem;
            background: #ebf8ff;
            border-radius: 8px;
            border: 1px solid #bee3f8;
        }
        
        .frame-stat {
            display: flex;
            flex-direction: column;
            align-items: center;
            flex: 1;
            padding: 0.5rem;
            background: white;
            border-radius: 6px;
            border: 1px solid #e2e8f0;
        }
        
        .frame-stat-value {
            font-size: 1.2rem;
            font-weight: 700;
            color: #2b6cb0;
        }
        
        .frame-stat-label {
            font-size: 0.75rem;
            color: #718096;
            margin-top: 0.25rem;
        }
        
        /* Error message styles */
        .error-message {
            background: #fee;
            border: 2px solid #f99;
            border-radius: 8px;
            padding: 1rem;
            margin: 1rem 0;
            color: #c00;
            text-align: center;
            display: none;
        }
        
        .fallback-message {
            background: #fffaeb;
            border: 2px solid #fbbf24;
            border-radius: 8px;
            padding: 1rem;
            margin: 1rem 0;
            color: #92400e;
        }
        
        /* Loading spinner */
        .loading-spinner {
            width: 20px;
            height: 20px;
            border: 2px solid rgba(255,255,255,0.3);
            border-top: 2px solid white;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }
        
        /* Frame processing indicator */
        .processing-indicator {
            text-align: center;
            padding: 2rem;
            background: #f8fafc;
            border-radius: 8px;
            border: 2px dashed #e2e8f0;
        }
        
        .frame-loading {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1rem;
            margin: 1rem 0;
        }