/* SoundWave — Local CSS Bundle */
/* Inter font (local) */
@font-face {
    font-family: 'Inter';
    src: url('/assets/fonts/inter-variable.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }

:root {
    --color-primary:   #C6F064;
    --color-secondary: #C6F064;
    --color-accent:    #C6F064;
    --color-dark:      #080909;
    --color-dark-card: #161916;
    --color-text:      #F4F5EF;
    --color-muted:     #999F96;
    --radius-xl:       0.75rem;
    --radius-2xl:      1rem;
    --radius-full:     9999px;
}

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background-color: var(--color-dark);
    color: var(--color-text);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button { cursor: pointer; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-dark-card); }
::-webkit-scrollbar-thumb { background: var(--color-primary); border-radius:1.5px; }

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass card */
.glass {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

/* Waveform canvas */
.waveform-container { position: relative; width: 100%; background: rgba(0,0,0,0.2); border-radius:3px; overflow: hidden; }
.waveform-container canvas { display: block; width: 100%; cursor: pointer; }

/* Audio range input */
.track-progress {
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    border-radius:1px;
    background: #374151;
    outline: none;
    cursor: pointer;
}
.track-progress::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border-radius:50%;
    background: var(--color-primary);
    cursor: pointer;
}

/* Animations */
@keyframes wave {
    0%, 100% { transform: scaleY(0.3); }
    50%       { transform: scaleY(1); }
}
@keyframes pulse-bg {
    0%, 100% { opacity: 0.1; transform: scale(1); }
    50%       { opacity: 0.15; transform: scale(1.2); }
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.animate-spin   { animation: spin 1s linear infinite; }
.animate-fadein { animation: fadeIn 0.3s ease forwards; }

/* Nav link hover */
.nav-link { transition: color 0.2s; }
.nav-link:hover { color: var(--color-primary); }

/* Player bar */
.player-bar { background: linear-gradient(to right, #080909, #101211); }

/* Sidebar admin */
.sidebar-link {
    display: flex;
    align-items: center;
    padding: 0.6rem 1rem;
    border-radius:0.25rem;
    font-size: 0.875rem;
    color: #9CA3AF;
    transition: all 0.2s;
    margin-bottom: 2px;
    text-decoration: none;
}
.sidebar-link:hover, .sidebar-link.active {
    background: rgba(198,240,100,0.15);
    color: #C6F064;
}

/* Responsive helpers */
@media (max-width: 768px) {
    .hide-mobile { display: none !important; }
}
@media (min-width: 769px) {
    .hide-desktop { display: none !important; }
}

/* ── UNDERGROUND / ACID LIME — shared editorial utilities ─────────────── */
.ug-kicker {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--color-primary);
}
.ug-display {
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 0.98;
    color: var(--color-text);
}
.ug-outline-text {
    color: transparent;
    -webkit-text-stroke: 1px rgba(198,240,100, 0.35);
}
.ug-rule {
    border: 0;
    border-top: 1px solid #292e29;
}
::selection { background: #C6F064; color: #0b0c0b; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001s !important;
        scroll-behavior: auto !important;
    }
}