﻿/* ==========================================================================
   况益帆 · 游戏业务运营作品集
   Hand-built, no framework. Dark arcade / HUD direction.
   ========================================================================== */

:root {
  --bg: #07080d;
  --bg-2: #0a0c12;
  --bg-3: #0d1018;
  --panel: #0f131c;
  --panel-2: #141925;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f3f4ee;
  --muted: #a2a7b8;
  --dim: #727789;
  --lime: #d8ff3e;
  --lime-2: #b8e62c;
  --pink: #ff4d8d;
  --cyan: #5ce1e6;
  --orange: #ffb020;
  --violet: #9b7bff;
  --display: "ZCOOL QingKe HuangYou", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --body: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, sans-serif;
  --pixel: "Press Start 2P", ui-monospace, monospace;
  --mono: "Cascadia Code", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --radius: 18px;
  --wrap: 1200px;
  --header: 78px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(216, 255, 62, 0.055), transparent 60%),
    radial-gradient(900px 600px at -10% 35%, rgba(92, 225, 230, 0.035), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-loading {
  overflow: hidden;
}

body.nav-open {
  overflow: hidden;
}

::selection {
  background: var(--lime);
  color: #07080d;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

h1, h2, h3, h4, h5, p, ul, ol, figure, blockquote {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.br-mobile {
  display: none;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  padding: 10px 14px;
  background: var(--lime);
  color: #07080d;
  font-size: 13px;
  transform: translateY(-160%);
  transition: transform 0.2s;
}

.skip-link:focus {
  transform: translateY(0);
}

.wrap {
  width: min(var(--wrap), calc(100% - 72px));
  margin-inline: auto;
}

.pixel-label {
  font-family: var(--pixel);
  font-size: 9px;
  line-height: 1.7;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

.hl {
  color: var(--lime);
  position: relative;
  display: inline-block;
}

.outline {
  color: rgba(255, 255, 255, 0.055);
  -webkit-text-stroke: 2px rgba(243, 244, 238, 0.92);
  text-stroke: 2px rgba(243, 244, 238, 0.92);
}

.fineprint {
  margin-top: 24px;
  font-size: 11px;
  line-height: 1.8;
  color: var(--dim);
  max-width: 860px;
}

.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 0 rgba(216, 255, 62, 0.6);
  animation: pulse 2.2s infinite;
  vertical-align: 1px;
}

/* --------------------------------------------------------------------------
   Loader
   -------------------------------------------------------------------------- */

.loader {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  background: #05060a;
  transition: opacity 0.55s var(--ease), visibility 0.55s;
}

.loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__scan {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(to bottom, transparent 0 3px, rgba(255, 255, 255, 0.022) 3px 4px);
  pointer-events: none;
}

.loader__box {
  width: min(540px, 86vw);
  border: 1px solid var(--line-2);
  background: linear-gradient(160deg, #11151f, #080a0f);
  padding: 26px;
  box-shadow: 12px 12px 0 rgba(216, 255, 62, 0.1);
  position: relative;
}

.loader__top,
.loader__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--pixel);
  font-size: 8px;
  color: var(--dim);
  letter-spacing: 0.06em;
}

.loader__name {
  margin: 24px 0;
  font-family: var(--display);
  font-size: clamp(34px, 6vw, 48px);
  line-height: 1;
  letter-spacing: 0.02em;
}

.loader__name span {
  font-family: var(--pixel);
  font-size: 8px;
  color: var(--lime);
  vertical-align: 6px;
  margin-left: 8px;
}

.loader__track {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.loader__track i {
  display: block;
  width: 0;
  height: 100%;
  background: var(--lime);
  box-shadow: 0 0 18px rgba(216, 255, 62, 0.6);
}

.loader__bottom {
  margin-top: 14px;
}

.loader__bottom button {
  font-family: var(--pixel);
  font-size: 8px;
  color: var(--lime);
  padding: 4px 0;
}

.loader__hint {
  position: absolute;
  bottom: 26px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dim);
  letter-spacing: 0.08em;
}

/* --------------------------------------------------------------------------
   Cursor + progress
   -------------------------------------------------------------------------- */

.cursor-glow,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 3;
  pointer-events: none;
  will-change: transform;
}

.cursor-glow {
  width: 420px;
  height: 420px;
  margin: -210px 0 0 -210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 255, 62, 0.075), rgba(216, 255, 62, 0.018) 42%, transparent 70%);
  opacity: 0.8;
}

.cursor-ring {
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border: 1px solid rgba(216, 255, 62, 0.65);
  border-radius: 50%;
  z-index: 210;
  transition: width 0.2s, height 0.2s, margin 0.2s, background 0.2s;
}

.cursor-ring.is-hot {
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  background: rgba(216, 255, 62, 0.1);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 90;
  background: rgba(255, 255, 255, 0.04);
}

.scroll-progress i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--lime), var(--cyan));
  box-shadow: 0 0 12px rgba(216, 255, 62, 0.55);
}

/* --------------------------------------------------------------------------
   Header / nav
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  height: var(--header);
  background: rgba(7, 8, 13, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  transition: background 0.3s, border-color 0.3s;
}

.site-header.is-scrolled {
  background: rgba(7, 8, 13, 0.92);
  border-color: rgba(255, 255, 255, 0.1);
}

.nav-shell {
  width: min(1320px, calc(100% - 56px));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 34px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: none;
}

.brand__mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: var(--lime);
  color: #07080d;
  font-family: var(--pixel);
  font-size: 14px;
  box-shadow: 3px 3px 0 rgba(216, 255, 62, 0.22);
}

.brand__text {
  font-family: var(--pixel);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.brand__text span {
  color: var(--lime);
  margin-inline: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.nav a {
  position: relative;
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
  padding: 6px 0;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav a i {
  font-family: var(--pixel);
  font-style: normal;
  font-size: 7px;
  color: var(--dim);
  margin-right: 5px;
  vertical-align: 2px;
  transition: color 0.2s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}

.nav a:hover,
.nav a.is-active {
  color: var(--text);
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav a.is-active i {
  color: var(--lime);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

.sfx-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--pixel);
  font-size: 7px;
  color: var(--dim);
  padding: 6px 0;
}

.sfx-dot {
  width: 8px;
  height: 8px;
  border: 1px solid var(--dim);
  border-radius: 50%;
}

.sfx-toggle[aria-pressed="true"] {
  color: var(--lime);
}

.sfx-toggle[aria-pressed="true"] .sfx-dot {
  background: var(--lime);
  border-color: var(--lime);
  box-shadow: 0 0 10px rgba(216, 255, 62, 0.7);
}

.btn {
  --btn-bg: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: 0.01em;
  overflow: hidden;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--small {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 12px;
}

.btn--big {
  min-height: 54px;
  padding: 15px 24px;
  font-size: 14px;
}

.btn--lime {
  background: var(--lime);
  border-color: var(--lime);
  color: #07080d;
  font-weight: 700;
}

.btn--lime:hover {
  box-shadow: 0 12px 34px rgba(216, 255, 62, 0.22);
  background: #e4ff6a;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.btn--cyan {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #061012;
  font-weight: 700;
}

.btn__arrow {
  transition: transform 0.25s;
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  position: relative;
}

.menu-toggle span {
  position: absolute;
  left: 11px;
  width: 20px;
  height: 1px;
  background: var(--text);
  transition: transform 0.3s, top 0.3s;
}

.menu-toggle span:first-child { top: 17px; }
.menu-toggle span:last-child { top: 24px; }

body.nav-open .menu-toggle span:first-child { top: 21px; transform: rotate(45deg); }
body.nav-open .menu-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(6, 7, 11, 0.98);
  padding: calc(var(--header) + 26px) 32px 32px;
  transform: translateY(-102%);
  visibility: hidden;
  transition: transform 0.5s var(--ease), visibility 0.5s;
  overflow-y: auto;
}

body.nav-open .mobile-menu {
  transform: translateY(0);
  visibility: visible;
}

.mobile-menu__inner {
  display: flex;
  flex-direction: column;
}

.mobile-menu__inner > .pixel-label {
  color: var(--lime);
  margin-bottom: 24px;
}

.mobile-menu__inner > a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-size: clamp(30px, 8vw, 48px);
  line-height: 1.1;
}

.mobile-menu__inner > a span {
  font-family: var(--pixel);
  font-size: 8px;
  color: var(--lime);
}

.mobile-menu__foot {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 32px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100svh;
  padding-top: calc(var(--header) + 54px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.033) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.033) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 55% 38%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 55% 38%, #000 20%, transparent 75%);
}

.hero__glow {
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  filter: blur(20px);
  pointer-events: none;
}

.hero__glow--a {
  width: 520px;
  height: 520px;
  right: -80px;
  top: 8%;
  background: radial-gradient(circle, rgba(216, 255, 62, 0.11), transparent 65%);
}

.hero__glow--b {
  width: 420px;
  height: 420px;
  left: -140px;
  bottom: 0;
  background: radial-gradient(circle, rgba(92, 225, 230, 0.07), transparent 65%);
}

.hero__stars {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero__stars i {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(255, 255, 255, 0.55);
  animation: twinkle var(--dur, 4s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

.hero__ghost {
  position: absolute;
  z-index: -2;
  right: -3vw;
  top: 15%;
  font-family: var(--display);
  font-size: clamp(260px, 34vw, 560px);
  line-height: 0.7;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.045);
  pointer-events: none;
  user-select: none;
}

.hero__wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: 48px;
  flex: 1;
  padding-bottom: 24px;
}

.hero__copy {
  max-width: 760px;
}

.status-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(216, 255, 62, 0.6);
  animation: pulse 2.2s infinite;
  flex: none;
}

.status-code {
  margin-left: auto;
  color: var(--dim);
}

.hero__kicker {
  margin-top: 26px;
  font-family: var(--pixel);
  font-size: clamp(8px, 0.8vw, 10px);
  color: var(--lime);
  letter-spacing: 0.1em;
  line-height: 1.8;
}

.hero__title {
  margin-top: 18px;
  font-family: var(--display);
  font-size: clamp(52px, 8.6vw, 100px);
  line-height: 1.02;
  letter-spacing: 0.005em;
  font-weight: 400;
}

.hero__line {
  display: block;
  white-space: nowrap;
}

.hero__title .hl {
  text-shadow: 0 0 42px rgba(216, 255, 62, 0.18);
}

.hero__lead {
  max-width: 610px;
  margin-top: 26px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--muted);
}

.hero__lead strong {
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.hero__tags span {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.hero__tags span:first-child {
  border-color: rgba(216, 255, 62, 0.45);
  color: var(--lime);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero__note {
  margin-top: 20px;
  font-size: 10.5px;
  line-height: 1.7;
  color: var(--dim);
}

.hero__note span {
  color: var(--lime);
  margin-right: 4px;
}

/* player card */

