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

:root {
    --bg-color: #0a0a0a;
    --text-color: #f4f4f4;
    --accent-color: #c90000;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

html {
    background-color: var(--bg-color);
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1,
h2,
.logo {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

/* --- NAVIGATION --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: rgba(10, 10, 10, 0.95);
    border-bottom: 2px solid var(--accent-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
}

/* --- HERO & SLIDER --- */
.hero {
    flex: 1; 
    position: relative;
    width: 100%;
    overflow: hidden; 
    display: flex;
}

.slider-container {
    width: 100%;
    display: grid; 
    align-items: center;
    overflow: hidden; 
    padding-bottom: 60px; 
    touch-action: pan-y;
    user-select: none;
    cursor: grab;
}

.slider-container.grabbing {
    cursor: grabbing !important; 
}

.slide {
    grid-area: 1 / 1; 
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
    padding: 40px 20px;
    gap: 40px; 
    flex-wrap: wrap; 
    opacity: 0;
    pointer-events: none;
}

/* Bidirectional Slider Keyframes */
.slide.active-next {
    opacity: 1;
    pointer-events: auto;
    animation: slideInRight 0.4s ease-in-out forwards;
    z-index: 2;
}

.slide.leaving-next {
    opacity: 1;
    animation: slideOutLeft 0.4s ease-in-out forwards;
    z-index: 1;
}

.slide.active-prev {
    opacity: 1;
    pointer-events: auto;
    animation: slideInLeft 0.4s ease-in-out forwards;
    z-index: 2;
}

.slide.leaving-prev {
    opacity: 1;
    animation: slideOutRight 0.4s ease-in-out forwards;
    z-index: 1;
}

@keyframes slideInRight {
    0% { transform: translateX(100%); }
    100% { transform: translateX(0); }
}

@keyframes slideOutLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

@keyframes slideInLeft {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(0); }
}

@keyframes slideOutRight {
    0% { transform: translateX(0); }
    100% { transform: translateX(100%); }
}

.slider-controls {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: transparent; 
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 0;
    gap: 20px;
    z-index: 10;
}

.control-btn {
    background: none;
    border: none;
    color: #888;
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.control-btn:hover {
    color: var(--text-color);
}

.slider-dots {
    display: flex;
    gap: 12px;
    align-items: center;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid #888;
    background: transparent;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
}

.dot.active {
    background: var(--text-color);
    border-color: var(--text-color);
}

.hero-cover {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    border: 2px solid #222;
}

.hero-content {
    max-width: 500px;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 10px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #aaa;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--accent-color);
    color: var(--text-color);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    transition: background-color 0.3s, border-color 0.3s;
}

.btn:hover {
    background-color: #a00000;
    transform: scale(1.05);
}

/* --- LIBRARY PAGE --- */
.library-container {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.library-container h2 {
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.track-list {
    margin-top: 40px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
}

.track-card {
    background: #1a1a1a;
    padding: 20px;
    border-left: 4px solid var(--accent-color);
    text-align: left;
    transition: transform 0.2s ease, background-color 0.2s ease;
    cursor: pointer;
    flex: 1 1 350px;
    max-width: 500px;
}

.track-card:hover {
    background: #222;
}

.track-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.track-cover {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    background-color: #050505;
}

.track-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    flex-grow: 1;
}

.track-duration {
    font-size: 1rem;
    color: #888;
}

.track-links {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
    border-top: 1px solid transparent;
    transition: max-height 0.4s ease, opacity 0.4s ease, margin-top 0.4s ease, padding-top 0.4s ease, border-top-color 0.4s ease;
}

.track-links a {
    flex-grow: 1; 
    text-align: center; 
    display: inline-block;
    padding: 10px 15px;
    background-color: #111;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-family: var(--font-heading);
    border: 1px solid #333;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.track-links a:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.track-card.expanded .track-links {
    max-height: 300px;
    opacity: 1;
    margin-top: 15px;
    padding-top: 15px;
    border-top-color: #333;
}

.track-card.expanded .track-title {
    cursor: pointer;
    transition: color 0.3s ease;
}

.track-card.expanded .track-title:hover {
    color: var(--accent-color);
}

.platform-link {
    padding: 8px 15px;
    background: #0a0a0a;
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    border: 1px solid #333;
    transition: all 0.2s ease;
}

.platform-link:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

/* --- ABOUT PAGE --- */
.about-page-container {
    padding: 80px 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-page-container h2 {
    font-size: 3.5rem;
    margin-bottom: 30px;
}

.about-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 30px;
    border: 2px solid #222;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.about-text {
    text-align: left;
    font-size: 1.1rem;
    color: #ddd;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 20px;
}

/* --- RELEASE TEMPLATE PAGE --- */
.release-page-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px; 
}

.release-content {
    display: flex;
    gap: 40px; 
    align-items: center;
    max-width: 900px;
    width: 100%;
    flex-wrap: wrap; 
    justify-content: center;
}

.release-page-cover {
    width: 100%;
    max-width: clamp(200px, 40vh, 350px); 
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 4px;
    border: 2px solid #222;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.release-links-wrapper {
    flex: 1;
    min-width: 280px; 
    text-align: left;
}

.release-links-wrapper h2 {
    font-size: clamp(2rem, 5vw, 3rem); 
    margin-bottom: 5px;
    line-height: 1.1;
}

.release-links-wrapper p {
    color: #888;
    margin-bottom: 20px; 
    font-size: 1rem;
}

.release-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px; 
}

.platform-btn {
    display: flex;
    align-items: center;
    justify-content: center; 
    gap: 10px;
    padding: 10px 15px; 
    background-color: #111;
    color: var(--text-color);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    border: 1px solid #333;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.platform-btn:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px); 
}

/* --- CASCADE ENTRANCE ANIMATION --- */
.cascade-element {
    opacity: 0; 
    animation: dropIn 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes dropIn {
    0% {
        opacity: 0;
        transform: translateY(-25px); 
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- FOOTER & SOCIALS --- */
footer {
    text-align: center;
    padding: 40px 20px 20px 20px;
    background-color: #050505;
    border-top: 1px solid #333;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-socials p {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.social-icons {
    display: flex;
    gap: 25px;
    justify-content: center;
}

.social-icons a,
.social-icons a:visited {
    color: var(--text-color); 
    font-size: 1.8rem; 
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
}

.social-icons a:hover {
    color: var(--accent-color);
    transform: translateY(-3px); 
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .hero-cover {
        width: 220px; 
        height: 220px;
    }
    .hero h1 {
        font-size: 3.5rem; 
    }
    .slide {
        text-align: center;
        gap: 20px; 
    }
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}