/* =========================================================
   鱼老师软件站 · 小游戏与软件工具
   Static portal, no external fonts or frameworks.
   ========================================================= */

:root {
  --night: #1a1815;
  --night-2: #24201a;
  --night-3: #302a21;
  --paper: #f3ebdd;
  --paper-2: #eadfcd;
  --card: #fbf6ec;
  --ink: #242019;
  --ink-soft: #3d372e;
  --muted: #6b6357;
  --brass: #c69c5b;
  --brass-deep: #84602f;
  --brass-light: #e5c894;
  --stone: #8b8274;
  --line: rgba(36, 32, 25, 0.12);
  --line-strong: rgba(36, 32, 25, 0.18);
  --sans: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
  --serif: "Songti SC", "STSong", "Source Han Serif SC", "Noto Serif SC", "SimSun", serif;
  --container: 1180px;
  --radius: 18px;
  --shadow-soft: 0 12px 30px rgba(36, 32, 25, 0.06);
  --shadow-lift: 0 24px 52px rgba(36, 32, 25, 0.14);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--brass);
  color: var(--night);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 4px;
  border-radius: 4px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.container {
  width: min(var(--container), calc(100% - 64px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--brass-light);
  color: var(--night);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 24, 21, 0.90);
  border-bottom: 1px solid rgba(243, 235, 221, 0.08);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--paper);
  white-space: nowrap;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.28));
}

.brand-name {
  font-size: 16px;
  letter-spacing: 0.02em;
}

.brand-name strong {
  color: var(--brass-light);
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  font-size: 13.5px;
  color: rgba(243, 235, 221, 0.64);
}

.site-nav a {
  position: relative;
  padding: 7px 0;
  transition: color 0.22s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 1px;
  background: var(--brass-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.site-nav a:hover {
  color: #fff;
}

.site-nav a:hover::after {
  transform: scaleX(1);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 17px;
  border-radius: 999px;
  background: var(--brass);
  color: var(--night);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 0.22s ease, transform 0.22s ease;
}

.header-cta:hover {
  background: #e5c894;
  transform: translateY(-1px);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 620px at 88% 6%, rgba(139, 130, 116, 0.18), transparent 62%),
    radial-gradient(720px 560px at 4% 92%, rgba(198, 156, 91, 0.17), transparent 62%),
    linear-gradient(155deg, #151310 0%, #1a1815 48%, #100f0d 100%);
  color: var(--paper);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(243, 235, 221, 0.16) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse at 78% 26%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 78% 26%, #000 0%, transparent 70%);
  opacity: 0.42;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(560px 280px at 12% 100%, rgba(229, 200, 148, 0.1), transparent 68%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 56px;
  min-height: 640px;
  padding: 78px 0 38px;
}

.hero-copy {
  max-width: 570px;
  animation: rise 0.8s 0.04s both;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(243, 235, 221, 0.58);
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--brass);
  box-shadow: 0 0 0 5px rgba(198, 156, 91, 0.14);
}

.eyebrow-dark {
  color: var(--brass-deep);
}

.eyebrow-dark .eyebrow-dot {
  background: var(--brass);
  box-shadow: 0 0 0 5px rgba(198, 156, 91, 0.1);
}

.eyebrow-light {
  color: var(--brass-light);
}

.eyebrow-light .eyebrow-dot {
  background: var(--brass-light);
  box-shadow: 0 0 0 5px rgba(229, 200, 148, 0.12);
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(44px, 5.25vw, 68px);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.16;
}

.hero h1 .accent {
  color: var(--brass-light);
}

.hero-lede {
  max-width: 520px;
  margin: 26px 0 0;
  font-size: 15px;
  line-height: 1.95;
  color: rgba(243, 235, 221, 0.66);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease, color 0.22s ease;
}

.btn-primary {
  background: var(--brass);
  color: var(--night);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  background: #e5c894;
  transform: translateY(-2px);
}

.btn-arrow {
  font-size: 15px;
  transition: transform 0.22s ease;
}

.btn-primary:hover .btn-arrow {
  transform: translateX(3px);
}

.btn-ghost {
  border: 1px solid rgba(243, 235, 221, 0.22);
  color: rgba(243, 235, 221, 0.86);
}

.btn-ghost:hover {
  border-color: rgba(243, 235, 221, 0.48);
  background: rgba(255, 255, 255, 0.045);
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 34px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(243, 235, 221, 0.12);
  list-style: none;
}

.hero-features li {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 8px;
}

.feature-icon {
  color: var(--brass-light);
  font-size: 12px;
  line-height: 1.8;
}

.hero-features strong {
  display: block;
  color: var(--paper);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.hero-features small {
  display: block;
  margin-top: 2px;
  color: rgba(243, 235, 221, 0.46);
  font-size: 10px;
  line-height: 1.5;
}

/* overlapping cover stack */

.hero-stage {
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  animation: rise 1s 0.16s both;
}

.stage-canvas {
  position: relative;
  aspect-ratio: 1.22;
}

.stage-canvas::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 38%;
  height: 1px;
  background: linear-gradient(90deg, rgba(243, 235, 221, 0.24), transparent);
  pointer-events: none;
}

.poster {
  position: absolute;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(243, 235, 221, 0.16);
  border-radius: 18px;
  background: var(--night-2);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
  transition: transform 0.55s var(--ease), box-shadow 0.4s ease;
}

.poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 7, 5, 0.03) 35%, rgba(8, 7, 5, 0.64));
  pointer-events: none;
}

