/* ----------------------------------------------
   GLOBAL FRONT-END WRAPPER
---------------------------------------------- */
.al-front {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 16px;
    font-family: Inter, Arial, sans-serif;
    color: #fff;
}

/* ----------------------------------------------
   HEADINGS
---------------------------------------------- */
.al-front h2 {
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 14px;
}

/* ----------------------------------------------
   FEATURED SLIDER
---------------------------------------------- */
.al-front-featured {
    margin-bottom: 40px;
}

.al-featured-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.al-slider-inner {
    width: 300px;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.al-featured-item {
    width: 300px;
    height: 300px;
    display: none;
    flex-direction: column;
    text-align: center;
}

.al-featured-item.active {
    display: flex;
}

.al-featured-img-inner img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 14px;
    border: none !important; /* no border on featured */
}

.al-featured-name {
    margin-top: 10px;
    font-weight: 700;
    font-size: 18px;
    text-align: center;
}

/* ARROWS */
.al-slider-prev,
.al-slider-next {
    background: #151515;
    border: 1px solid #303030;
    width: 36px;
    height: 36px;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.al-slider-prev:hover,
.al-slider-next:hover {
    background: #202020;
}

/* ----------------------------------------------
   GRID HEADER (SORT + SEARCH)
---------------------------------------------- */
.al-grid-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.al-grid-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Sort dropdown – smaller width so it fits mobile */
#al-sort-front {
    padding: 6px 8px;
    border-radius: 6px;
    border: 1px solid #303030;
    background: #181818;
    color: #fff;
    width: 80px; /* fits max 6 chars: A–Z, Z–A, New, Old */
}

/* Search box */
#al-search-front {
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #303030;
    background: #181818;
    color: #fff;
}

/* ----------------------------------------------
   ARTIST GRID
---------------------------------------------- */
.al-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 18px;
}

.al-card {
    background: #151515;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #252525; /* thin border */
    text-align: center;
    cursor: pointer;
    transition: transform 0.16s ease;
}

.al-card:hover {
    transform: translateY(-3px);
}

.al-card-img-inner img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 10px;
}

.al-card-name {
    margin-top: 10px;
    font-weight: 700;
    font-size: 15px;
    height: 20px;
}

/* ----------------------------------------------
   MODAL
---------------------------------------------- */
.al-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(4px);
    background: rgba(0,0,0,0.65);
    z-index: 9999;
}

.al-modal {
    background: #111;
    border-radius: 14px;
    padding: 20px;
    width: 92%;
    max-width: 420px;
    margin: 80px auto 0;
    text-align: center;
    border: 1px solid #252525;
}

.al-modal-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 14px;
}

.al-modal-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* MODAL CLOSE BUTTON — TOP LEFT */
.al-modal-close {
    position: absolute;
    left: 12px;
    top: 12px;
    background: #151515;
    border: 1px solid #303030;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
}

/* ----------------------------------------------
   BUTTONS (same look as "Tickets")
---------------------------------------------- */
.al-button {
    background: #e50914;
    color: #fff;
    border-radius: 6px;
    padding: 10px 14px;
    display: block;
    text-align: center;
    width: 100%;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.al-button:hover {
    background: #ff1c1c;
}

/* ----------------------------------------------
   MOBILE FIXES
---------------------------------------------- */
@media (max-width: 600px) {

    /* Keep All Artists centered */
    .al-grid-header {
        flex-direction: column;
        gap: 12px;
    }

    .al-grid-controls {
        width: 100%;
        justify-content: center;
    }

    #al-sort-front {
        width: 70px;
    }

    #al-search-front {
        width: 120px;
    }

    /* modal spacing */
    .al-modal {
        margin-top: 60px;
    }
}
