:root {
    --color-bg: #0a0a0a;
    --color-bg-secondary: #121212;
    --color-text: #e0e0e0;
    --color-text-dim: #707070;
    --color-accent: #ffffff;
    --color-accent-dim: #4a4a4a;
    --color-glow: rgba(255, 255, 255, 0.1);
    --font-primary: 'Courier New', 'Courier', monospace;
    --font-display: 'Arial Narrow', 'Helvetica Narrow', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--color-bg);
    color: var(--color-text);
    overflow-x: hidden;
    cursor: none;
}

/* custom cursor */
.cursor,
.cursor-trail {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 1px solid var(--color-accent);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease;
    mix-blend-mode: difference;
}

.cursor {
    transform: translate(-50%, -50%);
}

.cursor-trail {
    width: 40px;
    height: 40px;
    border-color: var(--color-accent-dim);
    opacity: 0.3;
    transition: transform 0.25s ease;
    transform: translate(-50%, -50%) scale(0.5);
}

a:hover ~ .cursor,
button:hover ~ .cursor {
    transform: translate(-50%, -50%) scale(1.5);
}

/* background animation */
.bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.grain {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='2.5' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    animation: grain 8s steps(10) infinite;
    pointer-events: none;
}

@keyframes grain {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -10%); }
    20% { transform: translate(-15%, 5%); }
    30% { transform: translate(7%, -25%); }
    40% { transform: translate(-5%, 25%); }
    50% { transform: translate(-15%, 10%); }
    60% { transform: translate(15%, 0%); }
    70% { transform: translate(0%, 15%); }
    80% { transform: translate(3%, 25%); }
    90% { transform: translate(-10%, 10%); }
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    top: -10%;
    left: -10%;
    animation-duration: 25s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    top: 50%;
    right: -10%;
    animation-duration: 30s;
    animation-delay: -5s;
}

.orb-3 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    bottom: -20%;
    left: 30%;
    animation-duration: 35s;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.scan-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: scan 8s linear infinite;
}

@keyframes scan {
    0% {
        top: 0%;
    }
    100% {
        top: 100%;
    }
}

/* navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 4rem;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(10,10,10,0.9) 0%, transparent 100%);
    backdrop-filter: blur(10px);
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 200;
    letter-spacing: 0.3em;
    color: var(--color-accent);
}

.nav-links {
    display: flex;
    gap: 3rem;
}

.nav-link {
    font-size: 0.9rem;
    color: var(--color-text-dim);
    text-decoration: none;
    letter-spacing: 0.1em;
    text-transform: lowercase;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

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

.nav-link:hover::after {
    width: 100%;
}

/* glitch effect */
.glitch {
    position: relative;
    animation: glitch-subtle 5s infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.glitch::before {
    color: #ff00ff;
    animation: glitch-before 3s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}

.glitch::after {
    color: #00ffff;
    animation: glitch-after 3s infinite;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
}

@keyframes glitch-subtle {
    0%, 90%, 100% {
        transform: translate(0);
    }
    92% {
        transform: translate(-2px, 1px);
    }
    94% {
        transform: translate(1px, -1px);
    }
    96% {
        transform: translate(-1px, 2px);
    }
}

@keyframes glitch-before {
    0%, 90%, 100% {
        opacity: 0;
        transform: translate(0);
    }
    92% {
        opacity: 0.7;
        transform: translate(-2px, 0);
    }
}

@keyframes glitch-after {
    0%, 90%, 100% {
        opacity: 0;
        transform: translate(0);
    }
    94% {
        opacity: 0.7;
        transform: translate(2px, 0);
    }
}

/* hero section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0 2rem;
}

.hero-content {
    text-align: center;
    animation: fadeInUp 1.5s ease-out;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(4rem, 15vw, 12rem);
    font-weight: 200;
    letter-spacing: 0.5em;
    margin-bottom: 1rem;
    color: var(--color-accent);
}

.hero-subtitle {
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    color: var(--color-text-dim);
    text-transform: lowercase;
    margin-bottom: 4rem;
    animation: fadeInUp 1.5s ease-out 0.3s both;
}

.hero-waveform {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 0.5rem;
    height: 80px;
    animation: fadeInUp 1.5s ease-out 0.6s both;
}

.wave-bar {
    width: 3px;
    background: var(--color-accent);
    border-radius: 2px;
    animation: wave 1.5s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes wave {
    0%, 100% {
        height: 20px;
    }
    50% {
        height: 60px;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--color-text-dim);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: lowercase;
    animation: fadeInUp 1.5s ease-out 0.9s both;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--color-text-dim), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.3;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(10px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* sections */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 4rem;
    position: relative;
}

