/* release.css */

.release-artist-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.release-artist-sep {
    opacity: 0.3;
    font-size: 0.9rem;
}

.release-date {
    font-size: 0.85rem;
    opacity: 0.5;
}

.release-artist-link {
    font-size: 1rem;
    opacity: 0.8;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s;
    display: inline-block;
}
.release-artist-link:hover {
    opacity: 1;
    text-decoration: underline;
}

.release-genre-badge {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    padding: 2px 10px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: background 0.2s;
    vertical-align: middle;
}
/* .release-genre-badge:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
} */

.release-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.8);
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}
.release-share-btn:hover { background: rgba(255,255,255,0.2); }

.release-page {
    min-height: 100vh;
}

.release-hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.release-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 960px;
    margin: 0 auto;
    padding: 120px 40px 80px;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.release-hero-blur {
    position: absolute;
    inset: 0;
    background-image: var(--cover);
    background-size: cover;
    background-position: center;
    filter: blur(60px) brightness(0.75);
    transform: scale(1.15);
    z-index: 0;
}

.release-back-link {
    font-size: 0.875rem;
    color: #fff;
    opacity: 0.5;
    text-decoration: none;
    transition: opacity 0.2s;
}
.release-back-link:hover { opacity: 1; }

.release-hero-content {
    display: flex;
    gap: 48px;
    align-items: center;
}

.release-cover {
    width: 300px;
    height: 300px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 16px 60px rgba(0,0,0,0.6);
    flex-shrink: 0;
}

.release-meta {
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.release-type {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    opacity: 0.5;
}

.release-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
}

.release-artist {
    font-size: 1rem;
    opacity: 0.8;
    margin: 0;
}
/* 
.release-date {
    font-size: 0.85rem;
    opacity: 0.5;
    margin: 0;
} */

.release-ids {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.release-id-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    padding: 5px 10px;
    border-radius: 50rem;
    color: rgba(255,255,255,0.85);
    font-size: 11px;
    font-family: monospace;
    cursor: pointer;
    transition: background 0.2s;
}
.release-id-badge:hover { background: rgba(255,255,255,0.2); }
.release-id-badge.copied { background: rgba(100,220,100,0.25); border-color: rgba(100,220,100,0.5); }
.id-label { opacity: 0.5; font-weight: 600; }
.id-copy-icon { opacity: 0.4; font-size: 13px; }
.release-id-badge:hover .id-copy-icon { opacity: 0.9; }
.release-id-badge.copied .id-copy-icon::before { content: '✓'; }

.release-links {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    margin-top: 12px;
    align-items: center;
}

.release-link {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}
.release-link:hover { opacity: 0.85; }
.release-link--primary  { background: #fff; color: #000; }
.release-link--spotify  { background: #1DB954; color: #fff; }
.release-link--bandcamp { background: #1da0c3; color: #fff; }
.release-link--bandcamp.release-link--disabled {
    background: #555;
    color: #999;
    cursor: not-allowed;
    pointer-events: none;
}

.release-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.release-preview-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    flex-shrink: 0;
}
.release-preview-btn:hover { background: rgba(255,255,255,0.25); }

.release-preview-progress {
    flex: 1;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
    cursor: pointer;
}

.release-preview-progress-fill {
    height: 100%;
    background: #fff;
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
}

/* Recommended */
.release-recommended {
    position: relative;
    z-index: 1;
    color: #fff;
}

.release-recommended-title {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    opacity: 0.4;
    text-transform: uppercase;
    margin: 0 0 20px;
    color: #fff;
}

.release-recommended-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.rec-card {
    text-decoration: none;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: opacity 0.2s;
    min-width: 0;
}
.rec-card:hover { opacity: 0.8; }

.rec-card-cover {
    width: 100%;
    padding-bottom: 100%;
    height: 0;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.rec-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.05);
}

.rec-card-info {
    padding: 0 2px;
    min-width: 0;
}

.rec-card-title {
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
}

.rec-card-artist {
    font-size: 0.75rem;
    opacity: 0.55;
    margin: 2px 0 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
}

.release-not-found {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
    padding: 40px;
}

@media (max-width: 900px) {
    .release-links { flex-wrap: wrap; }
}

@media (max-width: 700px) {
    .release-hero-inner { padding: 100px 24px 60px; }
    .release-hero-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .release-cover { width: 220px; height: 220px; }
    .release-ids, .release-links { justify-content: center; }
    .release-recommended-grid { grid-template-columns: repeat(2, 1fr); }
}