/* Genre Guru — Dark theme music classification UI */

/* ── Hero / Landing ─────────────────────────────────────────────────────── */

.hero {
    background: linear-gradient(160deg, #0d0d1a 0%, #1a0d2e 50%, #0d0d1a 100%);
    border-bottom: 1px solid #2a2a3a;
    padding-bottom: 48px;
}

.hero-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-logo-icon { font-size: 24px; filter: hue-rotate(240deg); }
.hero-logo-text { font-size: 18px; font-weight: 800; color: #e8e8f0; letter-spacing: -0.02em; }
.hero-badge {
    font-size: 10px; font-weight: 600; padding: 2px 7px;
    border-radius: 20px; background: #6366f1; color: white;
}

.hero-nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.hero-nav-links a {
    color: rgba(232, 232, 240, 0.6);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}
.hero-nav-links a:hover { color: #e8e8f0; }

.hero-nav-cta {
    padding: 8px 18px;
    border-radius: 8px;
    background: rgba(99, 102, 241, 0.2) !important;
    border: 1px solid rgba(99, 102, 241, 0.4);
    color: #818cf8 !important;
    font-weight: 600 !important;
}
.hero-nav-cta:hover { background: rgba(99, 102, 241, 0.3) !important; color: #e8e8f0 !important; }

.hero-content {
    max-width: 720px;
    margin: 60px auto 48px;
    text-align: center;
    padding: 0 24px;
}

.hero-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6366f1;
    margin-bottom: 16px;
}

.hero-title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #e8e8f0, #a855f7, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(232, 232, 240, 0.65);
    margin-bottom: 36px;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    border-radius: 10px;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: white;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
    font-family: inherit;
}
.btn-hero-primary:hover { opacity: 0.9; transform: translateY(-1px); }

.btn-hero-ghost {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    border-radius: 10px;
    border: 1px solid #2a2a3a;
    color: rgba(232, 232, 240, 0.7);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
    font-family: inherit;
    background: transparent;
    cursor: pointer;
}
.btn-hero-ghost:hover { border-color: #6366f1; color: #e8e8f0; }

.hero-features {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

.feature-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    flex: 1;
    min-width: 180px;
}

.fp-icon { font-size: 20px; color: #6366f1; flex-shrink: 0; }
.fp-title { font-size: 13px; font-weight: 600; color: #e8e8f0; }
.fp-sub { font-size: 11px; color: rgba(232,232,240,0.5); margin-top: 2px; }

/* ── Profiles Marquee ──────────────────────────────────────────────────── */

.profiles-strip {
    background: #0d0d16;
    border-bottom: 1px solid #1e1e2e;
    padding: 16px 0;
    overflow: hidden;
}

.profiles-strip-label {
    text-align: center;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(232,232,240,0.3);
    margin-bottom: 12px;
}

.profiles-marquee { overflow: hidden; }

.profiles-track {
    display: flex;
    gap: 0;
    animation: marquee 28s linear infinite;
    width: max-content;
}

.profiles-track span {
    padding: 6px 20px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(232,232,240,0.5);
    white-space: nowrap;
    border-right: 1px solid #1e1e2e;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ── How It Works ──────────────────────────────────────────────────────── */

.how-it-works {
    padding: 80px 24px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.section-heading {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #e8e8f0;
    margin-bottom: 8px;
}

.section-sub {
    font-size: 15px;
    color: rgba(232,232,240,0.5);
    margin-bottom: 48px;
}

.steps-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.step {
    flex: 1;
    min-width: 180px;
    max-width: 220px;
    text-align: left;
    padding: 24px 20px;
    background: #12121a;
    border: 1px solid #1e1e2e;
    border-radius: 14px;
}

.step-num {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #6366f1;
    margin-bottom: 10px;
}

.step-title { font-size: 15px; font-weight: 700; color: #e8e8f0; margin-bottom: 8px; }
.step-desc { font-size: 13px; color: rgba(232,232,240,0.5); line-height: 1.5; }

.step-arrow {
    font-size: 20px;
    color: rgba(232,232,240,0.2);
    align-self: center;
    padding: 0 4px;
    flex-shrink: 0;
}

/* ── Demo Section ──────────────────────────────────────────────────────── */

.demo-section {
    padding: 80px 24px 0;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.demo-section .section-sub { margin-bottom: 32px; }

/* ── API Section ───────────────────────────────────────────────────────── */

.api-section {
    padding: 80px 24px;
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.code-block {
    background: #0d0d16;
    border: 1px solid #1e1e2e;
    border-radius: 14px;
    padding: 28px 32px;
    text-align: left;
    overflow-x: auto;
    margin-bottom: 24px;
}

.code-block pre { margin: 0; }
.code-block code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: #c8c8e0;
    line-height: 1.7;
}

.code-comment { color: #555570; }
.code-json { color: #a5f3fc; }

.api-links { text-align: center; }

/* ── Zimbido CTA ───────────────────────────────────────────────────────── */

.zimbido-cta {
    margin: 0 24px 80px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.zimbido-cta-inner {
    background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(168,85,247,0.08));
    border: 1px solid rgba(99,102,241,0.25);
    border-radius: 20px;
    padding: 48px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.zimbido-cta-text h2 {
    font-size: 28px;
    font-weight: 800;
    color: #e8e8f0;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.zimbido-cta-text p {
    font-size: 15px;
    color: rgba(232,232,240,0.6);
    max-width: 540px;
    line-height: 1.6;
}

/* ── Footer ────────────────────────────────────────────────────────────── */

.footer {
    border-top: 1px solid #1e1e2e;
    padding: 32px 24px;
    margin-bottom: 0;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-logo { font-size: 15px; font-weight: 700; color: rgba(232,232,240,0.7); }

.footer-links { display: flex; gap: 24px; }
.footer-links a {
    font-size: 13px;
    color: rgba(232,232,240,0.4);
    text-decoration: none;
}
.footer-links a:hover { color: rgba(232,232,240,0.8); }

.footer-copy { font-size: 12px; color: rgba(232,232,240,0.3); }

/* ── Existing app layout (now inside demo section) ─────────────────────── */

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a25;
    --bg-card-hover: #22222f;
    --bg-input: #15151f;
    --border: #2a2a3a;
    --border-active: #4a4aff;
    --text-primary: #e8e8f0;
    --text-secondary: #8888a0;
    --text-dim: #555570;
    --accent: #6366f1;
    --accent-glow: rgba(99, 102, 241, 0.3);
    --accent-hover: #818cf8;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --cyan: #06b6d4;
    --magenta: #d946ef;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --mono: 'JetBrains Mono', 'Fira Code', monospace;
    --radius: 12px;
    --radius-sm: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
}

#app {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    text-align: center;
    padding: 30px 0 20px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.logo-icon {
    font-size: 32px;
    filter: hue-rotate(240deg);
}

.logo h1 {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.version {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
    background: var(--accent);
    color: white;
    align-self: flex-start;
    margin-top: 4px;
}

.tagline {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 8px;
}

/* Main Layout */
.main {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 24px;
    min-height: calc(100vh - 200px);
}

@media (max-width: 900px) {
    .main { grid-template-columns: 1fr; }
}

/* Panels */
.panel {
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.panel-right {
    overflow-y: auto;
    max-height: calc(100vh - 160px);
    position: sticky;
    top: 20px;
}

/* API Key */
.api-key-section {
    margin-bottom: 16px;
}

.api-key-section label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    display: block;
}

.api-key-row {
    display: flex;
    gap: 8px;
}

.api-key-row input {
    flex: 1;
    padding: 8px 12px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--mono);
    font-size: 12px;
    outline: none;
    transition: border-color 0.2s;
}

.api-key-row input:focus {
    border-color: var(--accent);
}

.hint {
    font-size: 11px;
    color: var(--text-dim);
    margin-top: 4px;
}

/* Language / Vocal Section */
.language-section {
    margin-bottom: 16px;
}

.vocal-toggle {
    display: flex;
    gap: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border);
    margin-bottom: 10px;
}

.vocal-btn {
    flex: 1;
    padding: 9px 12px;
    background: var(--bg-card);
    border: none;
    color: var(--text-secondary);
    font-family: var(--font);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.vocal-btn:first-child { border-right: 1px solid var(--border); }

.vocal-btn:hover { background: var(--bg-card-hover); }

.vocal-btn.selected {
    background: var(--accent);
    color: white;
    font-weight: 600;
}

.language-input {
    margin-top: 8px;
}

.language-input input {
    width: 100%;
    padding: 9px 12px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
}

.language-input input:focus {
    border-color: var(--accent);
}

/* Hints Section */
.hints-section {
    margin-bottom: 16px;
}

.hints-section input {
    width: 100%;
    padding: 9px 12px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
}

.hints-section input:focus {
    border-color: var(--accent);
}

.optional-label {
    font-weight: 400;
    color: var(--text-dim);
    font-size: 10px;
    text-transform: none;
    letter-spacing: 0;
}

/* Drop Zone */
.drop-zone {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 32px 20px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    margin-bottom: 16px;
}

.drop-zone:hover, .drop-zone.dragover {
    border-color: var(--accent);
    background: rgba(99, 102, 241, 0.05);
    box-shadow: 0 0 30px var(--accent-glow);
}

.drop-icon { font-size: 48px; margin-bottom: 8px; }
.drop-text { font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.drop-hint { font-size: 12px; color: var(--text-dim); margin-bottom: 12px; }

/* File Info */
.file-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    border: 1px solid var(--border);
}

.file-name {
    font-weight: 600;
    font-size: 14px;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-meta {
    font-size: 12px;
    color: var(--text-secondary);
    white-space: nowrap;
}

/* Section Title */
.section-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

/* Profile Grid — hex-inspired grid */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.profile-btn {
    padding: 10px 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    line-height: 1.3;
}

.profile-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent);
}

.profile-btn.selected {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    font-weight: 600;
    box-shadow: 0 0 20px var(--accent-glow);
}

.profile-btn .profile-count {
    display: block;
    font-size: 10px;
    color: var(--text-dim);
    margin-top: 2px;
}

.profile-btn.selected .profile-count {
    color: rgba(255,255,255,0.7);
}

/* Buttons */
.btn {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.btn:hover { background: var(--bg-card-hover); border-color: var(--accent); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }

.btn-primary {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    font-weight: 600;
}

.btn-primary:hover { background: var(--accent-hover); }
.btn-primary:disabled { background: var(--accent); opacity: 0.4; }

.btn-sm { padding: 5px 10px; font-size: 11px; }

.btn-danger { color: var(--danger); border-color: var(--danger); background: transparent; }
.btn-danger:hover { background: rgba(239, 68, 68, 0.1); }

.btn-ghost { background: transparent; border-color: var(--border); }

.btn-analyze {
    width: 100%;
    padding: 14px;
    font-size: 15px;
    margin-bottom: 12px;
}

/* Options */
.options-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-secondary);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    accent-color: var(--accent);
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    color: var(--text-dim);
}

.empty-icon { font-size: 64px; margin-bottom: 16px; opacity: 0.5; }
.empty-state p { font-size: 14px; text-align: center; }

/* Loading State */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loading-text {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.loading-steps {
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
    line-height: 2;
}

.loading-step { color: var(--text-dim); }
.loading-step.done { color: var(--success); }
.loading-step.done::before { content: "\2713 "; }
.loading-step.active { color: var(--accent); font-weight: 500; }
.loading-step.active::before { content: "\25CB "; }

/* Results */
.results {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.result-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
}

.result-card-header {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

/* Primary Genre Card */
.primary-genre-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(6, 182, 212, 0.1));
    border-color: var(--accent);
}

.primary-genre-name {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-hover), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.primary-genre-family {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.confidence-bar-container {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 24px;
}

.confidence-bar {
    flex: 1;
    height: 8px;
    background: var(--bg-input);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.confidence-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: var(--confidence, 0%);
    background: linear-gradient(90deg, var(--accent), var(--cyan));
    border-radius: 4px;
    transition: width 0.8s ease;
}

.confidence-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-hover);
    min-width: 40px;
}

/* Secondary Genres */
.secondary-genre {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.secondary-genre:last-child { border-bottom: none; }

.secondary-genre-name {
    font-weight: 600;
    font-size: 14px;
    flex: 1;
}

.secondary-genre-family {
    font-size: 12px;
    color: var(--text-dim);
    min-width: 80px;
}

.secondary-conf {
    min-width: 120px;
}

.secondary-conf-bar {
    height: 6px;
    background: var(--bg-input);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 2px;
}

.secondary-conf-bar-fill {
    height: 100%;
    background: var(--cyan);
    border-radius: 3px;
    transition: width 0.8s ease;
}

.secondary-conf-label {
    font-size: 11px;
    color: var(--text-secondary);
}

/* Tags */
.tags-row { display: flex; flex-direction: column; gap: 8px; }

.tag-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.tag-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-dim);
    min-width: 50px;
}

.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }

.tag {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
}

.tag-genre {
    background: rgba(99, 102, 241, 0.2);
    color: var(--accent-hover);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.tag-mood {
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
    border: 1px solid rgba(34, 197, 94, 0.25);
}

/* Meta Row */
.meta-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.meta-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px;
    text-align: center;
}

.meta-label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.meta-value {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Instruments */
.instruments-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.instrument-tag {
    padding: 4px 10px;
    background: rgba(217, 70, 239, 0.15);
    color: var(--magenta);
    border: 1px solid rgba(217, 70, 239, 0.25);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
}

.instrument-families {
    font-size: 12px;
    color: var(--text-secondary);
}

/* Sonic DNA */
.sonic-dna-card {
    border-color: var(--cyan);
    background: rgba(6, 182, 212, 0.05);
}

.sonic-dna-text {
    font-style: italic;
    font-size: 15px;
    line-height: 1.5;
    color: var(--cyan);
}

/* Description & Analysis */
.description-text, .analysis-text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-primary);
}

/* Similar Artists */
.similar-artists {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.artist-tag {
    padding: 5px 12px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-primary);
}

/* Vibe Vector */
.vibe-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.vibe-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vibe-label {
    font-size: 11px;
    color: var(--text-secondary);
    min-width: 100px;
    text-align: right;
}

.vibe-bar-container {
    flex: 1;
    height: 8px;
    background: var(--bg-input);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.vibe-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.6s ease;
}

.vibe-value {
    font-size: 11px;
    font-weight: 600;
    font-family: var(--mono);
    color: var(--text-secondary);
    min-width: 28px;
    text-align: right;
}

/* Timing Info */
.timing-info {
    font-size: 12px;
    color: var(--text-dim);
    text-align: center;
    padding: 8px;
}

/* JSON Output */
.json-output {
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--text-secondary);
    overflow-x: auto;
    max-height: 400px;
    overflow-y: auto;
    white-space: pre-wrap;
    word-break: break-word;
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px 0;
    margin-top: 24px;
    border-top: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 12px;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }
