/* ─── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    background-color: #091410;
    color: #ecfdf5;
    font-family: 'Inter', system-ui, sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

/* ─── Grain overlay ──────────────────────────────────────────── */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 9999;
}

/* ─── Scrollbar ──────────────────────────────────────────────── */
::-webkit-scrollbar              { width: 5px; }
::-webkit-scrollbar-track        { background: #091410; }
::-webkit-scrollbar-thumb        { background: #166534; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover  { background: #22c55e; }

/* ─── Navbar ─────────────────────────────────────────────────── */
#navbar {
    background: rgba(9,20,16,0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(34,197,94,0.08);
    transition: background 0.4s ease, box-shadow 0.4s ease;
}
#navbar.scrolled {
    background: rgba(6,14,10,0.94);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    box-shadow: 0 1px 0 rgba(34,197,94,0.12), 0 4px 30px rgba(0,0,0,0.5);
}

/* ─── Hero canvas ────────────────────────────────────────────── */
#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* ─── Shimmer / green text ───────────────────────────────────── */
.shimmer-text {
    background: linear-gradient(
        100deg,
        #166534 0%,
        #22c55e 25%,
        #bbf7d0 50%,
        #22c55e 75%,
        #166534 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3.5s linear infinite;
    /* extend paint area so descenders (underscore) aren't clipped */
    padding-bottom: 0.12em;
    display: inline-block;
}
@keyframes shimmer {
    0%   { background-position: 200% center; }
    100% { background-position: -200% center; }
}

/* ─── Hero title ─────────────────────────────────────────────── */
.hero-title {
    font-size: clamp(4rem, 13vw, 10rem);
    line-height: 0.95;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 900;
    letter-spacing: -0.02em;
}

/* ─── Float ──────────────────────────────────────────────────── */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-14px); }
}
.animate-float { animation: float 6s ease-in-out infinite; }

/* ─── Scroll-reveal ──────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible    { opacity: 1; transform: translateY(0); }
.reveal-delay-1    { transition-delay: 0.08s; }
.reveal-delay-2    { transition-delay: 0.16s; }
.reveal-delay-3    { transition-delay: 0.24s; }
.reveal-delay-4    { transition-delay: 0.32s; }

/* ─── Glass card ─────────────────────────────────────────────── */
.glass-card {
    background: rgba(34,197,94,0.03);
    border: 1px solid rgba(34,197,94,0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background 0.3s, border-color 0.3s,
                transform 0.35s cubic-bezier(0.175,0.885,0.32,1.275),
                box-shadow 0.35s;
}
.glass-card:hover {
    background: rgba(34,197,94,0.06);
    border-color: rgba(34,197,94,0.22);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 30px rgba(34,197,94,0.07);
}

/* ─── Album card / vinyl ─────────────────────────────────────── */
.album-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.25rem;
    border: 1px solid rgba(255,255,255,0.06);
    transition: transform 0.4s cubic-bezier(0.175,0.885,0.32,1.275),
                box-shadow 0.4s, border-color 0.4s;
    cursor: pointer;
}
.album-card:hover { transform: translateY(-7px) scale(1.015); }

.album-art {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.vinyl {
    width: 72%;
    aspect-ratio: 1;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.8s ease;
}
.album-card:hover .vinyl { animation: vinyl-spin 4s linear infinite; }
@keyframes vinyl-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
.vinyl::after {
    content: '';
    position: absolute;
    width: 22%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, #0d1f12 40%, #091410 100%);
    border: 1px solid rgba(255,255,255,0.1);
}

/* ─── Track row ──────────────────────────────────────────────── */
.track-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: color 0.2s, padding-left 0.2s;
}
.track-row:last-child { border-bottom: none; }
.track-row:hover      { color: #4ade80; padding-left: 5px; }

.track-num {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.25);
    min-width: 1.5rem;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* ─── Buttons ────────────────────────────────────────────────── */
.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #052e16;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.9rem 2.2rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
    white-space: nowrap;
}
.btn-gold:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 10px 35px rgba(34,197,94,0.45);
    filter: brightness(1.07);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: #ecfdf5;
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.9rem 2.2rem;
    border-radius: 9999px;
    border: 1px solid rgba(34,197,94,0.4);
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.2s;
    white-space: nowrap;
}
.btn-ghost:hover {
    border-color: #22c55e;
    color: #4ade80;
    background: rgba(34,197,94,0.07);
    transform: translateY(-2px);
}

/* ─── Single row ─────────────────────────────────────────────── */
.single-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid transparent;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.single-row:hover {
    background: rgba(34,197,94,0.06);
    border-color: rgba(34,197,94,0.18);
    transform: translateX(5px);
}
.note-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(34,197,94,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
}
.single-row:hover .note-icon { background: rgba(34,197,94,0.2); }

/* ─── Merch card ─────────────────────────────────────────────── */
.merch-card {
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid rgba(34,197,94,0.1);
    transition: transform 0.35s cubic-bezier(0.175,0.885,0.32,1.275),
                box-shadow 0.35s, border-color 0.3s;
}
.merch-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 40px rgba(34,197,94,0.08);
    border-color: rgba(34,197,94,0.25);
}
.coming-soon-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(34,197,94,0.12);
    border: 1px solid rgba(34,197,94,0.35);
    color: #4ade80;
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    padding: 0.28rem 0.7rem;
    border-radius: 9999px;
    backdrop-filter: blur(8px);
}

/* ─── Spotify embed ──────────────────────────────────────────── */
.spotify-wrap {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(34,197,94,0.1);
    transition: box-shadow 0.3s;
}
.spotify-wrap:hover {
    box-shadow: 0 24px 80px rgba(0,0,0,0.55), 0 0 60px rgba(34,197,94,0.12);
}

/* ─── Section utilities ──────────────────────────────────────── */
.gold-divider {
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #22c55e, transparent);
    margin: 0 auto;
}
.section-label {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #22c55e;
    font-weight: 700;
}
.section-warm   { background: linear-gradient(180deg,#091410 0%,#0d1a10 50%,#091410 100%); }
.section-warmer { background: linear-gradient(180deg,#0d1a10 0%,#112014 50%,#0d1a10 100%); }

/* ─── Nav link underline ─────────────────────────────────────── */
.nav-link { position: relative; }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    width: 0; height: 1px;
    background: #22c55e;
    transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

/* ─── Big quote decoration ───────────────────────────────────── */
.big-quote {
    font-family: 'Playfair Display', serif;
    font-size: 8rem;
    line-height: 0.7;
    color: rgba(34,197,94,0.1);
    pointer-events: none;
    user-select: none;
}

/* ─── Ping dot ───────────────────────────────────────────────── */
@keyframes ping { 75%, 100% { transform: scale(1.8); opacity: 0; } }
.animate-ping { animation: ping 1.4s cubic-bezier(0,0,0.2,1) infinite; }
