:root {
    --bg-color: #121212;
    --card-bg: #1E1E1E;
    --primary-red: #E30613;
    --accent-gold: #A68966;
    --text-main: #FFFFFF;
    --text-muted: #AAAAAA;
    --font-heading: 'Bebas Neue', display;
    --font-body: 'Roboto', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header / Hero */
.hero {
    text-align: center;
    padding: 60px 0 40px;
    background: linear-gradient(180deg, rgba(18, 18, 18, 0) 0%, rgba(227, 6, 19, 0.15) 50%, rgba(18, 18, 18, 1) 100%);
}

.logo {
    font-family: var(--font-heading);
    font-size: 5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 5px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.logo .highlight {
    color: var(--primary-red);
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    letter-spacing: 4px;
    text-transform: uppercase;
    border-top: 1px solid var(--primary-red);
    display: inline-block;
    padding-top: 10px;
}

/* Intro */
.intro {
    text-align: center;
    margin-bottom: 60px;
}

.intro h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.intro p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Sections */
.section-block {
    padding: 60px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 30px;
    border-left: 4px solid var(--primary-red);
    padding-left: 15px;
    line-height: 1;
}

.section-title .highlight {
    color: var(--primary-red);
}

.section-desc {
    margin-bottom: 30px;
    color: var(--text-muted);
    font-style: italic;
}

/* EP Grid */
.ep-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    /* Space for the banner below */
}

/* Bonus Teaser Banner */
.bonus-teaser-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: linear-gradient(90deg, #181818 0%, #252525 50%, #181818 100%);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    font-family: var(--font-heading);
    font-size: 1.8rem;
    text-decoration: none;
    padding: 20px 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    border-radius: 4px;
    margin-top: 20px;
}

.bonus-teaser-banner:hover {
    background: var(--accent-gold);
    color: #121212;
    box-shadow: 0 0 20px rgba(166, 137, 102, 0.4);
}

.bonus-teaser-banner span {
    display: flex;
    align-items: center;
    gap: 15px;
}

.arrow-anim {
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(5px);
    }

    60% {
        transform: translateY(3px);
    }
}

.ep-card {
    background-color: var(--card-bg);
    padding: 0;
    text-align: center;
    border-radius: 4px;
    transition: transform 0.3s, box-shadow 0.3s, border-bottom 0.3s;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ep-card:hover {
    transform: translateY(-5px);
    background-color: #252525;
    border-bottom: 3px solid var(--primary-red);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Updated Image Styling */
.ep-cover-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #000;
}

.ep-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    opacity: 0.8;
}

.ep-card:hover .ep-cover-img {
    transform: scale(1.05);
    opacity: 1;
}

.ep-info {
    padding: 20px;
}

.ep-info h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.ep-info p {
    color: var(--accent-gold);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.ep-action {
    padding-bottom: 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    transition: all 0.3s;
}

.ep-card:hover .ep-action {
    opacity: 1;
    color: var(--primary-red);
}

/* EP Detail Sections (Generated) */
.ep-detail-section {
    border-top: 1px solid #222;
    background-color: #161616;
}

/* New Detail Layout with Cover */
.detail-content-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.detail-cover-large {
    flex: 0 0 350px;
    max-width: 350px;
}

.detail-cover-large img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
}

.tracks-list-container {
    flex: 1;
    /* Reuses grid track styling internal structure but as a list or grid block */
    display: grid;
    grid-template-columns: 1fr;
    /* Single column list inside this area */
    gap: 10px;
}

/* Animation for Smooth Scroll Highlight */
@keyframes flash {
    0% {
        background-color: rgba(227, 6, 19, 0.2);
    }

    100% {
        background-color: #161616;
    }
}

.flash-highlight {
    animation: flash 1s ease-out;
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
}

.detail-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-main);
}

.detail-title .highlight {
    color: var(--accent-gold);
}

.close-detail-btn {
    background: transparent;
    border: 1px solid #444;
    color: var(--text-muted);
    padding: 5px 15px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.close-detail-btn:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
}


/* Unreleased EP Section Styling */
.highlight-bg {
    background: linear-gradient(90deg, #121212 0%, rgba(30, 30, 30, 0.5) 50%, #121212 100%);
    position: relative;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
}

.badge-new {
    display: inline-block;
    background-color: var(--primary-red);
    color: white;
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    border-radius: 2px;
}

/* Tracklist Grid (Static & Dynamic reused) */
.tracks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 15px;
}

.track-card {
    background-color: rgba(30, 30, 30, 0.4);
    border-left: 2px solid rgba(255, 255, 255, 0.05);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    border-radius: 0 4px 4px 0;
    transition: all 0.2s;
    cursor: default;
}

.track-card:hover {
    background-color: #252525;
    border-left: 2px solid var(--primary-red);
}

.track-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #444;
    margin-right: 20px;
    width: 30px;
}

.track-info h3 {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Bonus Material */
.bonus-card {
    background: radial-gradient(circle at center, #2a2a2a 0%, #1e1e1e 100%);
    padding: 40px;
    display: flex;
    align-items: center;
    border-radius: 8px;
    border: 1px solid #333;
    flex-wrap: wrap;
    gap: 30px;
}

.bonus-icon {
    font-size: 4rem;
    color: var(--accent-gold);
}

.bonus-content h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.bonus-content p {
    color: var(--text-muted);
    margin-bottom: 0px;
}

.play-btn {
    background-color: var(--primary-red);
    color: white;
    border: none;
    padding: 10px 25px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 2px;
    transition: background 0.3s;
}

.play-btn:hover {
    background-color: #ff0b1a;
    /* Lighter red */
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 0;
    font-size: 0.9rem;
    color: #444;
    border-top: 1px solid #222;
    margin-top: 40px;
}

/* Responsive */
@media (max-width: 850px) {
    .detail-content-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .detail-cover-large {
        flex: 0 0 auto;
        width: 100%;
        max-width: 300px;
        margin-bottom: 30px;
    }
}

@media (max-width: 600px) {
    .logo {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .bonus-card {
        text-align: center;
        justify-content: center;
    }

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

    .bonus-teaser-banner {
        font-size: 1.4rem;
        padding: 15px 20px;
    }

    .ep-grid {
        grid-template-columns: 1fr;
        /* Stack cards on mobile */
    }
}