/* ============================================
   QubePLAY - MAIN PORTAL STYLES
   Black & Yellow Theme
   ============================================ */

/* --------------------------------------------
   RESET & BASE
--------------------------------------------- */
* {
    box-sizing: border-box;
}

body {
    background: #0a0704;
    color: #ffffff;
    font-family: 'Courier New', monospace;
}

a {
    text-transform: uppercase;
    color: inherit;
    outline: none;
    text-decoration: none;
    transition: all 0.3s ease 0s;
}

a:hover {
    color: #ffd700;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

/* NOTE */
.note {
    color: #ffd700;
}

/* NO CAPS - Maintain as is written */
.no-caps {
    text-transform: none;
}

/* ALL CAPS - ALL LETTERS CAPITALIZED */
.all-caps {
    text-transform: uppercase;
}

/* COPY BUTTON */
.copy-btn {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid #ffd700;
    padding: 2px 6px;
    font-size: 12px;
    cursor: pointer;
    margin-left: 5px;
    border-radius: 4px;
    color: #ffd700;
    transition: all 0.3s ease;
}
.copy-btn:hover {
    background-color: #ffd700;
    color: #000;
}

/* VISUALLY HIDDEN */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.text-center {
    text-align: center;
}

.w-full {
    width: 100%;
}

.hide {
    display: none;
}

/* ============================================
   DROPDOWN
   ============================================ */
.dropdown {
    position: relative;
    height: fit-content;
}

.dropdown button {
    border: none;
    background: transparent;
}

.dropdown ul.more {
    z-index: 10;
    position: absolute;
    top: 50px;
    left: 0;
    display: flex;
    flex-direction: column;
    background-color: #1a1a1a;
    padding: 0;
    height: fit-content !important;
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 8px;
    min-width: 180px;
}
.dropdown ul.more a,
.dropdown ul.more li {
    margin: 0;
    padding: 8px 16px;
    color: #fff;
    transition: all 0.3s ease;
}
.dropdown ul.more a:hover,
.dropdown ul.more li:hover {
    background: rgba(255, 215, 0, 0.1);
    color: #ffd700;
}

/* ============================================
   SLIDESHOW
   ============================================ */
.slideshow {
    width: 100%;
    padding-bottom: 35px;
}

.slideshow .slides img {
    min-width: 100%;
    height: auto;
    max-height: 50vh;
    object-fit: cover;
}

.slideshow .slides img:not(:first-child) {
    display: none;
}

@media screen and (max-width: 990px) {
    .slideshow {
        display: none;
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.button {
    display: flex;
    align-items: center;
    gap: 0.1em;
    width: fit-content;
    border: 1px solid #fff;
    color: #fff;
    border-radius: 30px;
    padding: 6px 14px 4px 14px;
    line-height: 1.4;
    font-size: 19px;
    font-weight: 400;
    font-family: 'Courier New', monospace;
    background: none;
    transition: transform 0.3s ease, all 0.3s ease;
    transform-origin: center;
    justify-content: center;
    text-transform: capitalize;
    cursor: pointer;
}

.button svg.icon {
    fill: rgba(255, 255, 255, 0.8);
    transform: scale(0.5);
}

.no-fill {
    fill: transparent !important;
}

.cta {
    color: #ffd700;
    fill: #ffd700;
    border-color: #ffd700;
    font-size: 14px;
}

.cta.white {
    color: #000;
    fill: #000;
    border-color: #ffd700;
    background-color: #ffd700;
}

.cta.white:hover {
    background-color: #fff;
    border-color: #fff;
    transform: scale(1.05);
}

.button.cta svg.icon {
    fill: #ffd700;
}

.button.cta svg.icon.stroke {
    stroke: #ffd700;
}

/* Ghost Button */
.btn-ghost {
    background: transparent;
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: #ffd700;
    padding: 10px 24px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.btn-ghost:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: #ffd700;
    transform: translateY(-2px);
}

/* ============================================
   AVATAR
   ============================================ */
.avatar {
    width: 45px;
    height: 45px;
    min-width: 45px;
    max-height: 45px;
    object-fit: contain;
}

.avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid #ffd700;
}

/* ============================================
   BADGE
   ============================================ */
.badge {
    width: fit-content;
    height: fit-content;
    background-color: #ffd700;
    padding: 4px 8px;
    border-radius: 30px;
    font-size: 0.8em;
    color: #000;
    text-align: center;
    font-weight: 600;
}

/* ============================================
   LAYOUTS
   ============================================ */
.two-responsive-cols {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

/* ============================================
   FORMS
   ============================================ */
form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px;
}

input,
select {
    display: flex;
    align-items: center;
    gap: 0.1em;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 8px;
    padding: 10px 14px;
    line-height: 1.4;
    font-size: 19px;
    font-weight: 400;
    font-family: 'Courier New', monospace;
    background: rgba(255, 255, 255, 0.04);
    transition: all 0.3s ease;
    color-scheme: dark;
}

input:focus,
select:focus {
    border-color: #ffd700;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

input[type="radio"] {
    width: fit-content;
    display: inline;
    accent-color: #ffd700;
}

input[type="checkbox"] {
    width: fit-content;
    max-width: fit-content;
    display: inline;
    padding: 0;
    border: none;
    accent-color: #ffd700;
}

input.form-control:read-only {
    color: #888;
}

input.form-control:focus:read-only {
    border: #888;
}

select {
    width: 100%;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23ffd700' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
}

select option {
    color: #000;
    background: #1a1a1a;
    color: #fff;
}

textarea {
    background-color: rgba(255, 255, 255, 0.04);
    color: #fff;
    font-size: 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 10px 14px;
    width: 100%;
    font-family: 'Courier New', monospace;
    transition: all 0.3s ease;
}

textarea:focus {
    border-color: #ffd700;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

form input.inline {
    display: inline;
    width: fit-content;
}

form .form-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    height: fit-content;
}

form .form-group .required {
    color: #ff6b6b;
}

/* ============================================
   TABLES
   ============================================ */
table {
    width: 100%;
    border-collapse: collapse;
}

tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

thead tr {
    border-bottom: 2px solid #ffd700;
}

th,
td {
    padding: 10px 0;
    text-align: left;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    width: 100%;
    text-align: center;
    position: relative;
    bottom: 0;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

footer ul.socials {
    list-style: none;
    padding: 0;
}

ul.socials li {
    display: inline-block;
    margin: 0 10px;
}

.footer-device-mobile {
    display: none;
}

a.backtotop {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    line-height: 50px;
    font-size: 20px;
    background-color: #ffd700;
    color: #000;
    position: fixed;
    bottom: calc(var(--global-player-offset, 0px) + 16px);
    right: 25px;
    text-align: center;
    transition: all 0.4s ease 0s;
    z-index: 999;
    overflow: hidden;
    border-radius: 50%;
}

a.backtotop:not(.active) {
    transform: scale(0);
}

a.backtotop svg {
    fill: #000;
    transform: scale(0.5);
}

a.backtotop::before {
    position: absolute;
    top: 0;
    left: -100%;
    z-index: 2;
    display: block;
    content: "";
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 100%);
    transform: skewX(-45deg);
}

a.backtotop:hover::before {
    animation: shine 0.75s;
}

@keyframes shine {
    100% {
        left: 125%;
    }
}

@media (max-width: 767px) {
    a.backtotop {
        display: none;
    }
    footer:not(.qplay-footer) {
        display: none;
    }
    .footer-device-mobile {
        position: fixed;
        bottom: 0;
        width: 100%;
        padding: 10px 0;
        margin-top: 100px;
        display: flex;
        justify-content: space-between;
        backdrop-filter: blur(6px);
        background: rgba(10, 7, 4, 0.9);
        border-top: 1px solid rgba(255, 215, 0, 0.1);
    }
    .footer-device-mobile-item {
        width: 20%;
    }
    .footer-device-mobile-item a {
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 11px;
        color: rgba(255, 255, 255, 0.6);
        transition: color 0.3s ease;
    }
    .footer-device-mobile-item a:hover {
        color: #ffd700;
    }
}

/* ============================================
   PRODUCT SECTION
   ============================================ */
.products {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 150px;
}

.products h4 {
    margin-bottom: 1.6em;
    font-size: 1.6em;
    text-transform: capitalize;
    font-weight: 500;
    text-align: center;
    position: relative;
    padding: 0 0 0px;
    margin-bottom: 10px;
    color: #ffd700;
}

.products .items {
    width: 100%;
    margin-bottom: 1.6em;
    display: flex;
    flex-wrap: wrap;
    gap: 1.25em;
    justify-content: space-around;
}

.products .item {
    width: 20%;
    height: auto;
    text-align: center;
}

.products.music .item {
    border-radius: 20px;
}

.products .item img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.products.music .item img {
    border-radius: 20px;
}

.products .item img:first-child {
    display: block;
}
.products .item img:last-child {
    display: none;
}

.products .item-info {
    text-align: center;
}

.products .item-info h5 {
    margin: 1.25em 0 0.375em;
    text-transform: capitalize;
    color: #fff;
    font-size: 1.125em;
    line-height: 1.2;
}

.products .item-name {
    font-family: 'Courier New', monospace;
    font-weight: 400;
    font-size: 1em;
    color: #fff;
}

.music-catalog .item-artist {
    display: block;
    margin-top: 0.25em;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
}

.single-product {
    display: flex;
}

.single-product .single-left {
    width: 40%;
    height: 100%;
}

.single-product .single-right {
    position: sticky;
    top: 30vh;
    flex: 1;
    padding: 40px 0 100px 100px;
    max-width: 30%;
    height: fit-content;
    text-align: center;
}

.product-desc h5 {
    position: relative;
    text-transform: capitalize;
    margin-bottom: 0;
    margin-top: 5px;
    font-size: 21px;
    width: fit-content;
    margin: auto;
    color: #ffd700;
}

.product-desc p {
    font-family: 'Courier New', monospace;
    text-align: center;
    color: #fff;
    font-weight: 400;
    margin-bottom: 30px;
}

.product-desc p .price {
    margin-bottom: 20px;
    font-size: 40px;
    font-family: 'Courier New', monospace;
    font-weight: 400;
    font-size: 24px;
    color: #ffd700;
}

.stock {
    text-transform: capitalize;
    font-size: 10px;
    word-spacing: -4px;
    position: absolute;
    top: -28px;
    right: -45px;
    background: gray;
    padding: 4px;
    padding-top: 6px;
    border-radius: 10px;
}

.stock.in-stock {
    background: #22c55e;
}

.stock.out-of-stock {
    background: #ef4444;
}

.product-meta {
    margin-top: 10px;
}

.product-meta .categories {
    display: inline-block;
    width: 100%;
    font-style: italic;
    text-align: right;
}

.product-meta .categories a {
    text-transform: lowercase;
}

.single-right form.cart,
.single-right .product-meta {
    width: 60%;
    margin: auto;
}

@media screen and (max-width: 720px) {
    .products .item {
        width: 45%;
    }
    .single-product {
        flex-wrap: wrap;
    }
    .single-product .single-left,
    .single-product .single-right {
        width: 100%;
        max-width: 100%;
        margin: auto;
        padding: 0;
    }
    .single-product .single-left {
        display: flex;
        overflow-x: auto;
    }
    .single-left img {
        width: 300px;
        aspect-ratio: 1/1;
        object-fit: contain;
        padding: 0 20px;
    }
    .single-product .single-right {
        margin-top: 30px;
    }
}

/* ============================================
   ARTISTS LISTING
   ============================================ */
.products.artists-listing {
    max-width: 1200px;
    margin: 0 auto 150px;
}

.artists-listing h4 {
    margin-bottom: 20px;
    color: #ffd700;
}

.artists-toolbar {
    width: 100%;
    max-width: 980px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.artists-search {
    width: 100%;
    max-width: 360px;
}

.artists-search input {
    border-radius: 6px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    font-size: 15px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
}

.artists-search input:focus {
    border-color: #ffd700;
    outline: none;
}

.artists-sort {
    color: rgba(255, 255, 255, 0.85);
    font-size: 12px;
    letter-spacing: 0.08em;
}

.artists-sort span {
    margin-left: 18px;
}

.artists-alphabet {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.artists-alphabet button {
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
    letter-spacing: 0.06em;
    cursor: pointer;
    padding: 3px 5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.artists-alphabet button:hover {
    color: #ffd700;
}

.artists-alphabet button.active {
    color: #ffd700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.products.artists-listing .items {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
    justify-content: initial;
    align-items: start;
}

.products.artists-listing .item {
    width: 100%;
    min-width: 0;
}

.products.artists-listing .artist-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.products.artists-listing .artist-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.05);
}

.products.artists-listing .artist-card .item-images {
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
    aspect-ratio: 1 / 1.4;
    position: relative;
}

.products.artists-listing .artist-card .item-images > a {
    position: absolute;
    inset: 0;
    display: block;
}

.products.artists-listing .artist-card .item-images img:first-child {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.products.artists-listing .artist-card .item-images img:last-child {
    display: none;
}

.products.artists-listing .artist-card .item-info {
    flex: 0 0 auto;
    align-self: stretch;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 10px 12px;
    background: rgba(255, 215, 0, 0.05);
    display: block;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.products.artists-listing .artist-card .item-info > a {
    display: block;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

.products.artists-listing .artist-card .item-info h5 {
    margin: 0;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 500;
    color: #ffd700;
    font-family: 'Open Sans', Arial, sans-serif;
    line-height: 1.3;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.products.artists-listing .artist-card .item-info h5 span {
    display: block;
    width: 100%;
}

/* ============================================
   ARTIST PLACEHOLDER - INITIALS
   ============================================ */
.artist-initials-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a0a00, #2d1a0a);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 215, 0, 0.15);
    border-radius: 12px;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.artist-initials-placeholder:hover {
    border-color: rgba(255, 215, 0, 0.4);
    transform: scale(1.02);
}

.artist-initials-placeholder span {
    font-size: 36px;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.15);
    letter-spacing: 2px;
    user-select: none;
}

/* ============================================
   ARTIST PROFILE
   ============================================ */
.artist-profile {
    max-width: 900px;
    margin: 0 auto 120px;
}

.artist-profile-header {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 28px 20px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.3);
    margin-bottom: 26px;
    position: relative;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.artist-profile-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    border-radius: 14px;
}

.artist-profile-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffd700;
}

.artist-profile-header h1 {
    margin: 0 0 8px;
    font-size: 2rem;
    line-height: 1.1;
    color: #ffd700;
}

.artist-profile-header p {
    margin: 0;
    max-width: 620px;
    color: rgba(255, 255, 255, 0.85);
}

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

.artist-panel {
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 10px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.02);
}

.artist-panel.artist-panel-full {
    grid-column: 1 / -1;
}

.artist-panel h3 {
    margin: 0 0 12px;
    font-size: 1rem;
    color: #ffd700;
}

.artist-empty {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

.artist-media-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.artist-media-list.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.artist-media-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.artist-media-list li img {
    width: 56px;
    height: 56px;
    border-radius: 6px;
    object-fit: cover;
}

.artist-media-list li h5 {
    margin: 0;
    font-size: 0.92rem;
    color: #fff;
}

.artist-media-list li p {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.72);
}

.artist-media-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: inherit;
    text-decoration: none;
}

.artist-media-link:hover {
    opacity: 0.85;
    color: #ffd700;
}

/* ============================================
   ALBUM / SINGLE RELEASE - SPOTIFY STYLE
   ============================================ */
.album-release {
    max-width: 480px;
    margin: 0 auto 100px;
    padding: 16px 18px 40px;
    color: #fff;
}

.album-back {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease;
}

.album-back:hover {
    color: #ffd700;
}

.album-hero {
    text-align: center;
    margin-bottom: 20px;
}

.album-cover-stage {
    width: min(100%, 320px);
    margin: 0 auto 16px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    touch-action: pan-y;
}

.album-cover-track {
    display: flex;
    width: 100%;
    transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
}

.album-cover {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    flex: 0 0 100%;
    border: 2px solid rgba(255, 215, 0, 0.1);
}

.album-cover-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: rgba(0, 0, 0, 0.6);
    color: #ffd700;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s ease;
}

.album-cover-nav:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.album-cover-nav--prev {
    left: 8px;
}

.album-cover-nav--next {
    right: 8px;
}

.album-cover-dots {
    position: absolute;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.album-cover-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.3);
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.album-cover-dot.is-active {
    background: #ffd700;
}

.album-cover-dot:hover {
    background: #ffd700;
}

.album-title {
    font-size: 1.75rem;
    margin: 0 0 6px;
    letter-spacing: -0.02em;
    color: #fff;
}

.album-artists {
    margin: 0;
    color: rgba(255, 215, 0, 0.85);
    font-size: 0.95rem;
}

.album-meta-line {
    margin: 8px 0 0;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.album-description-wrap {
    margin-top: 10px;
}

.album-description {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.58);
}

.album-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.album-queue-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 215, 0, 0.35);
    background: rgba(255, 215, 0, 0.12);
    color: #ffd700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.album-queue-btn:hover {
    background: #ffd700;
    color: #000;
}

