.page-hero-small {
    min-height: auto;
    padding-top: 130px;
    padding-bottom: 10px;
}

.page-section {
    padding-top: 10px;
}

.empty-state {
    text-align: center;
    opacity: 0.72;
    font-size: 18px;
}

.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 70px 56px;
    align-items: start;
    justify-items: center;
    max-width: 1320px;
    margin: 0 auto;
}

.album-card {
    position: relative;
    width: min(100%, 500px);
    cursor: pointer;
}

.album-art-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 0.78;
    overflow: visible;
    filter: drop-shadow(0 28px 44px rgba(0,0,0,0.42));
}

.album-vinyl {
    --vinyl-shift: -50px;
    position: absolute;
    top: 50%;
    left: 52%;
    width: 62%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    z-index: 1;
    transform: translateY(-50%) translateX(var(--vinyl-shift));
    transition: transform 0.72s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, box-shadow 0.35s ease;
    background:
        radial-gradient(circle at 50% 50%, rgba(205,168,86,0.82) 0 5.2%, #0d0d0d 5.8% 10.5%, transparent 10.9%),
        radial-gradient(circle at 35% 32%, rgba(255,255,255,0.06), transparent 14%),
        radial-gradient(circle at 62% 38%, rgba(255,255,255,0.028), transparent 22%),
        repeating-radial-gradient(circle, rgba(255,255,255,0.014) 0px, rgba(255,255,255,0.014) 1px, #0a0a0a 2px, #020202 4px),
        radial-gradient(circle at 50% 50%, #141414 0%, #050505 66%, #000 100%);
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.025),
        inset 0 0 12px rgba(255,255,255,0.012),
        inset 0 0 38px rgba(0,0,0,0.96),
        0 16px 28px rgba(0,0,0,0.28);
    opacity: 0.9;
    pointer-events: none;
}

.album-vinyl::after {
    content: "";
    position: absolute;
    inset: 7%;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, rgba(255,255,255,0.035), transparent 22%);
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0.42;
}

.album-vinyl.spin {
    animation: vinylSpin 3.4s linear infinite;
    opacity: 0.96;
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.03),
        inset 0 0 14px rgba(255,255,255,0.014),
        inset 0 0 40px rgba(0,0,0,0.96),
        0 18px 34px rgba(0,0,0,0.34);
}

@keyframes vinylSpin {
    from { transform: translateY(-50%) translateX(var(--vinyl-shift)) rotate(0deg); }
    to { transform: translateY(-50%) translateX(var(--vinyl-shift)) rotate(360deg); }
}

.album-sleeve {
    position: absolute;
    top: 0;
    left: 0;
    width: 73%;
    height: 100%;
    z-index: 3;
    border-radius: 4px;
    overflow: hidden;
    background: #080808;
    box-shadow: 0 22px 42px rgba(0,0,0,0.48), 0 0 0 1px rgba(255,255,255,0.05);
    isolation: isolate;
}

.album-sleeve::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255,255,255,0.12), transparent 18%), linear-gradient(to right, rgba(255,255,255,0.035), transparent 12%);
    z-index: 2;
    pointer-events: none;
    transition: background 0.35s ease;
}

.album-sleeve::after {
    content: "";
    position: absolute;
    top: 1.5%;
    right: 0;
    width: 12px;
    height: 97%;
    background: linear-gradient(to right, rgba(255,255,255,0.08), rgba(255,255,255,0.02) 35%, rgba(0,0,0,0.28) 100%);
    z-index: 2;
    pointer-events: none;
    opacity: 0.9;
}

.album-cover-layer {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.album-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 0;
    pointer-events: none;
}

.album-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.96) 0%, rgba(0,0,0,0.66) 28%, rgba(0,0,0,0.18) 62%, rgba(0,0,0,0.04) 100%);
    z-index: 1;
    pointer-events: none;
}

