Spaces:
Running
Running
| @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap'); | |
| /* ── Design tokens ──────────────────────────────────── */ | |
| :root { | |
| --bg: #050508; | |
| --bg-secondary: #0c0c12; | |
| --text-primary: #f3f4f6; | |
| --text-secondary:#9ca3af; | |
| --text-tertiary: #6b7280; | |
| --accent: #3b82f6; | |
| --accent-glow: rgba(59,130,246,0.45); | |
| --accent2: #8b5cf6; | |
| --success: #22c55e; | |
| --success-bg: rgba(34,197,94,0.08); | |
| --error: #ef4444; | |
| --error-bg: rgba(239,68,68,0.08); | |
| --warning: #f59e0b; | |
| --warning-bg: rgba(245,158,11,0.08); | |
| --glass: rgba(18,18,28,0.55); | |
| --glass-border: rgba(255,255,255,0.07); | |
| --glass-hover: rgba(255,255,255,0.12); | |
| --matrix-hc: #10b981; | |
| --matrix-hw: #ef4444; | |
| --matrix-mc: #34d399; | |
| --matrix-mw: #f87171; | |
| --matrix-lc: #6ee7b7; | |
| --matrix-lw: #6b7280; | |
| } | |
| /* ── Reset ──────────────────────────────────────────── */ | |
| *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } | |
| body { | |
| font-family: 'Inter', sans-serif; | |
| background: var(--bg); | |
| color: var(--text-primary); | |
| -webkit-font-smoothing: antialiased; | |
| min-height: 100vh; | |
| overflow-x: hidden; | |
| cursor: none; | |
| } | |
| h1,h2,h3,h4,h5,h6 { font-family: 'Outfit', sans-serif; letter-spacing: -0.02em; } | |
| /* ── Custom cursor ──────────────────────────────────── */ | |
| .custom-cursor { | |
| position: fixed; top: 0; left: 0; | |
| width: 18px; height: 18px; | |
| border-radius: 50%; | |
| pointer-events: none; | |
| z-index: 9999; | |
| mix-blend-mode: difference; | |
| background: white; | |
| transition: transform 0.12s ease-out; | |
| transform: translate(-50%, -50%); | |
| } | |
| .custom-cursor.hovering { transform: translate(-50%, -50%) scale(2.4); opacity: 0.85; } | |
| /* ── Background glows ───────────────────────────────── */ | |
| .bg-glow { | |
| position: fixed; top: -20%; left: -10%; | |
| width: 55vw; height: 55vw; | |
| background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%); | |
| filter: blur(100px); opacity: 0.28; z-index: -1; pointer-events: none; | |
| } | |
| .bg-glow-2 { | |
| position: fixed; bottom: -25%; right: -10%; | |
| width: 65vw; height: 65vw; | |
| background: radial-gradient(circle, rgba(139,92,246,0.3) 0%, transparent 65%); | |
| filter: blur(120px); opacity: 0.28; z-index: -1; pointer-events: none; | |
| } | |
| /* ── Nav bar ────────────────────────────────────────── */ | |
| .nav-bar { | |
| display: flex; align-items: center; justify-content: space-between; | |
| padding: 1rem 2rem; | |
| border-bottom: 1px solid var(--glass-border); | |
| background: rgba(5,5,8,0.8); | |
| backdrop-filter: blur(12px); | |
| position: sticky; top: 0; z-index: 100; | |
| } | |
| .nav-logo { | |
| display: flex; align-items: center; gap: 0.6rem; | |
| font-family: 'Outfit', sans-serif; font-size: 1.2rem; font-weight: 700; | |
| background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%); | |
| -webkit-background-clip: text; -webkit-text-fill-color: transparent; | |
| } | |
| .nav-links { display: flex; align-items: center; gap: 1.5rem; } | |
| .nav-links a { | |
| color: var(--text-secondary); font-size: 0.875rem; text-decoration: none; | |
| transition: color 0.2s; cursor: none; | |
| } | |
| .nav-links a:hover { color: var(--text-primary); } | |
| .nav-badge { | |
| background: linear-gradient(135deg, var(--accent), var(--accent2)); | |
| padding: 0.3rem 0.75rem; border-radius: 20px; | |
| font-size: 0.75rem; font-weight: 600; color: white; | |
| } | |
| /* ── Hero section ───────────────────────────────────── */ | |
| .hero-section { | |
| padding: 3rem 2rem 2rem; | |
| max-width: 800px; margin: 0 auto; text-align: center; | |
| } | |
| .hero-title { | |
| font-size: clamp(1.75rem, 4vw, 2.8rem); | |
| font-weight: 800; line-height: 1.15; | |
| margin-bottom: 1rem; | |
| } | |
| .hero-sub { | |
| font-size: 1rem; color: var(--text-secondary); | |
| line-height: 1.7; max-width: 640px; margin: 0 auto; | |
| } | |
| .title-gradient { | |
| background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%); | |
| -webkit-background-clip: text; -webkit-text-fill-color: transparent; | |
| } | |
| /* ── Main grid ──────────────────────────────────────── */ | |
| .app-container { | |
| max-width: 1440px; margin: 0 auto; | |
| padding: 1.5rem 2rem 3rem; | |
| display: grid; | |
| grid-template-columns: 340px 1fr; | |
| gap: 1.5rem; | |
| } | |
| @media (max-width: 1024px) { | |
| .app-container { grid-template-columns: 1fr; } | |
| } | |
| /* ── Glass panel ────────────────────────────────────── */ | |
| .glass-panel { | |
| background: var(--glass); | |
| backdrop-filter: blur(14px); | |
| -webkit-backdrop-filter: blur(14px); | |
| border: 1px solid var(--glass-border); | |
| border-radius: 16px; | |
| transition: border-color 0.25s; | |
| } | |
| .glass-panel:hover { border-color: var(--glass-hover); } | |
| /* ── Button ─────────────────────────────────────────── */ | |
| .btn-primary { | |
| background: linear-gradient(135deg, var(--accent), var(--accent2)); | |
| color: white; border: none; width: 100%; | |
| padding: 0.8rem 1.5rem; border-radius: 10px; | |
| font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 1rem; | |
| display: flex; align-items: center; justify-content: center; gap: 0.5rem; | |
| transition: transform 0.2s, box-shadow 0.2s; cursor: none; | |
| } | |
| .btn-primary:hover:not(:disabled) { | |
| transform: translateY(-2px); | |
| box-shadow: 0 6px 24px var(--accent-glow); | |
| } | |
| .btn-primary:disabled { opacity: 0.45; } | |
| /* ── Select ─────────────────────────────────────────── */ | |
| .select-wrapper { position: relative; } | |
| .select-wrapper::after { | |
| content: '▾'; position: absolute; right: 1rem; top: 50%; | |
| transform: translateY(-50%); color: var(--text-secondary); | |
| pointer-events: none; font-size: 0.85rem; | |
| } | |
| .custom-select { | |
| width: 100%; padding: 0.7rem 2.5rem 0.7rem 1rem; | |
| background: rgba(0,0,0,0.45); border: 1px solid var(--glass-border); | |
| border-radius: 8px; color: white; appearance: none; | |
| font-family: 'Inter', sans-serif; font-size: 0.95rem; | |
| outline: none; cursor: none; transition: border-color 0.2s; | |
| } | |
| .custom-select:focus { border-color: var(--accent); } | |
| /* ── Task hint ──────────────────────────────────────── */ | |
| .task-hint { | |
| background: rgba(0,0,0,0.35); | |
| border: 1px solid var(--glass-border); | |
| border-radius: 8px; padding: 0.75rem 1rem; | |
| } | |
| /* ── Outcome badge ──────────────────────────────────── */ | |
| .outcome-badge { | |
| text-align: center; padding: 0.5rem; border-radius: 8px; | |
| font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 1rem; | |
| } | |
| .outcome-badge.correct { background: var(--success-bg); color: var(--success); border: 1px solid var(--success); } | |
| .outcome-badge.wrong { background: var(--error-bg); color: var(--error); border: 1px solid var(--error); } | |
| /* ── Metrics ────────────────────────────────────────── */ | |
| .metric-row { | |
| display: flex; justify-content: space-between; align-items: center; | |
| padding: 0.6rem 0; border-bottom: 1px solid var(--glass-border); | |
| } | |
| .metric-row:last-child { border-bottom: none; } | |
| .metric-val { font-weight: 600; font-family: 'Outfit', sans-serif; } | |
| /* ── Confidence badge ───────────────────────────────── */ | |
| .confidence-badge { | |
| padding: 0.2rem 0.6rem; border-radius: 20px; | |
| font-size: 0.8rem; font-weight: 700; | |
| } | |
| .conf-high { background: rgba(239,68,68,0.15); color: var(--error); border: 1px solid var(--error); } | |
| .conf-med { background: rgba(245,158,11,0.15); color: var(--warning); border: 1px solid var(--warning); } | |
| .conf-low { background: rgba(107,114,128,0.15); color: #9ca3af; border: 1px solid #6b7280; } | |
| /* ── Calibration matrix ─────────────────────────────── */ | |
| .matrix-container { | |
| display: grid; grid-template-columns: auto 1fr 1fr; | |
| gap: 1px; background: var(--glass-border); | |
| border: 1px solid var(--glass-border); border-radius: 10px; overflow: hidden; | |
| } | |
| .matrix-header { | |
| background: rgba(255,255,255,0.04); padding: 0.65rem; | |
| text-align: center; font-family: 'Outfit', sans-serif; | |
| font-size: 0.8rem; font-weight: 500; color: var(--text-secondary); | |
| } | |
| .matrix-label { | |
| background: rgba(255,255,255,0.02); padding: 1.2rem 0.75rem; | |
| display: flex; align-items: center; justify-content: center; | |
| font-weight: 700; font-size: 0.85rem; color: var(--text-secondary); | |
| } | |
| .matrix-cell { | |
| background: rgba(8,8,12,0.8); padding: 1.25rem 0.75rem; | |
| display: flex; align-items: center; justify-content: center; | |
| position: relative; overflow: hidden; | |
| transition: all 0.4s cubic-bezier(0.4,0,0.2,1); | |
| } | |
| .matrix-cell::before { | |
| content: ''; position: absolute; inset: 0; | |
| opacity: 0; transition: opacity 0.35s; | |
| } | |
| .matrix-cell.active { transform: scale(1.06); z-index: 2; border-radius: 4px; } | |
| .matrix-cell.active::before { opacity: 0.2; } | |
| .matrix-value { | |
| font-size: 1.1rem; font-weight: 800; | |
| font-family: 'Outfit', sans-serif; z-index: 1; | |
| } | |
| .cell-high-correct.active { box-shadow: 0 0 20px rgba(16,185,129,0.5); } | |
| .cell-high-correct.active::before { background: var(--matrix-hc); } | |
| .cell-high-correct.active .matrix-value { color: var(--matrix-hc); } | |
| .cell-high-wrong.active { box-shadow: 0 0 20px rgba(239,68,68,0.6); } | |
| .cell-high-wrong.active::before { background: var(--matrix-hw); } | |
| .cell-high-wrong.active .matrix-value { color: var(--matrix-hw); } | |
| .cell-med-correct.active { box-shadow: 0 0 18px rgba(52,211,153,0.4); } | |
| .cell-med-correct.active::before { background: var(--matrix-mc); } | |
| .cell-med-correct.active .matrix-value { color: var(--matrix-mc); } | |
| .cell-med-wrong.active { box-shadow: 0 0 18px rgba(248,113,113,0.4); } | |
| .cell-med-wrong.active::before { background: var(--matrix-mw); } | |
| .cell-med-wrong.active .matrix-value { color: var(--matrix-mw); } | |
| .cell-low-correct.active { box-shadow: 0 0 16px rgba(110,231,183,0.3); } | |
| .cell-low-correct.active::before { background: var(--matrix-lc); } | |
| .cell-low-correct.active .matrix-value { color: var(--matrix-lc); } | |
| .cell-low-wrong.active::before { background: var(--matrix-lw); } | |
| .cell-low-wrong.active .matrix-value { color: var(--text-secondary); } | |
| /* ── Claim details ──────────────────────────────────── */ | |
| .claim-id-tag { | |
| display: inline-block; padding: 0.2rem 0.6rem; | |
| background: rgba(59,130,246,0.12); border: 1px solid rgba(59,130,246,0.3); | |
| border-radius: 6px; font-size: 0.75rem; font-weight: 600; color: var(--accent); | |
| margin-bottom: 0.5rem; font-family: 'Outfit', sans-serif; | |
| } | |
| .claim-docs { | |
| list-style: none; display: flex; flex-direction: column; gap: 0.3rem; | |
| } | |
| .claim-docs li { font-size: 0.8rem; color: var(--text-secondary); } | |
| .claim-docs li code { | |
| background: rgba(255,255,255,0.05); padding: 0.1rem 0.35rem; | |
| border-radius: 4px; font-size: 0.75rem; color: var(--accent); | |
| } | |
| /* ── Terminal ───────────────────────────────────────── */ | |
| .terminal-window { | |
| background: #000; border-radius: 12px; | |
| border: 1px solid #2a2a2a; overflow: hidden; | |
| box-shadow: 0 12px 40px rgba(0,0,0,0.6); | |
| font-family: 'JetBrains Mono','Fira Code',monospace; | |
| } | |
| .terminal-header { | |
| background: #1c1c1c; padding: 0.55rem 1rem; | |
| display: flex; align-items: center; gap: 0.4rem; | |
| border-bottom: 1px solid #2a2a2a; | |
| } | |
| .terminal-dot { width: 10px; height: 10px; border-radius: 50%; } | |
| .dot-red { background: #ff5f57; } | |
| .dot-yellow { background: #ffbd2e; } | |
| .dot-green { background: #28c840; } | |
| .terminal-body { | |
| padding: 1rem; min-height: 260px; max-height: 360px; | |
| overflow-y: auto; color: #9ca3af; | |
| display: flex; flex-direction: column; gap: 0.85rem; | |
| } | |
| .log-entry { animation: fadeIn 0.28s ease-out; line-height: 1.55; } | |
| .log-action { color: #60a5fa; font-weight: 600; } | |
| .log-reward { color: #34d399; } | |
| @keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; } } | |
| /* ── Court Panel section ─────────────────────────────────── */ | |
| .debate-container { transition: all 0.4s ease; } | |
| .debate-active { border-color: rgba(245,158,11,0.4) ; } | |
| .debate-header { | |
| display: flex; align-items: center; gap: 0.75rem; | |
| margin-bottom: 1.25rem; | |
| } | |
| .debate-placeholder { opacity: 0.7; } | |
| .debate-preview-grid { | |
| display: grid; grid-template-columns: 1fr 1fr; | |
| gap: 1rem; margin-top: 1rem; | |
| } | |
| .preview-card { | |
| padding: 1rem; border-radius: 10px; | |
| font-size: 0.85rem; color: var(--text-secondary); | |
| } | |
| .preview-card strong { display: block; margin-bottom: 0.3rem; font-size: 0.9rem; } | |
| .prosecutor-preview { background: rgba(239,68,68,0.05); border: 1px dashed rgba(239,68,68,0.25); } | |
| .defender-preview { background: rgba(34,197,94,0.05); border: 1px dashed rgba(34,197,94,0.25); } | |
| .debate-grid { | |
| display: grid; grid-template-columns: 1fr 1fr; | |
| gap: 1.25rem; margin-bottom: 1.25rem; | |
| } | |
| @media (max-width: 640px) { .debate-grid { grid-template-columns: 1fr; } } | |
| .argument-card { | |
| padding: 1.25rem; border-radius: 12px; | |
| background: rgba(0,0,0,0.35); | |
| animation: slideUp 0.5s ease-out; | |
| } | |
| .argument-header { | |
| display: flex; align-items: center; justify-content: space-between; | |
| margin-bottom: 0.5rem; font-weight: 700; | |
| } | |
| .argument-prosecutor { border-left: 3px solid var(--error); } | |
| .argument-defender { border-left: 3px solid var(--success); } | |
| .strength-badge { | |
| font-size: 0.7rem; font-weight: 700; padding: 0.15rem 0.5rem; | |
| border-radius: 20px; text-transform: uppercase; letter-spacing: 0.05em; | |
| } | |
| .strength-strong { background: rgba(34,197,94,0.15); color: var(--success); } | |
| .strength-moderate { background: rgba(245,158,11,0.15); color: var(--warning); } | |
| .strength-weak { background: rgba(239,68,68,0.15); color: var(--error); } | |
| .verdict-box { | |
| display: flex; align-items: center; gap: 0.75rem; | |
| padding: 0.85rem 1.25rem; border-radius: 10px; | |
| border: 1px solid; font-weight: 700; | |
| font-family: 'Outfit', sans-serif; font-size: 0.95rem; | |
| animation: slideUp 0.45s ease-out; | |
| } | |
| /* ── Footer ─────────────────────────────────────────── */ | |
| .site-footer { | |
| border-top: 1px solid var(--glass-border); | |
| padding: 1.25rem 2rem; | |
| display: flex; justify-content: space-between; align-items: center; | |
| flex-wrap: wrap; gap: 0.5rem; | |
| font-size: 0.8rem; color: var(--text-tertiary); | |
| } | |
| .site-footer a { color: var(--text-secondary); text-decoration: none; cursor: none; } | |
| .site-footer a:hover { color: var(--text-primary); } | |
| /* ── Animations ─────────────────────────────────────── */ | |
| @keyframes slideUp { | |
| from { opacity: 0; transform: translateY(14px); } | |
| to { opacity: 1; transform: translateY(0); } | |
| } | |
| .pulse-animation { animation: pulse 1.8s infinite; } | |
| @keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.45; } } | |
| /* ── Scrollbar ──────────────────────────────────────── */ | |
| ::-webkit-scrollbar { width: 5px; } | |
| ::-webkit-scrollbar-track { background: rgba(0,0,0,0.15); } | |
| ::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 10px; } | |
| /* ── Utilities ──────────────────────────────────────── */ | |
| .flex { display: flex; } | |
| .flex-col { flex-direction: column; } | |
| .items-center { align-items: center; } | |
| .justify-between { justify-content: space-between; } | |
| .justify-center { justify-content: center; } | |
| .grid { display: grid; } | |
| .inline { display: inline; } | |
| .gap-2 { gap: 0.5rem; } | |
| .gap-4 { gap: 1rem; } | |
| .ml-2 { margin-left: 0.5rem; } | |
| .mr-1 { margin-right: 0.25rem; } | |
| .mr-2 { margin-right: 0.5rem; } | |
| .mb-1 { margin-bottom: 0.25rem; } | |
| .mb-2 { margin-bottom: 0.5rem; } | |
| .mb-3 { margin-bottom: 0.75rem; } | |
| .mb-4 { margin-bottom: 1rem; } | |
| .mt-2 { margin-top: 0.5rem; } | |
| .mt-3 { margin-top: 0.75rem; } | |
| .mt-4 { margin-top: 1rem; } | |
| .pl-6 { padding-left: 1.5rem; } | |
| .p-6 { padding: 1.5rem; } | |
| .p-3 { padding: 0.75rem; } | |
| .text-sm { font-size: 0.875rem; } | |
| .text-xs { font-size: 0.75rem; } | |
| .font-medium { font-weight: 500; } | |
| .font-bold { font-weight: 700; } | |
| .text-center { text-align: center; } | |
| .text-secondary { color: var(--text-secondary); } | |
| .text-error { color: var(--error); } | |
| .text-warning { color: var(--warning); } | |
| .rounded-lg { border-radius: 0.5rem; } | |
| .h-full { height: 100%; } | |