* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(180deg, #fff9f0 0%, #fff3ee 100%);
    min-height: 100vh;
    overflow-x: hidden;
    color: #7e5b5b;
}

img {
    display: block;
    max-width: 100%;
}


.navbar {
    width: 95%;
    min-height: 75px;
    background: rgba(255, 255, 255, 0.45);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50px;
    margin: 25px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 35px;
    box-shadow: 0 12px 30px rgba(180, 106, 114, 0.08);
}

.logo a {
    text-decoration: none;
    color: #B46A72;
    font-weight: 700;
    font-size: 20px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 50px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #B46A72;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease, transform 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #D98C99;
    transform: translateY(-1px);
}

.nav-links a.active {
    color: #A8B58A;
}

.search-box {
    width: 250px;
    height: 40px;
    background: rgba(247, 200, 211, 0.8);
    border: 1px solid rgba(180, 106, 114, 0.08);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.search-box input {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    font-family: 'Poppins', sans-serif;
    color: #B46A72;
    font-size: 14px;
}

.search-box input::placeholder {
    color: #B46A72;
    opacity: 0.7;
}

.search-box span {
    color: #B46A72;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
}


.artist-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 60px;
    padding: 0 20px 80px;
}

.artist-grid {
    width: min(1100px, 92%);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px 26px;
}

.artist-card {
    display: block;
    text-align: center;
    text-decoration: none;
    animation: fadeUp 0.8s ease;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    cursor: pointer;
    padding: 18px 14px 20px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.38);
    border: 1px solid rgba(184, 168, 140, 0.18);
    box-shadow: 0 12px 24px rgba(180, 106, 114, 0.08);
}

.artist-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(180, 106, 114, 0.12);
}

.artist-card img {
    transition: transform 0.4s ease, filter 0.4s ease;
}

.artist-card:hover img {
    transform: scale(1.06);
    filter: saturate(1.05);
}

.artist-image {
    width: min(100%, 220px);
    height: 164px;
    background: linear-gradient(135deg, #f4f4f4 0%, #efe7e2 100%);
    border-radius: 22px;
    overflow: hidden;
    margin: 0 auto;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 10px 18px rgba(145, 124, 126, 0.12);
}

.artist-card:hover .artist-image {
    transform: translateY(-6px);
}

.artist-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artist-card h3 {
    margin-top: 18px;
    font-size: 16px;
    color: #A8B58A;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.artist-card p {
    margin-top: 6px;
    font-size: 14px;
    color: #B46A72;
    font-weight: 500;
    line-height: 1.5;
}


@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (max-width: 1100px) {
    .artist-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}

@media (max-width: 860px) {
    .navbar {
        border-radius: 30px;
        flex-wrap: wrap;
        justify-content: center;
        padding: 18px 20px;
        gap: 14px 18px;
    }

    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px 18px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .search-box {
        width: min(100%, 280px);
    }

    .artist-section {
        margin-top: 28px;
    }

    .artist-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 18px;
    }
}

@media (max-width: 520px) {
    .navbar {
        width: 90%;
        margin-top: 16px;
        padding: 14px 16px;
        border-radius: 24px;
    }

    .logo a {
        font-size: 18px;
    }

    .nav-links {
        gap: 8px 14px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .search-box {
        height: 38px;
        width: 100%;
    }

    .artist-section {
        padding: 0 14px 60px;
    }

    .artist-grid {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .artist-card {
        padding: 14px 12px 16px;
        border-radius: 22px;
    }

    .artist-image {
        height: 156px;
        border-radius: 18px;
    }

    .artist-card h3 {
        font-size: 15px;
        margin-top: 14px;
    }

    .artist-card p {
        font-size: 12px;
    }
}
