:root {
    --primary-color: #1DB954;
    --bg-dark: #f4f4f4;
    --bg-surface: #ffffff;
    --bg-elevated: #fcfcfc;
    --text-main: #222222;
    --text-dim: #666666;
    --accent-glow: rgba(29, 185, 84, 0.1);
    --glass-border: rgba(0, 0, 0, 0.1);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    margin: 0;
    padding-bottom: 120px;
}

.album-container {
    max-width: 1400px;
    margin: 40px auto;
    padding: 40px;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    background-color: var(--bg-surface);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

@media (max-width: 1024px) {
    .album-container {
        grid-template-columns: 1fr;
        padding: 20px;
        margin: 20px;
    }
}

/* Album Art */
.album-art-wrapper {
    position: sticky;
    top: 20px;
}

.album-art {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    object-fit: cover;
}

/* Album Info */
.album-details h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 8px 0;
    letter-spacing: -1px;
    color: #111;
}

.album-details h2 {
    font-size: 1.2rem;
    font-weight: 400;
    color: #555;
    margin: 0 0 24px 0;
}

.meta-info {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 0.85rem;
}

.meta-item {
    background: #f8f9fa;
    padding: 6px 14px;
    border-radius: 4px;
    color: #444;
    border: 1px solid #eee;
}

.meta-item b {
    color: #000;
    margin-right: 4px;
}

/* Discs Grid */
.discs-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 30px;
}

.disc-box {
    flex: 1;
    min-width: 320px;
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #eeeeee;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.disc-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Tracklist Compact */
.tracklist {
    width: 100%;
    border-collapse: collapse;
}

.track-row {
    height: 38px;
    border-radius: 4px;
    transition: background 0.1s ease;
    cursor: pointer;
    font-size: 0.9rem;
    color: #444444; /* Dark grey text as requested */
}

.track-row:hover {
    background: #f8f9fa;
}

.track-row.playing {
    background: rgba(29, 185, 84, 0.08);
    color: var(--primary-color) !important;
    font-weight: 600;
}

.track-row td {
    padding: 4px 12px;
    border-bottom: 1px solid #f1f1f1;
}

.track-row:last-child td {
    border-bottom: none;
}

.track-number {
    width: 45px;
    color: #999;
    text-align: right;
    font-size: 0.75rem;
    padding-right: 18px !important;
}

.track-title {
    font-weight: 500;
}

.track-action {
    width: 30px;
    text-align: right;
}

.track-play-btn {
    opacity: 0;
    display: flex;
    justify-content: flex-end;
}

.track-row:hover .track-play-btn {
    opacity: 1;
}

/* Sticky Player */
.sticky-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 90px;
    background: #ffffff;
    border-top: 1px solid #eeeeee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    z-index: 10000;
    color: #222;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
}

.current-track-info {
    display: flex;
    align-items: center;
    width: 30%;
    gap: 16px;
}

.mini-art {
    width: 56px;
    height: 56px;
    border-radius: 4px;
}

.track-meta {
    overflow: hidden;
}

.track-meta .title {
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #111;
}

.track-meta .artist {
    font-size: 0.8rem;
    color: #666;
}

.player-controls {
    width: 40%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.control-buttons {
    display: flex;
    align-items: center;
    gap: 24px;
}

.btn-control {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    transition: color 0.2s, transform 0.1s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-control:hover {
    color: #000;
}

.btn-control:active {
    transform: scale(0.95);
}

.btn-play-pause {
    width: 40px;
    height: 40px;
    background: #000;
    color: #fff;
    border-radius: 50%;
}

.btn-play-pause:hover {
    transform: scale(1.05);
    background: #222;
}

.progress-container {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.75rem;
    color: #666;
}

.progress-bar {
    flex: 1;
    height: 4px;
    background: #eee;
    border-radius: 2px;
    position: relative;
    cursor: pointer;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 2px;
    width: 0%;
}

.volume-controls {
    width: 30%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
}

.volume-bar {
    width: 100px;
    height: 4px;
    background: #eee;
    border-radius: 2px;
    cursor: pointer;
}

.volume-fill {
    height: 100%;
    background: #333;
    border-radius: 2px;
    width: 80%;
}

/* Links */
a {
    color: #0056b3;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}