.poster-usagi {
  top: 1%;
  left: 0;
  z-index: 1;
  width: 47%;
  aspect-ratio: 16 / 10;
  transform: rotate(-7deg);
}

.poster-yingning {
  top: 6%;
  right: 0;
  z-index: 2;
  width: 47%;
  aspect-ratio: 16 / 10;
  transform: rotate(6deg);
}

.poster-main {
  top: 24%;
  left: 11%;
  z-index: 3;
  width: 78%;
  aspect-ratio: 16 / 10;
  transform: rotate(-1.2deg);
  border-color: rgba(229, 200, 148, 0.26);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.52);
}

.poster-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 6px 10px;
  border: 1px solid rgba(243, 235, 221, 0.2);
  border-radius: 999px;
  background: rgba(12, 10, 8, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.9);
  font-size: 9.5px;
  letter-spacing: 0.08em;
}

.poster-main .poster-tag {
  top: 14px;
  bottom: auto;
}

.poster-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--brass);
  color: var(--night);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.poster-play {
  position: absolute;
  right: 14px;
  bottom: 13px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(243, 235, 221, 0.94);
  color: var(--night);
  font-size: 10.5px;
  font-weight: 700;
  transition: transform 0.25s ease, background 0.25s ease;
}

.poster-main:hover .poster-play {
  background: var(--paper);
  transform: translateY(-2px);
}

.stage-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(243, 235, 221, 0.1);
}

.stage-note {
  color: rgba(243, 235, 221, 0.44);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.stage-link {
  color: var(--brass-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.stage-link:hover {
  color: var(--paper);
}

.hero-bottom {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 0 28px;
  color: rgba(243, 235, 221, 0.3);
  font-size: 9.5px;
  letter-spacing: 0.2em;
}

.hero-line {
  width: 56px;
  height: 1px;
  background: rgba(243, 235, 221, 0.18);
}

/* ---------- shared sections ---------- */

.section {
  position: relative;
  padding: 98px 0;
  scroll-margin-top: 88px;
}

.section-games {
  overflow: hidden;
  background:
    radial-gradient(700px 420px at 96% 0%, rgba(198, 156, 91, 0.08), transparent 64%),
    var(--paper);
}

.section-games::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(36, 32, 25, 0.15) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 56%);
  mask-image: linear-gradient(to bottom, #000, transparent 56%);
  opacity: 0.22;
  pointer-events: none;
}

.section-games .container,
.section-tools .container,
.section-about .container {
  position: relative;
  z-index: 1;
}

.section-about {
  background:
    radial-gradient(700px 420px at 8% 100%, rgba(229, 200, 148, 0.08), transparent 64%),
    var(--paper);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 38px;
}

.section-head .eyebrow {
  margin-bottom: 13px;
}

.section h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
}

.heading-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.section-pill {
  padding: 5px 10px;
  border: 1px solid rgba(132, 96, 47, 0.24);
  border-radius: 999px;
  background: rgba(198, 156, 91, 0.07);
  color: var(--brass-deep);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.section-note {
  max-width: 320px;
  margin: 0 0 6px;
  padding-left: 20px;
  border-left: 1px solid var(--line-strong);
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.9;
  text-align: right;
}

/* ---------- games ---------- */

.game-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.game-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  scroll-margin-top: 100px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease, border-color 0.35s ease;
}

.game-card:hover {
  border-color: rgba(198, 156, 91, 0.28);
  box-shadow: var(--shadow-lift);
  transform: translateY(-7px);
}

.game-card:focus-visible {
  outline-offset: 4px;
}

.game-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-bottom: 2px solid var(--accent, var(--brass));
  background: #e6ddce;
}

