/* VideoFetch Plugin Styles */
.videofetch-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.videofetch-hero {
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 40px;
    border-radius: 20px;
    margin-bottom: 60px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.videofetch-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.videofetch-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.videofetch-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.videofetch-input-group {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.videofetch-input {
    flex: 1;
    min-width: 300px;
    padding: 15px 20px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.videofetch-input:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}

.videofetch-btn {
    padding: 15px 30px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.videofetch-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.videofetch-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.videofetch-result {
    background: rgba(255,255,255,0.9);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    backdrop-filter: blur(10px);
}

.videofetch-result.success {
    border-left: 4px solid #27ae60;
}

.videofetch-error {
    background: rgba(231, 76, 60, 0.9);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.videofetch-download-link {
    display: inline-block;
    background: #27ae60;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    margin-top: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.videofetch-download-link:hover {
    background: #219a52;
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

/* Plateformes supportées */
.videofetch-platforms {
    text-align: center;
    margin-bottom: 60px;
}

.videofetch-platforms h3 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #2c3e50;
}

.videofetch-platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.videofetch-platform {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.videofetch-platform:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.videofetch-platform-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.videofetch-platform-icon.tiktok {
    background: linear-gradient(135deg, #000000, #333333);
}

.videofetch-platform-icon.instagram {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.videofetch-platform-icon.snapchat {
    background: linear-gradient(135deg, #fffc00, #ffffff);
    color: #333;
}

.videofetch-platform h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.videofetch-platform p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* Comment ça marche */
.videofetch-howto {
    background: #f8f9fa;
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
}

.videofetch-howto h3 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #2c3e50;
}

.videofetch-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.videofetch-step {
    text-align: center;
}

.videofetch-step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.videofetch-step h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.videofetch-step p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .videofetch-wrapper {
        padding: 10px;
    }
    
    .videofetch-hero {
        padding: 40px 20px;
    }
    
    .videofetch-title {
        font-size: 2rem;
    }
    
    .videofetch-subtitle {
        font-size: 1rem;
    }
    
    .videofetch-input-group {
        flex-direction: column;
    }
    
    .videofetch-input {
        min-width: auto;
    }
    
    .videofetch-platforms h3,
    .videofetch-howto h3 {
        font-size: 2rem;
    }
    
    .videofetch-platforms-grid,
    .videofetch-steps {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.videofetch-result,
.videofetch-error {
    animation: fadeIn 0.5s ease;
}

/* Loader */
.videofetch-loader {
    display: inline-block;
}

.videofetch-btn:disabled .videofetch-btn-text {
    display: none;
}

.videofetch-btn:not(:disabled) .videofetch-loader {
    display: none !important;
}

