/* 
   ALBUM DESIGN SYSTEM v1.0
   District Robotics Operational Universe
   Extends: assets/drev-apple.css
*/

:root {
    --album-radius: 22px;
    --album-shadow: 0 20px 40px rgba(0,0,0,0.3);
    --album-glass: rgba(255, 255, 255, 0.08);
}

/* Album Grid - Horizontal scrolling or high-impact grid */
.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
    padding: 40px 0;
}

.album-card {
    position: relative;
    border-radius: var(--album-radius);
    overflow: hidden;
    background: var(--card-fill);
    aspect-ratio: 1 / 1.1;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
    cursor: pointer;
    border: 1px solid var(--hairline);
    display: flex;
    flex-direction: column;
}

.album-card:hover {
    transform: scale(1.02) translateY(-8px);
    box-shadow: var(--album-shadow);
}

.album-art {
    position: relative;
    flex: 1;
    overflow: hidden;
    background: #111;
}

.album-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
}

.album-card:hover .album-art img {
    transform: scale(1.08);
}

.album-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    color: #fff;
}

.album-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    background: var(--accent);
    color: #fff;
    border-radius: 99px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.album-info {
    padding: 18px 24px 24px;
}

.album-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 4px;
    color: var(--fg);
}

.album-sub {
    font-size: 14px;
    color: var(--fg-muted);
    margin: 0;
}

/* STEM Specific: iOS Play Button Look */
.play-btn {
    width: 48px;
    height: 48px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 24px;
    right: 24px;
    box-shadow: 0 4px 12px rgba(0,122,255,0.4);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.album-card:hover .play-btn {
    opacity: 1;
    transform: translateY(0);
}

.play-btn svg {
    width: 20px;
    height: 20px;
    fill: #fff;
    margin-left: 3px;
}

/* Glassmorphic Section Headers */
.section-header-album {
    margin-bottom: 48px;
}

.section-header-album h2 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.section-header-album p {
    font-size: 18px;
    color: var(--fg-muted);
}
