/* Music Hero Section */
.music-hero {
    position: relative;
    height: 300px;
    background: linear-gradient(
        135deg,
        rgba(186, 148, 219, 0.15),
        rgba(142, 113, 167, 0.15)
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 80px;
    animation: fadeInDown 1s ease;
}

.music-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at center,
        transparent 0%,
        rgba(18, 18, 18, 0.4) 100%
    );
    z-index: 1;
}

.music-hero h1 {
    position: relative;
    z-index: 2;
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 10px;
    letter-spacing: 2px;
    animation: slideUpFade 0.8s ease 0.1s both;
}

.music-hero p {
    position: relative;
    z-index: 2;
    font-size: 1.1rem;
    color: #e0e0e0;
    animation: slideUpFade 0.8s ease 0.2s both;
}

/* Music Socials Section */
.music-socials {
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 0 20px;
    animation: slideUpFade 0.8s ease;
}

.socials-container h2 {
    font-size: 1.5rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: 2px solid var(--primary);
    background-color: transparent;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.social-btn:hover {
    background-color: var(--primary);
    color: var(--background);
    box-shadow: 0 10px 30px rgba(186, 148, 219, 0.3);
    transform: translateY(-2px);
}

/* Album Wall */
.album-wall {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    animation: fadeInDown 0.8s ease;
}

.album-card {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: slideUpFade 0.6s ease forwards;
    transition: box-shadow 0.3s ease;
}

.album-card:hover {
    box-shadow: 0 20px 60px rgba(186, 148, 219, 0.4);
}

.album-card:nth-child(1) {
    animation-delay: 0.1s;
}
.album-card:nth-child(2) {
    animation-delay: 0.15s;
}
.album-card:nth-child(3) {
    animation-delay: 0.2s;
}
.album-card:nth-child(4) {
    animation-delay: 0.25s;
}
.album-card:nth-child(5) {
    animation-delay: 0.3s;
}
.album-card:nth-child(6) {
    animation-delay: 0.35s;
}
.album-card:nth-child(7) {
    animation-delay: 0.4s;
}
.album-card:nth-child(8) {
    animation-delay: 0.45s;
}
.album-card:nth-child(9) {
    animation-delay: 0.5s;
}

.album-card a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none;
    cursor: pointer;
}

.album-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition:
        transform 0.4s ease,
        filter 0.4s ease;
}

.album-card a:hover img {
    transform: scale(1.08);
    filter: brightness(0.8);
}

.album-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(186, 148, 219, 0.95),
        rgba(142, 113, 167, 0.6),
        transparent
    );
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.album-card a:hover .album-overlay {
    opacity: 1;
}

.album-overlay span {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.4;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive */
@media (max-width: 1200px) {
    .album-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .music-hero {
        height: 200px;
        margin-bottom: 50px;
    }

    .music-hero h1 {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }

    .music-hero p {
        font-size: 0.95rem;
    }

    .socials-container h2 {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .social-links {
        gap: 12px;
    }

    .social-btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    .album-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }

    .album-wall {
        padding: 0 20px 50px;
    }

    .album-overlay span {
        font-size: 0.95rem;
        padding: 15px;
    }

    .music-socials {
        margin-bottom: 50px;
    }
}

@media (max-width: 480px) {
    .music-hero h1 {
        font-size: 1.5rem;
    }

    .album-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }

    .album-overlay span {
        font-size: 0.85rem;
    }

    .social-btn {
        padding: 8px 16px;
        font-size: 0.75rem;
    }

    .socials-container h2 {
        font-size: 1rem;
        margin-bottom: 15px;
    }
}
