/* OyeTools Style YouTube Thumbnail Downloader */
.oyetools-container {
    max-width: 1000px;
    margin: 20px auto;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 30px;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

/* Header Section */
.oyetools-header {
    text-align: center;
    margin-bottom: 30px;
}

.oyetools-header i {
    font-size: 48px;
    color: #ff0000;
    margin-bottom: 10px;
}

.oyetools-header h2 {
    margin: 0 0 10px;
    font-size: 28px;
    color: #1a1a2e;
}

.oyetools-header p {
    color: #666;
    font-size: 16px;
    margin: 0;
}

/* Input Area */
.oyetools-input-area {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.oyetools-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s;
    background: white;
}

.oyetools-input:focus {
    outline: none;
    border-color: #ff0000;
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.1);
}

.oyetools-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.oyetools-btn-primary {
    background: #ff0000;
    color: white;
}

.oyetools-btn-primary:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}

/* Loading State */
.oyetools-loading {
    text-align: center;
    padding: 30px;
    font-size: 18px;
    color: #ff0000;
    background: #fff0f0;
    border-radius: 12px;
}

/* Error State */
.oyetools-error {
    background: #fee;
    color: #c00;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 20px;
    border-left: 4px solid #ff0000;
}

/* Results Grid */
.oyetools-results {
    margin-top: 30px;
}

.oyetools-video-title {
    background: #1a1a2e;
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
}

.oyetools-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.oyetools-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    cursor: pointer;
}

.oyetools-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.oyetools-card-preview {
    background: #f0f0f0;
    overflow: hidden;
}

.oyetools-card-preview img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.oyetools-card:hover .oyetools-card-preview img {
    transform: scale(1.05);
}

.oyetools-card-info {
    padding: 15px;
    text-align: center;
}

.quality-badge {
    display: inline-block;
    background: #ff0000;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.file-size {
    display: block;
    font-size: 11px;
    color: #888;
    margin-bottom: 12px;
}

.oyetools-download-btn {
    width: 100%;
    background: #1a1a2e;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.oyetools-download-btn:hover {
    background: #ff0000;
    transform: scale(1.02);
}

/* Features Section */
.oyetools-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
    font-size: 13px;
}

.feature i {
    color: #ff0000;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .oyetools-container {
        padding: 20px;
        margin: 10px;
    }
    
    .oyetools-header h2 {
        font-size: 22px;
    }
    
    .oyetools-input-area {
        flex-direction: column;
    }
    
    .oyetools-btn-primary {
        justify-content: center;
    }
    
    .oyetools-preview-grid {
        grid-template-columns: 1fr;
    }
    
    .feature {
        font-size: 11px;
    }
}