@import url('https://fonts.googleapis.com/css2?family=Chivo:wght@400;700&family=Inconsolata:wght@300;400;600&family=Outfit:wght@300;500;700;900&display=swap');

:root {
    --bg-color: #0d0d0d;
    --text-color: #ffffff;
    --accent-color: #00f2ff;
    --secondary-text: #b3b3b3;
    --nav-height: 80px;
    --font-main: 'Outfit', sans-serif;
    --font-mono: 'Inconsolata', monospace;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(20, 20, 20, 1) 0%, rgba(13, 13, 13, 1) 100%);
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
    backdrop-filter: blur(5px);
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 4px;
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--accent-color);
}

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

nav ul li a {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.7;
    text-transform: uppercase;
}

nav ul li a:hover, nav ul li a.active {
    opacity: 1;
    color: var(--accent-color);
}

/* Burger Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s ease;
}

/* Burger Animation */
.menu-active .menu-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.menu-active .menu-toggle span:nth-child(2) {
    opacity: 0;
}
.menu-active .menu-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: var(--nav-height);
    overflow: hidden;
}

/* Animated Background */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #0d0d0d;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(0, 242, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 70% 60%, rgba(0, 242, 255, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(13, 13, 13, 1) 0%, rgba(5, 5, 5, 1) 100%);
    animation: aurora 20s infinite alternate ease-in-out;
}

.hero-shapes {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(0, 242, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse-ring 10s infinite ease-in-out;
}

.shape:nth-child(1) { width: 400px; height: 400px; animation-delay: 0s; }
.shape:nth-child(2) { width: 600px; height: 600px; animation-delay: -2s; border-color: rgba(0, 242, 255, 0.05); }
.shape:nth-child(3) { width: 800px; height: 800px; animation-delay: -4s; border-color: rgba(255, 255, 255, 0.02); }

@keyframes aurora {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(50px, 50px) rotate(5deg); }
}

@keyframes pulse-ring {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.3; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.6; }
}

.artwork-container {
    width: 400px;
    height: 400px;
    margin-bottom: 40px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    transition: transform 0.5s ease;
    border-radius: 4px;
    overflow: hidden;
}

.image-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 8px 15px;
    color: var(--accent-color);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 10;
    border-radius: 2px;
    border-left: 2px solid var(--accent-color);
}

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

.artwork-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(0, 242, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-color);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 242, 255, 0.4);
    pointer-events: none;
    z-index: 5;
}

.artwork-container:hover .play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.featured-title {
    margin-bottom: 30px;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--text-color);
    transition: all 0.3s ease;
    display: inline-block;
}

.featured-title:hover {
    color: var(--accent-color);
    letter-spacing: 8px;
}

.hero h2 {
    font-size: 1rem;
    color: var(--accent-color);
    margin-top: 30px;
    letter-spacing: 2px;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.social-link:hover {
    background: var(--accent-color);
    color: var(--bg-color);
    transform: translateY(-3px);
}

/* Content Sections */
.section {
    padding: 100px 0;
}

.section-title {
    margin-bottom: 60px;
    text-align: center;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
}

/* Horizontal Releases Layout */
.releases-wrapper {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    padding: 0 10vw;
    scrollbar-width: none; /* Firefox */
}

.releases-wrapper::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.release-item {
    flex: 0 0 400px;
    height: auto;
    margin-right: 60px;
    scroll-snap-align: center;
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1.5s cubic-bezier(0.17, 0.96, 0.33, 0.99);
}

.release-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.release-artwork {
    width: 400px;
    height: 400px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    transition: transform 0.5s ease;
}

.release-item:hover .release-artwork {
    transform: scale(1.03);
}

.release-artwork img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.release-info {
    margin-top: 25px;
    font-family: var(--font-mono);
}

.release-number {
    font-size: 0.7rem;
    color: var(--accent-color);
    letter-spacing: 2px;
    margin-bottom: 5px;
    display: block;
}

.release-title {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.release-desc {
    font-size: 0.8rem;
    color: var(--secondary-text);
    white-space: normal;
}

/* Detail Pages */
.release-detail {
    padding: 120px 0;
    text-align: left;
}

.detail-header {
    display: flex;
    gap: 80px;
    align-items: center;
    margin-bottom: 80px;
}

.detail-info {
    flex: 1;
}

.detail-info .label {
    color: var(--accent-color);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 3px;
    margin-bottom: 15px;
    display: block;
}

.detail-info h1 {
    font-size: 4rem;
    margin-bottom: 5px;
    line-height: 1.1;
}

.detail-info .subtitle {
    display: block;
    font-size: 1.5rem;
    color: var(--secondary-text);
    margin-bottom: 30px;
    text-transform: uppercase;
    font-weight: 300;
}

.part-header {
    font-family: var(--font-mono);
    color: var(--accent-color);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 50px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 242, 255, 0.2);
    display: block;
}

.track-list .part-header:first-child {
    margin-top: 0;
}

/* 2-column layout for Part I & II */
.parts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 60px auto 0;
    padding: 0 20px;
}