.section-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 200;
    letter-spacing: 0.3em;
    margin-bottom: 4rem;
    color: var(--color-accent);
}

/* reveal animation */
[data-reveal] {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* listen section */
.releases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 4rem;
}

.release-card {
    position: relative;
    transition: transform 0.4s ease;
}

.release-card:hover {
    transform: translateY(-10px);
}

.release-artwork {
    position: relative;
    aspect-ratio: 1;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border: 1px solid var(--color-accent-dim);
}

.artwork-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-bg-secondary), var(--color-bg));
    position: relative;
    overflow: hidden;
}

.artwork-pattern {
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 2px, var(--color-accent-dim) 2px, var(--color-accent-dim) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, var(--color-accent-dim) 2px, var(--color-accent-dim) 4px);
    opacity: 0.1;
    animation: patternShift 20s linear infinite;
}

@keyframes patternShift {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(20px, 20px);
    }
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.release-card:hover .play-overlay {
    opacity: 1;
}

.play-btn {
    width: 60px;
    height: 60px;
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--color-accent);
    transition: transform 0.3s ease, background 0.3s ease;
    padding-left: 5px;
}

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

.release-info {
    padding: 0 0.5rem;
}

.release-title {
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    text-transform: lowercase;
}

.release-meta {
    font-size: 0.85rem;
    color: var(--color-text-dim);
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.release-platforms {
    display: flex;
    gap: 1.5rem;
}

.platform-link {
    font-size: 0.8rem;
    color: var(--color-text-dim);
    text-decoration: none;
    letter-spacing: 0.1em;
    position: relative;
    transition: color 0.3s ease;
}

.platform-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

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

.platform-link:hover::after {
    width: 100%;
}

/* about section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-description {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

.frequency-viz {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 3rem;
    border: 1px solid var(--color-accent-dim);
    background: rgba(255, 255, 255, 0.02);
}

.freq-line {
    height: 2px;
    background: var(--color-accent);
    animation: freqPulse 4s ease-in-out infinite;
    opacity: 0.4;
}

@keyframes freqPulse {
    0%, 100% {
        width: 30%;
        opacity: 0.3;
    }
    50% {
        width: 100%;
        opacity: 0.8;
    }
}

/* Contact Section */
.contact-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
}

.contact-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
    border-bottom: 1px solid var(--color-accent-dim);
    text-decoration: none;
    transition: padding-left 0.3s ease;
}

.contact-link:hover {
    padding-left: 2rem;
}

.contact-label {
    font-size: 0.9rem;
    color: var(--color-text-dim);
    letter-spacing: 0.2em;
}

.contact-value {
    font-size: 1.1rem;
    color: var(--color-accent);
    letter-spacing: 0.05em;
}

/* Footer */
.footer {
    padding: 4rem;
    border-top: 1px solid var(--color-accent-dim);
    background: var(--color-bg-secondary);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-text {
    font-size: 0.8rem;
    color: var(--color-text-dim);
    letter-spacing: 0.1em;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav {
        padding: 2rem;
    }

    .section {
        padding: 6rem 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .hero-title {
        letter-spacing: 0.3em;
    }

    .section {
        padding: 4rem 1.5rem;
    }

    .section-title {
        letter-spacing: 0.2em;
    }

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

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    body {
        cursor: auto;
    }

    .cursor,
    .cursor-trail {
        display: none;
    }
}
