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

/* Body and Background */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #0F0F1A;
    color: #E0E0E0;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Subtle Wave Background */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(79, 195, 247, 0.05) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(245, 158, 11, 0.05) 0%, transparent 30%);
    z-index: -1;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 50px;
    position: relative;
}

.logo {
    font-size: 22px;
    font-weight: 500;
    color: white;
    letter-spacing: 2px;
    position: relative;
    cursor: pointer;
    transition: color 0.3s;
}

.logo::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #4FC3F7, #F59E0B);
    transition: width 0.3s;
}

.logo:hover {
    color: white;
}

.logo:hover::after {
    width: 100%;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    background: rgba(20, 20, 40, 0.2);
    padding: 12px 20px;
    border-radius: 25px;
    backdrop-filter: blur(3px);
}

nav a {
    color: #CCC;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s;
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #4FC3F7, #F59E0B);
    transition: width 0.3s;
}

nav a:hover {
    color: white;
}

nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 100px 20px;
    position: relative;
}

.album-cover-container {
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    background: rgba(30, 30, 50, 0.3);
    padding: 20px;
}

.album-cover {
    width: 100%;
    height: auto;
    transition: transform 0.5s;
    border-radius: 8px;
}

.album-cover-container:hover .album-cover {
    transform: scale(1.02);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    border: 1px solid rgba(79, 195, 247, 0.3);
    transition: all 0.3s;
    opacity: 0.9;
}

.play-button:hover {
    background: rgba(79, 195, 247, 0.7);
    border-color: rgba(79, 195, 247, 0.7);
    box-shadow: 0 0 20px rgba(79, 195, 247, 0.4);
}

/* Hero Audio Player */
.hero-audio-player {
    width: 100%;
    max-width: 400px;
    margin: 30px auto 0;
    background: rgba(30, 30, 50, 0.4);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.hero-audio-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.hero-progress-container {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    cursor: pointer;
}

.hero-progress-bar {
    height: 100%;
    background: #4FC3F7;
    border-radius: 2px;
    width: 0%;
}

.hero-time {
    font-size: 12px;
    color: #AAA;
    min-width: 50px;
    text-align: right;
}

/* Hero Bandcamp Button */
.hero-bandcamp-btn {
    display: block;
    margin: 20px auto 0;
    padding: 10px 20px;
    background: rgba(30, 30, 50, 0.5);
    color: #E0E0E0;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    border: 1px solid rgba(79, 195, 247, 0.3);
    width: fit-content;
}

.hero-bandcamp-btn:hover {
    background: rgba(79, 195, 247, 0.3);
    border-color: rgba(79, 195, 247, 0.7);
    color: white;
}

/* Sections */
.section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 50px;
    position: relative;
}

.section::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, #4FC3F7, #F59E0B);
}

.section h2 {
    color: white;
    font-size: 32px;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section h2::after {
    content: "";
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #4FC3F7, #F59E0B);
}

/* Releases Grid (for main page) */
.releases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.release-card {
    background: rgba(30, 30, 50, 0.3);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s;
    border: 1px solid rgba(79, 195, 247, 0.1);
    cursor: pointer;
    position: relative;
}

.release-card:hover {
    transform: translateY(-8px);
    border-color: rgba(79, 195, 247, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.release-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.release-info {
    padding: 25px;
    text-align: center;
    position: relative;
}

.release-info h3 {
    color: white;
    font-size: 20px;
    margin-bottom: 8px;
}

.release-info p {
    color: #CCC;
    font-size: 14px;
    margin-bottom: 15px;
}

/* Buy Button on Release Cards */
.buy-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(30, 30, 50, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E0E0E0;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    opacity: 0;
    border: 1px solid rgba(79, 195, 247, 0.2);
}

.release-card:hover .buy-btn {
    opacity: 1;
}

.buy-btn:hover {
    background: rgba(79, 195, 247, 0.5);
    border-color: rgba(79, 195, 247, 0.7);
    color: white;
    transform: scale(1.1);
}

/* Page Header (for releases page) */
.page-header {
    text-align: center;
    padding: 80px 20px 40px;
}

.page-header h1 {
    font-size: 36px;
    color: white;
    margin-bottom: 20px;
}

.back-link {
    display: inline-block;
    color: #CCC;
    text-decoration: none;
    margin-bottom: 20px;
    transition: color 0.3s;
}

.back-link:hover {
    color: #4FC3F7;
}

.back-link::before {
    content: "← ";
}

/* Releases Grid for All Releases Page */
.releases-small {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
}

.release-card-small {
    background: rgba(30, 30, 50, 0.3);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid rgba(79, 195, 247, 0.1);
}

.release-card-small:hover {
    transform: translateY(-5px);
    border-color: rgba(79, 195, 247, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.release-image-small {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.release-info-small {
    padding: 15px;
    text-align: center;
}

.release-info-small h3 {
    font-size: 16px;
    margin-bottom: 5px;
    color: white;
}

.release-info-small p {
    font-size: 12px;
    color: #AAA;
}

.buy-btn-small {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: rgba(30, 30, 50, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E0E0E0;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
    opacity: 0;
    border: 1px solid rgba(79, 195, 247, 0.2);
}

.release-card-small:hover .buy-btn-small {
    opacity: 1;
}

.buy-btn-small:hover {
    background: rgba(79, 195, 247, 0.5);
    border-color: rgba(79, 195, 247, 0.7);
    color: white;
}

/* View All Link */
.view-all-link {
    display: block;
    text-align: center;
    margin-top: 40px;
    color: #CCC;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
    position: relative;
}

.view-all-link::after {
    content: " →";
    transition: transform 0.3s;
}

.view-all-link:hover {
    color: #4FC3F7;
}

.view-all-link:hover::after {
    transform: translateX(5px);
}

/* Error Message */
.error-message {
    color: #ff6b6b;
    text-align: center;
    padding: 20px;
    font-size: 16px;
}

/* Bio Section */
.bio {
    max-width: 700px;
    margin: 0 auto;
    padding: 30px;
    background: rgba(30, 30, 50, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(79, 195, 247, 0.1);
    font-size: 16px;
    line-height: 1.8;
}

.bio-highlight {
    color: #4FC3F7;
    font-weight: 500;
}

/* Footer */
footer {
    text-align: center;
    padding: 60px 50px;
    position: relative;
    font-size: 14px;
    color: #AAA;
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, #4FC3F7, #F59E0B);
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: #CCC;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s;
    position: relative;
}

.footer-links a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #4FC3F7, #F59E0B);
    transition: width 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-links a:hover::after {
    width: 100%;
}

.copyright {
    margin-top: 20px;
    font-size: 12px;
    color: #888;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    nav ul {
        gap: 20px;
    }

    .releases {
        grid-template-columns: 1fr;
    }

    .releases-small {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
        padding: 0 30px;
    }

    .section {
        padding: 0 30px;
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .footer-links a {
        margin: 0;
    }
}
