/* Image Converter Hub Page Styles */
.hub-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 2rem 1rem !important;
}

.hub-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 1rem 0;
    text-align: center;
}

.hub-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    text-align: center;
    margin: 0 0 3rem 0;
    line-height: 1.6;
}

.hub-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin: 3rem 0 1rem 0;
}

.hub-text {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
}

/* Format Cards Grid */
.format-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 1.5rem !important;
    margin: 2rem 0 !important;
}

.format-card {
    background: white !important;
    padding: 2rem !important;
    border-radius: 0.75rem !important;
    border: 1px solid #e5e7eb !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
    display: block !important;
}

.format-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.format-card-title {
    margin: 0 0 0.75rem 0 !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
}

.format-card-desc {
    margin: 0 0 1.5rem 0;
    color: #6b7280;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.format-card-btn {
    display: inline-block !important;
    padding: 0.875rem 1.75rem !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    border-radius: 0.75rem !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 0.9375rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4) !important;
    position: relative !important;
    overflow: hidden !important;
}

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

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

.format-card-btn:hover {
    background: linear-gradient(135deg, #5568d3 0%, #6a3f8f 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5) !important;
    color: white !important;
    text-decoration: none !important;
}

.format-card-btn:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4) !important;
}

/* Popular Conversions Grid */
.popular-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 1rem !important;
    margin: 2rem 0 !important;
}

.popular-card {
    background: white !important;
    padding: 1.25rem !important;
    border-radius: 0.5rem !important;
    border: 1px solid #e5e7eb !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
    display: block !important;
}

.popular-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.popular-link {
    color: #4f46e5;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.2s ease;
}

.popular-link:hover {
    color: #764ba2;
}

.popular-desc {
    margin: 0;
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .format-grid,
    .popular-grid {
        grid-template-columns: 1fr;
    }
    
    .hub-title {
        font-size: 2rem;
    }
    
    .hub-section-title {
        font-size: 1.5rem;
    }
}

