@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,300;0,14..32,400;0,14..32,500;0,14..32,600;0,14..32,700;0,14..32,800;1,14..32,400&display=swap'); /* ── Design Tokens ───────────────────────────────────────────────────────────── */ :root { --bg-base: #070711; --bg-elevated: #0d0d1a; --bg-elevated-2: #131326; --glass-bg: rgba(255,255,255,0.04); --glass-border: rgba(255,255,255,0.08); --glass-hover: rgba(255,255,255,0.07); --green: #00e87a; --green-dim: rgba(0,232,122,0.10); --green-glow: 0 0 24px rgba(0,232,122,0.25); --blue: #4f8ef7; --blue-dim: rgba(79,142,247,0.10); --red: #ff4d6d; --red-dim: rgba(255,77,109,0.10); --gold: #f5a623; --gold-dim: rgba(245,166,35,0.10); --text-1: #eeeef8; --text-2: #8888aa; --text-3: #505070; --radius: 12px; --radius-lg: 18px; --radius-xl: 24px; --transition: all 0.2s cubic-bezier(0.4,0,0.2,1); } /* ── Reset ───────────────────────────────────────────────────────────────────── */ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } html { scroll-behavior: smooth; } body { font-family: 'Inter', system-ui, -apple-system, sans-serif; background: var(--bg-base); color: var(--text-1); line-height: 1.6; -webkit-font-smoothing: antialiased; min-height: 100vh; } a { color: inherit; text-decoration: none; } button { font-family: inherit; } /* ── Typography ──────────────────────────────────────────────────────────────── */ h1 { font-size: clamp(2rem,5vw,3.6rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; } h2 { font-size: clamp(1.4rem,3vw,2.1rem); font-weight: 700; letter-spacing: -0.02em; } h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; } h4 { font-size: 0.95rem; font-weight: 600; } p { color: var(--text-2); line-height: 1.7; } /* ── Layout ──────────────────────────────────────────────────────────────────── */ .container { max-width: 1280px; margin: 0 auto; padding: 0 24px; } .page { min-height: calc(100vh - 68px); padding: 48px 0 80px; } /* ── Glass Card ──────────────────────────────────────────────────────────────── */ .glass { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--radius-lg); backdrop-filter: blur(16px); transition: var(--transition); } .glass:hover { background: var(--glass-hover); border-color: rgba(255,255,255,0.12); } .glass-flat { background: var(--bg-elevated); border: 1px solid var(--glass-border); border-radius: var(--radius-lg); } /* ── Buttons ─────────────────────────────────────────────────────────────────── */ .btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 26px; border-radius: var(--radius); font-size: 0.92rem; font-weight: 600; cursor: pointer; border: none; transition: var(--transition); white-space: nowrap; text-decoration: none; letter-spacing: -0.01em; } .btn:disabled { opacity: 0.45; cursor: not-allowed; } .btn-primary { background: var(--green); color: #000; box-shadow: var(--green-glow); } .btn-primary:hover:not(:disabled) { background: #0ff894; box-shadow: 0 0 36px rgba(0,232,122,0.45); transform: translateY(-1px); } .btn-ghost { background: var(--glass-bg); color: var(--text-1); border: 1px solid var(--glass-border); } .btn-ghost:hover { background: var(--glass-hover); } .btn-lg { padding: 15px 34px; font-size: 1rem; border-radius: var(--radius-lg); } /* ── Form Inputs ─────────────────────────────────────────────────────────────── */ .input-group { display: flex; flex-direction: column; gap: 6px; } .field-label { font-size: 0.73rem; font-weight: 600; color: var(--text-2); text-transform: uppercase; letter-spacing: 0.07em; } .input, select.input { background: var(--bg-elevated); border: 1px solid var(--glass-border); border-radius: var(--radius); color: var(--text-1); font-size: 0.9rem; font-family: inherit; padding: 10px 14px; outline: none; transition: var(--transition); width: 100%; } .input:focus, select.input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,232,122,0.12); } select.input option { background: var(--bg-elevated); } textarea.input { resize: vertical; min-height: 80px; } /* Range slider */ input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 2px; background: var(--bg-elevated-2); outline: none; margin: 4px 0; } input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--green); cursor: pointer; box-shadow: 0 0 10px rgba(0,232,122,0.5); } .range-row { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--text-3); } .range-val { font-size: 0.95rem; font-weight: 700; color: var(--green); } /* ── Metrics ─────────────────────────────────────────────────────────────────── */ .metric { display: flex; flex-direction: column; gap: 3px; } .metric-label { font-size: 0.7rem; font-weight: 600; color: var(--text-2); text-transform: uppercase; letter-spacing: 0.07em; } .metric-value { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; } .metric-note { font-size: 0.75rem; color: var(--text-3); } /* ── Badges ──────────────────────────────────────────────────────────────────── */ .badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 100px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.03em; } .badge-green { background: var(--green-dim); color: var(--green); } .badge-blue { background: var(--blue-dim); color: var(--blue); } .badge-red { background: var(--red-dim); color: var(--red); } .badge-gold { background: var(--gold-dim); color: var(--gold); } /* ── Alerts ──────────────────────────────────────────────────────────────────── */ .alert { padding: 14px 18px; border-radius: var(--radius); font-size: 0.88rem; font-weight: 500; border-left: 3px solid; } .alert-success { background: var(--green-dim); border-color: var(--green); color: var(--green); } .alert-danger { background: var(--red-dim); border-color: var(--red); color: var(--red); } .alert-info { background: var(--blue-dim); border-color: var(--blue); color: var(--blue); } /* ── Divider ─────────────────────────────────────────────────────────────────── */ .divider { height: 1px; background: var(--glass-border); margin: 24px 0; } /* ── Animations ──────────────────────────────────────────────────────────────── */ @keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } @keyframes pulse-ring { 0%,100% { box-shadow: 0 0 0 0 rgba(0,232,122,0.35); } 50% { box-shadow: 0 0 0 10px rgba(0,232,122,0); } } @keyframes spin { to { transform: rotate(360deg); } } .animate-in { animation: fadeInUp 0.45s ease forwards; } /* ── Grid Helpers ────────────────────────────────────────────────────────────── */ .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; } .grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; } @media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; } } @media (max-width: 768px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } } @media (max-width: 500px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } } /* ── Spinner ─────────────────────────────────────────────────────────────────── */ .spinner { display: inline-block; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,0.15); border-top-color: var(--green); border-radius: 50%; animation: spin 0.7s linear infinite; vertical-align: middle; } /* ── Scrollbar ───────────────────────────────────────────────────────────────── */ ::-webkit-scrollbar { width: 5px; } ::-webkit-scrollbar-track { background: var(--bg-base); } ::-webkit-scrollbar-thumb { background: var(--bg-elevated-2); border-radius: 3px; } /* ── Gradient Text ───────────────────────────────────────────────────────────── */ .gradient-text { background: linear-gradient(135deg, var(--green) 0%, var(--blue) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } /* ── Sentiment Bar ───────────────────────────────────────────────────────────── */ .sentiment-bar-track { height: 7px; border-radius: 4px; background: var(--bg-elevated-2); overflow: hidden; } .sentiment-bar-fill { height: 100%; border-radius: 4px; transition: width 0.6s cubic-bezier(0.4,0,0.2,1); }