@import url('https://fonts.googleapis.com/css2?family=Special+Elite&family=Oswald:wght@700&family=Space+Mono&display=swap');

:root {
    --bg: #050505;
    --fg: #ffffff;
    --accent: #c4d9ff;
    --warm: #fff9c4;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Special Elite', typewriter;
    --font-mono: 'Space Mono', monospace;
    --transition-fast: 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}

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

body {
    background-color: var(--bg);
    color: var(--fg);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: crosshair;
}

body.no-scroll {
    overflow: hidden;
}

#grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('grain.png');
    opacity: 0.12;
    pointer-events: none;
    z-index: 9999;
}

#vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 40%, rgba(0,0,0,0.8) 100%);
    pointer-events: none;
    z-index: 9998;
}

#app {
    height: 100dvh;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.panel {
    min-height: 100dvh;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    position: relative;
    overflow: hidden;
    text-align: center;
}

/* HERO */
.hero {
    background: var(--bg);
}

.image-frame {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: grayscale(1) contrast(1.1);
    transition: transform 0.5s ease-out;
}

.hero-text-wrap {
    position: relative;
    z-index: 2;
}

.band-name {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 18vw, 12rem);
    text-transform: uppercase;
    line-height: 0.8;
    letter-spacing: -0.04em;
    color: var(--fg);
    mix-blend-mode: difference;
}

.band-name span {
    color: var(--accent);
}

.location-tag {
    position: absolute;
    bottom: 40px;
    left: 60px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--warm);
    z-index: 2;
    background: rgba(0,0,0,0.5);
    padding: 4px 8px;
}

/* BIO */
.bio {
    background: #0d0f14;
}

.zine-box {
    max-width: 800px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.typewriter {
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    margin-bottom: 1rem;
    max-width: 60ch;
    text-align: center;
    opacity: 0.9;
}

.indent-1 { padding-left: 0; }

/* MUSIC / LINKS */
.music {
    background: #080a0d;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--accent);
    border-bottom: 4px solid var(--accent);
    display: inline-block;
}

.link-list {
    list-style: none;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 10vw, 6rem);
    text-decoration: none;
    color: var(--fg);
    display: block;
    transition: var(--transition-fast);
    line-height: 0.9;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
}

.nav-link:hover {
    color: var(--accent);
    transform: scale(1.05);
    letter-spacing: 0.05em;
}

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

/* CONTACT */
.contact {
    background: #050608;
    justify-content: flex-end;
}

.contact-card {
    margin-bottom: 100px;
}

.email-link {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 5vw, 3rem);
    color: var(--warm);
    text-decoration: none;
    border-bottom: 2px dashed var(--warm);
}

footer {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: #445;
    margin-top: auto;
}

.back-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 10000;
    color: var(--fg);
    text-decoration: none;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: var(--transition-fast);
    text-transform: uppercase;
}

.back-btn:hover {
    background: var(--fg);
    color: var(--bg);
    border-color: var(--fg);
}

/* ALBUM MODAL */
#album-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(15px);
    z-index: 20000;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

#album-modal.active {
    display: flex;
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 30px;
    background: transparent;
    border: 1px solid var(--fg);
    color: var(--fg);
    padding: 10px 20px;
    font-family: var(--font-mono);
    cursor: pointer;
    transition: var(--transition-fast);
}

.close-modal:hover {
    background: var(--fg);
    color: var(--bg);
}

.album-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 60px;
    max-width: 1000px;
    width: 100%;
}

.cd-container {
    perspective: 1000px;
}

.cd-spinner {
    width: clamp(250px, 40vw, 400px);
    height: clamp(250px, 40vw, 400px);
    animation: spin 8s linear infinite;
    animation-play-state: paused;
}

#album-modal.playing .cd-spinner {
    animation-play-state: running;
}

.cd-surface {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    position: relative;
    box-shadow: 0 0 50px rgba(0,0,0,0.5), inset 0 0 0 10px rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
}

.cd-hole {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 15%;
    height: 15%;
    background: var(--bg);
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,0.1);
    box-shadow: inset 0 0 10px rgba(0,0,0,0.8);
}

.album-info {
    text-align: left;
    flex: 1;
}

.album-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1;
    margin-bottom: 10px;
}

.album-meta {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.tracklist {
    list-style: none;
    margin-bottom: 30px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    border-left: 2px solid var(--accent);
    padding-left: 15px;
}

.track-item {
    margin-bottom: 8px;
    opacity: 0.6;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 10px;
}

.track-item span {
    font-size: 0.7rem;
    opacity: 0.5;
}

.track-item:hover {
    opacity: 1;
    color: var(--accent);
    transform: translateX(5px);
}

.track-item.active {
    opacity: 1;
    color: var(--accent);
    font-weight: bold;
}

.track-item.active::before {
    content: '▶';
    font-size: 0.6rem;
    margin-left: -12px;
    margin-right: 4px;
}

#album-modal.playing .track-item.active::before {
    content: '⏸';
}

.player-controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.action-btn {
    display: inline-block;
    padding: 15px 30px;
    background: transparent;
    border: 1px solid var(--fg);
    color: var(--fg);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    text-align: center;
    transition: var(--transition-fast);
    cursor: pointer;
}

.action-btn:hover {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
}

.action-btn.bandcamp {
    background: #629aa9;
    border-color: #629aa9;
    color: white;
}

.action-btn.bandcamp:hover {
    background: white;
    color: #629aa9;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (max-width: 800px) {
    .album-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    .album-info {
        text-align: center;
    }
}

/* PREVIEW */
#image-preview {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 400px;
    pointer-events: none;
    z-index: 50;
    display: none;
    background-size: cover;
    background-position: center;
    border: 10px solid #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* MOBILE */
@media (max-width: 600px) {
    .panel { padding: 30px; }
    .band-name { font-size: 4rem; }
    .zine-box { padding: 20px; }
    .location-tag { left: 30px; bottom: 20px; }
    #image-preview { width: 200px; height: 280px; }
}