:root{--bg: #0a0a0a;--fg: #f5f5f5;--muted: #8a8a8a;--accent: #ffffff;--tile-bg: #141414;--gap: 14px}*{box-sizing:border-box}html,body,#root{height:100%}html,body{overflow-x:hidden}body{margin:0;background:var(--bg);color:var(--fg);font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}a{color:inherit;text-decoration:none}a:hover{color:var(--accent);text-decoration:underline}.page{max-width:1400px;margin:0 auto;padding:48px 32px 80px}@media (max-width: 700px){.page{padding:24px 16px 56px}}@media (max-width: 420px){.page{padding:16px 12px 40px}}@media (max-width: 900px){.page{padding-bottom:0}}.hero{position:relative;display:flex;flex-direction:column;gap:6px;padding:24px 0 56px;border-bottom:1px solid #1a1a1a;margin-bottom:40px}.hero>h1,.hero>.role,.hero>.links{font-family:Space Grotesk,ui-sans-serif,system-ui,sans-serif;position:relative;z-index:1}.particles{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;pointer-events:none;z-index:0;mask-image:linear-gradient(to bottom,#000 60%,#0000);-webkit-mask-image:linear-gradient(to bottom,rgba(0,0,0,1) 60%,rgba(0,0,0,0) 100%)}.hero h1,.hero-name{font-family:Space Grotesk,ui-sans-serif,system-ui,sans-serif;font-size:clamp(40px,6.5vw,80px);font-weight:700;letter-spacing:-.03em;margin:0;line-height:1;color:#9c28fa;backdrop-filter:blur(1px);-webkit-backdrop-filter:blur(1px)}.hero .role{font-size:clamp(16px,2vw,22px);color:var(--muted);margin:8px 0 18px;font-weight:400;letter-spacing:.01em}.hero .links{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;font-size:15px;color:var(--muted);word-break:break-word}.hero .links a{color:var(--fg)}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--gap)}.grid>.tile:last-child:nth-child(3n+1){grid-column:2}.grid>.tile:nth-last-child(2):nth-child(3n+1){grid-column:1 / span 2;justify-self:end;max-width:calc((100% - var(--gap)) / 2)}@media (max-width: 900px){.grid{grid-template-columns:repeat(2,1fr)}.grid>.tile:last-child:nth-child(3n+1),.grid>.tile:nth-last-child(2):nth-child(3n+1){grid-column:auto;justify-self:stretch;max-width:none}.grid>.tile:last-child:nth-child(odd){grid-column:1 / -1;justify-self:center;max-width:calc((100% - var(--gap)) / 2)}}@media (max-width: 480px){.grid{grid-template-columns:1fr}.grid>.tile,.grid>.tile:last-child:nth-child(odd){grid-column:auto;justify-self:stretch;max-width:none}}.tile{position:relative;margin:0;aspect-ratio:16 / 9;border-radius:10px;background:var(--tile-bg);cursor:none;outline:none;transform-origin:center;will-change:transform,filter,opacity;perspective:900px;opacity:0;transform:translateY(28px) scale(.96);transition:transform .7s cubic-bezier(.2,.7,.2,1),box-shadow .6s ease,filter .6s ease,opacity .7s ease}.tile.is-visible{opacity:1;transform:translateY(0) scale(1)}.tile-inner{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:inherit;overflow:hidden;transform:rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));transform-style:preserve-3d;transition:transform .25s ease}.tile.is-other{filter:blur(3px) brightness(.7)}.tile.is-hovered{filter:none;transform:scale(1.18)!important;box-shadow:0 18px 48px #0000004d,0 0 0 1px #8cc8ff33,0 0 48px #78beff66;z-index:3}@media (max-width: 900px){.tile{transition:transform .5s cubic-bezier(.2,.7,.2,1),filter .35s ease,opacity .7s ease}.tile.is-hovered{transform:scale(1.08)!important;z-index:10;box-shadow:0 12px 32px #0006,0 0 20px #9c28fa33}.tile.is-other{filter:blur(1px) brightness(.6)}.tooltip{opacity:0;left:50%!important;top:auto!important;bottom:14px;transform:translate(-50%)!important;font-size:14px;padding:6px 16px;background:#000000d9}}.tile video{width:100%;height:100%;object-fit:contain;display:block}.spotlight{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;opacity:0;transition:opacity .25s ease;background:radial-gradient(circle at var(--mx, 50%) var(--my, 50%),rgba(255,255,255,.22) 0%,rgba(255,255,255,.08) 18%,rgba(255,255,255,0) 45%);mix-blend-mode:overlay}.tile.is-hovered .spotlight{opacity:1}.tooltip{position:absolute;padding:4px 12px;font-size:12.5px;letter-spacing:.02em;color:#fff;background:#000000c7;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border-radius:99px;opacity:0;transform:translate(2px,2px);transition:opacity .15s ease;pointer-events:none;white-space:nowrap;z-index:9}.tile:hover .tooltip,.tile:focus-visible .tooltip,.tile.is-hovered .tooltip{opacity:1}@media (hover: hover) and (pointer: fine){body,a,button{cursor:none}}.cursor-dot,.cursor-ring{position:fixed;top:0;left:0;pointer-events:none;z-index:9999;border-radius:50%;will-change:transform,width,height}.cursor-dot{width:6px;height:6px;background:#fff;transition:opacity .2s ease}.cursor-ring{width:28px;height:28px;border:1.5px solid rgba(255,255,255,.7);display:flex;align-items:center;justify-content:center;transition:width .25s ease,height .25s ease,background .25s ease,border-color .25s ease}.cursor-ring.is-over{width:64px;height:64px;background:#9c28fad9;border-color:#9c28fae6}.cursor-dot.is-over{opacity:0}.cursor-label{font-family:Space Grotesk,sans-serif;font-size:11px;font-weight:700;letter-spacing:.12em;color:#fff;opacity:0;transition:opacity .2s ease .05s}.cursor-ring.is-over .cursor-label{opacity:1}@media (hover: none),(pointer: coarse){.cursor-dot,.cursor-ring{display:none}body{cursor:auto}.tile{cursor:pointer}}.lightbox{position:fixed;top:0;right:0;bottom:0;left:0;background:#000000e0;display:flex;align-items:center;justify-content:center;z-index:100;cursor:zoom-out;animation:lb-fade .18s ease;padding:16px;overflow:hidden}.lightbox video{width:min(960px,95vw);height:auto;max-height:90vh;aspect-ratio:16 / 9;background:#000;border-radius:8px;box-shadow:0 24px 72px #000000b3,0 0 0 1px #8cc8ff59,0 0 60px #78beff80;cursor:default}@keyframes lb-fade{0%{opacity:0}to{opacity:1}}.foot{margin-top:120px;padding:100px 0 120px;border-top:1px solid #1a1a1a;display:flex;flex-direction:column;align-items:center;text-align:center}@media (max-width: 900px){.foot{margin-top:80px;padding:160px 0 240px}}.quote-container{margin-bottom:80px;position:relative}.quote{font-family:Space Grotesk,sans-serif;font-size:clamp(32px,5vw,64px);font-weight:700;letter-spacing:-.04em;line-height:1.1;margin:0;background:linear-gradient(to bottom,#fff 40%,#9c28fa 140%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.quote-author{font-family:Inter,sans-serif;font-size:clamp(14px,1.5vw,18px);color:var(--muted);margin-top:16px;text-transform:uppercase;letter-spacing:.2em}.foot-bottom{width:100%;display:flex;justify-content:space-between;align-items:center;color:var(--muted);font-size:13px;border-top:1px solid #1a1a1a;padding-top:32px}.foot-links{display:flex;gap:24px}.foot-links a{transition:color .2s ease}.foot-links a:hover{color:#fff}@media (max-width: 600px){.foot-bottom{flex-direction:column;gap:16px;text-align:center}}.ease-game{max-width:900px;margin:0 auto;padding:48px 32px 80px;min-height:100vh;display:flex;flex-direction:column;gap:28px;cursor:auto}.ease-game a,.ease-game button{cursor:pointer}.ease-game button:disabled{cursor:default}.ease-header{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.ease-header h1{margin:0;font-size:clamp(1.4rem,3.5vw,2rem);letter-spacing:-.02em}.ease-back{font-size:.9rem;color:var(--muted)}.ease-back:hover{color:#fff}.ease-score{display:flex;gap:18px;font-size:.85rem;color:var(--muted)}.ease-score strong{color:#fff;margin-left:6px}.ease-stage{background:var(--tile-bg);border-radius:14px;padding:48px 24px 24px;display:flex;flex-direction:column;align-items:center;gap:16px}.ease-track{width:100%;max-width:560px;height:140px;display:flex;align-items:center;justify-content:center;position:relative}.ease-square{width:64px;height:64px;background:linear-gradient(135deg,#4f6cff,#1629bd);border-radius:10px;box-shadow:0 8px 30px #1629bd80;will-change:transform}.ease-mode{margin:0;font-size:.85rem;color:var(--muted);letter-spacing:.04em;text-transform:uppercase}.ease-mode em{color:#fff;font-style:normal}.ease-stage-grid{display:grid;grid-template-columns:1fr;gap:12px}@media (min-width: 700px){.ease-stage-grid{grid-template-columns:1fr 1fr}}.ease-stage-label{font-size:.7rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}.ease-editor-wrap{display:grid;grid-template-columns:1fr;gap:24px;align-items:center;background:var(--tile-bg);border-radius:14px;padding:20px}@media (min-width: 700px){.ease-editor-wrap{grid-template-columns:auto 1fr}}.bezier-editor{width:100%;max-width:320px;height:auto;display:block;margin:0 auto;-webkit-user-select:none;user-select:none;touch-action:pan-y}.bezier-editor.is-dragging{touch-action:none}@media (max-width: 700px){.bezier-editor{max-width:min(420px,90vw)}}.ease-readout{display:flex;flex-direction:column;gap:10px}.ease-code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.82rem;color:#4f6cff;background:#4f6cff14;padding:8px 10px;border-radius:6px}.ease-code-answer{color:#2ecc71;background:#2ecc7114}.ease-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;min-height:44px}.ease-result{margin:0;font-size:.95rem}.ease-result.is-correct{color:#2ecc71}.ease-result.is-wrong{color:#e74c3c}.ease-hint{margin:0;color:var(--muted);font-size:.9rem}.ease-next{background:#fff;color:#000;border:none;border-radius:999px;padding:10px 22px;font-family:inherit;font-size:.9rem;cursor:pointer;transition:transform .15s ease,background .15s ease}.ease-next:hover{transform:translateY(-1px);background:#e7e7e7}.ease-readout-top{display:flex;align-items:center;gap:14px}.chronometer{display:flex;flex-direction:column;align-items:center;gap:2px;flex-shrink:0}.chrono-label{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.78rem;color:var(--muted)}.chronometer.is-danger .chrono-label{color:#e74c3c}.chronometer.is-danger svg{animation:chrono-pulse .5s ease-in-out infinite alternate}@keyframes chrono-pulse{0%{transform:scale(1)}to{transform:scale(1.06)}}.expert-toggle{display:inline-flex;align-items:center;gap:6px;background:transparent;color:var(--muted);border:1px solid #333;border-radius:999px;padding:4px 10px;font-family:inherit;font-size:.78rem;letter-spacing:.04em;cursor:pointer;transition:border-color .2s ease,color .2s ease,background .2s ease}.expert-toggle:hover{color:#fff;border-color:#555}.expert-toggle.is-on{color:#ff7849;border-color:#ff7849;background:#ff784914}.expert-dot{width:6px;height:6px;border-radius:50%;background:currentColor}.fails{display:inline-flex;gap:4px;align-items:center}.fail-dot{width:8px;height:8px;border-radius:50%;border:1.5px solid #ff7849;background:transparent}.fail-dot.is-used{background:#e74c3c;border-color:#e74c3c}
