.main-container {
    width: 100%;
    position: relative;
    background: var(--Artist-search-background);
    overflow: hidden;
    padding: 0 clamp(4vw,8.33vw,10vw) 36px;
    display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.search-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 600px;
    width: 100%;
}

/* Search Bar Component */
.search-bar {
    padding: 8px 8px 8px 12px;
    overflow: hidden;
    outline-offset: -1px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    display: inline-flex;
    max-width: 500px;
    width: max-content;
    background: var(--Container-background, #101F28);
    box-shadow: 0 1px 0 0.5px #03090C;
}

.search-bar__content {
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    display: flex;
}

.search-bar__icon-image {
    height: 18px;
    width: 18px;
}

.search-bar__text {
    text-align: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    color: var(--Text-text-foreground, white);
    font-size: 13px;
    font-family: Chivo, "Chivo-VariableFont", sans-serif;
    font-weight: 500;
    line-height: 18.85px;
    letter-spacing: 0.13px;
    word-wrap: break-word;
}

.search-bar__button {
    padding: 4px 10px;
    background: var(--Neutral-Color-Neutral-80, #223038);
    box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.15);
    border-radius: 500px;
    outline: 1px var(--border-dark) solid;
    outline-offset: -1px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    display: flex;
}

.search-bar__button-text {
    text-align: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    color: var(--Text-text-foreground, white);
    font-size: 13px;
    font-family: Chivo, "Chivo-VariableFont", sans-serif;
    font-weight: 500;
    line-height: 18.85px;
    letter-spacing: 0.13px;
    word-wrap: break-word;
}

/* Hero Section */
.hero-section {
    width: 100%;
    max-width: 600px;
    position: relative;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 18px;
    display: flex;
    text-align: center;
}

.hero-title {
    align-self: stretch;
    text-align: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
}

.hero-title__primary {
    color: var(--Text-text-foreground, white);
    font-size: 38px;
    font-family: Oxanium, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 41.80px;
    word-wrap: break-word;
}

.hero-title__accent {
    background: linear-gradient(90deg, var(--Text-text-foreground, white) 40%, #59C7FF 60%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; /* fallback for browsers that don't support background-clip */
    font-size: 38px;
    font-family: Oxanium, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 41.80px;
    word-wrap: break-word;
}

.hero-description {
    align-self: stretch;
    text-align: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    color: rgba(255, 255, 255, 0.70);
    font-size: 16px;
    font-family: Chivo, "Chivo-VariableFont", sans-serif;
    font-weight: 500;
    line-height: 23.20px;
    letter-spacing: 0.16px;
    word-wrap: break-word;
}

/* Search Input */
.search-input-form {
    width: 100%;
    max-width: 500px;
    padding: 4px 4px 4px 8px;
    position: relative;
    background: #212E36;
    box-shadow: 0px 8px 32px rgba(17, 17, 26, 0.05);
    border-radius: 500px;
    outline: 1px rgba(134.07, 134.07, 134.07, 0.07) solid;
    outline-offset: -1px;
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
    display: flex;
    min-width: 200px;
}

.search-input-field {
    flex: 1 1 0;
    height: 36px;
    padding: 4px 6px 4px 10px;
    overflow: hidden;
    border-radius: 10px;
    justify-content: flex-start;
    align-items: center;
    display: flex;
    text-align: left;
    color: var(--text-secondary, #D9DFE3);
    font-size: 15px;
    font-family: Chivo, "Chivo-VariableFont", sans-serif;
    font-weight: 500;
    word-wrap: break-word;
    background: transparent;
    min-width: 100px;
}

.search-input-field:focus-visible {
    outline: none;
}

.search-button-container {
    /*height: 42px;*/
    box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.05) inset;
    overflow: hidden;
    border-radius: 500px;
    outline: 1px #2689BB solid;
    outline-offset: -1px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
    display: inline-flex;
}


.search-button {
    /*width: 42px;*/
    /*flex: 1 1 0;*/
    padding: 13px;
    background: linear-gradient(180deg, #008CD4 0%, #47C2FF 100%);
    overflow: hidden;
    border-radius: 500px;
    outline: 2px rgba(238, 242.76, 255, 0.40) solid;
    outline-offset: -2px;
    justify-content: center;
    align-items: center;
    gap: 6px;
    display: inline-flex;
}

/* .search-button-icon removed (unused) */

/* Responsive Design */
@media (max-width: 1600px) {
    .main-container {
        width: 100%;
        max-width: 1512px;
    }
}

@media (max-width: 1200px) {
    .hero-section {
        width: 90%;
    }

    .search-input-form {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .hero-title__primary,
    .hero-title__accent {
        font-size: clamp(24px, 5vw, 38px);
        line-height: 1.1;
    }

    .hero-description {
        font-size: clamp(14px, 3vw, 16px);
        line-height: 1.45;
    }
    /* .search-input-placeholder removed (unused) */

    .search-bar__icon-image {
        height: 16px;
        width: 16px;
    }
}

@media (max-width: 480px) {
    .search-bar {
        flex-direction: column;
        gap: 8px;
        padding: 8px;
    }

    .search-bar__content {
        justify-content: center;
    }
}

/* Artist Type Filter (removed unused block) */

/* Separator */
.filters-separator {
    width: 12px;
    height: 0px;
    transform: rotate(90deg);
    transform-origin: top left;
    outline: 1px #2C3A42 solid;
    outline-offset: -0.50px;
}

/* Genre Filter Container */
.genre-filter-container {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0; /* Allow flex item to shrink */
}

/* All Genre Button */
.all-genre-button {
    flex-shrink: 0;
}

.all-genre-button .genre-filter__option--fixed {
    flex-shrink: 0;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 8px;
    padding-bottom: 8px;
    border-radius: 500px;
    border: 1px rgba(60, 186, 248, 0.40) solid;
    box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.15);
    justify-content: center;
    align-items: center;
    display: flex;
    cursor: pointer;
    transition: all 0.2s ease;
}

.all-genre-button .genre-filter__option--fixed:hover {
    background: rgba(60, 186, 248, 0.30);
}

.all-genre-button .genre-filter__text {
    text-align: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    color: #FFFFFF;
    font-size: 14px;
    letter-spacing: 0.14px;
    word-wrap: break-word;
    white-space: nowrap;
}

/* Genre Filter */
.genre-filter {
    flex: 1 1 0;
    position: relative;
    overflow: hidden;
    background: #161616;
    border-radius: 500px;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    display: flex;
    min-width: 0; /* Allow flex item to shrink */
}

/* Fixed "All genre" button */
.genre-filter__option--fixed {
    flex-shrink: 0; /* Don't shrink the fixed button */
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 8px;
    padding-bottom: 8px;
    background: #1a1a1a;
    /* background: linear-gradient(180deg, #008CD4 0%, #47C2FF 100%); */
    box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.15);
    border-radius: 500px;
    outline: 1px #0A0A0A solid;
    outline-offset: -1px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    display: flex;
    cursor: pointer;
    transition: all 0.2s ease;
}

.genre-filter__option--fixed.inactive {
    background: #161616;
}

/* Scrollable container */
.genre-filter__scrollable {
    flex: 1 1 0;
    overflow-x: auto;
    overflow-y: hidden;
    position: relative;
    min-width: 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.genre-filter__scrollable::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.genre-filter__scrollable-content {
    display: flex;
    gap: 8px;
    width: max-content;
    min-width: 100%;
    padding: 0 26px; /* Add padding to prevent content from being hidden behind scroll buttons */
}

/* Scrollable genre options */
.genre-filter__scrollable .genre-filter__option {
    flex-shrink: 0;
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 8px;
    padding-bottom: 8px;
    background: #212121;
    box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.15);
    border-radius: 500px;
    outline: 1px #080808 solid;
    outline-offset: -1px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    display: flex;
    cursor: pointer;
    transition: all 0.2s ease;
}

.genre-filter__scrollable .genre-filter__option:hover {
    background: rgba(60, 186, 248, 0.30);
}

.genre-filter__scrollable .genre-filter__option--active,
.genre-filter__option--active {
    background: rgba(60, 186, 248, 0.20);
    outline: 1px rgba(60, 186, 248, 0.40) solid;
}

.genre-filter__text {
    text-align: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    color: rgba(255, 255, 255, 0.70);
    font-size: 14px;
    font-family: Chivo, serif, sans-serif;
    font-weight: 300;
    letter-spacing: 0.14px;
    word-wrap: break-word;
    white-space: nowrap;
}

.genre-filter__text--inactive {
    color: rgba(255, 255, 255, 0.60);
}

.genre-filter__scrollable .genre-filter__option--active .genre-filter__text {
    color: var(--Brand-Blue, #3CBAF8);
}

.all-genre-button .genre-filter__option--fixed.genre-filter__option--active .genre-filter__text {
    color: var(--Brand-Blue, #3CBAF8);
}

.all-genre-button .genre-filter__option--fixed.genre-filter__option--inactive .genre-filter__text {
    color: rgba(255, 255, 255, 0.60);
}

/* Gradient Overlays */
.genre-filter__gradient {
    position: absolute;
    top: 0;
    width: 40px;
    height: 33px;
    pointer-events: none;
    z-index: 2;
}

.genre-filter__gradient--left {
    left: 0; /* Position at the start of the scrollable area */
    background: linear-gradient(90deg, #0C1A22 0%, rgba(12, 26, 34, 0) 100%);
}

.genre-filter__gradient--right {
    right: 0; /* Position at the end of the scrollable area */
    background: linear-gradient(270deg, #0C1A22 0%, rgba(12, 26, 34, 0) 100%);
}

/* Scroll Buttons */
.genre-filter__scroll-btn {
    width: 26px;
    height: 26px;
    padding: 4px;
    position: absolute;
    background: #223038;
    box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.15);
    border-radius: 500px;
    outline: 1px #2C3A42 solid;
    outline-offset: -1px;
    justify-content: center;
    align-items: center;
    display: flex;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 3;
}

.genre-filter__scroll-btn--left {
    left: 0; /* Position at the left edge of the scrollable container */
    top: 4px;
}

.genre-filter__scroll-btn--right {
    right: 0; /* Position at the right edge of the scrollable container */
    top: 4px;
}

.genre-filter__scroll-btn:hover {
    background: #2a3a42;
}

.genre-filter__scroll-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.genre-filter__scroll-btn:disabled:hover {
    background: #223038;
}

/* Rotate left arrow 180 degrees */
.genre-filter__arrow-left {
    transform: rotate(180deg);
}

/* Sort Filter */
.sort-filter {
    padding-left: 12px;
    padding-right: 12px;
    padding-top: 8px;
    padding-bottom: 8px;
    background: #161616;
    box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.15);
    border-radius: 500px;
    outline: 1px #0A0A0A solid;
    outline-offset: -1px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    display: flex;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sort-filter:hover {
    background: #1a1a1a;
}

.sort-filter__icons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    position: relative;
}

.sort-filter__icon {
    display: block;
}

.sort-filter__icon--small, .artist-card-fanstanding-number {
    width: 12px;
    height: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.sort-filter__icon--large {
    width: 18px;
    height: 18px;
}

.sort-filter__text {
    text-align: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    color: var(--Text-Secondary, #D9DFE3);
    font-size: 14px;
    font-family: Chivo, serif, sans-serif;
    font-weight: 500;
    letter-spacing: 0.14px;
    word-wrap: break-word;
}

/* Pagination */
.pagination-container {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 36px;
    display: inline-flex;
}

.pagination {
    justify-content: flex-start;
    align-items: flex-start;
    gap: 6px;
    display: inline-flex;
}

.pagination-btn {
    width: 36px;
    height: 36px;
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 6px;
    padding-bottom: 6px;
    background: #223038;
    overflow: hidden;
    border-radius: 8px;
    outline: 1px #2C3A42 solid;
    outline-offset: -1px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    display: flex;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination-btn:hover {
    background: #2a3a42;
}

.pagination-btn--prev,
.pagination-btn--next {
    width: auto;
    padding-left: 8px;
    padding-right: 8px;
}

.pagination-btn--active {
    background: rgba(60, 186, 248, 0.20);
    outline: 1px rgba(60, 186, 248, 0.40) solid;
}

.pagination-btn--disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-btn--disabled:hover {
    background: #223038;
}

.pagination-btn--ellipsis {
    background: transparent;
    outline: none;
}

.pagination-number {
    text-align: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    color: rgba(255, 255, 255, 0.70);
    font-size: 15px;
    font-family: Chivo, serif, sans-serif;
    font-weight: 500;
    line-height: 21.75px;
    letter-spacing: 0.15px;
    word-wrap: break-word;
}

.pagination-btn--active .pagination-number {
    color: var(--Brand-Blue, #3CBAF8);
}

.pagination-ellipsis {
    opacity: 0.50;
    text-align: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    color: var(--Text-Secondary, #D9DFE3);
    font-size: 15px;
    font-family: Chivo, serif, sans-serif;
    font-weight: 500;
    line-height: 21.75px;
    letter-spacing: 0.15px;
    word-wrap: break-word;
}

.pagination-arrow-left {
    transform: rotate(180deg);
}

.pagination-arrow-right {
    transform: rotate(0deg);
}


/* Artist Card Styles */
.artist-card-overlay {
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 0;
    right: 0;
    padding-top: 26px;
    padding-bottom: 26px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 14px;
    display: inline-flex;
}

.artist-card-title {
    align-self: stretch;
    text-align: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    color: white;
    font-size: 26px;
    font-family: Oxanium, sans-serif;
    font-weight: 400;
    word-wrap: break-word;
}

.artist-card-stats {
    justify-content: center;
    align-items: center;
    gap: 10px;
    display: inline-flex;
}

.artist-card-stat-item {
    justify-content: flex-start;
    align-items: center;
    gap: 3.53px;
    display: flex;
}

.artist-card-icon-wrapper {
    position: relative;
}

.artist-card-stat-text {
    color: #B0B0B0;
    font-size: 13px;
    font-family: Chivo, serif, sans-serif;
    font-weight: 500;
    word-wrap: break-word;
}

.artist-card-separator {
    outline: 1px #AAAAAA solid;
    outline-offset: -0.50px;
    width: 1px;
    height: 10px;
}

.artist-card-fanstanding-number {
    text-align: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    color: white;
    font-size: 8.09px;
    font-family: Chivo, serif, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 8.09px;
    word-wrap: break-word;
    text-shadow: 0px 0px 1px rgba(0, 0, 0, 0.12);
}

/* .artist-card-star removed (unused) */

/* Responsive adjustments for filters */
@media (max-width: 1400px) {
    .genre-filter-container {
        flex-wrap: wrap;
    }

    .genre-filter {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .genre-filter-container {
        max-width: 100%;
        flex-wrap: nowrap;
    }

    .genre-filter {
        max-width: 100%;
        flex-wrap: nowrap;
    }

    .genre-filter__scrollable {
        margin: 0; /* Remove margins on mobile since scroll buttons are hidden */
    }

    .genre-filter__gradient,
    .genre-filter__scroll-btn {
        display: none;
    }
}