.game-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--ease);
}

.game-card:hover .game-cover img {
  transform: scale(1.045);
}

.game-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 10, 8, 0.05), transparent 42%, rgba(12, 10, 8, 0.5));
  pointer-events: none;
}

.game-tag,
.game-new {
  position: absolute;
  z-index: 1;
  top: 11px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 9.5px;
  letter-spacing: 0.07em;
}

.game-tag {
  left: 11px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(14, 12, 10, 0.5);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
}

.game-new {
  right: 11px;
  background: var(--brass);
  color: var(--night);
  font-weight: 700;
}

.game-play {
  position: absolute;
  right: 12px;
  bottom: 11px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(243, 235, 221, 0.94);
  color: var(--night);
  font-size: 10px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.game-play span {
  font-size: 12px;
}

.game-card:hover .game-play,
.game-card:focus-visible .game-play {
  opacity: 1;
  transform: translateY(0);
}

.game-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px 18px 18px;
}

.game-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.game-title-row h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
}

.game-index {
  flex: 0 0 auto;
  color: var(--accent, var(--brass-deep));
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.game-body p {
  flex: 1;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.game-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(36, 32, 25, 0.08);
  color: var(--muted);
  font-size: 9.5px;
  letter-spacing: 0.05em;
}

.game-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.game-meta span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent, var(--brass));
}

/* upcoming game strip */

.next-game {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
  padding: 18px 22px;
  border: 1px dashed rgba(132, 96, 47, 0.32);
  border-radius: var(--radius);
  background: rgba(198, 156, 91, 0.055);
}

.next-game-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(132, 96, 47, 0.32);
  border-radius: 50%;
  color: var(--brass-deep);
  font-size: 21px;
  font-weight: 300;
  line-height: 1;
}

.next-game-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.next-game-copy strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
}

.next-game-copy span {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.7;
}

.next-game-note {
  margin-left: auto;
  color: var(--brass-deep);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

/* ---------- tools ---------- */

.section-tools {
  overflow: hidden;
  background:
    radial-gradient(700px 420px at 92% 16%, rgba(198, 156, 91, 0.15), transparent 64%),
    radial-gradient(560px 360px at 4% 100%, rgba(139, 130, 116, 0.1), transparent 64%),
    var(--night);
  color: var(--paper);
}

.section-tools::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(243, 235, 221, 0.12) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 70%);
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
  opacity: 0.25;
  pointer-events: none;
}

.tools-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: start;
  gap: 68px;
}

.tools-intro {
  position: relative;
}

.tools-intro .eyebrow {
  margin-bottom: 13px;
}

.tools-intro h2 {
  margin: 0 0 20px;
  color: var(--paper);
}

.tools-intro p {
  max-width: 360px;
  margin: 0;
  color: rgba(243, 235, 221, 0.62);
  font-size: 13px;
  line-height: 1.9;
}

.tool-list {
  border-top: 1px solid rgba(243, 235, 221, 0.16);
}

.tool-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 18px;
  padding: 22px 6px;
  border-bottom: 1px solid rgba(243, 235, 221, 0.14);
  transition: background 0.25s ease, padding 0.25s ease;
}

.tool-row:hover {
  padding-right: 14px;
  padding-left: 14px;
  background: rgba(255, 255, 255, 0.045);
}

