/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .download-form {
        padding: 30px 20px;
        margin: 0 20px;
    }

    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    .nav-links {
        gap: 20px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .features {
        grid-template-columns: 1fr;
        margin: 60px 20px 0;
    }

    /* Modal responsive adjustments */
    .processing-modal,
    .results-modal {
        width: 95%;
        max-width: none;
        margin: 20px;
    }

    .results-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .video-thumbnail {
        width: 100px;
        height: 70px;
    }

    .video-info h3 {
        font-size: 16px;
    }

    .video-info p {
        font-size: 13px;
    }

    .close-btn {
        top: 15px;
        right: 15px;
        font-size: 20px;
    }

    .results-content {
        padding: 20px;
    }

    /* Responsive table */
    .download-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .download-table th,
    .download-table td {
        padding: 12px 8px;
        font-size: 13px;
        min-width: 80px;
    }

    .download-table th:nth-child(1),
    .download-table td:nth-child(1) {
        min-width: 60px;
    }

    .download-table th:nth-child(2),
    .download-table td:nth-child(2) {
        min-width: 100px;
    }

    .download-table th:nth-child(3),
    .download-table td:nth-child(3) {
        min-width: 80px;
    }

    .download-table th:nth-child(4),
    .download-table td:nth-child(4) {
        min-width: 100px;
    }

    .download-link {
        padding: 6px 12px;
        font-size: 11px;
    }

    .quality-badge,
    .size-badge {
        padding: 3px 6px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .processing-modal,
    .results-modal {
        width: 98%;
        margin: 10px;
    }

    .processing-modal {
        padding: 30px 20px;
    }

    .processing-title {
        font-size: 20px;
    }

    .processing-text {
        font-size: 14px;
    }

    .processing-spinner {
        width: 50px;
        height: 50px;
    }

    .results-header {
        padding: 20px;
    }

    .video-thumbnail {
        width: 80px;
        height: 60px;
    }

    .video-info h3 {
        font-size: 15px;
    }

    .video-info p {
        font-size: 12px;
    }

    .results-content {
        padding: 15px;
    }

    .download-table th,
    .download-table td {
        padding: 10px 6px;
        font-size: 12px;
    }

    .download-link {
        padding: 5px 10px;
        font-size: 10px;
    }

    .quality-badge,
    .size-badge {
        padding: 2px 5px;
        font-size: 10px;
    }
} 