:root {
  --ink: #1b1533; --panel: #2a2150; --panel-2: #342a63; --line: #4a3f85;
  --text: #f4f0ff; --mut: #b9b0dd; --accent: #ff4f9a; --cyan: #44e0cf; --gold: #ffc857;
  --r: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--text); font: 17px/1.6 "Figtree", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; background:
  radial-gradient(60rem 30rem at 85% -10%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 60%),
  radial-gradient(50rem 30rem at -10% 40%, rgba(68, 224, 207, .10), transparent 60%); }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 22px; }
h1, h2, h3 { font-family: "Unbounded", "Figtree", sans-serif; line-height: 1.1; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: 10px; }
h3 { font-size: 1.15rem; line-height: 1.25; }
p { margin: 0 0 1em; max-width: 62ch; }
.mut { color: var(--mut); }
section { padding: 72px 0 8px; }

/* hero */
.hero { padding: 64px 0 24px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; }
.hero h1 { font-size: clamp(3.4rem, 11vw, 7.2rem); font-weight: 800; letter-spacing: -.04em; margin-bottom: 18px; }
.hero .tag { font-size: clamp(1.15rem, 2.4vw, 1.5rem); line-height: 1.4; max-width: 24ch; margin-bottom: 18px; font-weight: 600; }
.hero .intro { color: var(--mut); max-width: 46ch; }
.btn { display: inline-block; text-decoration: none; background: var(--accent); color: #200a17; font-weight: 700; padding: 12px 20px; border-radius: 12px; border: 0; cursor: pointer; font: inherit; font-weight: 700; transition: transform .12s ease; }
.btn:hover { transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 2px var(--line); }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

/* player card */
.card-sheet { background: linear-gradient(160deg, var(--panel-2), var(--panel)); border: 2px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: 8px 8px 0 color-mix(in srgb, var(--accent) 70%, #000); }
.card-sheet .who { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.avatar { width: 64px; height: 64px; border-radius: 16px; background: var(--accent); color: #200a17; display: grid; place-items: center; font: 800 1.9rem "Unbounded", sans-serif; flex: none; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.who b { font: 700 1.1rem "Unbounded", sans-serif; display: block; }
.stat { margin-bottom: 14px; }
.stat .row { display: flex; justify-content: space-between; font-size: .95rem; margin-bottom: 5px; }
.stat .row span:last-child { font-weight: 700; }
.bar { height: 10px; background: rgba(0, 0, 0, .35); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, var(--cyan), var(--accent)); border-radius: 99px; transform-origin: left; animation: fill 1.1s .25s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes fill { from { transform: scaleX(0); } }

/* about + games */
.about p { font-size: 1.1rem; }
.chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; margin-top: 16px; }
.chip { background: var(--panel); border-left: 5px solid var(--cyan); border-radius: 10px; padding: 12px 16px; }
.chip b { display: block; }
.chip span { color: var(--mut); font-size: .93rem; }

/* projects */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 22px; }
.proj { background: var(--panel); border: 2px solid var(--line); border-top: 8px solid var(--cyan); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; }
.proj.cloud { border-top-color: var(--accent); }
.proj .kind { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--mut); margin-bottom: 10px; }
.proj .kind::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--cyan); }
.proj.cloud .kind::before { background: var(--accent); }
.proj ul { padding-left: 1.1em; margin: 0 0 16px; color: var(--mut); font-size: .95rem; }
.proj li { margin-bottom: 4px; }
.proj .foot { margin-top: auto; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.proj details { margin: 0 0 14px; font-size: .93rem; color: var(--mut); }
.proj summary { cursor: pointer; color: var(--text); }
.legend { display: flex; gap: 18px; color: var(--mut); font-size: .9rem; margin-top: 8px; }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 7px; background: var(--cyan); }
.legend span.c::before { background: var(--accent); }

/* links + footer */
.links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.links a { background: var(--panel); border: 2px solid var(--line); padding: 10px 18px; border-radius: 12px; text-decoration: none; font-weight: 600; }
.links a:hover { border-color: var(--accent); }
footer { margin-top: 90px; padding: 28px 0 40px; border-top: 2px solid var(--line); color: var(--mut); font-size: .93rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
footer a { opacity: .6; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 32px; padding-top: 36px; }
  .grid { grid-template-columns: 1fr; }
  .card-sheet { box-shadow: 5px 5px 0 color-mix(in srgb, var(--accent) 70%, #000); }
  section { padding-top: 56px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .bar i { animation: none; } .btn { transition: none; } }
