     * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

     body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      background: linear-gradient(135deg, #667eea, #764ba2, #ff7a18, #af002d);
      background-size: 400% 400%;
      animation: gradientShift 12s ease infinite;
      min-height: 100vh;
      padding: 20px;
  }

  @keyframes gradientShift {
      0% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
  }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            background: rgba(255, 255, 255, 0.95);
            border-radius: 20px;
            padding: 30px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        }

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

        .header h1 {
            color: #333;
            font-size: 2.5em;
            margin-bottom: 10px;
        }

        .header p {
            color: #666;
            font-size: 1.1em;
        }

        .upload-area {
            border: 3px dashed #ccc;
            border-radius: 15px;
            padding: 40px;
            text-align: center;
            margin-bottom: 30px;
            transition: all 0.3s ease;
            cursor: pointer;
              background: #ffeaea;
                animation: gradientShift 12s ease infinite;
     }

        .upload-area:hover {
            border-color: #667eea;
            background-color: rgba(102, 126, 234, 0.1);
        }

        .upload-area.dragover {
            border-color: #667eea;
            background-color: rgba(102, 126, 234, 0.2);
            transform: scale(1.02);
        }

        .upload-icon {
            font-size: 4em;
            color: #ccc;
            margin-bottom: 20px;
        }

        .upload-text {
            font-size: 1.2em;
            color: #666;
            margin-bottom: 15px;
        }

        .file-input {
            display: none;
        }

        .browse-btn {
            background: #667eea;
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 25px;
            cursor: pointer;
            font-size: 1em;
            transition: background 0.3s ease;
        }

        .browse-btn:hover {
            background: #5a6fd8;
        }

        .progress-bar {
            width: 100%;
            height: 6px;
            background: #f0f0f0;
            border-radius: 3px;
            margin: 20px 0;
            overflow: hidden;
            display: none;
        }

        .progress-fill {
            height: 100%;
            background: linear-gradient(90deg, #667eea, #764ba2);
            width: 0%;
            transition: width 0.3s ease;
        }

        .controls {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 20px 0;
            flex-wrap: wrap;
            gap: 10px;
        }

        .file-count {
            color: #666;
            font-weight: 500;
        }

        .download-all-btn {
            background: #28a745;
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 25px;
            cursor: pointer;
            font-size: 1em;
            transition: background 0.3s ease;
            display: none;
        }

        .download-all-btn:hover {
            background: #218838;
        }

        .results {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }
.file-card {
      background: white;
      border-radius: 10px;
      padding: 20px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      animation: floaty 6s ease-in-out infinite;
  }

  @keyframes floaty {
      0%,100% { transform: translateY(0px); }
      50% { transform: translateY(-6px); }
  }

        .file-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        }

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

        .file-name {
            font-weight: 600;
            color: #333;
            font-size: 1.1em;
            word-break: break-word;
        }

        .file-type {
            background: #667eea;
            color: white;
            padding: 4px 8px;
            border-radius: 12px;
            font-size: 0.8em;
        }

        .file-preview {
            margin-bottom: 15px;
            border-radius: 8px;
            overflow: hidden;
        }

        .file-preview img {
            width: 100%;
            height: 200px;
            object-fit: cover;
        }

        .file-preview video,
        .file-preview audio {
            width: 100%;
            border-radius: 8px;
        }

        .file-preview .text-content {
            background: #f8f9fa;
            padding: 15px;
            border-radius: 8px;
            max-height: 200px;
            overflow-y: auto;
            font-size: 0.9em;
            line-height: 1.4;
        }

        .file-preview .html-content {
            border: 1px solid #ddd;
            border-radius: 8px;
            max-height: 200px;
            overflow: auto;
        }

        .download-btn {
            width: 100%;
            background: #17a2b8;
            color: white;
            border: none;
            padding: 10px;
            border-radius: 8px;
            cursor: pointer;
            font-size: 1em;
            transition: background 0.3s ease;
        }

        .download-btn:hover {
            background: #138496;
        }

        .error-card {
            background: #f8d7da;
            border: 1px solid #f5c6cb;
            color: #721c24;
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 10px;
        }

        .error-title {
            font-weight: 600;
            margin-bottom: 5px;
        }

        .zip-info {
            background: #fff3cd;
            border: 1px solid #ffeaa7;
            color: #856404;
            padding: 15px;
            border-radius: 8px;
            text-align: center;
        }

        .loading {
            text-align: center;
            padding: 20px;
            color: #666;
        }

        .loading::after {
            content: '';
            display: inline-block;
            width: 20px;
            height: 20px;
            border: 2px solid #ccc;
            border-top-color: #667eea;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin-left: 10px;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }

        /* Full-screen modal styles */
        .fullscreen-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.95);
            z-index: 1000;
            overflow: auto;
        }

        .fullscreen-modal.active {
            display: flex;
            flex-direction: column;
        }

        .fullscreen-header {
            background: rgba(255, 255, 255, 0.1);
            padding: 15px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        }

        .back-button {
            background: #667eea;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 20px;
            cursor: pointer;
            font-size: 1em;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: background 0.3s ease;
        }

        .back-button:hover {
            background: #5a6fd8;
        }

        .fullscreen-title {
            color: white;
            font-size: 1.2em;
            font-weight: 600;
            word-break: break-word;
            text-align: center;
            flex: 1;
            margin: 0 20px;
        }

        .fullscreen-download {
            background: #28a745;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 20px;
            cursor: pointer;
            font-size: 1em;
            transition: background 0.3s ease;
        }

        .fullscreen-download:hover {
            background: #218838;
        }

        .fullscreen-content {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            overflow: auto;
        }

        .fullscreen-content img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            border-radius: 10px;
        }

        .fullscreen-content video,
        .fullscreen-content audio {
            max-width: 100%;
            max-height: 100%;
            border-radius: 10px;
        }

        .fullscreen-content iframe {
            width: 100%;
            height: 100%;
            border: none;
            border-radius: 10px;
        }

        .fullscreen-text {
            background: rgba(255, 255, 255, 0.95);
            padding: 30px;
            border-radius: 15px;
            max-width: 90%;
            max-height: 80%;
            overflow-y: auto;
            font-size: 1.1em;
            line-height: 1.6;
            color: #333;
        }
            .wh-wrap { cursor: pointer; }
    .wh-bg {
      fill: #25D366;
      transition: transform 150ms ease;
      transform-box: fill-box;
      transform-origin: 50% 50%;
      filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25));
    }
    .wh-icon {
      fill: none;
      stroke: #fff;
      stroke-width: 3.5;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
    a:hover .wh-bg { transform: scale(1.08); }
    a:active .wh-bg { transform: scale(0.98); }
    a:focus .wh-bg { outline: none; stroke: rgba(0,0,0,0.12); }

        .fullscreen-info {
            background: rgba(255, 255, 255, 0.95);
            padding: 40px;
            border-radius: 15px;
            text-align: center;
            color: #333;
        }

        .fullscreen-info h3 {
            margin-bottom: 15px;
            font-size: 2em;
        }

        /* Enhanced mobile styles */
        @media (max-width: 768px) {
            .container {
                padding: 15px;
                margin: 5px;
                border-radius: 15px;
            }

            .header h1 {
                font-size: 1.8em;
                margin-bottom: 8px;
            }

            .header p {
                font-size: 1em;
            }

            .upload-area {
                padding: 25px 15px;
                border-radius: 12px;
            }

            .upload-icon {
                font-size: 3em;
                margin-bottom: 15px;
            }

            .upload-text {
                font-size: 1.1em;
                margin-bottom: 12px;
            }

            .browse-btn {
                padding: 12px 20px;
                font-size: 1em;
            }

            .results {
                grid-template-columns: 1fr;
                gap: 15px;
            }

            .file-card {
                padding: 15px;
                border-radius: 8px;
                cursor: pointer;
                transition: transform 0.2s ease;
            }

            .file-card:active {
                transform: scale(0.98);
            }

            .file-name {
                font-size: 1em;
            }

            .file-type {
                font-size: 0.75em;
            }

            .controls {
                flex-direction: column;
                align-items: stretch;
                gap: 15px;
            }

            .download-all-btn {
                width: 100%;
                padding: 15px;
                font-size: 1.1em;
            }

            /* Fullscreen mobile adjustments */
            .fullscreen-header {
                padding: 10px 15px;
            }

            .back-button,
            .fullscreen-download {
                padding: 8px 15px;
                font-size: 0.9em;
            }

            .fullscreen-title {
                font-size: 1em;
                margin: 0 10px;
            }

            .fullscreen-content {
                padding: 15px;
            }

            .fullscreen-text {
                padding: 20px;
                max-width: 95%;
                max-height: 85%;
                font-size: 1em;
            }

            .fullscreen-info {
                padding: 30px 20px;
                max-width: 95%;
            }

            .fullscreen-info h3 {
                font-size: 1.5em;
            }
        }

        @media (max-width: 480px) {
            .container {
                padding: 10px;
                margin: 2px;
            }

            .header h1 {
                font-size: 1.6em;
            }

            .upload-area {
                padding: 20px 10px;
            }

            .file-card {
                padding: 12px;
            }

            .fullscreen-header {
                padding: 8px 12px;
            }

            .back-button,
            .fullscreen-download {
                padding: 6px 12px;
                font-size: 0.85em;
            }

            .fullscreen-title {
                font-size: 0.9em;
                margin: 0 8px;
            }

            .fullscreen-content {
                padding: 10px;
            }
        }