Spaces:
Running on Zero
Running on Zero
| :root { | |
| --bg: #0a0a0f; | |
| --bg-card: #14141c; | |
| --bg-card-2: #1a1a26; | |
| --border: #2a2a3a; | |
| --border-bright: #3a3a52; | |
| --text: #f5f5fa; | |
| --text-2: #8a8a9a; | |
| --text-muted: #5a5a6a; | |
| --accent: #ff3d92; | |
| --accent-soft: rgba(255, 61, 146, 0.12); | |
| --accent-glow: rgba(255, 61, 146, 0.35); | |
| } | |
| * { box-sizing: border-box; } | |
| html, body { margin: 0; padding: 0; } | |
| body { | |
| background: var(--bg); | |
| color: var(--text); | |
| font-family: "Inter", system-ui, sans-serif; | |
| min-height: 100vh; | |
| } | |
| .container { | |
| max-width: 920px; | |
| margin: 0 auto; | |
| padding: 56px 24px 80px; | |
| } | |
| .hero { text-align: center; margin-bottom: 40px; position: relative; } | |
| .hero::before { | |
| content: ""; | |
| position: absolute; | |
| top: -40px; left: 50%; | |
| transform: translateX(-50%); | |
| width: 280px; height: 280px; | |
| background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%); | |
| z-index: -1; | |
| } | |
| .hero h1 { | |
| font-family: "Space Grotesk", sans-serif; | |
| font-size: 64px; | |
| font-weight: 700; | |
| letter-spacing: -0.045em; | |
| line-height: 0.95; | |
| margin: 0; | |
| background: linear-gradient(180deg, #fff 0%, #8a8a9a 100%); | |
| -webkit-background-clip: text; | |
| background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| } | |
| .hero .tagline { | |
| font-size: 15px; color: var(--text-2); | |
| margin: 14px auto 0; max-width: 540px; | |
| } | |
| .hero .accent-line { | |
| display: inline-block; width: 48px; height: 3px; | |
| background: var(--accent); margin-top: 22px; border-radius: 2px; | |
| box-shadow: 0 0 20px var(--accent-glow); | |
| } | |
| .panel { | |
| background: var(--bg-card); | |
| border: 1px solid var(--border); | |
| border-radius: 18px; | |
| padding: 28px; | |
| display: flex; | |
| flex-direction: column; | |
| gap: 22px; | |
| } | |
| .field { display: flex; flex-direction: column; gap: 8px; } | |
| .field > span { | |
| color: var(--text-muted); | |
| font-family: "JetBrains Mono", monospace; | |
| font-size: 11px; | |
| letter-spacing: 0.16em; | |
| text-transform: uppercase; | |
| } | |
| textarea, input, select { | |
| background: var(--bg-card-2); | |
| border: 1px solid var(--border); | |
| color: var(--text); | |
| font-family: "Inter", sans-serif; | |
| font-size: 15px; | |
| border-radius: 10px; | |
| padding: 12px 14px; | |
| resize: vertical; | |
| } | |
| textarea:focus, input:focus, select:focus { | |
| outline: none; | |
| border-color: var(--accent); | |
| box-shadow: 0 0 0 3px var(--accent-soft); | |
| } | |
| .row { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; } | |
| @media (max-width: 620px) { .row { grid-template-columns: 1fr; } } | |
| .voice-pills { display: flex; flex-wrap: wrap; gap: 8px; } | |
| .pill { | |
| background: var(--bg-card-2); | |
| color: var(--text-2); | |
| border: 1px solid var(--border); | |
| border-radius: 999px; | |
| padding: 9px 14px; | |
| cursor: pointer; | |
| font-family: "JetBrains Mono", monospace; | |
| font-size: 12px; | |
| letter-spacing: 0.04em; | |
| transition: color 0.15s, border-color 0.15s, background 0.15s; | |
| } | |
| .pill:hover { color: var(--text); border-color: var(--border-bright); } | |
| .pill.active { | |
| background: var(--accent-soft); | |
| color: var(--accent); | |
| border-color: var(--accent); | |
| } | |
| /* ----- the knob (the IP) ----- */ | |
| .knob-block { | |
| display: grid; | |
| grid-template-columns: 280px 1fr; | |
| gap: 30px; | |
| align-items: center; | |
| } | |
| @media (max-width: 620px) { | |
| .knob-block { grid-template-columns: 1fr; justify-items: center; } | |
| } | |
| .dial-frame { display: flex; flex-direction: column; align-items: center; gap: 12px; } | |
| .knob { | |
| --fill: 0deg; | |
| --angle: -135deg; | |
| position: relative; | |
| width: 220px; height: 220px; | |
| border-radius: 50%; | |
| background: | |
| conic-gradient(from -135deg, var(--accent) 0deg var(--fill), rgba(58,58,82,0.6) var(--fill) 270deg, transparent 270deg 360deg), | |
| radial-gradient(circle at 50% 50%, var(--bg-card-2) 60%, var(--bg-card) 80%, var(--bg) 100%); | |
| box-shadow: inset 0 0 24px rgba(0,0,0,0.6), 0 0 40px var(--accent-glow); | |
| cursor: grab; | |
| touch-action: none; | |
| user-select: none; | |
| outline: none; | |
| } | |
| .knob:active { cursor: grabbing; } | |
| .knob::before { | |
| content: ""; | |
| position: absolute; | |
| inset: 14px; | |
| border-radius: 50%; | |
| background: | |
| radial-gradient(circle at 50% 50%, var(--bg-card-2) 0%, var(--bg-card) 100%); | |
| border: 1px solid var(--border-bright); | |
| } | |
| .knob-needle { | |
| position: absolute; | |
| top: 14%; | |
| left: 50%; | |
| width: 4px; | |
| height: 30%; | |
| background: var(--accent); | |
| border-radius: 2px; | |
| transform-origin: center calc(100% + 18px); | |
| transform: translateX(-50%) rotate(var(--angle)); | |
| box-shadow: 0 0 16px var(--accent-glow); | |
| } | |
| .knob-value { | |
| position: absolute; | |
| inset: 0; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-family: "JetBrains Mono", monospace; | |
| font-size: 64px; | |
| font-weight: 700; | |
| color: var(--accent); | |
| text-shadow: 0 0 18px var(--accent-glow); | |
| pointer-events: none; | |
| } | |
| .knob-label { | |
| position: absolute; | |
| bottom: 38px; | |
| left: 0; right: 0; | |
| text-align: center; | |
| font-family: "JetBrains Mono", monospace; | |
| font-size: 10px; | |
| letter-spacing: 0.18em; | |
| color: var(--text-muted); | |
| pointer-events: none; | |
| } | |
| .tick-row { | |
| display: grid; | |
| grid-template-columns: repeat(5, 1fr); | |
| gap: 4px; | |
| width: 240px; | |
| font-family: "JetBrains Mono", monospace; | |
| font-size: 10px; | |
| color: var(--text-muted); | |
| letter-spacing: 0.12em; | |
| text-align: center; | |
| } | |
| .controls { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 14px; | |
| } | |
| .primary { | |
| background: var(--accent); | |
| color: white; | |
| border: none; | |
| font-family: "JetBrains Mono", monospace; | |
| font-weight: 700; | |
| font-size: 13px; | |
| letter-spacing: 0.14em; | |
| text-transform: uppercase; | |
| padding: 16px 22px; | |
| border-radius: 12px; | |
| box-shadow: 0 0 24px var(--accent-glow); | |
| cursor: pointer; | |
| transition: transform 0.1s, box-shadow 0.15s; | |
| } | |
| .primary:hover { transform: translateY(-1px); box-shadow: 0 0 36px var(--accent-glow); } | |
| .primary:disabled { opacity: 0.5; cursor: not-allowed; } | |
| .primary.ghost { | |
| background: transparent; | |
| color: var(--accent); | |
| border: 1px solid var(--accent); | |
| box-shadow: none; | |
| } | |
| .primary.ghost:hover { background: var(--accent-soft); } | |
| .seed { display: flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 13px; } | |
| .seed span { | |
| font-family: "JetBrains Mono", monospace; | |
| font-size: 10px; | |
| letter-spacing: 0.14em; | |
| text-transform: uppercase; | |
| color: var(--text-muted); | |
| } | |
| .seed input { width: 90px; padding: 8px 10px; font-size: 13px; } | |
| .output { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 8px; | |
| } | |
| audio { width: 100%; } | |
| .status { | |
| font-family: "JetBrains Mono", monospace; | |
| font-size: 11px; | |
| color: var(--text-muted); | |
| letter-spacing: 0.12em; | |
| text-align: right; | |
| } | |
| .foot { | |
| margin-top: 56px; | |
| padding-top: 24px; | |
| border-top: 1px solid var(--border); | |
| font-family: "JetBrains Mono", monospace; | |
| font-size: 10px; | |
| color: var(--text-muted); | |
| letter-spacing: 0.1em; | |
| text-align: center; | |
| line-height: 1.8; | |
| } | |