/* Global base styles */ :root { --bg: #0B1020; --card: rgba(255, 255, 255, 0.05); --border: rgba(255, 255, 255, 0.1); } *, *::before, *::after { box-sizing: border-box; } html, body { height: 100%; scroll-behavior: smooth; background: var(--bg); } body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial; color: #e2e8f0; } /* Subtle grid background */ body::before { content: ""; position: fixed; inset: 0; background: radial-gradient(60% 40% at 50% 0%, rgba(99, 102, 241, 0.08), transparent 60%), radial-gradient(50% 40% at 100% 0%, rgba(6, 182, 212, 0.08), transparent 60%), radial-gradient(50% 40% at 0% 100%, rgba(217, 70, 239, 0.08), transparent 60%); pointer-events: none; z-index: -2; } /* Selection */ ::selection { background: rgba(59, 82, 255, 0.35); color: #fff; } /* Scrollbar (WebKit) */ ::-webkit-scrollbar { width: 10px; } ::-webkit-scrollbar-track { background: #0B1020; } ::-webkit-scrollbar-thumb { background: #1f2937; border-radius: 9999px; } ::-webkit-scrollbar-thumb:hover { background: #334155; } /* Orbits canvas overlay polish */ #orbits { filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.3)); } /* Glass and neon effects */ .glass { background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02)); border: 1px solid rgba(255,255,255,0.1); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); } /* Cards hover lift */ .card-hover { transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease; } .card-hover:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.18); box-shadow: 0 10px 30px rgba(0,0,0,0.25), 0 0 40px rgba(99,102,241,0.15); } /* Shimmer line for headers and code blocks */ .shimmer-bar { position: relative; overflow: hidden; } .shimmer-bar::after { content: ""; position: absolute; top: 0; bottom: 0; left: -150%; width: 150%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent); animation: shimmer 3s ease-in-out infinite; } /* Button press feedback */ .btn-press { transition: transform .08s ease; } .btn-press:active { transform: translateY(1px); } /* Code block look */ pre code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; } /* Modal animations */ .modal-enter { animation: modalIn .2s ease; } @keyframes modalIn { from { transform: translateY(8px); opacity: 0; } to { transform: translateY(0); opacity: 1; } } /* Focus rings */ a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid #06B6D4; outline-offset: 2px; border-radius: 8px; }