/* Centred single-column for Outro */
.parts-outro {
    display: flex;
    justify-content: center;
    margin: 20px auto 60px;
    padding: 0 20px;
}

.parts-outro .part-col {
    width: 100%;
    max-width: 400px;
}

.part-col .part-header {
    margin-top: 0;
}

/* Responsive: stack on mobile */
@media (max-width: 700px) {
    .parts-grid {
        grid-template-columns: 1fr;
    }
}

.story-section {
    margin-top: 40px;
    border-top: 1px solid var(--glass-border);
    padding-top: 40px;
    text-align: left;
}

.story-header {
    color: var(--accent-color);
    font-family: var(--font-mono);
    margin-bottom: 20px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.story-text {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--secondary-text);
    font-size: 1.05rem;
}

/* CTA Links block (above track list on Spirography pages) */
.release-cta {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    margin: 40px auto 20px;
    max-width: 450px;
    padding: 24px 30px;
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
}

.cta-link {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-text);
    transition: color 0.3s ease;
}

.cta-link:hover {
    color: var(--text-color);
}

.cta-primary {
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 8px 16px;
    border-radius: 2px;
    transition: background 0.3s ease, color 0.3s ease;
}

.cta-primary:hover {
    background: var(--accent-color);
    color: #000;
}

.track-list {
    margin-top: 60px;
    text-align: left;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 80px;
}

.track-item {
    padding: 18px 0;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.track-item:hover {
    color: var(--accent-color);
    padding-left: 10px;
}

.track-item.playing-track {
    color: var(--accent-color);
    border-bottom: 1px solid var(--accent-color);
    font-weight: 500;
}

.track-item span::before {
    content: '▶';
    font-size: 0.7rem;
    margin-right: 15px;
    opacity: 0.3;
}

.track-item.playing-track span::before {
    content: '⏸';
    opacity: 1;
}

.track-num {
    color: var(--accent-color);
    font-size: 0.8rem;
}

/* Footer */
footer {
    padding: 20px 40px;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    z-index: 100;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    font-size: 0.8rem;
    color: var(--secondary-text);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: var(--font-mono);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.copy {
    font-size: 0.8rem;
    color: var(--secondary-text);
}

/* Contact Page Refined */
.contact-page {
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../assets/contact_bg.png');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
}

.contact-split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 100px;
    align-items: flex-start;
}

.contact-left h1 {
    font-family: 'Chivo', sans-serif;
    font-size: 5rem;
    margin-bottom: 50px;
    line-height: 1;
}

.contact-form {
    margin-top: 40px;
    font-family: var(--font-mono);
}

.form-row {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.form-group {
    flex: 1;
}

.contact-form textarea, 
.contact-form input {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 15px 0;
    width: 100%;
    font-size: 1rem;
    font-family: var(--font-mono);
    transition: border-color 0.3s ease;
}

.contact-form textarea:focus, 
.contact-form input:focus {
    outline: none;
    border-bottom-color: var(--accent-color);
}

.contact-form textarea {
    height: 120px;
    resize: none;
    margin-bottom: 20px;
}

.submit-btn {
    margin-top: 40px;
    background: transparent;
    border: 1px solid var(--accent-color);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--accent-color);
    color: var(--bg-color);
    transform: scale(1.05);
}

.contact-right {
    padding-top: 20px;
}

.info-category {
    margin-bottom: 40px;
}

.info-label {
    color: var(--accent-color);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: block;
    font-family: var(--font-mono);
}

.info-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.info-content p {
    margin-bottom: 5px;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-split {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .contact-left h1 {
        font-size: 3.5rem;
    }
}
@media (max-width: 768px) {
    header {
        padding: 0 20px;
    }
    
    .menu-toggle {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-color);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1000;
    }

    .menu-active nav {
        right: 0;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    nav ul li a {
        font-size: 1.5rem;
        letter-spacing: 5px;
    }

    .artwork-container {
        width: 300px;
        height: 300px;
    }
    .release-item {
        flex: 0 0 300px;
    }
    .release-artwork {
        width: 300px;
        height: 300px;
    }
}
