:root {
    --primary-color: #6366f1;
    --accent-color: #a855f7;
    --text-main: #ffffff;
    --text-dim: rgba(255, 255, 255, 0.7);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --bg-dark: #0f172a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
}

/* Dynamic Background */
.background-radial {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, #4338ca 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, #7e22ce 0%, transparent 40%);
    filter: blur(80px);
    z-index: -2;
    animation: pulse 15s infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    z-index: -1;
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: 40px auto;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Glassmorphism Card */
.card-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Artwork Section */
.artwork-section {
    width: 100%;
    position: relative;
    padding-top: 100%; /* Square aspect ratio */
}

#album-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-glass:hover #album-cover {
    transform: scale(1.02);
}

/* Content Section */
.content-section {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.header {
    text-align: center;
}

.album-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(to right, #fff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.artist-name {
    font-size: 1.1rem;
    color: var(--text-dim);
}

/* Platforms list */
.streaming-platforms {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.platform-row {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.platform-row:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.platform-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.platform-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.platform-name {
    font-weight: 500;
}

.btn-play {
    text-decoration: none;
    background: #ffffff;
    color: #000;
    padding: 8px 24px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-play:hover {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.05);
}

/* Footer */
.footer {
    margin-top: auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.copyright {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
}

/* Desktop Responsiveness */
@media (min-width: 768px) {
    .card-glass {
        flex-direction: row;
        min-height: 500px;
    }
    
    .artwork-section {
        width: 50%;
        padding-top: 0;
    }
    
    .content-section {
        width: 50%;
        padding: 48px;
    }
    
    .header {
        text-align: left;
    }
    
    .album-title {
        font-size: 2.5rem;
    }
}
