/* Fangirl Behavior - Listen Page Shared Styles */

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

body {
    min-height: 100vh;
    background: linear-gradient(180deg, #5D4175 0%, #7B5A92 30%, #9A70AD 50%, #7B5A92 70%, #5D4175 100%);
    font-family: 'Nunito', sans-serif;
    color: #F5E6E0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}

/* Floating elements - hearts (default) */
.heart, .sparkle {
    position: fixed;
    font-size: 1rem;
    opacity: 0.25;
}

.heart { animation: float-heart 15s infinite ease-in-out; }
.sparkle { animation: twinkle 3s infinite ease-in-out; opacity: 0.3; }

.heart:nth-child(1), .sparkle:nth-child(1) { left: 8%; top: 20%; animation-delay: 0s; font-size: 0.8rem; color: #E8B4B4; }
.heart:nth-child(2), .sparkle:nth-child(2) { left: 88%; top: 15%; animation-delay: -3s; font-size: 1.2rem; color: #D4A5C9; }
.heart:nth-child(3), .sparkle:nth-child(3) { left: 20%; top: 80%; animation-delay: -6s; color: #EABFBF; }
.heart:nth-child(4), .sparkle:nth-child(4) { left: 75%; top: 75%; animation-delay: -9s; font-size: 0.9rem; color: #D9B8C9; }
.heart:nth-child(5), .sparkle:nth-child(5) { left: 45%; top: 5%; animation-delay: -4s; font-size: 1.1rem; color: #E0C0C0; }
.heart:nth-child(6), .sparkle:nth-child(6) { left: 5%; top: 55%; animation-delay: -7s; font-size: 0.7rem; color: #D4A5C9; }

@keyframes float-heart {
    0%, 100% { transform: translateY(0) rotate(-5deg); opacity: 0.15; }
    50% { transform: translateY(-15px) rotate(5deg); opacity: 0.4; }
}

@keyframes twinkle {
    0%, 100% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.3); opacity: 0.5; }
}

.container {
    text-align: center;
    max-width: 420px;
    z-index: 1;
    width: 100%;
}

.card {
    background: rgba(90, 58, 110, 0.85);
    border-radius: 20px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.artwork {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    object-fit: cover;
    display: block;
}

.track-info {
    padding: 1.25rem 0;
}

.track-title {
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
    color: #F3A6A1;
    text-shadow:
        -1px -1px 0 #B86F85,
        1px -1px 0 #B86F85,
        -1px 1px 0 #B86F85,
        1px 1px 0 #B86F85;
}

.track-artist {
    font-size: 0.95rem;
    color: #C4B0D0;
    font-weight: 500;
}

.platforms {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.platform-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1rem;
    color: #FFF5F0;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.platform-link:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: scale(1.02);
}

.platform-left {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.platform-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-icon svg,
.platform-icon img {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    filter: invert(89%) sepia(8%) saturate(497%) hue-rotate(221deg) brightness(97%) contrast(91%);
}

.platform-name {
    font-weight: 600;
    font-size: 1rem;
}

.chevron {
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.25rem;
}

footer {
    margin-top: auto;
    padding-top: 1rem;
}

.back-link {
    font-size: 0.75rem;
    color: #9A8A9E;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #E0D0E8;
}

@media (max-width: 480px) {
    body {
        padding: 1.5rem;
    }
    .card {
        padding: 1rem;
    }
    .platform-link {
        padding: 0.875rem 0.25rem;
    }
}