.album-queue-btn.is-queued {
    background: #ffd700;
    color: #000;
    border-color: #ffd700;
}

.album-purchase {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.album-purchase-price {
    color: #ffd700;
    font-size: 0.9rem;
    font-weight: 600;
}

.album-thumb-mini img {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    object-fit: cover;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

/* MAIN PLAY BUTTON - GOLDEN YELLOW */
.album-play-main {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: #ffd700;
    color: #000;
    font-size: 1.25rem;
    cursor: pointer;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

.album-play-main:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.5);
}

.album-play-main .album-play-main-icon--pause {
    display: none;
}

.album-play-main.is-playing .album-play-main-icon--play {
    display: none;
}

.album-play-main.is-playing .album-play-main-icon--pause {
    display: inline-block;
}

.album-play-main.is-playing {
    animation: pulse-gold 1.5s ease-in-out infinite;
}

@keyframes pulse-gold {
    0%, 100% { box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3); }
    50% { box-shadow: 0 4px 40px rgba(255, 215, 0, 0.6); }
}

.album-play-main-icon--pause {
    width: 16px;
    height: 18px;
    position: relative;
    vertical-align: middle;
}

.album-play-main-icon--pause::before,
.album-play-main-icon--pause::after {
    content: "";
    position: absolute;
    top: 1px;
    width: 5px;
    height: 16px;
    background: currentColor;
    border-radius: 1px;
}

