/* New Release Section */
.new-release-section {
    background-color: #0d0d0d;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 0, 170, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 208, 0, 0.1) 0%, transparent 40%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid var(--primary-color);
}

.release-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    text-align: center;
    color: #fff;
    margin-bottom: 4rem;
    position: relative;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 0, 170, 0.7);
    opacity: 0;
    transform: translateY(-300%) scale(2);
}

.new-release-section.start-animations .release-title {
    animation: slamImpact 1s cubic-bezier(0.25, 1, 0.5, 1) forwards, glowText 2s ease-in-out 1s infinite alternate;
}

@keyframes slamImpact {
    0% {
        opacity: 0;
        transform: translateY(-300%) scale(2);
    }

    50% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    55% {
        transform: translateY(0) scale(1.3, 0.7);
        /* Hard Impact Squish */
    }

    65% {
        transform: translateY(-30px) scale(0.9, 1.1);
        /* High Bounce */
    }

    75% {
        transform: translateY(0) scale(1);
    }

    80% {
        transform: translateY(0) scale(1.1, 0.9);
        /* Settle Squish */
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes glowText {
    from {
        text-shadow: 0 0 10px rgba(255, 0, 170, 0.7);
    }

    to {
        text-shadow: 0 0 20px rgba(255, 0, 170, 1), 0 0 30px rgba(255, 208, 0, 0.5);
    }
}

.release-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

/* Album Art */
.album-art-container {
    position: relative;
    display: flex;
    justify-content: center;
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1s ease-out 0.3s;
}

.new-release-section.start-animations .album-art-container {
    opacity: 1;
    transform: translateX(0);
}

.album-art {
    position: relative;
    width: 350px;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    /* Changed from initial code to contain image */
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
    transition: transform 0.3s ease;
    z-index: 2;
}

.album-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vinyl-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 110%;
    height: 110%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(255, 0, 170, 0.4) 0%, transparent 70%);
    z-index: -1;
    animation: pulseGlow 3s infinite;
}

.album-art:hover {
    transform: scale(1.05) rotate(2deg);
}

/* Release Info */
.release-info {
    text-align: left;
    color: #fff;
    opacity: 0;
    transform: translateX(100px);
    transition: all 1s ease-out 0.3s;
}

.new-release-section.start-animations .release-info {
    opacity: 1;
    transform: translateX(0);
}

.release-tag {
    display: inline-block;
    background-color: var(--accent-color);
    /* Yellow */
    color: #000;
    font-weight: 900;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 1px;
    box-shadow: 0 0 15px rgba(255, 208, 0, 0.5);
}

.song-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--secondary-color);
    /* Blue */
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 0 var(--primary-color);
}

.release-description {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* Streaming Buttons */
.streaming-platforms {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.platform-btn {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    background-color: #1a1a1a;
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: bold;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #333;
    overflow: hidden;
    position: relative;
}

.platform-btn i {
    font-size: 1.8rem;
    margin-right: 1rem;
    width: 30px;
    text-align: center;
}

.platform-btn span {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Brand Colors */
.platform-btn.spotify:hover {
    background-color: #1DB954;
    border-color: #1DB954;
    color: #000;
    box-shadow: 0 0 20px rgba(29, 185, 84, 0.4);
}

.platform-btn.youtube:hover {
    background-color: #FF0000;
    border-color: #FF0000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
}

.platform-btn.apple:hover {
    background-color: #FA2D48;
    /* Basic apple music pinkish/red */
    border-color: #FA2D48;
    box-shadow: 0 0 20px rgba(250, 45, 72, 0.4);
}

.music-cta-container {
    text-align: center;
    margin-top: 3rem;
}

.platform-btn.music-btn {
    display: inline-flex;
    /* Adjust for centering */
    background-color: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
    font-size: 1.2rem;
    padding: 1.2rem 2.5rem;
}

.platform-btn.music-btn:hover {
    background-color: var(--accent-color);
    color: #000;
    box-shadow: 0 0 30px var(--accent-color);
    transform: translateY(-5px);
}

.platform-btn:hover {
    transform: translateX(10px);
}

/* Responsive */
@media (max-width: 768px) {
    .release-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .new-release-content {
        flex-direction: column;
        text-align: center;
    }

    .release-info {
        text-align: center;
    }

    .album-art {
        width: 280px;
        /* Reduced specific width */
        height: 280px;
        margin: 0 auto 2rem auto;
        /* Explicitly center */
        max-width: 100%;
        /* Ensure it fits */
    }

    .release-title {
        font-size: 3rem;
    }

    .song-title {
        font-size: 2.5rem;
    }

    .release-info h2 {
        font-size: 2.5rem;
    }

    .streaming-platforms {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .platform-buttons {
        justify-content: center;
        flex-wrap: wrap;
        /* Allow wrapping */
    }

    .platform-btn {
        flex: 1 1 140px;
        /* Grow, shrink, base width */
        justify-content: center;
        padding: 0.8rem;
    }

    .platform-btn i {
        margin-right: 0.5rem;
    }
}