bebechien's picture
Upload folder using huggingface_hub
79d96da verified
Raw History Blame Contribute Delete
20.5 kB
/* ==========================================================================
I'm The Software Engineer (:q!) — Cinematic Music Video Styles
========================================================================== */
:root {
--font-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Code', 'Fira Code', Consolas, 'Courier New', monospace;
--font-sans: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
/* Dynamic mood palette (updated via body[data-mood]) */
--accent: #00ff66;
--accent-2: #00cc55;
--accent-rgb: 0, 255, 102;
--accent-2-rgb: 0, 204, 85;
--bg-base: #040806;
--hud-bg: rgba(7, 12, 10, 0.72);
--hud-border: rgba(255, 255, 255, 0.12);
--text-main: #eef6f1;
--text-muted: rgba(238, 246, 241, 0.52);
--line-progress: 0%;
--beat-scale: 1;
}
/* Mood-specific CSS variables */
body[data-mood="terminal-dark"] {
--accent: #00ff66;
--accent-2: #39ff9e;
--accent-rgb: 0, 255, 102;
--accent-2-rgb: 57, 255, 158;
--bg-base: #030905;
}
body[data-mood="assembly-heat"] {
--accent: #ff9500;
--accent-2: #ff3b1f;
--accent-rgb: 255, 149, 0;
--accent-2-rgb: 255, 59, 31;
--bg-base: #0c0602;
}
body[data-mood="vibe-glitch"] {
--accent: #ff00aa;
--accent-2: #00f5ff;
--accent-rgb: 255, 0, 170;
--accent-2-rgb: 0, 245, 255;
--bg-base: #09030f;
}
body[data-mood="manpage-bloat"] {
--accent: #ffd166;
--accent-2: #ff595e;
--accent-rgb: 255, 209, 102;
--accent-2-rgb: 255, 89, 94;
--bg-base: #090806;
}
body[data-mood="synth-arp"] {
--accent: #00f5d4;
--accent-2: #b565ff;
--accent-rgb: 0, 245, 212;
--accent-2-rgb: 181, 101, 255;
--bg-base: #070417;
}
body[data-mood="mech-140wpm"] {
--accent: #00e5ff;
--accent-2: #ff6b00;
--accent-rgb: 0, 229, 255;
--accent-2-rgb: 255, 107, 0;
--bg-base: #050811;
}
body[data-mood="root-micdrop"] {
--accent: #ff2a55;
--accent-2: #ffffff;
--accent-rgb: 255, 42, 85;
--accent-2-rgb: 255, 255, 255;
--bg-base: #050506;
}
/* Reset & Base */
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html, body {
width: 100%;
height: 100%;
overflow: hidden;
background: var(--bg-base);
color: var(--text-main);
font-family: var(--font-sans);
user-select: none;
-webkit-font-smoothing: antialiased;
transition: background-color 0.8s ease;
}
/* Full-bleed Canvas */
#stage-canvas {
position: fixed;
inset: 0;
width: 100vw;
height: 100vh;
display: block;
z-index: 1;
}
/* CRT Overlay */
#crt-overlay {
position: fixed;
inset: 0;
z-index: 5;
pointer-events: none;
opacity: 1;
transition: opacity 0.35s ease;
}
body.crt-off #crt-overlay {
opacity: 0;
}
.crt-scanlines {
position: absolute;
inset: 0;
background: repeating-linear-gradient(
to bottom,
rgba(255, 255, 255, 0) 0px,
rgba(255, 255, 255, 0) 2px,
rgba(0, 0, 0, 0.22) 3px,
rgba(0, 0, 0, 0.22) 4px
);
mix-blend-mode: multiply;
}
.crt-vignette {
position: absolute;
inset: 0;
background: radial-gradient(
ellipse at center,
rgba(0, 0, 0, 0) 52%,
rgba(0, 0, 0, 0.42) 82%,
rgba(0, 0, 0, 0.78) 100%
);
box-shadow: inset 0 0 80px rgba(var(--accent-rgb), 0.08);
}
/* Auto-hiding HUD Behavior */
.hud-element {
transition: opacity 0.4s ease, transform 0.4s ease;
}
body.hud-hidden #top-bar {
opacity: 0;
transform: translateY(-18px);
pointer-events: none;
}
body.hud-hidden #hud-bar {
opacity: 0;
transform: translateY(24px);
pointer-events: none;
}
body.hud-hidden {
cursor: none;
}
/* Top Status Bar */
#top-bar {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 20;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 14px 22px;
background: linear-gradient(to bottom, rgba(4, 6, 10, 0.82), rgba(4, 6, 10, 0));
font-family: var(--font-mono);
font-size: 0.78rem;
letter-spacing: 0.04em;
}
.top-left, .top-right {
display: flex;
align-items: center;
gap: 10px;
flex-wrap: wrap;
}
.status-dot {
width: 9px;
height: 9px;
border-radius: 50%;
background: var(--accent);
box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.9);
transition: background 0.4s ease, box-shadow 0.4s ease;
}
body.is-playing .status-dot {
animation: pulseDot 1.1s infinite ease-in-out;
}
@keyframes pulseDot {
0%, 100% { transform: scale(1); opacity: 1; }
50% { transform: scale(1.35); opacity: 0.65; }
}
.track-badge {
font-weight: 700;
color: #ffffff;
}
.divider {
color: rgba(255, 255, 255, 0.28);
}
.section-indicator {
color: var(--accent);
font-weight: 700;
text-transform: uppercase;
text-shadow: 0 0 12px rgba(var(--accent-rgb), 0.55);
}
.telemetry-pill {
padding: 3px 9px;
border-radius: 4px;
border: 1px solid rgba(255, 255, 255, 0.14);
background: rgba(10, 14, 18, 0.58);
color: rgba(255, 255, 255, 0.78);
font-size: 0.7rem;
backdrop-filter: blur(8px);
}
.mood-pill {
border-color: rgba(var(--accent-rgb), 0.45);
color: var(--accent);
}
/* ==========================================================================
Kinetic Lyric Stage
========================================================================== */
#lyric-stage {
position: fixed;
inset: 0;
z-index: 12;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 96px 6vw 168px;
pointer-events: none;
text-align: center;
}
body[data-mood="mech-140wpm"] #lyric-stage {
justify-content: flex-start;
padding-top: 86px;
}
.section-banner {
font-family: var(--font-mono);
font-size: 0.78rem;
font-weight: 700;
letter-spacing: 0.24em;
text-transform: uppercase;
color: var(--accent);
padding: 5px 14px;
border-radius: 999px;
border: 1px solid rgba(var(--accent-rgb), 0.45);
background: rgba(5, 8, 12, 0.68);
box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.25);
backdrop-filter: blur(8px);
margin-bottom: 20px;
opacity: 0;
transform: translateY(-10px) scale(0.95);
transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.5s ease, color 0.5s ease;
}
.section-banner.visible {
opacity: 1;
transform: translateY(0) scale(1);
}
.lyric-stack {
width: min(1060px, 100%);
display: flex;
flex-direction: column;
align-items: center;
gap: 14px;
}
.lyric-line {
width: 100%;
transition: opacity 0.35s ease, transform 0.35s ease;
}
.lyric-prev {
font-size: clamp(0.95rem, 1.55vw, 1.32rem);
font-weight: 500;
color: rgba(255, 255, 255, 0.34);
transform: translateY(-4px);
text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75);
min-height: 1.5em;
}
.lyric-current {
font-size: clamp(1.55rem, 3.6vw, 3.35rem);
font-weight: 700;
line-height: 1.24;
letter-spacing: -0.015em;
color: #ffffff;
text-shadow:
0 4px 28px rgba(0, 0, 0, 0.92),
0 0 24px rgba(var(--accent-rgb), 0.24);
min-height: 1.3em;
transform: scale(var(--beat-scale));
will-change: transform, opacity;
}
.lyric-current.line-enter {
animation: lyricEnter 0.36s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes lyricEnter {
0% {
opacity: 0;
transform: translateY(16px) scale(0.97);
filter: blur(4px);
}
100% {
opacity: 1;
transform: translateY(0) scale(1);
filter: blur(0);
}
}
.lyric-current .lyric-text {
display: inline-block;
position: relative;
padding: 6px 14px;
border-radius: 10px;
background: radial-gradient(ellipse at center, rgba(4, 7, 12, 0.56) 0%, rgba(4, 7, 12, 0) 76%);
}
/* Smooth progress underline bar under active lyric */
.lyric-current .lyric-text::after {
content: '';
position: absolute;
left: 14px;
right: 14px;
bottom: 0;
height: 3px;
border-radius: 999px;
background: linear-gradient(
to right,
var(--accent) 0%,
var(--accent-2) var(--line-progress),
rgba(255, 255, 255, 0.12) var(--line-progress),
rgba(255, 255, 255, 0.12) 100%
);
box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.55);
opacity: 0.9;
}
.lyric-current:empty .lyric-text::after,
.lyric-current .lyric-text:empty::after {
display: none;
}
.lyric-next {
font-size: clamp(0.98rem, 1.65vw, 1.38rem);
font-weight: 500;
color: rgba(255, 255, 255, 0.48);
text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
min-height: 1.5em;
}
/* Highlighted Keywords & Monospace Keycap Badges inside Lyrics */
.kw-highlight {
display: inline-block;
font-family: var(--font-mono);
font-weight: 800;
color: var(--accent);
padding: 0 0.24em;
border-radius: 6px;
background: rgba(var(--accent-rgb), 0.14);
border: 1px solid rgba(var(--accent-rgb), 0.42);
text-shadow: 0 0 16px rgba(var(--accent-rgb), 0.85);
box-shadow: 0 0 18px rgba(var(--accent-rgb), 0.22);
vertical-align: baseline;
}
.kw-keycap {
display: inline-block;
font-family: var(--font-mono);
font-weight: 800;
font-size: 0.88em;
color: #ffffff;
padding: 0.04em 0.38em;
margin: 0 0.08em;
border-radius: 7px;
background: linear-gradient(180deg, rgba(var(--accent-rgb), 0.34), rgba(14, 18, 26, 0.92));
border: 1px solid rgba(var(--accent-rgb), 0.8);
border-bottom-width: 4px;
box-shadow:
0 4px 18px rgba(var(--accent-rgb), 0.38),
inset 0 1px 0 rgba(255, 255, 255, 0.35);
text-shadow: 0 0 14px rgba(var(--accent-rgb), 0.9);
}
/* Glitch styling for vibe-glitch chorus */
body[data-mood="vibe-glitch"] .lyric-current {
text-shadow:
-2px 0 rgba(0, 245, 255, 0.85),
2px 0 rgba(255, 0, 170, 0.85),
0 4px 28px rgba(0, 0, 0, 0.92);
}
/* Stark spotlight styling for root-micdrop outro */
body[data-mood="root-micdrop"] .lyric-current {
font-family: var(--font-mono);
letter-spacing: 0.01em;
}
/* ==========================================================================
Launch Overlay
========================================================================== */
#launch-overlay {
position: fixed;
inset: 0;
z-index: 50;
display: flex;
align-items: center;
justify-content: center;
padding: 24px;
background: radial-gradient(circle at center, rgba(6, 16, 12, 0.72) 0%, rgba(2, 5, 8, 0.93) 75%);
backdrop-filter: blur(10px);
transition: opacity 0.55s ease, visibility 0.55s ease;
}
#launch-overlay.hidden {
opacity: 0;
visibility: hidden;
pointer-events: none;
}
.launch-card {
width: min(680px, 100%);
border-radius: 14px;
overflow: hidden;
border: 1px solid rgba(0, 255, 102, 0.32);
background: rgba(7, 11, 14, 0.92);
box-shadow:
0 24px 80px rgba(0, 0, 0, 0.82),
0 0 48px rgba(0, 255, 102, 0.14);
}
.terminal-chrome {
display: flex;
align-items: center;
gap: 8px;
padding: 11px 16px;
background: rgba(255, 255, 255, 0.04);
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
font-family: var(--font-mono);
font-size: 0.75rem;
color: rgba(255, 255, 255, 0.6);
}
.chrome-dot {
width: 11px;
height: 11px;
border-radius: 50%;
}
.chrome-dot.red { background: #ff5f56; }
.chrome-dot.yellow { background: #ffbd2e; }
.chrome-dot.green { background: #27c93f; }
.chrome-title { margin-left: 6px; }
.launch-body {
padding: 32px 32px 28px;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}
.launch-prompt {
font-family: var(--font-mono);
font-size: 0.8rem;
color: rgba(255, 255, 255, 0.68);
margin-bottom: 18px;
word-break: break-all;
}
.prompt-user { color: #00ff66; font-weight: 700; }
.prompt-path { color: #00f5ff; font-weight: 700; }
.launch-title {
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
margin-bottom: 14px;
}
.title-main {
font-size: clamp(1.7rem, 4vw, 2.75rem);
font-weight: 700;
line-height: 1.1;
letter-spacing: -0.02em;
background: linear-gradient(90deg, #ffffff 0%, #c8ffe0 55%, #00ff66 100%);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.title-tag {
font-family: var(--font-mono);
font-size: clamp(1.25rem, 2.5vw, 1.75rem);
font-weight: 800;
color: #ff2a55;
text-shadow: 0 0 22px rgba(255, 42, 85, 0.7);
}
.launch-subtitle {
font-size: 0.98rem;
color: rgba(255, 255, 255, 0.72);
max-width: 500px;
line-height: 1.5;
margin-bottom: 24px;
}
.launch-motif {
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
gap: 10px;
margin-bottom: 28px;
}
.keycap {
font-family: var(--font-mono);
font-size: 0.85rem;
font-weight: 700;
padding: 6px 12px;
border-radius: 7px;
color: #00ff66;
background: rgba(0, 255, 102, 0.1);
border: 1px solid rgba(0, 255, 102, 0.45);
border-bottom-width: 3px;
}
.keycap-accent {
color: #00f5ff;
background: rgba(0, 245, 255, 0.12);
border-color: rgba(0, 245, 255, 0.5);
}
.keycap-hot {
color: #ff9500;
background: rgba(255, 149, 0, 0.12);
border-color: rgba(255, 149, 0, 0.5);
}
.keycap-root {
color: #ff2a55;
background: rgba(255, 42, 85, 0.14);
border-color: rgba(255, 42, 85, 0.6);
}
.motif-arrow {
color: rgba(255, 255, 255, 0.35);
font-family: var(--font-mono);
}
.btn-launch {
display: inline-flex;
align-items: center;
gap: 12px;
padding: 15px 34px;
border-radius: 10px;
border: 1px solid rgba(0, 255, 102, 0.75);
background: linear-gradient(135deg, #00ff66 0%, #00d48a 100%);
color: #041109;
font-family: var(--font-mono);
font-size: 1rem;
font-weight: 800;
letter-spacing: 0.06em;
cursor: pointer;
box-shadow: 0 0 32px rgba(0, 255, 102, 0.42);
transition: transform 0.16s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.btn-launch:hover {
transform: translateY(-2px) scale(1.02);
box-shadow: 0 0 44px rgba(0, 255, 102, 0.65);
filter: brightness(1.06);
}
.btn-launch:active {
transform: translateY(0) scale(0.99);
}
.launch-notice {
margin-top: 14px;
font-family: var(--font-mono);
font-size: 0.76rem;
color: #ffd166;
background: rgba(255, 209, 102, 0.1);
border: 1px solid rgba(255, 209, 102, 0.35);
border-radius: 6px;
padding: 6px 12px;
}
.shortcut-hints {
margin-top: 24px;
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 14px;
font-family: var(--font-mono);
font-size: 0.72rem;
color: rgba(255, 255, 255, 0.48);
}
.shortcut-hints kbd {
display: inline-block;
padding: 2px 6px;
border-radius: 4px;
background: rgba(255, 255, 255, 0.08);
border: 1px solid rgba(255, 255, 255, 0.16);
color: rgba(255, 255, 255, 0.85);
margin-right: 3px;
}
/* ==========================================================================
Bottom Cinematic Player HUD
========================================================================== */
#hud-bar {
position: fixed;
left: 0;
right: 0;
bottom: 0;
z-index: 25;
padding: 12px 22px 16px;
background: linear-gradient(to top, rgba(4, 6, 10, 0.92) 0%, rgba(4, 6, 10, 0.65) 75%, rgba(4, 6, 10, 0) 100%);
backdrop-filter: blur(8px);
display: flex;
flex-direction: column;
gap: 10px;
}
/* Section Quick-Jump Pills */
.section-pills {
display: flex;
align-items: center;
gap: 6px;
overflow-x: auto;
scrollbar-width: none;
padding-bottom: 2px;
}
.section-pills::-webkit-scrollbar {
display: none;
}
.section-pill {
flex: 0 0 auto;
padding: 4px 10px;
border-radius: 999px;
border: 1px solid rgba(255, 255, 255, 0.12);
background: rgba(12, 16, 22, 0.65);
color: rgba(255, 255, 255, 0.65);
font-family: var(--font-mono);
font-size: 0.7rem;
font-weight: 600;
cursor: pointer;
transition: all 0.2s ease;
}
.section-pill:hover {
color: #ffffff;
border-color: rgba(var(--accent-rgb), 0.55);
background: rgba(var(--accent-rgb), 0.14);
}
.section-pill.active {
color: #05080b;
background: var(--accent);
border-color: var(--accent);
box-shadow: 0 0 14px rgba(var(--accent-rgb), 0.55);
}
/* Scrubbable Timeline */
.timeline-wrap {
position: relative;
padding: 9px 0;
cursor: pointer;
outline: none;
}
.timeline-track {
position: relative;
height: 6px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.16);
transition: height 0.15s ease;
}
.timeline-wrap:hover .timeline-track,
.timeline-wrap.scrubbing .timeline-track {
height: 8px;
}
.timeline-buffer {
position: absolute;
left: 0;
top: 0;
bottom: 0;
width: 0%;
border-radius: 999px;
background: rgba(255, 255, 255, 0.2);
}
.timeline-progress {
position: absolute;
left: 0;
top: 0;
bottom: 0;
width: 0%;
border-radius: 999px;
background: linear-gradient(90deg, var(--accent), var(--accent-2));
box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.7);
}
.timeline-markers {
position: absolute;
inset: 0;
pointer-events: none;
}
.timeline-marker {
position: absolute;
top: -2px;
bottom: -2px;
width: 2px;
background: rgba(255, 255, 255, 0.55);
border-radius: 2px;
}
.timeline-thumb {
position: absolute;
top: 50%;
left: 0%;
width: 14px;
height: 14px;
border-radius: 50%;
background: #ffffff;
border: 2px solid var(--accent);
box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.9);
transform: translate(-50%, -50%) scale(0.85);
transition: transform 0.15s ease;
pointer-events: none;
}
.timeline-wrap:hover .timeline-thumb,
.timeline-wrap.scrubbing .timeline-thumb {
transform: translate(-50%, -50%) scale(1.15);
}
.timeline-tooltip {
position: absolute;
bottom: 24px;
left: 0;
transform: translateX(-50%);
padding: 3px 8px;
border-radius: 5px;
background: rgba(8, 12, 18, 0.92);
border: 1px solid rgba(var(--accent-rgb), 0.45);
color: #ffffff;
font-family: var(--font-mono);
font-size: 0.72rem;
white-space: nowrap;
pointer-events: none;
opacity: 0;
transition: opacity 0.15s ease;
}
.timeline-wrap:hover .timeline-tooltip,
.timeline-wrap.scrubbing .timeline-tooltip {
opacity: 1;
}
/* Controls Row */
.controls-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.controls-left, .controls-right {
display: flex;
align-items: center;
gap: 12px;
}
.hud-btn {
display: inline-flex;
align-items: center;
justify-content: center;
height: 36px;
min-width: 36px;
padding: 0 10px;
border-radius: 8px;
border: 1px solid rgba(255, 255, 255, 0.14);
background: rgba(255, 255, 255, 0.06);
color: #ffffff;
font-family: var(--font-mono);
font-size: 0.85rem;
font-weight: 700;
cursor: pointer;
transition: all 0.16s ease;
}
.hud-btn:hover {
background: rgba(255, 255, 255, 0.14);
border-color: rgba(var(--accent-rgb), 0.55);
}
.hud-btn-primary {
width: 42px;
background: rgba(var(--accent-rgb), 0.2);
border-color: rgba(var(--accent-rgb), 0.65);
color: var(--accent);
}
.hud-btn-primary:hover {
background: var(--accent);
color: #040806;
box-shadow: 0 0 18px rgba(var(--accent-rgb), 0.6);
}
.hud-btn-toggle {
font-size: 0.72rem;
letter-spacing: 0.05em;
padding: 0 11px;
}
.hud-btn-toggle.active {
color: var(--accent);
border-color: rgba(var(--accent-rgb), 0.6);
background: rgba(var(--accent-rgb), 0.14);
}
.time-display {
font-family: var(--font-mono);
font-size: 0.82rem;
color: rgba(255, 255, 255, 0.88);
min-width: 96px;
}
.time-sep {
color: rgba(255, 255, 255, 0.35);
margin: 0 3px;
}
/* Mini EQ bars in HUD */
.mini-eq {
display: flex;
align-items: flex-end;
gap: 3px;
height: 18px;
}
.mini-eq span {
display: block;
width: 3px;
height: 4px;
border-radius: 2px;
background: var(--accent);
transition: height 0.07s linear;
}
/* Volume Controls */
.volume-group {
display: flex;
align-items: center;
gap: 8px;
}
.volume-slider {
-webkit-appearance: none;
appearance: none;
width: 84px;
height: 4px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.22);
outline: none;
cursor: pointer;
}
.volume-slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 13px;
height: 13px;
border-radius: 50%;
background: var(--accent);
box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.8);
cursor: pointer;
}
.volume-slider::-moz-range-thumb {
width: 13px;
height: 13px;
border-radius: 50%;
border: none;
background: var(--accent);
box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.8);
cursor: pointer;
}
/* Responsive adjustments */
@media (max-width: 680px) {
#top-bar {
padding: 10px 14px;
font-size: 0.7rem;
}
.top-right {
display: none;
}
#lyric-stage {
padding: 76px 16px 156px;
}
.launch-body {
padding: 24px 18px 20px;
}
#hud-bar {
padding: 10px 14px 14px;
}
.volume-slider {
width: 56px;
}
.mini-eq {
display: none;
}
}