/* Entry Gate */
#entry-gate {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 1s ease-out, visibility 1s;
}

#entry-gate.hidden {
    opacity: 0;
    visibility: hidden;
}

.gate-content {
    text-align: center;
    pointer-events: none;
}

.gate-content p {
    margin-top: 1rem;
    letter-spacing: 0.5rem;
    font-size: 0.8rem;
    color: var(--acc);
}

:root {
    --bg: #000000;
    --acc: #fffb00;
    /* Neon Nirvana Yellow */
    --text: #ffffff;
    --sub: #888888;
    --font-h: 'Syne', sans-serif;
    --font-b: 'Space Grotesk', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-b);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

#three-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Move to foreground but pointer-events: none */
    pointer-events: none;
}

main {
    position: relative;
    z-index: 2;
    /* Content on top */
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-content {
    animation: fadeInUp 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: var(--acc);
    width: 0%;
    z-index: 100;
    transition: width 0.1s linear;
}

/* Typography */
.main-title {
    font-family: var(--font-h);
    font-weight: 800;
    font-size: clamp(5rem, 15vw, 12rem);
    letter-spacing: -0.05em;
    line-height: 0.9;
    color: var(--acc);
    margin: 0;
}

.tagline {
    font-size: 0.8rem;
    letter-spacing: 0.5em;
    color: var(--text);
    opacity: 0.6;
    margin-top: 2rem;
}

/* Sections */
section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    position: relative;
    border-bottom: 1px solid rgba(255, 251, 0, 0.05);
}

.hero {
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.header-group {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 2rem;
}

.section-num {
    font-family: var(--font-h);
    color: var(--acc);
    font-size: 1.5rem;
    font-weight: 800;
}

h2 {
    font-family: var(--font-h);
    font-size: clamp(2.5rem, 8vw, 5rem);
    text-transform: uppercase;
    font-weight: 800;
    line-height: 1;
}

.text-block {
    max-width: 600px;
    margin-bottom: 3rem;
}

.text-block p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--sub);
}

/* Slide in effects */
.slide-in {
    opacity: 0;
    filter: blur(5px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.slide-in.left {
    transform: translateX(-40px);
}

.slide-in.right {
    transform: translateX(40px);
}

.slide-in.visible {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0);
}

/* Tracklist */
.tracklist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.category h3 {
    font-size: 0.8rem;
    letter-spacing: 0.2rem;
    color: var(--acc);
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--acc);
    padding-bottom: 0.5rem;
}

.category ul {
    list-style: none;
}

.category li {
    font-size: 1rem;
    margin: 0.8rem 0;
    opacity: 0.7;
    transition: 0.3s;
}

.category li:hover {
    color: var(--acc);
    opacity: 1;
    transform: translateX(10px);
}

/* Badges */
.badge-grid {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge {
    padding: 1rem 2rem;
    background: transparent;
    border: 1px solid var(--acc);
    color: var(--acc);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    transition: 0.3s;
}

.badge:hover {
    background: var(--acc);
    color: #000;
}

.scroll-note {
    margin-top: 10vh;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    color: var(--acc);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

/* Clean UI */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: #000;
}

/* Fallback if JS is disabled */
.no-js .slide-in {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
}

::-webkit-scrollbar-thumb {
    background: var(--acc);
}