.hero__card-wrap {
  position: relative;
  width: 100%;
  max-width: 410px;
  justify-self: end;
  perspective: 1100px;
}

.player-card {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.18s ease-out;
  will-change: transform;
}

.player-card__back {
  position: absolute;
  inset: -16px 18px 22px -18px;
  z-index: -1;
  background: var(--lime);
  border-radius: 20px;
  transform: rotate(-3.2deg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
  color: #07080d;
  font-family: var(--pixel);
  font-size: 9px;
  letter-spacing: 0.1em;
  opacity: 0.92;
}

.player-card__back span:last-child {
  align-self: flex-end;
  writing-mode: vertical-rl;
}

.player-card__inner {
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.045), transparent 38%),
    linear-gradient(160deg, #171c28, #0b0e15 70%);
  border: 1px solid rgba(216, 255, 62, 0.32);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.6), inset 0 0 70px rgba(216, 255, 62, 0.035);
  position: relative;
}

.player-card__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: repeating-linear-gradient(to bottom, transparent 0 3px, rgba(255, 255, 255, 0.018) 3px 4px);
  pointer-events: none;
}

.player-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.player-card__top .pixel-label {
  color: var(--lime);
  font-size: 7px;
}

.player-card__no {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--dim);
  letter-spacing: 0.1em;
}

.player-portrait {
  position: relative;
  height: 294px;
  margin-top: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #d9dde7;
  overflow: hidden;
  cursor: pointer;
}

.player-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transition: opacity 0.35s ease, transform 0.7s var(--ease);
}

.player-portrait__pixel {
  image-rendering: pixelated;
  transform: scale(1.02);
}

.player-portrait__real {
  opacity: 0;
  transform: scale(1.04);
}

.player-portrait:hover .player-portrait__pixel,
.player-portrait.is-revealed .player-portrait__pixel {
  opacity: 0;
}

.player-portrait:hover .player-portrait__real,
.player-portrait.is-revealed .player-portrait__real {
  opacity: 1;
  transform: scale(1);
}

.player-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 8, 13, 0.8), transparent 34%),
    repeating-linear-gradient(to bottom, transparent 0 3px, rgba(0, 0, 0, 0.08) 3px 4px);
  pointer-events: none;
}

.player-portrait__hint {
  position: absolute;
  left: 9px;
  bottom: 8px;
  z-index: 2;
  font-family: var(--pixel);
  font-size: 6px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.75);
  text-shadow: 0 1px 4px #000;
}

.player-portrait__corner {
  position: absolute;
  z-index: 2;
  width: 15px;
  height: 15px;
  border-color: var(--lime);
  border-style: solid;
}

.player-portrait__corner--tl {
  top: 7px;
  left: 7px;
  border-width: 1px 0 0 1px;
}

.player-portrait__corner--br {
  right: 7px;
  bottom: 7px;
  border-width: 0 1px 1px 0;
}

.player-card__id {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
}

.player-card__id h2 {
  font-family: var(--display);
  font-size: 40px;
  line-height: 0.9;
  letter-spacing: 0.02em;
  font-weight: 400;
}

.player-card__id p {
  font-family: var(--pixel);
  font-size: 6px;
  color: var(--dim);
  letter-spacing: 0.08em;
  margin-top: 7px;
}

.lv {
  font-family: var(--pixel);
  font-size: 7px;
  color: #07080d;
  background: var(--lime);
  padding: 6px 7px;
  line-height: 1;
  white-space: nowrap;
}

.player-card__class {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.player-card__class span {
  font-family: var(--pixel);
  font-size: 6px;
  color: var(--lime);
  margin-right: 6px;
}

.attrs {
  display: grid;
  gap: 8px;
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.attr {
  display: grid;
  grid-template-columns: 62px 1fr 22px;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--muted);
}

.attr i {
  display: block;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.attr i::after {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--v);
  background: linear-gradient(90deg, var(--lime), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s var(--ease);
}

.player-card.in .attr i::after {
  transform: scaleX(1);
}

.attr b {
  font-size: 9px;
  color: var(--text);
  text-align: right;
  font-weight: 400;
}

.player-card__foot {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 14px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  font-family: var(--pixel);
  font-size: 6px;
  color: var(--dim);
  letter-spacing: 0.04em;
}

.player-card__foot span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.mini-dot {
  width: 5px;
  height: 5px;
  background: var(--lime);
  display: inline-block;
}

.float-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: baseline;
  gap: 5px;
  background: rgba(10, 13, 20, 0.92);
  border: 1px solid var(--line-2);
  padding: 8px 11px;
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
}

.float-chip b {
  font-family: var(--display);
  font-size: 21px;
  line-height: 1;
  color: var(--text);
  font-weight: 400;
}

.float-chip--a {
  top: -40px;
  right: 12px;
  border-color: rgba(216, 255, 62, 0.4);
}

.float-chip--a b { color: var(--lime); }

.float-chip--b {
  left: -48px;
  top: 118px;
  bottom: auto;
  border-color: rgba(92, 225, 230, 0.36);
  animation-delay: -2s;
}

.float-chip--b b { color: var(--cyan); }

.float-chip--c {
  right: -8px;
  bottom: -46px;
  border-color: rgba(255, 77, 141, 0.36);
  animation-delay: -4s;
}

.float-chip--c b { color: var(--pink); }

.hero__foot {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 18px;
  padding-bottom: 24px;
  border-top: 1px solid var(--line);
  font-family: var(--pixel);
  font-size: 7px;
  color: var(--dim);
  letter-spacing: 0.06em;
}

.hero__scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.hero__scroll i {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--line-2);
  position: relative;
  overflow: hidden;
}

