/* Homepage Category Section */
.zwr-homepage-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.zwr-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.zwr-section-header h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.zwr-section-subtitle {
    font-size: 18px;
    color: #666;
    margin: 0;
}

/* Category Grid */
.zwr-category-grid {
    display: grid;
    gap: 25px;
    margin-bottom: 40px;
}

.zwr-category-grid.zwr-cols-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.zwr-category-grid.zwr-cols-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.zwr-category-grid.zwr-cols-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Category Card */
.zwr-category-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.zwr-category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-color: transparent;
}

.zwr-category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.zwr-category-card:hover::before {
    transform: scaleX(1);
}

/* Category Icon */
.zwr-category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 8px 16px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s ease;
}

.zwr-category-card:hover .zwr-category-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Category Title */
.zwr-category-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: #1a1a1a;
}

/* Category Count */
.zwr-category-count {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin: 15px 0;
}

.zwr-category-count .count {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.zwr-category-count .label {
    font-size: 14px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Category Arrow */
.zwr-category-arrow {
    font-size: 24px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: #667eea;
}

.zwr-category-card:hover .zwr-category-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive */
@media (max-width: 768px) {
    .zwr-category-grid {
        grid-template-columns: 1fr;
    }
    
    .zwr-section-header h2 {
        font-size: 32px;
    }
    
    .zwr-category-card {
        padding: 25px;
    }
    
    .zwr-category-icon {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.zwr-category-card {
    animation: fadeInUp 0.6s ease backwards;
}

.zwr-category-card:nth-child(1) { animation-delay: 0.1s; }
.zwr-category-card:nth-child(2) { animation-delay: 0.2s; }
.zwr-category-card:nth-child(3) { animation-delay: 0.3s; }
.zwr-category-card:nth-child(4) { animation-delay: 0.4s; }
.zwr-category-card:nth-child(5) { animation-delay: 0.5s; }
.zwr-category-card:nth-child(6) { animation-delay: 0.6s; }