.album-play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 74px;
    height: 74px;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 50%;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.02)),
        rgba(7,10,14,0.54);
    box-shadow:
        0 14px 28px rgba(0,0,0,0.34),
        inset 0 1px 0 rgba(255,255,255,0.14),
        inset 0 0 0 1px rgba(255,255,255,0.03),
        0 0 12px rgba(0,0,0,0.14);
    z-index: 8;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    cursor: pointer;
    overflow: hidden;
    transform: translate3d(-50%, -50%, 0) scale(1);
    transition:
        transform 0.24s ease,
        background 0.24s ease,
        border-color 0.24s ease,
        box-shadow 0.24s ease,
        opacity 0.24s ease;
    will-change: transform;
    backface-visibility: hidden;
}

.album-play::before {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 32% 28%, rgba(255,255,255,0.13), transparent 35%),
        radial-gradient(circle at 70% 75%, rgba(0,0,0,0.18), transparent 44%);
    pointer-events: none;
}

.album-play::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.045);
    pointer-events: none;
}

.album-play-icon {
    position: relative;
    display: block;
    width: 20px;
    height: 22px;
    margin-left: 3px;
    background: rgba(255,255,255,0.98);
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    -webkit-clip-path: polygon(0 0, 100% 50%, 0 100%);
    filter: drop-shadow(0 0 6px rgba(255,255,255,0.10));
    transition:
        transform 0.22s ease,
        width 0.22s ease,
        height 0.22s ease,
        margin 0.22s ease,
        clip-path 0.22s ease,
        -webkit-clip-path 0.22s ease,
        background 0.22s ease,
        opacity 0.22s ease;
    backface-visibility: hidden;
    z-index: 1;
}

.track-card:hover .album-play,
.track-card.active-track .album-play {
    transform: translate3d(-50%, -50%, 0) scale(1.04);
}

.track-card:hover .album-play {
    border-color: rgba(255,255,255,0.36);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03)),
        rgba(10,14,18,0.64);
    box-shadow:
        0 16px 34px rgba(0,0,0,0.40),
        inset 0 1px 0 rgba(255,255,255,0.18),
        inset 0 0 0 1px rgba(255,255,255,0.04),
        0 0 16px rgba(214,184,111,0.08);
}

.track-card:hover .album-play .album-play-icon {
    transform: scale(1.04);
}

.track-card.is-playing .album-play {
    border-color: rgba(220,192,128,0.42);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03)),
        rgba(14,11,8,0.68);
    box-shadow:
        0 18px 38px rgba(0,0,0,0.42),
        inset 0 1px 0 rgba(255,255,255,0.18),
        inset 0 0 0 1px rgba(255,255,255,0.04),
        0 0 18px rgba(214,184,111,0.10);
}

.track-card.is-playing .album-play .album-play-icon {
    width: 20px;
    height: 20px;
    margin-left: 0;
    clip-path: none;
    -webkit-clip-path: none;
    background: linear-gradient(
        to right,
        rgba(255,255,255,0.98) 0 7px,
        transparent 7px 13px,
        rgba(255,255,255,0.98) 13px 20px
    );
}

.cover-text {
    position: absolute;
    top: 20px;
    left: 22px;
    right: 22px;
    bottom: 18px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    text-shadow: 0 4px 18px rgba(0,0,0,0.72);
    pointer-events: none;
}

.cover-catalog {
    position: absolute;
    top: 0;
    right: 0;
    left: auto;
    max-width: calc(100% - 10px);
    padding: 6px 0;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.72);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: right;
}

.cover-artist {
    margin: 0 0 10px 0;
    max-width: 78%;
    font-family: 'Inter', sans-serif;
    font-size: clamp(11px, 0.95vw, 13px);
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.76);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.28s ease, opacity 0.28s ease;
}

.cover-title {
    margin: 0;
    max-width: 96%;
    padding-bottom: 0.12em;
    font-family: 'Playfair Display', serif;
    font-size: clamp(20px, 1.72vw, 29px);
    line-height: 1.06;
    font-weight: 600;
    letter-spacing: 0;
    color: rgba(255,255,255,0.98);
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: text-shadow 0.32s ease, color 0.32s ease;
}

.track-card:not(.active-track):hover .album-vinyl {
    --vinyl-shift: -30px;
    opacity: 0.94;
}

.track-card.active-track .album-vinyl {
    --vinyl-shift: -30px;
    opacity: 0.96;
}