.hero__scroll i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--lime);
  animation: scrollLine 2.2s ease-in-out infinite;
}

.hero__marquee {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  animation: marquee 24s linear infinite;
}

.marquee-track b {
  color: var(--lime);
  font-weight: 400;
}

.hero__coords {
  flex: none;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--dim);
}

/* --------------------------------------------------------------------------
   Stat strip
   -------------------------------------------------------------------------- */

.stat-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.014);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  position: relative;
  padding: 34px 28px 30px;
  border-left: 1px solid var(--line);
}

.stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.stat__no {
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: var(--pixel);
  font-size: 7px;
  color: rgba(255, 255, 255, 0.16);
}

.stat strong {
  display: inline-block;
  font-family: var(--display);
  font-size: clamp(42px, 4.4vw, 62px);
  line-height: 0.95;
  font-weight: 400;
  color: var(--text);
}

.stat small {
  font-family: var(--display);
  font-size: 24px;
  color: var(--lime);
  margin-left: 2px;
}

.stat p {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.stat p em {
  font-style: normal;
  color: var(--dim);
  font-size: 10px;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  position: relative;
  padding: 116px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: var(--header);
}

.section--about { background: var(--bg); }
.section--accounts { background: #090b11; }
.section--method { background: var(--bg); }
.section--travel {
  background:
    radial-gradient(900px 500px at 80% 0%, rgba(255, 176, 32, 0.06), transparent 65%),
    #0a0a0d;
}
.section--ai {
  background:
    radial-gradient(900px 520px at 15% 10%, rgba(92, 225, 230, 0.055), transparent 65%),
    #070b0e;
}
.section--experience { background: var(--bg); }
.section--contact {
  background:
    radial-gradient(800px 500px at 50% 100%, rgba(216, 255, 62, 0.09), transparent 70%),
    #080a0d;
  overflow: hidden;
}

.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "label label"
    "main aside";
  gap: 26px 48px;
  margin-bottom: 54px;
}

.sec-head__label {
  grid-area: label;
  display: flex;
  align-items: center;
  gap: 18px;
}

.sec-head__label .pixel-label {
  color: var(--lime);
  flex: none;
}

.sec-line {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.sec-head__main {
  grid-area: main;
}

.sec-head__main h2 {
  font-family: var(--display);
  font-size: clamp(44px, 6.2vw, 86px);
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.sec-head__main > p {
  max-width: 620px;
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--muted);
}

.sec-head__aside {
  grid-area: aside;
  align-self: end;
  text-align: right;
  padding-bottom: 6px;
}

.big-num {
  display: block;
  font-family: var(--display);
  font-size: clamp(58px, 6vw, 92px);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.22);
  font-weight: 400;
}

.big-num span {
  color: var(--lime);
  -webkit-text-stroke: 0;
  font-size: 0.5em;
  margin-inline: 2px;
}

.sec-head__aside p {
  margin-top: 10px;
  font-family: var(--pixel);
  font-size: 7px;
  line-height: 1.8;
  color: var(--dim);
  letter-spacing: 0.08em;
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 64px;
  align-items: start;
}

.about-story p {
  font-size: 15px;
  line-height: 2;
  color: var(--muted);
  margin-bottom: 16px;
}

.about-story__lead {
  font-size: 19px !important;
  line-height: 1.9 !important;
  color: var(--text) !important;
}

.about-story strong {
  color: var(--lime);
  font-weight: 500;
}

.about-sign {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.about-sign__mark {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216, 255, 62, 0.5);
  color: var(--lime);
  font-family: var(--pixel);
  font-size: 11px;
  transform: rotate(-3deg);
}

.about-sign b {
  display: block;
  font-family: var(--display);
  font-size: 23px;
  font-weight: 400;
  line-height: 1.2;
}

.about-sign small {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--dim);
  margin-top: 3px;
}

.perks {
  display: grid;
  gap: 12px;
}

.perk {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 15px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.022);
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
}

.perk:hover {
  border-color: rgba(216, 255, 62, 0.38);
  background: rgba(216, 255, 62, 0.025);
  transform: translateX(4px);
}

.perk__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  font-size: 18px;
}

.perk h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}

.perk p {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
}

.perk__tag {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: var(--pixel);
  font-size: 6px;
  color: rgba(216, 255, 62, 0.5);
  letter-spacing: 0.08em;
}

/* game radar */

.radar {
  margin-top: 68px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(150deg, #10141d, #0b0e15);
  overflow: hidden;
}

.radar__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding: 26px 30px 22px;
  border-bottom: 1px solid var(--line);
}

.radar__head .pixel-label {
  color: var(--lime);
}

.radar__head h3 {
  margin-top: 10px;
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 400;
  line-height: 1;
}

.radar__hint {
  font-size: 11px;
  color: var(--dim);
  max-width: 240px;
  text-align: right;
  line-height: 1.7;
}

.radar__hint span {
  color: var(--lime);
}

.radar__body {
  display: grid;
  grid-template-columns: 236px 1fr;
}

.radar__tabs {
  border-right: 1px solid var(--line);
  padding: 12px 0;
  display: flex;
  flex-direction: column;
}

.radar__tabs button {
  display: flex;
  align-items: baseline;
  gap: 12px;
  text-align: left;
  padding: 13px 22px;
  font-size: 13px;
  color: var(--muted);
  border-left: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.radar__tabs button span {
  font-family: var(--pixel);
  font-size: 7px;
  color: var(--dim);
}

.radar__tabs button:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.radar__tabs button[aria-selected="true"] {
  background: var(--lime);
  color: #07080d;
  border-left-color: #07080d;
  font-weight: 600;
}

.radar__tabs button[aria-selected="true"] span {
  color: rgba(7, 8, 13, 0.55);
}

.radar__panels {
  padding: 30px 32px;
  min-height: 350px;
}

.genre-panel {
  animation: panelIn 0.38s var(--ease) both;
}

.genre-panel__top {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.genre-panel__top .pixel-label {
  color: var(--lime);
  flex: none;
}

.genre-panel__top h4 {
  font-family: var(--display);
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 400;
  line-height: 1;
}

.genre-block {
  margin-top: 20px;
}

.genre-block h5,
.genre-cols h5 {
  font-family: var(--pixel);
  font-size: 7px;
  color: var(--dim);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip-row span {
  padding: 4px 9px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  font-size: 11px;
  color: var(--text);
  border-radius: 2px;
}

.genre-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 24px;
}

.genre-cols li {
  position: relative;
  padding-left: 14px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 5px;
}

.genre-cols li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--lime);
  font-family: var(--mono);
  font-size: 11px;
}

.radar__note {
  padding: 13px 30px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  color: var(--dim);
  background: rgba(0, 0, 0, 0.16);
}

/* --------------------------------------------------------------------------
   Accounts
   -------------------------------------------------------------------------- */

.account-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 26px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.filter {
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.filter span {
  font-family: var(--pixel);
  font-size: 6px;
  color: var(--dim);
  margin-left: 5px;
}

.filter:hover {
  color: var(--text);
  border-color: var(--line-2);
}

.filter.is-active {
  background: var(--lime);
  border-color: var(--lime);
  color: #07080d;
  font-weight: 600;
}

.filter.is-active span {
  color: rgba(7, 8, 13, 0.55);
}

.toolbar-note {
  font-size: 10px;
  color: var(--dim);
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.account-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}

.account-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--line-2);
  z-index: 2;
}

.account-card--core::before {
  background: linear-gradient(90deg, var(--lime), rgba(216, 255, 62, 0.2));
}

