.artist-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    height: 250px;
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: flex-end;
    margin: 0;
    border: 1px solid transparent;
    /* border-radius: 0px 50px 0px 50px; */
    transition: all 0.5s ease;
}

#artist-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.artist-header {
    padding: 6rem 2rem 0;
}

/* Hover effect */
.artist-card:hover {
    transform: translateY(-5px);
}

/* Border animation */
.artist-card::before,
.artist-card::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border: 1px solid transparent;
    transition: all 0.5s ease;
    z-index: 1;
    /* border-radius: 0px 50px 0px 50px; */
    pointer-events: none;
}

.artist-card::before {
    top: 0;
    left: 0;
    border-top-color: #4da6ff;
    border-left-color: #4da6ff;
}

.artist-card::after {
    bottom: 0;
    right: 0;
    border-bottom-color: #4da6ff;
    border-right-color: #4da6ff;
}

.artist-card:hover::before,
.artist-card:hover::after {
    width: 100%;
    height: 100%;
}

.artist-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.artist-info {
    position: relative;
    z-index: 2;
    padding: 0px 0px 10px 20px;
    color: var(--secondary-color);
    width: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.artist-name {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 3;
    padding: 1.2rem;
}

.artist-category {
    font-size: 1rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.artist-card:hover .artist-image {
    transform: scale(1.05);
}

.artist-card:hover {
    transition: transform 0.3s ease;
    cursor: pointer;
}

#eventOverlay .card {
    max-height: 90vh;
    overflow-y: auto;
}

.fade-in {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.fade-out {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

#eventOverlay {
    z-index: 1050;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    transition: opacity 0.3s ease;
}

.card.text-white.bg-black.p-4.shadow-lg.border-0 {
    max-width: 90%;
    width: 500px;
    border-radius: 20px;
}

#eventArtistImage {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 3px solid #fff;
}


@media (max-width: 992px) {
    .hero-title {
        font-size: 10vw;
    }

    .artist-card {
        height: 300px;
    }
}

@media (max-width: 788px) {
    .hero-title {
        font-size: 12vw;
        letter-spacing: 3px;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .artist-card {
        height: 250px;
    }

    .artist-name {
        font-size: .7rem;
    }

    .artist-header {
        padding: 4rem 1rem 0;
    }
}



@media (max-width: 578px) {
    .hero-title {
        font-size: 15vw;
    }

    .artist-card {
        height: 200px;
    }
}

#eventOverlay.show {
    opacity: 1;
    pointer-events: auto;
}

#eventOverlay {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}