.album-play-main-icon--pause::before {
    left: 0;
}

.album-play-main-icon--pause::after {
    left: 10px;
}

.album-player-panel {
    margin-bottom: 18px;
    background: rgba(255, 215, 0, 0.05);
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.album-now-playing {
    margin: 0 0 8px;
    font-size: 0.8rem;
    color: #ffd700;
    min-height: 1.25em;
}

.album-progress-wrap {
    width: 100%;
}

.album-progress-bar {
    display: block;
    width: 100%;
    height: 6px;
    padding: 0;
    border: none;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
    overflow: hidden;
}

.album-progress-fill {
    display: block;
    height: 100%;
    width: 0%;
    background: #ffd700;
    border-radius: 3px;
    pointer-events: none;
    transition: width 0.08s linear;
}

.album-progress-times {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.45);
    font-variant-numeric: tabular-nums;
}

.album-tracklist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.album-track {
    display: grid;
    grid-template-columns: 28px 1fr minmax(36px, auto) 36px 36px;
    align-items: center;
    gap: 8px 10px;
    padding: 10px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.album-track:hover {
    background: rgba(255, 215, 0, 0.03);
}

.album-track.is-current,
.album-track.is-playing {
    background: rgba(255, 215, 0, 0.1);
    box-shadow: inset 3px 0 0 #ffd700;
}

.album-track.is-playing {
    background: rgba(255, 215, 0, 0.14);
}

.album-track.is-active .track-title,
.album-track.is-current .track-title,
.album-track.is-playing .track-title {
    color: #ffd700;
}

.album-track.is-current .track-num,
.album-track.is-playing .track-num {
    color: #ffd700;
}

.track-num {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.track-main {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.track-main-text {
    display: block;
    min-width: 0;
    flex: 1 1 auto;
}

.track-cover-thumb {
    width: 24px;
    height: 24px;
    border-radius: 3px;
    object-fit: cover;
    flex: 0 0 24px;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.track-title {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #fff;
    transition: color 0.3s ease;
}

.track-sub {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.track-description {
    display: block;
    margin-top: 3px;
    font-size: 0.74rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.5);
}

.track-description-row {
    grid-column: 1 / -1;
}

.js-collapsible-text .js-collapsible-full {
    display: none;
}

.js-collapsible-text .js-collapsible-short {
    display: block;
}

.js-collapsible-text.is-expanded .js-collapsible-short {
    display: none;
}

.js-collapsible-text.is-expanded .js-collapsible-full {
    display: block;
}

.js-collapsible-toggle {
    margin-top: 4px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #ffd700;
    font-size: 0.82rem;
    text-transform: lowercase;
    cursor: pointer;
    transition: color 0.3s ease;
}

.js-collapsible-toggle:hover {
    color: #fff;
}

.track-sub-sep {
    color: rgba(255, 255, 255, 0.35);
}

.track-duration-inline {
    font-variant-numeric: tabular-nums;
    color: rgba(255, 255, 255, 0.45);
}

.track-purchase {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
}

.track-purchase-placeholder {
    display: inline-block;
    min-width: 1ch;
}

.track-audio {
    display: none;
}

/* CART BUTTON - GOLDEN */
.album-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    background: transparent;
    color: #ffd700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.album-more-btn,
.album-playlist-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    background: transparent;
    color: #ffd700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.album-more-btn:hover,
.album-playlist-btn:hover {
    color: #fff;
    transform: scale(1.1);
}

.song-more-menu,
.playlist-add-menu {
    position: fixed;
    z-index: 2000;
    min-width: 220px;
    max-width: 280px;
    background: #14100a;
    border: 1px solid rgba(255, 215, 0, 0.28);
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    padding: 6px;
}

.song-more-menu[hidden],
.playlist-add-menu[hidden] {
    display: none !important;
}

.song-more-menu__title,
.playlist-add-menu__title {
    color: #ffd700;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 8px 10px;
}

.song-more-menu__empty,
.playlist-add-menu__empty {
    color: #888;
    font-size: 13px;
    margin: 0;
    padding: 4px 10px 10px;
}

.song-more-menu__list,
.playlist-add-menu__list {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 240px;
    overflow-y: auto;
}

.song-more-menu__item,
.song-more-menu__back,
.song-more-menu__new,
.playlist-add-menu__item,
.playlist-add-menu__new {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 14px;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
}

.song-more-menu__item i,
.song-more-menu__back i,
.song-more-menu__new i {
    width: 16px;
    color: #ffd700;
    text-align: center;
}

.song-more-menu__item:hover,
.song-more-menu__back:hover,
.song-more-menu__new:hover,
.playlist-add-menu__item:hover,
.playlist-add-menu__new:hover {
    background: rgba(255, 215, 0, 0.1);
    color: #ffd700;
}

.song-more-menu__back {
    font-weight: 600;
    color: #ffd700;
    border-bottom: 1px solid rgba(255, 215, 0, 0.12);
    border-radius: 8px 8px 0 0;
    margin-bottom: 4px;
}

.song-more-menu__new,
.playlist-add-menu__new {
    margin-top: 4px;
    border-top: 1px solid rgba(255, 215, 0, 0.12);
    color: #ffd700;
    font-weight: 600;
}

.album-cart-btn:disabled,
.album-cart-btn.is-in-cart {
    color: #6e6a66;
    cursor: not-allowed;
    opacity: 0.4 !important;
    transform: none;
    pointer-events: none;
}

.album-cart-btn:disabled:hover,
.album-cart-btn.is-in-cart:hover {
    color: #6e6a66;
    transform: none;
}

.song-card-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2px;
    margin-top: 6px;
}

.song-card-actions .album-cart-btn,
.song-card-actions .album-more-btn,
.song-card-actions .queue-add-btn {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.song-card-actions--compact {
    margin-top: 4px;
}

.song-card-actions--compact .album-cart-btn,
.song-card-actions--compact .album-more-btn,
.song-card-actions--compact .queue-add-btn {
    width: 26px;
    height: 26px;
    font-size: 12px;
}

.card-price-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 4;
    background: rgba(10, 7, 4, 0.88);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.35);
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.2;
    pointer-events: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
    white-space: nowrap;
}

.trending-song-item .card-price-badge {
    top: 6px;
    right: 6px;
    padding: 3px 8px;
    font-size: 10px;
}

.album-owned {
    color: #ffd700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.album-owned-check {
    font-weight: 700;
    line-height: 1;
}

.album-free {
    font-size: 0.7rem;
    color: #ffd700;
    text-transform: uppercase;
}

.album-empty {
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

@media (max-width: 480px) {
    .album-track {
        grid-template-columns: 22px 1fr 32px 32px 32px;
        gap: 6px 6px;
    }
}

/* ============================================
   FLASH MESSAGES
   ============================================ */
.flash_messages {
    width: 100%;
}

.alert {
    z-index: 1100;
    position: fixed;
    top: 80px;
    left: 20px;
    right: 20px;
    width: auto;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 12px 44px 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.alert button {
    background-color: transparent;
    color: inherit;
    position: absolute;
    top: 0px;
    right: 20px;
    border: none;
    font-size: 26px;
    cursor: pointer;
}

.alert.alert-success {
    background-color: #22c55e;
    color: #fff;
}

.alert.alert-danger {
    background-color: #ef4444;
    color: #fff;
}

.alert.alert-info {
    background-color: #0ea5e9;
    color: #fff;
}

.alert.alert-warning {
    background-color: #f59e0b;
    color: #000;
}

@media (max-width: 900px) {
    .alert {
        top: 64px;
        left: 12px;
        right: 12px;
    }
}

/* ============================================
   ACCOUNT
   ============================================ */
.account {
    max-width: 1200px;
    margin: 0 auto;
}

.account .auth {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.account .auth h2 {
    font-size: 1.6rem;
    text-transform: uppercase;
    color: #ffd700;
}

.account .auth form {
    flex-direction: column;
}

@media screen and (max-width: 425px) {
    .account .auth {
        display: grid;
        grid-template-columns: auto;
        gap: 50px;
    }
    .account .auth form button[type="submit"] {
        width: 100%;
    }
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */
@media screen and (max-width: 990px) {
    .products.artists-listing .items {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media screen and (max-width: 720px) {
    .products.artists-listing .items {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .artist-profile-header {
        align-items: flex-start;
        flex-direction: column;
    }
    .artist-profile-grid {
        grid-template-columns: 1fr;
    }
    .artist-media-list.two-col {
        grid-template-columns: 1fr;
    }
    .artists-toolbar {
        padding: 0 10px;
    }
    .artist-initials-placeholder span {
        font-size: 28px;
    }
}

@media screen and (max-width: 540px) {
    .products.artists-listing .items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .artist-initials-placeholder span {
        font-size: 22px;
    }
}

@media screen and (max-width: 380px) {
    .products.artists-listing .items {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .artist-initials-placeholder span {
        font-size: 18px;
    }
}