.account-card:hover {
  transform: translateY(-7px);
  border-color: rgba(216, 255, 62, 0.42);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
}

.account-card.is-hidden {
  display: none;
}

.account-card__shot {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: #11151d;
}

.account-card__shot img {
  width: 100%;
  height: auto;
  margin-top: -26px;
  transform: translateY(0);
  transition: transform 0.8s var(--ease);
  will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
  .account-card:hover .account-card__shot img {
    transform: translateY(calc(-100% + 326px));
    transition: transform 7s linear;
  }
}

.tier-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  padding: 5px 7px;
  background: var(--lime);
  color: #07080d;
  font-family: var(--pixel);
  font-size: 7px;
  letter-spacing: 0.04em;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.25);
}

.tier-badge--assist {
  background: rgba(10, 13, 20, 0.9);
  color: var(--muted);
  border: 1px solid var(--line-2);
  box-shadow: none;
}

.shot-hint {
  position: absolute;
  right: 10px;
  bottom: 9px;
  z-index: 3;
  font-family: var(--pixel);
  font-size: 6px;
  color: rgba(255, 255, 255, 0.55);
  background: rgba(5, 7, 11, 0.55);
  padding: 4px 6px;
  transition: opacity 0.3s;
}

.account-card:hover .shot-hint {
  opacity: 0;
}

.shot-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  background: linear-gradient(
    to top,
    var(--panel) 2%,
    rgba(15, 19, 28, 0.96) 22%,
    rgba(15, 19, 28, 0.55) 62%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 2;
}

.account-card__body {
  position: relative;
  padding: 16px 18px 18px;
}

.account-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.platform {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 7px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  border: 1px solid var(--line);
  color: var(--muted);
  white-space: nowrap;
}

.platform::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--text);
}

.platform--dy::before { background: #25f4ee; box-shadow: 0 0 6px rgba(37, 244, 238, 0.5); }
.platform--xhs::before { background: #ff2442; box-shadow: 0 0 6px rgba(255, 36, 66, 0.5); }

.account-id {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--dim);
  letter-spacing: 0.02em;
}

.account-card h3 {
  margin-top: 12px;
  font-family: var(--display);
  font-size: clamp(24px, 2.3vw, 30px);
  font-weight: 400;
  line-height: 1.1;
}

.account-quote {
  min-height: 38px;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--dim);
}

.account-stats {
  display: flex;
  gap: 18px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.account-stats span {
  display: flex;
  flex-direction: column;
  font-size: 9px;
  color: var(--dim);
  line-height: 1.4;
}

.account-stats b {
  font-family: var(--display);
  font-size: 22px;
  line-height: 1;
  color: var(--text);
  font-weight: 400;
}

.account-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 12px;
}

.account-tags span {
  font-size: 9px;
  color: var(--muted);
  padding: 3px 6px;
  border: 1px solid var(--line);
}

.account-open {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  font-size: 10.5px;
  color: var(--lime);
  font-family: var(--mono);
  letter-spacing: 0.03em;
}

.account-open i {
  font-style: normal;
  transition: transform 0.25s;
}

.account-card:hover .account-open i {
  transform: translate(3px, -3px);
}

/* xhs banner */

.xhs-banner {
  display: grid;
  grid-template-columns: 200px 1fr 160px;
  align-items: stretch;
  margin-top: 24px;
  border: 1px solid rgba(255, 77, 141, 0.26);
  border-radius: 16px;
  background:
    linear-gradient(100deg, rgba(255, 77, 141, 0.09), transparent 40%),
    #100e15;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.xhs-banner:hover {
  border-color: rgba(255, 77, 141, 0.6);
  transform: translateY(-3px);
}

.xhs-banner__shot {
  overflow: hidden;
  background: #1a1018;
}

.xhs-banner__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0.9;
  transition: transform 0.6s;
}

.xhs-banner:hover .xhs-banner__shot img {
  transform: scale(1.04);
}

.xhs-banner__copy {
  padding: 24px 28px;
  align-self: center;
}

.xhs-banner__copy h3 {
  margin-top: 10px;
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  line-height: 1;
}

.xhs-banner__copy > p {
  max-width: 640px;
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--muted);
}

.xhs-banner .account-stats {
  border-top: 0;
  padding-top: 0;
  margin-top: 12px;
  gap: 24px;
}

.xhs-banner .account-stats b {
  color: #ff8fb2;
}

.xhs-banner__side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  padding: 22px;
  border-left: 1px solid rgba(255, 77, 141, 0.2);
  text-align: right;
}

.xhs-banner__side .pixel-label {
  color: #ff8fb2;
  font-size: 7px;
}

.xhs-banner__side strong {
  font-family: var(--display);
  font-size: 64px;
  line-height: 0.8;
  color: #ff8fb2;
  font-weight: 400;
}

.xhs-banner__side > span:last-child {
  font-size: 10px;
  color: var(--muted);
}

.xhs-banner__side i {
  font-style: normal;
  color: #ff8fb2;
}

.account-total {
  display: grid;
  grid-template-columns: 0.8fr 0.8fr 1fr 1.5fr;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.account-total > div:not(.account-total__note) {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  column-gap: 8px;
}

.account-total .pixel-label {
  grid-column: 1 / -1;
  font-size: 6px;
  color: var(--dim);
  margin-bottom: 5px;
}

.account-total strong {
  font-family: var(--display);
  font-size: 38px;
  line-height: 0.9;
  font-weight: 400;
  color: var(--text);
}

.account-total p {
  font-size: 10px;
  color: var(--dim);
}

.account-total__note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border-left: 1px solid var(--line);
  padding-left: 22px;
}

.account-total__note .live-dot {
  margin-top: 7px;
  flex: none;
}

.account-total__note p {
  font-size: 10.5px;
  line-height: 1.8;
  color: var(--dim);
}

/* --------------------------------------------------------------------------
   Method / pipeline
   -------------------------------------------------------------------------- */

.pipeline {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, #10141d, #0b0e15);
  padding: 34px 28px 26px;
  overflow: hidden;
}

.pipeline__line {
  position: absolute;
  top: 84px;
  left: 7%;
  right: 7%;
  height: 1px;
  background: var(--line);
}

.pipeline__line i {
  display: block;
  width: var(--line-w, 16%);
  height: 100%;
  background: linear-gradient(90deg, var(--lime), rgba(216, 255, 62, 0.2));
  transition: width 0.5s var(--ease);
}

.pipeline__steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  position: relative;
}

.step {
  position: relative;
  padding: 0 10px 6px;
  cursor: pointer;
  outline-offset: 6px;
}

.step__no {
  display: block;
  font-family: var(--pixel);
  font-size: 7px;
  color: var(--dim);
  margin-bottom: 10px;
  transition: color 0.25s;
}

.step__dot {
  width: 13px;
  height: 13px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: #0b0e15;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
  transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.step h3 {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  transition: color 0.25s;
}

.step p {
  margin-top: 8px;
  font-size: 11.5px;
  line-height: 1.75;
  color: var(--dim);
}

.step__tool {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 8.5px;
  color: var(--dim);
  border: 1px solid var(--line);
  padding: 3px 6px;
}

.step:hover .step__dot,
.step.is-active .step__dot {
  background: var(--lime);
  border-color: var(--lime);
  box-shadow: 0 0 0 5px rgba(216, 255, 62, 0.12);
}

.step.is-active .step__no,
.step.is-active h3 {
  color: var(--lime);
}

.pipeline__readout {
  display: grid;
  grid-template-columns: 120px 210px 1fr;
  gap: 18px;
  align-items: baseline;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.pipeline__readout .pixel-label {
  font-size: 6px;
  color: var(--lime);
}

.pipeline__readout strong {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
}

.pipeline__readout p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.method-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.method-card {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.018);
  overflow: hidden;
}

.method-card__no {
  position: absolute;
  right: 14px;
  top: 4px;
  font-family: var(--display);
  font-size: 76px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.09);
}