.tool-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.tool-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.tool-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.tool-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.tool-top strong {
  color: var(--paper);
  font-size: 14.5px;
  font-weight: 700;
}

.tool-top em {
  padding: 2px 7px;
  border: 1px solid rgba(229, 200, 148, 0.28);
  border-radius: 999px;
  background: rgba(229, 200, 148, 0.08);
  color: var(--brass-light);
  font-size: 9.5px;
  font-style: normal;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.tool-desc {
  color: rgba(243, 235, 221, 0.58);
  font-size: 12px;
  line-height: 1.7;
}

.tool-arrow {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(243, 235, 221, 0.22);
  border-radius: 50%;
  color: var(--brass-light);
  font-size: 13px;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.tool-row:hover .tool-arrow {
  border-color: var(--brass);
  background: var(--brass);
  color: var(--night);
  transform: translate(2px, -2px);
}

/* ---------- about ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: start;
  gap: 80px;
}

.about-copy {
  position: relative;
}

.about-copy::before {
  content: "“";
  position: absolute;
  top: -42px;
  left: -12px;
  z-index: 0;
  color: rgba(198, 156, 91, 0.1);
  font-family: var(--serif);
  font-size: 180px;
  line-height: 1;
  pointer-events: none;
}

.about-copy > * {
  position: relative;
  z-index: 1;
}

.about-copy .eyebrow {
  margin-bottom: 13px;
}

.about-copy h2 {
  margin: 0 0 20px;
}

.about-lede {
  max-width: 440px;
  margin: 0 0 14px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.65;
}

.about-copy > p:not(.eyebrow):not(.about-lede) {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 26px;
}

.text-link {
  color: var(--brass-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(132, 96, 47, 0.28);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.text-link:hover {
  color: #6a4b22;
  border-color: #6a4b22;
}

.text-link-muted {
  color: var(--muted);
  border-color: rgba(95, 106, 123, 0.28);
}

.text-link-muted:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.about-notes {
  border-top: 1px solid var(--line-strong);
}

.about-notes > div {
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-rows: auto auto;
  column-gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-strong);
}

.about-notes span {
  grid-row: 1 / span 2;
  padding-top: 2px;
  color: var(--brass-deep);
  font-family: var(--serif);
  font-size: 13px;
}

.about-notes strong {
  margin-bottom: 4px;
  font-size: 14px;
}

.about-notes p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.7;
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--night);
  color: rgba(243, 235, 221, 0.6);
  padding: 34px 0;
  border-top: 1px solid rgba(243, 235, 221, 0.08);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
  font-size: 13.5px;
}

.footer-brand img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: rgba(243, 235, 221, 0.56);
  font-size: 10.5px;
  letter-spacing: 0.04em;
}

.footer-links a:hover {
  color: var(--brass-light);
}

.footer-note {
  margin: 0;
  font-size: 10.5px;
  line-height: 1.8;
}

.footer-top {
  color: var(--brass-light);
  font-size: 10.5px;
  letter-spacing: 0.08em;
}

.footer-top:hover {
  color: var(--paper);
}

/* ---------- animation ---------- */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- responsive ---------- */

@media (hover: hover) {
  .poster:hover img {
    transform: scale(1.045);
  }

  .poster-usagi:hover {
    z-index: 5;
    transform: rotate(-10deg) translate(-8px, -8px);
  }

  .poster-yingning:hover {
    z-index: 5;
    transform: rotate(9deg) translate(8px, -8px);
  }

  .poster-main:hover {
    z-index: 4;
    transform: rotate(0deg) translateY(-8px);
  }
}

@media (max-width: 1180px) {
  .hero-grid {
    gap: 42px;
  }

  .game-grid {
    gap: 16px;
  }

  .tools-layout {
    gap: 48px;
  }

  .about-grid {
    gap: 56px;
  }
}

@media (max-width: 1024px) {
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-stage {
    max-width: 540px;
  }

  .hero h1 {
    font-size: clamp(42px, 5.4vw, 58px);
  }

  .about-grid {
    gap: 42px;
  }
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
    min-height: 0;
    padding-top: 64px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-stage {
    max-width: 640px;
    margin: 0 auto 0 0;
  }

  .tools-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .tools-intro {
    position: static;
    max-width: 620px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .about-copy::before {
    top: -54px;
  }
}

@media (max-width: 700px) {
  .container {
    width: calc(100% - 40px);
  }

  .header-inner {
    height: 64px;
  }

  .site-nav {
    display: none;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .brand-name {
    font-size: 15px;
  }

  .header-cta {
    padding: 8px 14px;
    font-size: 12px;
  }

  .hero-grid {
    gap: 34px;
    padding: 52px 0 30px;
  }

  .hero h1 {
    font-size: clamp(38px, 10vw, 52px);
  }

  .hero-lede {
    margin-top: 22px;
    font-size: 14px;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 26px;
  }

  .btn {
    min-height: 46px;
    padding: 0 18px;
    font-size: 13px;
  }

  .hero-features {
    gap: 12px;
    margin-top: 28px;
    padding-top: 18px;
  }

  .hero-features strong {
    font-size: 11px;
  }

  .hero-features small {
    font-size: 9.5px;
  }

  .stage-canvas {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    aspect-ratio: auto;
  }

  .stage-canvas::after {
    display: none;
  }

  .poster {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: auto;
    height: auto;
    aspect-ratio: 16 / 9;
    transform: none !important;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
  }

  .poster-main {
    grid-column: 1 / -1;
    order: 1;
    aspect-ratio: 16 / 9;
    border-color: rgba(229, 200, 148, 0.26);
  }

  .poster-usagi {
    order: 2;
    aspect-ratio: 4 / 3;
  }

  .poster-yingning {
    order: 3;
    aspect-ratio: 4 / 3;
  }

  .poster-tag {
    top: auto;
    bottom: 10px;
    left: 10px;
    padding: 5px 8px;
    font-size: 8.5px;
  }

  .poster-main .poster-tag {
    top: 10px;
    bottom: auto;
    left: 10px;
  }

  .poster-badge {
    top: 10px;
    right: 10px;
    left: auto;
    padding: 4px 8px;
    font-size: 8.5px;
  }

  .poster-play {
    right: 10px;
    bottom: 9px;
    padding: 6px 9px;
    font-size: 9px;
  }

  .poster-play span {
    font-size: 11px;
  }

  .stage-foot {
    margin-top: 12px;
    padding-top: 10px;
  }

  .stage-note,
  .stage-link {
    font-size: 9.5px;
  }

  .hero-bottom {
    display: none;
  }

  .section {
    padding: 68px 0;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
  }

  .section-note {
    max-width: none;
    padding-left: 0;
    border-left: 0;
    text-align: left;
  }

  .game-grid {
    grid-template-columns: 1fr;
  }

  .game-play {
    opacity: 1;
    transform: none;
  }

  .next-game {
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 18px;
  }

  .next-game-copy {
    flex: 1 1 calc(100% - 50px);
  }

  .next-game-note {
    display: none;
  }

  .game-title-row h3 {
    font-size: 21px;
  }

  .game-body p {
    font-size: 12.5px;
  }

  .tool-row {
    grid-template-columns: 46px minmax(0, 1fr) 24px;
    gap: 14px;
    padding: 18px 0;
  }

  .tool-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
  }

  .tool-desc {
    font-size: 11.5px;
  }

  .tool-arrow {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }

  .about-lede {
    font-size: 22px;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
}

@media (max-width: 420px) {
  .brand-name {
    font-size: 14px;
  }

  .header-cta {
    display: none;
  }

  .hero-features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
  }

  .hero-features strong {
    font-size: 10.5px;
  }

  .hero-features small {
    font-size: 9px;
  }

  .hero-features li {
    grid-template-columns: 12px minmax(0, 1fr);
    gap: 5px;
  }

  .feature-icon {
    font-size: 10px;
  }

  .stage-note {
    max-width: 190px;
  }

  .game-title-row h3 {
    font-size: 20px;
  }

  .about-notes > div {
    grid-template-columns: 34px 1fr;
  }
}

@media (hover: none) {
  .game-play {
    opacity: 1;
    transform: none;
  }

  .game-card:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