.track-card:hover .album-sleeve,
.track-card.active-track .album-sleeve {
    box-shadow: 0 26px 50px rgba(0,0,0,0.54), 0 0 0 1px rgba(255,255,255,0.07);
}

.track-card:hover .album-sleeve::before,
.track-card.active-track .album-sleeve::before {
    background: linear-gradient(to bottom, rgba(255,255,255,0.10), transparent 18%), linear-gradient(to right, rgba(255,255,255,0.03), transparent 12%), linear-gradient(to top, rgba(0,0,0,0.18), rgba(0,0,0,0.08));
}

.track-card:hover .cover-catalog,
.track-card.active-track .cover-catalog {
    color: rgba(255,255,255,0.88);
}

.track-card:hover .cover-artist,
.track-card.active-track .cover-artist {
    color: rgba(255,255,255,0.92);
}

.track-card:hover .cover-title,
.track-card.active-track .cover-title {
    text-shadow: 0 8px 24px rgba(0,0,0,0.72);
}

@media (max-width: 1180px) {
    .album-grid {
        grid-template-columns: 1fr;
        gap: 56px;
        max-width: 760px;
    }

    .album-card {
        width: min(100%, 540px);
    }
}

@media (max-width: 768px) {
    .album-grid {
        gap: 42px;
    }

    .album-card {
        width: 100%;
    }

    .album-art-wrap {
        aspect-ratio: 1 / 0.88;
    }

    .album-vinyl {
        top: 50%;
        left: 53%;
        width: 64%;
    }

    .album-sleeve {
        width: 76%;
    }

    .album-play {
        width: 66px;
        height: 66px;
    }

    .album-play-icon {
        width: 18px;
        height: 20px;
        margin-left: 3px;
    }

    .track-card.is-playing .album-play .album-play-icon {
        width: 18px;
        height: 18px;
        margin-left: 0;
        clip-path: none;
        -webkit-clip-path: none;
        background: linear-gradient(
            to right,
            rgba(255,255,255,0.98) 0 6px,
            transparent 6px 12px,
            rgba(255,255,255,0.98) 12px 18px
        );
    }

    .cover-text {
        top: 16px;
        left: 18px;
        right: 18px;
        bottom: 16px;
    }

    .cover-catalog {
        max-width: calc(100% - 12px);
        font-size: 8px;
        letter-spacing: 1.5px;
    }

    .cover-artist {
        max-width: 82%;
        margin: 0 0 8px 0;
        font-size: clamp(10px, 2.8vw, 12px);
        letter-spacing: 1.8px;
    }

    .cover-title {
        max-width: 98%;
        font-size: clamp(18px, 4.5vw, 25px);
        line-height: 1.06;
    }

    .track-card:not(.active-track):hover .album-vinyl,
    .track-card.active-track .album-vinyl {
        --vinyl-shift: -34px;
    }
}

@media (max-width: 480px) {
    .album-art-wrap {
        aspect-ratio: 1 / 0.94;
    }

    .album-vinyl {
        top: 50%;
        left: 54%;
        width: 64%;
    }

    .album-sleeve {
        width: 78%;
    }

    .album-play {
        width: 60px;
        height: 60px;
    }

    .album-play-icon {
        width: 16px;
        height: 18px;
        margin-left: 2px;
    }

    .track-card.is-playing .album-play .album-play-icon {
        width: 16px;
        height: 16px;
        margin-left: 0;
        clip-path: none;
        -webkit-clip-path: none;
        background: linear-gradient(
            to right,
            rgba(255,255,255,0.98) 0 5px,
            transparent 5px 11px,
            rgba(255,255,255,0.98) 11px 16px
        );
    }

    .cover-catalog {
        font-size: 8px;
        letter-spacing: 1.2px;
    }

    .cover-artist {
        max-width: 84%;
        font-size: clamp(10px, 3vw, 11px);
        letter-spacing: 1.5px;
    }

    .cover-title {
        max-width: 98%;
        font-size: clamp(17px, 5vw, 22px);
        line-height: 1.06;
    }

    .track-card:not(.active-track):hover .album-vinyl,
    .track-card.active-track .album-vinyl {
        --vinyl-shift: -36px;
    }
}