.method-card h3 {
  position: relative;
  font-size: 18px;
  font-weight: 600;
}

.method-card p {
  position: relative;
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.8;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Travel
   -------------------------------------------------------------------------- */

.travel-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
}

.travel-stats > div {
  padding: 24px 26px;
  border-left: 1px solid var(--line);
}

.travel-stats > div:first-child {
  border-left: 0;
  padding-left: 0;
}

.travel-stats strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(34px, 3.4vw, 46px);
  line-height: 1;
  font-weight: 400;
  color: var(--orange);
}

.travel-stats span {
  display: block;
  margin-top: 5px;
  font-size: 10.5px;
  color: var(--dim);
}

.travel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.travel-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0f1014;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}

.travel-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 176, 32, 0.5);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.4);
}

.travel-card__img {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #17130d;
}

.travel-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.4s;
}

.travel-card:hover .travel-card__img img {
  transform: scale(1.045);
  filter: saturate(1.06);
}

.travel-card__open {
  position: absolute;
  top: 11px;
  right: 11px;
  font-family: var(--pixel);
  font-size: 6px;
  letter-spacing: 0.04em;
  background: rgba(8, 9, 13, 0.82);
  border: 1px solid rgba(255, 176, 32, 0.5);
  color: var(--orange);
  padding: 7px 8px;
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 0.25s, transform 0.25s;
  backdrop-filter: blur(6px);
}

.travel-card:hover .travel-card__open {
  opacity: 1;
  transform: translateY(0);
}

.travel-card__idx {
  display: none;
}

.travel-card__meta {
  padding: 16px 17px 18px;
}

.travel-card__meta > span {
  font-family: var(--pixel);
  font-size: 6px;
  color: var(--orange);
  letter-spacing: 0.05em;
}

.travel-card__meta h3 {
  margin-top: 7px;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.1;
}

.travel-card__meta p {
  margin-top: 7px;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--dim);
}

.travel-more {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  color: var(--dim);
}

.travel-more .pixel-label {
  color: var(--orange);
  font-size: 6px;
  margin-right: 6px;
}

.travel-more a {
  margin-left: 10px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}

.travel-more a:hover {
  color: var(--orange);
  border-color: var(--orange);
}

.travel-quote {
  max-width: 930px;
  margin: 54px 0 0 auto;
  padding: 26px 0 26px 28px;
  border-left: 2px solid var(--orange);
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.45;
  color: var(--text);
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   AI
   -------------------------------------------------------------------------- */

.ai-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.75fr);
  gap: 22px;
  align-items: start;
}

.ai-workbench {
  border: 1px solid rgba(92, 225, 230, 0.22);
  border-radius: 16px;
  background: #0a1114;
  overflow: hidden;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
}

.ai-workbench__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 9px;
  color: var(--dim);
  letter-spacing: 0.04em;
}

.ai-workbench__dots {
  display: flex;
  gap: 4px;
}

.ai-workbench__dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line-2);
}

.ai-workbench__dots i:first-child { background: #ff5f57; }
.ai-workbench__dots i:nth-child(2) { background: #febc2e; }
.ai-workbench__dots i:nth-child(3) { background: #28c840; }

.ai-workbench__bar > span:nth-child(2) {
  color: var(--muted);
}

.ai-workbench__live {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--cyan);
}

.ai-workbench__live i {
  width: 5px;
  height: 5px;
  background: var(--cyan);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.wb-tabs {
  display: flex;
  gap: 0;
  padding: 10px 12px 0;
  border-bottom: 1px solid var(--line);
}

.wb-tabs button {
  position: relative;
  padding: 8px 14px 11px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--dim);
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.wb-tabs button span {
  font-family: var(--pixel);
  font-size: 6px;
  margin-right: 5px;
  color: var(--dim);
}

.wb-tabs button:hover {
  color: var(--text);
}

.wb-tabs button[aria-selected="true"] {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.wb-tabs button[aria-selected="true"] span {
  color: var(--cyan);
}

.wb-stage {
  position: relative;
  background: #e9ecef;
  overflow: hidden;
  min-height: 260px;
}

.wb-stage img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.25s ease;
}

.wb-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
  pointer-events: none;
}

.wb-hotspot {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
}

.wb-hotspot i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--cyan);
  color: #061012;
  font-family: var(--pixel);
  font-size: 8px;
  font-style: normal;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 5px rgba(92, 225, 230, 0.2);
  animation: hotspotPulse 2.4s infinite;
}

.wb-hotspot span {
  font-family: var(--mono);
  font-size: 8px;
  background: rgba(6, 12, 14, 0.88);
  color: var(--cyan);
  padding: 4px 7px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
}

.wb-hotspot:hover span {
  opacity: 1;
  transform: translateX(0);
}

.wb-hotspot--1 { left: 18%; top: 38%; }
.wb-hotspot--2 { left: 41%; top: 67%; }
.wb-hotspot--3 { left: 68%; top: 79%; }

.wb-stage[data-wb="word"] .wb-hotspot,
.wb-stage[data-wb="intel"] .wb-hotspot {
  display: none;
}

.wb-caption {
  padding: 16px 18px 18px;
  border-top: 1px solid var(--line);
  background: #0a1114;
}

.wb-caption .pixel-label {
  color: var(--cyan);
  font-size: 6px;
}

.wb-caption p {
  margin-top: 6px;
  font-size: 11.5px;
  line-height: 1.75;
  color: var(--muted);
}

.ai-modules {
  display: grid;
  gap: 10px;
}

.ai-module {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.25s, background 0.25s;
}

.ai-module:hover {
  border-color: rgba(92, 225, 230, 0.35);
  background: rgba(92, 225, 230, 0.025);
}

.ai-module__no {
  font-family: var(--pixel);
  font-size: 8px;
  color: var(--cyan);
  padding-top: 2px;
}

.ai-module h3 {
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.4;
  padding-right: 62px;
}

.ai-module p {
  margin-top: 5px;
  font-size: 11.5px;
  line-height: 1.75;
  color: var(--muted);
}

.ai-module__tag {
  position: absolute;
  right: 12px;
  top: 12px;
  font-family: var(--pixel);
  font-size: 5.5px;
  color: rgba(92, 225, 230, 0.45);
  letter-spacing: 0.06em;
}

.ai-gallery {
  margin-top: 56px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.ai-gallery__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 22px;
}

.ai-gallery__head .pixel-label {
  color: var(--cyan);
  font-size: 6px;
}

.ai-gallery__head h3 {
  margin-top: 9px;
  font-family: var(--display);
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 400;
  line-height: 1;
}

.ai-gallery__head > p {
  max-width: 380px;
  font-size: 11.5px;
  line-height: 1.8;
  color: var(--dim);
  text-align: right;
}

.ai-gallery__grid {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr 1.1fr;
  gap: 14px;
  align-items: stretch;
}

.ai-shot {
  position: relative;
  display: block;
  min-height: 250px;
  border: 1px solid var(--line);
  overflow: hidden;
  padding: 0;
  background: #111;
}

.ai-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.ai-shot:hover img {
  transform: scale(1.035);
}

.ai-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 8, 10, 0.72), transparent 45%);
  pointer-events: none;
}

.ai-shot span {
  position: absolute;
  left: 12px;
  bottom: 10px;
  z-index: 2;
  font-family: var(--pixel);
  font-size: 6px;
  color: var(--cyan);
  letter-spacing: 0.05em;
}

.ai-shot--wide { grid-row: span 1; }
.ai-shot--tall { min-height: 250px; }
.ai-shot--square { min-height: 250px; }

.ai-demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #0a0d12;
}

.ai-demo__terminal {
  padding: 18px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 300px;
}

