.container {
    max-width: 1200px;
    margin: 1rem auto;
    padding: 0 20px;
}

/* --- Hero Section --- */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
                url('https://images.unsplash.com/photo-1550684848-fac1c5b4e853?q=80&w=2070&auto=format&fit=crop'); /* Gambar abstrak biru */
    background-size: cover;
    background-position: center;
    min-height: 300px;
    /* height: clamp(260px, 40vw, 420px); */
    border-radius: 20px;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 50px;
    padding: 20px;
}

.hero-content h1 {
    color: white;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;

    /* font-size: clamp(1.5rem, 4vw, 2.5rem); */
    /* line-height: 1.2; */
    word-wrap: break-word;
}

.btn-discover {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    text-decoration: none;

    display: inline-block;
}

.btn-discover:hover {
    background-color: #6d28d9;
}

.section-header {
    margin-bottom: 1rem;
}

.art-category {
    margin-bottom: 2.5rem;
}

.category-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.art-grid {
    display: grid;
    /* grid-template-columns: repeat(4, 1fr); */
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.art-card {
    transition: transform 0.3s;
    cursor: pointer;
    width: 100%;
    min-width: 0;
}

.art-card:hover {
    transform: translateY(-5px);
}

.card-link{
    text-decoration: none;
    color: var(--text-color);
    display: block;
}

.art-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 4px;

    border: 1px solid #eee;
    margin-bottom: 0.25rem;
    overflow: hidden;
    display: block;
}

.art-card h3 {
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 5px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.art-card .price {
    font-size: 1rem;
    color: #333;
    /* font-weight: 600; */
    margin-bottom: 0.25rem;
}

/* .match-score {
    font-size: 0.85rem;
    color: #059669;
    font-weight: 500;
} */


@media (max-width: 768px) {
    .art-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-section {
        margin-bottom: 30px;
        min-height: 220px;

        /* padding: 16px; */
        border-radius: 16px;
    }
    .hero-content h1 {
        font-size: 1.75rem;
    }
    .btn-discover {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .art-grid {
        gap: 1rem;
    }
    /* .art-card h3{
        font-size: 1rem;
    } */
    .hero-content h1 {
        font-size: 1.4rem;
        line-height: 1.3;
    }
    .category-title, .section-header h2 {
        font-size: 1.25rem;
    }
}