/* Media Downloader Plugin Styles */

.md-download-btn {
    display: inline-block;
    margin: 10px 5px;
    padding: 10px 20px;
    padding: 15px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: #fff !important;
    box-shadow: 0 12px 24px rgba(102, 126, 234, 0.3);
    text-decoration: none !important;
    border-radius: 4px;
    font-weight: bold;
}

.md-download-btn:hover {
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 50%, #ec4899 100%);
}

.md-form-wrapper {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.md-error {
    color: #e74c3c;
    font-weight: bold;
}

video {
    margin-top: 10px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 300px;
}


.container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(25px);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 
        0 32px 64px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    width: 100%;
    max-width: 800px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 0 auto;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #ff6b6b 0%, #4ecdc4 25%, #45b7d1 50%, #96ceb4 75%, #ffeaa7 100%);
    /* animation: shimmer 3s linear infinite; */
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

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

.logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 24px;
}

.icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    animation: pulse 3s infinite;
    position: relative;
    box-shadow: 0 16px 32px rgba(102, 126, 234, 0.3);
}

.icon::after {
    content: '';
    position: absolute;
    inset: -4px;
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
    border-radius: 28px;
    z-index: -1;
    animation: rotate 4s linear infinite;
}

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

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.icon svg {
    width: 40px;
    height: 40px;
    fill: white;
    z-index: 1;
}

.unlimited-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
    animation: bounce 2s infinite;
}

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

h1 {
    color: #2d3748;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.subtitle {
    color: #718096;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
}

.unlimited-text {
    color: #ff6b6b;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-section {
    margin-bottom: 32px;
}

.input-container {
    position: relative;
    margin-bottom: 24px;
}

.input-label {
    display: block;
    color: #4a5568;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-url {
    width: 100% !important;
    padding: 15px 20px !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 20px !important;
    font-size: 16px !important;
    background: #fafbfc !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    outline: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

.input-url:focus {
    border-color: #667eea;
    background: white;
    box-shadow: 
        0 0 0 6px rgba(102, 126, 234, 0.1),
        0 8px 24px rgba(102, 126, 234, 0.15);
    transform: translateY(-3px);
}

.input-url::placeholder {
    color: #a0aec0;
    font-style: italic;
}

.download-btn {
    width: 100%;
    padding: 15px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 12px 24px rgba(102, 126, 234, 0.3);
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.download-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 50%, #ec4899 100%);
}

.download-btn:hover::before {
    left: 100%;
}

.download-btn:active {
    transform: translateY(-2px);
}

.features-grid {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
}

.feature {
    text-align: center;
    padding: 24px 16px;
    background: rgba(102, 126, 234, 0.08);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.feature:hover {
    background: rgba(102, 126, 234, 0.12);
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(102, 126, 234, 0.15);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 8px 16px rgba(79, 172, 254, 0.3);
}

.feature-title {
    font-size: 16px;
    color: #2d3748;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-text {
    font-size: 14px;
    color: #718096;
    line-height: 1.5;
}

.stats-section {
    margin-top: 40px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(240, 147, 251, 0.1) 100%);
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(102, 126, 234, 0.15);
}

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

.stat {
    text-align: center;
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: #667eea;
    display: block;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

@media (max-width: 640px) {
    .container {
        padding: 32px 24px;
        margin: 16px;
        border-radius: 24px;
    }
    
    h1 {
        font-size: 28px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