.ai-demo__bar {
  display: flex;
  justify-content: space-between;
  font-family: var(--pixel);
  font-size: 6px;
  color: var(--dim);
  letter-spacing: 0.05em;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.terminal-lines {
  flex: 1;
  padding: 16px 0;
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.9;
  color: var(--muted);
  overflow: hidden;
}

.terminal-lines p {
  white-space: pre-wrap;
}

.terminal-lines span {
  color: var(--lime);
}

.terminal-lines .ok {
  color: var(--cyan);
}

.terminal-lines .warn {
  color: var(--orange);
}

.ai-demo__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ai-demo__hint {
  font-size: 9px;
  color: var(--dim);
}

.ai-demo__output {
  position: relative;
  min-height: 300px;
  display: grid;
  place-items: center;
  padding: 16px;
  background:
    linear-gradient(45deg, rgba(92, 225, 230, 0.035) 25%, transparent 25%, transparent 75%, rgba(92, 225, 230, 0.035) 75%),
    linear-gradient(45deg, rgba(92, 225, 230, 0.035) 25%, transparent 25%, transparent 75%, rgba(92, 225, 230, 0.035) 75%);
  background-size: 24px 24px;
  background-position: 0 0, 12px 12px;
  overflow: hidden;
}

.demo-placeholder {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--dim);
  transition: opacity 0.4s, transform 0.4s;
}

.demo-placeholder .pixel-label {
  color: var(--cyan);
  font-size: 6px;
}

.demo-placeholder p {
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
}

.ai-demo__output img {
  position: absolute;
  inset: 16px;
  width: calc(100% - 32px);
  height: calc(100% - 32px);
  object-fit: cover;
  opacity: 0.055;
  filter: grayscale(0.7) brightness(0.55);
  transform: scale(1.03);
  transition: opacity 0.5s, transform 0.6s var(--ease), filter 0.5s;
  border: 1px solid rgba(92, 225, 230, 0.4);
  z-index: 1;
}

.ai-demo__output.is-done img {
  opacity: 1;
  filter: none;
  transform: scale(1);
}

.ai-demo__output.is-done .demo-placeholder {
  opacity: 0;
  transform: scale(0.98);
}

.demo-badge {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  font-family: var(--pixel);
  font-size: 6px;
  color: #061012;
  background: var(--cyan);
  padding: 6px 7px;
  opacity: 0;
  transition: opacity 0.4s 0.25s;
}

.ai-demo__output.is-done .demo-badge {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Experience
   -------------------------------------------------------------------------- */

.exp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 44px;
  align-items: start;
}

.quests {
  border-top: 1px solid var(--line);
}

.quest {
  border-bottom: 1px solid var(--line);
}

.quest__head {
  width: 100%;
  display: grid;
  grid-template-columns: 86px 1fr 28px;
  gap: 16px;
  align-items: start;
  text-align: left;
  padding: 24px 6px;
  transition: background 0.2s;
}

.quest__head:hover {
  background: rgba(255, 255, 255, 0.018);
}

.quest__status {
  font-family: var(--pixel);
  font-size: 6px;
  color: var(--lime);
  letter-spacing: 0.05em;
  padding-top: 5px;
}

.quest__title > span {
  font-family: var(--mono);
  font-size: 9.5px;
  color: var(--dim);
  letter-spacing: 0.02em;
}

.quest__title h3 {
  margin-top: 4px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.35;
}

.quest__title p {
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
}

.quest__plus {
  width: 18px;
  height: 18px;
  position: relative;
  margin-top: 14px;
  justify-self: end;
}

.quest__plus::before,
.quest__plus::after {
  content: "";
  position: absolute;
  background: var(--muted);
  transition: transform 0.3s, background 0.3s;
}

.quest__plus::before {
  left: 0;
  right: 0;
  top: 8px;
  height: 1px;
}

.quest__plus::after {
  top: 0;
  bottom: 0;
  left: 8px;
  width: 1px;
}

.quest.is-open .quest__plus::after {
  transform: scaleY(0);
}

.quest.is-open .quest__plus::before {
  background: var(--lime);
}

.quest__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}

.quest.is-open .quest__body {
  grid-template-rows: 1fr;
}

.quest__inner {
  overflow: hidden;
  padding: 0 8px 26px 108px;
}

.quest__summary {
  font-size: 13px;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 12px;
}

.quest__inner li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 8px;
  font-size: 12px;
  line-height: 1.85;
  color: var(--muted);
}

.quest__inner li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--lime);
  font-size: 6px;
}

.quest__inner li b {
  color: var(--text);
  font-weight: 500;
}

.quest__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.quest__chips span {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 3px 7px;
}

.loadout {
  position: sticky;
  top: calc(var(--header) + 20px);
  display: grid;
  gap: 12px;
}

.loadout__card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  padding: 20px;
}

.loadout__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.loadout__head .pixel-label {
  color: var(--lime);
  font-size: 6px;
}

.loadout__head > span:last-child {
  font-size: 9px;
  color: var(--dim);
}

.skill {
  margin-bottom: 11px;
}

.skill > div {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 5px;
}

.skill b {
  font-weight: 400;
  color: var(--text);
}

.skill > i {
  display: block;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.skill > i::after {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--v);
  background: linear-gradient(90deg, var(--lime), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s var(--ease);
}

.loadout__card.in .skill > i::after {
  transform: scaleX(1);
}

.inventory {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.inventory span {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 3px 6px;
}

.loadout__card--edu h3 {
  font-family: var(--display);
  font-size: 27px;
  font-weight: 400;
  line-height: 1.1;
}

.loadout__card--edu > p {
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
}

.awards {
  display: grid;
  gap: 5px;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.awards span {
  position: relative;
  padding-left: 12px;
  font-size: 10px;
  line-height: 1.6;
  color: var(--dim);
}

.awards span::before {
  content: "★";
  position: absolute;
  left: 0;
  color: var(--lime);
  font-size: 7px;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-bg {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  overflow: hidden;
  font-family: var(--display);
  font-size: clamp(160px, 24vw, 360px);
  line-height: 0.76;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.045);
  user-select: none;
}

.contact-bg span:first-child {
  transform: translateX(-8%);
}

.contact-bg span:last-child {
  transform: translateX(10%);
  -webkit-text-stroke-color: rgba(216, 255, 62, 0.075);
}

.contact-wrap {
  position: relative;
  z-index: 1;
}

.section--contact .pixel-label {
  color: var(--lime);
}

.contact-title {
  margin-top: 18px;
  font-family: var(--display);
  font-size: clamp(60px, 8.8vw, 126px);
  line-height: 1.42;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.contact-lead {
  max-width: 660px;
  margin-top: 26px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--muted);
}

.contact-actions {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 16px;
  margin-top: 38px;
  max-width: 980px;
}

.contact-mail {
  position: relative;
  text-align: left;
  padding: 24px 26px;
  border: 1px solid rgba(216, 255, 62, 0.4);
  background: rgba(216, 255, 62, 0.045);
  border-radius: 10px;
  transition: background 0.25s, border-color 0.25s;
}

.contact-mail:hover {
  background: rgba(216, 255, 62, 0.085);
  border-color: var(--lime);
}

.contact-mail .pixel-label {
  color: var(--lime);
  font-size: 6px;
}

.contact-mail strong {
  display: block;
  margin-top: 10px;
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.1;
  word-break: break-all;
}

.contact-mail i {
  position: absolute;
  right: 22px;
  top: 22px;
  font-style: normal;
  color: var(--lime);
  font-size: 18px;
}

.contact-side {
  display: grid;
  gap: 10px;
}

.contact-side a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.25s, background 0.25s;
}

.contact-side a:hover {
  border-color: rgba(216, 255, 62, 0.45);
  background: rgba(255, 255, 255, 0.03);
}

.contact-side span {
  font-family: var(--pixel);
  font-size: 6px;
  color: var(--dim);
}

.contact-side strong {
  margin-top: 3px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.1;
}

.contact-side i {
  font-style: normal;
  color: var(--lime);
}

.contact-meta {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 24px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.contact-meta span {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--dim);
  letter-spacing: 0.08em;
}

.contact-meta p {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

.cheat-note {
  display: none;
  max-width: 760px;
  margin-top: 30px;
  padding: 18px 20px;
  border: 1px dashed rgba(216, 255, 62, 0.55);
  background: rgba(216, 255, 62, 0.055);
  animation: panelIn 0.4s var(--ease) both;
}

body.cheat-mode .cheat-note {
  display: block;
}

.cheat-note .pixel-label {
  color: var(--lime);
  font-size: 6px;
}

.cheat-note p {
  margin-top: 7px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--text);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: #06070a;
  padding: 40px 0 18px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand .brand__mark {
  width: 30px;
  height: 30px;
  font-size: 11px;
}

.footer-brand strong {
  display: block;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
}

.footer-brand p {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--dim);
  margin-top: 2px;
}

.footer-note {
  font-size: 10px;
  line-height: 1.8;
  color: var(--dim);
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 18px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--lime);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.footer-bottom .pixel-label {
  font-size: 6px;
  color: var(--dim);
}

.footer-bottom > span:last-child {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--dim);
}

/* --------------------------------------------------------------------------
   Modal / lightbox / toast
   -------------------------------------------------------------------------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 4, 7, 0.8);
  backdrop-filter: blur(10px);
}

.modal__panel {
  position: relative;
  width: min(980px, 92vw);
  max-height: 90vh;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  background: #0c0f16;
  border: 1px solid var(--line-2);
  border-radius: 18px;
  overflow: hidden;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.35s var(--ease);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
}

.modal.is-open .modal__panel {
  transform: translateY(0) scale(1);
}

.modal__close,
.lightbox__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  background: rgba(7, 8, 13, 0.8);
  color: var(--text);
  font-size: 20px;
  line-height: 1;
  transition: background 0.2s, color 0.2s;
}

.modal__close:hover,
.lightbox__close:hover {
  background: var(--lime);
  color: #07080d;
}

.modal__shot {
  background: #05070a;
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
}

.modal__phone {
  width: min(300px, 100%);
  height: min(66vh, 640px);
  border: 6px solid #242a35;
  border-radius: 28px;
  overflow-y: auto;
  background: #fff;
  scrollbar-width: thin;
  scrollbar-color: #454b5a transparent;
}

.modal__phone img {
  width: 100%;
  height: auto;
}

.modal__scrollhint {
  font-family: var(--pixel);
  font-size: 6px;
  color: var(--dim);
}

.modal__info {
  padding: 52px 34px 34px;
  overflow-y: auto;
}

.modal__info h2 {
  margin-top: 12px;
  font-family: var(--display);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 400;
  line-height: 1;
}

.modal__tier {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--lime);
  letter-spacing: 0.04em;
}

.modal__quote {
  margin-top: 14px;
  padding-left: 12px;
  border-left: 2px solid var(--line-2);
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.account-stats--modal {
  gap: 28px;
  margin-top: 20px;
  padding-top: 16px;
}

.account-stats--modal b {
  font-size: 32px;
}

.modal__insight {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}

.modal__insight::before {
  content: "OPERATION NOTE / ";
  font-family: var(--pixel);
  font-size: 6px;
  color: var(--lime);
  letter-spacing: 0.04em;
}

.modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 160;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 4, 7, 0.9);
  backdrop-filter: blur(10px);
}

.lightbox__figure {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  z-index: 1;
}

.lightbox__figure img {
  max-width: 90vw;
  max-height: 82vh;
  object-fit: contain;
  border: 1px solid var(--line-2);
}

.lightbox__figure figcaption {
  margin-top: 10px;
  font-family: var(--pixel);
  font-size: 7px;
  color: var(--cyan);
  text-align: center;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 200;
  transform: translate(-50%, 18px);
  padding: 11px 16px;
  background: var(--lime);
  color: #07080d;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.toast.is-show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.confetti-layer {
  position: fixed;
  inset: 0;
  z-index: 190;
  pointer-events: none;
  overflow: hidden;
}

.confetti {
  position: absolute;
  top: -12px;
  width: 8px;
  height: 8px;
  animation: confettiFall var(--dur, 2.4s) linear forwards;
  animation-delay: var(--delay, 0s);
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* QA / screenshot mode: no entry transitions, no loader */
html.static-mode .loader {
  display: none !important;
}

html.static-mode .js .reveal,
html.static-mode .reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

html.static-mode .attr i::after,
html.static-mode .skill > i::after {
  transform: scaleX(1) !important;
  transition: none !important;
}

html.static-mode .cursor-glow,
html.static-mode .cursor-ring {
  display: none !important;
}

/* Single-section QA view: hide everything except the requested section */
html.only-mode .hero,
html.only-mode .stat-strip,
html.only-mode .site-footer,
html.only-mode .section:not(.is-qa-target) {
  display: none !important;
}

html.only-mode .section.is-qa-target {
  border-top: 0;
  padding-top: calc(var(--header) + 42px);
}

.js .reveal[data-delay="1"] { transition-delay: 0.08s; }
.js .reveal[data-delay="2"] { transition-delay: 0.16s; }
.js .reveal[data-delay="3"] { transition-delay: 0.24s; }
.js .reveal[data-delay="4"] { transition-delay: 0.32s; }
.js .reveal[data-delay="5"] { transition-delay: 0.4s; }
.js .reveal[data-delay="6"] { transition-delay: 0.48s; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(216, 255, 62, 0.55); }
  70% { box-shadow: 0 0 0 7px rgba(216, 255, 62, 0); }
  100% { box-shadow: 0 0 0 0 rgba(216, 255, 62, 0); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.18; transform: scale(0.8); }
  50% { opacity: 0.9; transform: scale(1.4); }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-9px) rotate(0.6deg); }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@keyframes scrollLine {
  0% { transform: translateX(-100%); }
  50%, 100% { transform: translateX(100%); }
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@keyframes hotspotPulse {
  0%, 100% { box-shadow: 0 0 0 5px rgba(92, 225, 230, 0.18); }
  50% { box-shadow: 0 0 0 10px rgba(92, 225, 230, 0.04); }
}

@keyframes confettiFall {
  0% { transform: translate3d(0, -10px, 0) rotate(0deg); opacity: 1; }
  100% { transform: translate3d(var(--drift, 40px), 105vh, 0) rotate(var(--rot, 540deg)); opacity: 0.9; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .nav { gap: 16px; }
  .nav a { font-size: 11.5px; }
  .nav a i { display: none; }
  .hero__wrap { grid-template-columns: minmax(0, 1fr) minmax(330px, 0.8fr); gap: 30px; }
  .hero__title { font-size: clamp(56px, 8.2vw, 110px); }
  .float-chip--b { left: -30px; }
  .account-grid { gap: 16px; }
  .account-card__shot { height: 300px; }
}

@media (max-width: 1024px) {
  .nav { display: none; }
  .nav-actions { margin-left: auto; }
  .menu-toggle { display: block; }
  .sfx-toggle { display: none; }
  .hero__wrap { grid-template-columns: 1fr; gap: 48px; padding-top: 20px; }
  .hero { min-height: auto; padding-bottom: 0; }
  .hero__copy { max-width: 760px; }
  .hero__card-wrap { justify-self: center; max-width: 390px; margin-bottom: 20px; }
  .hero__ghost { top: 22%; opacity: 0.7; }
  .hero__foot { margin-top: 32px; }
  .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .account-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-card__shot { height: 340px; }
  .ai-grid { grid-template-columns: 1fr; }
  .ai-modules { grid-template-columns: 1fr 1fr; }
  .exp-grid { grid-template-columns: 1fr; gap: 32px; }
  .loadout { position: static; grid-template-columns: 1fr 1fr; }
  .loadout__card--edu { grid-column: 1 / -1; }
  .contact-actions { grid-template-columns: 1fr; }
  .contact-side { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .wrap { width: min(var(--wrap), calc(100% - 48px)); }
  .section { padding: 88px 0; }
  .hero { padding-top: calc(var(--header) + 34px); }
  .hero__title { font-size: clamp(42px, 10.8vw, 92px); }
  .hero__lead { font-size: 15px; }
  .status-code { display: none; }
  .hero__coords { display: none; }
  .hero__foot { gap: 18px; }
  .hero__marquee { flex: 1; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat { padding: 26px 20px; }
  .stat:first-child { padding-left: 0; }
  .stat:nth-child(3) { padding-left: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
  .sec-head { grid-template-columns: 1fr; grid-template-areas: "label" "main" "aside"; gap: 18px; }
  .sec-head__aside { display: none; }
  .radar__body { grid-template-columns: 1fr; }
  .radar__tabs { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 0; scrollbar-width: none; }
  .radar__tabs::-webkit-scrollbar { display: none; }
  .radar__tabs button { flex: none; border-left: 0; border-bottom: 2px solid transparent; padding: 13px 16px; }
  .radar__tabs button[aria-selected="true"] { border-bottom-color: var(--lime); border-left-color: transparent; }
  .radar__panels { padding: 24px; min-height: 380px; }
  .account-toolbar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .filters { overflow-x: auto; flex-wrap: nowrap; width: 100%; padding-bottom: 4px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { flex: none; }
  .toolbar-note { white-space: normal; }
  .xhs-banner { grid-template-columns: 110px 1fr; }
  .xhs-banner__side { display: none; }
  .account-total { grid-template-columns: 1fr 1fr; }
  .account-total__note { grid-column: 1 / -1; border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 16px; }
  .pipeline { padding: 24px 20px; }
  .pipeline__line { display: none; }
  .pipeline__steps { grid-template-columns: 1fr 1fr; gap: 0; }
  .step { padding: 16px 12px; border: 1px solid var(--line); margin: -1px 0 0 -1px; }
  .step__dot { margin-bottom: 12px; }
  .pipeline__readout { grid-template-columns: 1fr; gap: 6px; }
  .method-cards { grid-template-columns: 1fr; }
  .travel-grid { grid-template-columns: 1fr 1fr; }
  .travel-stats { grid-template-columns: 1fr 1fr; }
  .travel-stats > div:nth-child(3) { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .travel-stats > div:nth-child(4) { border-top: 1px solid var(--line); }
  .ai-modules { grid-template-columns: 1fr; }
  .ai-gallery__head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .ai-gallery__head > p { text-align: left; }
  .ai-gallery__grid { grid-template-columns: 1fr 1fr; }
  .ai-shot--wide { grid-column: 1 / -1; }
  .ai-demo { grid-template-columns: 1fr; }
  .ai-demo__terminal { border-right: 0; border-bottom: 1px solid var(--line); }
  .ai-shot--wide { min-height: 300px; }
  .contact-meta { grid-template-columns: 1fr 1fr; }
  .contact-meta > div:last-child { grid-column: 1 / -1; }
  .footer-grid { flex-direction: column; gap: 20px; }
  .footer-note { text-align: left; }
}

@media (max-width: 640px) {
  :root { --header: 64px; }
  .br-mobile { display: block; }
  .wrap { width: calc(100% - 32px); }
  .nav-shell { width: calc(100% - 28px); }
  .brand__mark { width: 30px; height: 30px; font-size: 12px; }
  .brand__text { font-size: 8px; }
  .nav-actions .btn--small { display: none; }
  .hero__title { font-size: clamp(40px, 12.5vw, 64px); }
  .hero__kicker { margin-top: 18px; font-size: 7px; }
  .hero__lead { margin-top: 18px; line-height: 1.85; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .hero__tags span { font-size: 9.5px; }
  .hero__card-wrap { max-width: 340px; }
  .player-card__inner { padding: 13px; }
  .player-portrait { height: 250px; }
  .player-card__id h2 { font-size: 34px; }
  .float-chip--a { top: -16px; right: 0; }
  .float-chip--b { left: -6px; top: auto; bottom: 82px; }
  .float-chip--c { right: 0; bottom: -24px; }
  .float-chip b { font-size: 18px; }
  .float-chip { padding: 7px 9px; font-size: 8px; }
  .hero__foot { flex-wrap: wrap; }
  .hero__coords { display: none; }
  .hero__marquee { flex-basis: 100%; order: 3; }
  .hero__scroll { display: none; }
  .stat { padding: 22px 16px; }
  .stat strong { font-size: 42px; }
  .sec-head__main h2 { font-size: clamp(38px, 11.5vw, 58px); }
  .sec-head__main > p { font-size: 13.5px; }
  .sec-head { margin-bottom: 34px; }
  .about-story__lead { font-size: 16px !important; }
  .about-story p { font-size: 13.5px; }
  .radar__head { flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px; }
  .radar__hint { text-align: left; }
  .radar__panels { padding: 20px; min-height: 440px; }
  .genre-cols { grid-template-columns: 1fr; gap: 16px; }
  .account-grid { grid-template-columns: 1fr; }
  .account-card__shot { height: 310px; }
  .account-card__shot img { margin-top: -18px; }
  .xhs-banner { grid-template-columns: 1fr; }
  .xhs-banner__shot { height: 170px; }
  .xhs-banner__shot img { object-position: top; }
  .xhs-banner__copy { padding: 18px 20px 22px; }
  .account-total { grid-template-columns: 1fr 1fr; gap: 18px; }
  .account-total strong { font-size: 32px; }
  .pipeline__steps { grid-template-columns: 1fr; }
  .step { margin: 0; border: 0; border-bottom: 1px solid var(--line); padding: 16px 4px; }
  .step:last-child { border-bottom: 0; }
  .step__dot { position: absolute; right: 8px; top: 22px; }
  .travel-grid { grid-template-columns: 1fr; }
  .travel-stats { grid-template-columns: 1fr 1fr; }
  .travel-stats > div { padding: 18px 14px; }
  .travel-quote { padding-left: 18px; font-size: 23px; }
  .travel-more { align-items: flex-start; flex-direction: column; }
  .travel-more a { margin-left: 0; }
  .ai-modules { grid-template-columns: 1fr; }
  .ai-gallery__grid { grid-template-columns: 1fr; }
  .ai-shot--wide { grid-column: auto; }
  .ai-shot { min-height: 220px; }
  .ai-workbench__bar > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .wb-stage { min-height: 0; }
  .wb-hotspot span { display: none; }
  .ai-demo__output { min-height: 240px; }
  .quest__head { grid-template-columns: 1fr 24px; gap: 10px; padding: 20px 2px; }
  .quest__status { grid-column: 1 / -1; padding-top: 0; }
  .quest__title h3 { font-size: 17px; }
  .quest__inner { padding: 0 4px 22px; }
  .loadout { grid-template-columns: 1fr; }
  .contact-title { font-size: clamp(42px, 12.5vw, 68px); line-height: 1.3; }
  .contact-lead { font-size: 14px; }
  .contact-side { grid-template-columns: 1fr; }
  .contact-actions { margin-top: 28px; }
  .contact-mail { padding: 20px; }
  .contact-mail i { top: 18px; right: 16px; }
  .contact-meta { grid-template-columns: 1fr; gap: 16px; }
  .contact-meta > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .modal__panel { grid-template-columns: 1fr; max-height: 92vh; overflow-y: auto; }
  .modal__shot { padding: 16px; }
  .modal__phone { width: 200px; height: 36vh; border-width: 4px; border-radius: 20px; }
  .modal__info { padding: 22px; }
  .modal__scrollhint { display: none; }
  .modal__info h2 { font-size: 32px; }
  .account-stats--modal b { font-size: 24px; }
  .account-stats--modal { gap: 18px; }
  .lightbox__figure img { max-height: 76vh; }
}

@media (max-width: 1180px) and (hover: hover) and (pointer: fine) {
  .account-card:hover .account-card__shot img { transform: translateY(calc(-100% + 326px)); }
}

@media (max-width: 1024px) and (hover: hover) and (pointer: fine) {
  .account-card:hover .account-card__shot img { transform: translateY(calc(-100% + 366px)); }
}

@media (max-width: 640px) and (hover: hover) and (pointer: fine) {
  .account-card:hover .account-card__shot img { transform: translateY(calc(-100% + 328px)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

@media (hover: none) {
  .cursor-glow, .cursor-ring { display: none; }
  .shot-hint { display: none; }
}


