:root {
  --paper: #f6f2e9;
  --paper-deep: #ebe3d3;
  --surface: #fffdf8;
  --ink: #151311;
  --ink-soft: #433d37;
  --ink-muted: #766d63;
  --line: rgba(21, 19, 17, 0.14);
  --line-strong: rgba(21, 19, 17, 0.85);

  --pow: #ff4d1a;
  --pow-dark: #d9380b;
  --amber: #ffb81c;
  --amber-soft: #ffe49c;
  --mint: #12a89d;

  --candy-bg: #fff2e7;
  --candy-bg-2: #ffe1ea;
  --candy-ink: #472034;
  --candy-muted: #77475e;
  --candy-pink: #ff5c8d;
  --candy-pink-dark: #dd3a6c;
  --candy-teal: #15a89d;

  --raid-bg: #0f0c0a;
  --raid-panel: #1a1511;
  --raid-ink: #f6f1e6;
  --raid-muted: #b5ab9b;
  --raid-gold: #ffc23d;
  --raid-gold-dark: #d89611;
  --raid-ember: #ff6224;

  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --radius-pill: 999px;

  --font-display: "Bricolage Grotesque", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body: "Plus Jakarta Sans", "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --container: 1200px;
  --ease-spring: cubic-bezier(0.22, 1.28, 0.36, 1);
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  -webkit-text-size-adjust: 100%;
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Subtle paper grain overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  opacity: 0.032;
  background-image: radial-gradient(#151311 0.7px, transparent 0.7px);
  background-size: 4px 4px;
}

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

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  left: -999px;
  top: 12px;
  z-index: 200;
  background: var(--ink);
  color: var(--surface);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 700;
}

.skip-link:focus {
  left: 16px;
}

.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(18px, 3.5vw, 36px);
}

/* ===========================
   HEADER / NAVIGATION
   =========================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  padding: 14px 0;
  transition: background 0.25s var(--ease-out), border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(246, 242, 233, 0.88);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-spring);
}

.brand:hover .brand-mark {
  transform: rotate(-6deg) scale(1.06);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.32rem;
  letter-spacing: -0.03em;
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 3px;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 6px;
  background: rgba(255, 253, 248, 0.72);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 4px;
}

.site-nav a {
  text-decoration: none;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background 0.2s, color 0.2s;
}

.site-nav a:hover {
  background: var(--surface);
  color: var(--ink);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sound-toggle {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--line-strong);
  background: var(--surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  transition: transform 0.16s var(--ease-spring), background 0.2s, color 0.2s;
}

.sound-toggle:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.sound-toggle[aria-pressed="true"] {
  background: var(--amber-soft);
  color: var(--ink);
}

.sound-toggle svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  background: var(--ink);
  padding: 3px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--ink);
  gap: 2px;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: rgba(255, 253, 248, 0.72);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.01em;
}

.lang-btn:hover {
  color: var(--surface);
}

.lang-btn[aria-pressed="true"] {
  background: var(--surface);
  color: var(--ink);
}

/* ===========================
   TACTILE BUTTON SYSTEM
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 15px;
  border: 2px solid var(--ink);
  font-weight: 700;
  font-size: 0.96rem;
  line-height: 1.15;
  text-decoration: none;
  position: relative;
  transition: transform 0.12s var(--ease-out), box-shadow 0.12s var(--ease-out), background 0.18s;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.btn-ink {
  background: var(--ink);
  color: var(--surface);
  box-shadow: 0 5px 0 #3a342e;
}

.btn-ink:hover {
  background: #23201c;
  transform: translateY(-1px);
  box-shadow: 0 6px 0 #3a342e;
}

.btn-ink:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 #3a342e;
}

.btn-pow {
  background: var(--pow);
  color: #fffdf8;
  border-color: var(--ink);
  box-shadow: 0 5px 0 var(--ink);
}

.btn-pow:hover {
  background: #ff5d2e;
  transform: translateY(-1px);
  box-shadow: 0 6px 0 var(--ink);
}

.btn-pow:active,
.btn-pow.is-pressed {
  transform: translateY(4px);
  box-shadow: 0 1px 0 var(--ink);
}

.btn-pow .pow-count {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(21, 19, 17, 0.22);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  min-width: 34px;
  text-align: center;
}

.btn-candy {
  background: var(--candy-pink);
  color: #ffffff;
  border-color: var(--candy-ink);
  box-shadow: 0 5px 0 var(--candy-ink);
}

.btn-candy:hover {
  background: var(--candy-pink-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 0 var(--candy-ink);
}

.btn-candy:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 var(--candy-ink);
}

.btn-candy-ghost {
  background: rgba(255, 255, 255, 0.86);
  color: var(--candy-ink);
  border-color: var(--candy-ink);
  box-shadow: 0 5px 0 rgba(71, 32, 52, 0.25);
}

.btn-candy-ghost:hover {
  background: #ffffff;
  transform: translateY(-1px);
}

.btn-candy-ghost:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 rgba(71, 32, 52, 0.25);
}

.btn-raid {
  background: var(--raid-gold);
  color: #161108;
  border-color: #ffe399;
  box-shadow: 0 5px 0 #8a5600;
}

.btn-raid:hover {
  background: #ffcf5f;
  transform: translateY(-1px);
  box-shadow: 0 6px 0 #8a5600;
}

.btn-raid:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 #8a5600;
}

.btn-raid-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--raid-ink);
  border-color: rgba(255, 194, 61, 0.36);
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.55);
}

.btn-raid-ghost:hover {
  background: rgba(255, 194, 61, 0.14);
  border-color: var(--raid-gold);
  transform: translateY(-1px);
}

.btn-raid-ghost:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.55);
}

.arrow-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
  position: relative;
  padding: clamp(20px, 3vw, 40px) 0 clamp(44px, 6vw, 76px);
  overflow: hidden;
  background-image:
    radial-gradient(circle at 78% 36%, rgba(255, 184, 28, 0.18), transparent 46%),
    radial-gradient(circle at 18% 72%, rgba(255, 77, 26, 0.09), transparent 44%),
    radial-gradient(rgba(21, 19, 17, 0.09) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 26px 26px;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 8;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4.5vw, 52px);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--ink);
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 3px 0 rgba(21, 19, 17, 0.12);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pow);
  box-shadow: 0 0 0 0 rgba(255, 77, 26, 0.55);
  animation: pulseDot 2.1s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(255, 77, 26, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(255, 77, 26, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 77, 26, 0); }
}

.hero-title {
  margin: 20px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.85rem, 6.4vw, 5.15rem);
  line-height: 0.99;
  letter-spacing: -0.04em;
  color: var(--ink);
}

html[lang^="zh"] .hero-title {
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.hero-title .accent-word {
  position: relative;
  display: inline-block;
  color: var(--pow);
}

.hero-title .accent-word::after {
  content: "";
  position: absolute;
  left: -3px;
  right: -3px;
  bottom: 0.05em;
  height: 0.16em;
  background: var(--amber);
  border-radius: 99px;
  z-index: -1;
  transform: rotate(-1.4deg);
}

.hero-lead {
  margin: 20px 0 0;
  max-width: 34rem;
  font-size: clamp(1.02rem, 1.45vw, 1.18rem);
  line-height: 1.68;
  color: var(--ink-soft);
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.pow-toast {
  margin-top: 12px;
  min-height: 22px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--pow-dark);
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s, transform 0.2s;
}

.pow-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-cartridges {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1.5px dashed rgba(21, 19, 17, 0.18);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.cartridge-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 10px;
  border-radius: 16px;
  border: 1.5px solid rgba(21, 19, 17, 0.18);
  background: rgba(255, 253, 248, 0.86);
  text-decoration: none;
  transition: transform 0.2s var(--ease-spring), border-color 0.2s, box-shadow 0.2s;
}

.cartridge-link:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
  box-shadow: 0 6px 0 rgba(21, 19, 17, 0.1);
}

.cartridge-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1.5px solid rgba(21, 19, 17, 0.14);
}

.cartridge-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cartridge-title {
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.2;
  color: var(--ink);
}

.cartridge-sub {
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Hero Visual Stage */
.hero-stage {
  position: relative;
}

.hero-frame {
  position: relative;
  border-radius: var(--radius-lg);
  border: 2px solid var(--ink);
  background: #f6f2e9;
  overflow: hidden;
  box-shadow: 10px 10px 0 var(--ink);
  transition: transform 0.35s var(--ease-out);
}

.hero-frame-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-out);
}

.hero-frame:hover .hero-frame-img {
  transform: scale(1.025);
}

.hero-stamp {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(21, 19, 17, 0.88);
  color: var(--surface);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  backdrop-filter: blur(8px);
}

.hero-corner-tag {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.92);
  border: 1.5px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink);
}

/* ===========================
   MARQUEE RIBBON
   =========================== */
.marquee {
  background: var(--ink);
  color: var(--paper);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
  padding: 13px 0;
  user-select: none;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 28px;
  animation: marqueeScroll 32s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-shrink: 0;
}

.marquee-item {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-star {
  color: var(--amber);
  font-size: 0.9rem;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===========================
   SECTION HEADERS
   =========================== */
.section {
  padding: clamp(56px, 8vw, 108px) 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pow-dark);
  margin-bottom: 10px;
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

html[lang^="zh"] .section-title {
  font-weight: 900;
  letter-spacing: -0.02em;
}

.section-desc {
  margin: 0;
  max-width: 28rem;
  color: var(--ink-soft);
  font-size: 1rem;
}

/* ===========================
   GAMES SHOWCASE
   =========================== */
.games-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 42px);
}

.game-card {
  border-radius: var(--radius-lg);
  border: 2px solid var(--ink);
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  box-shadow: 0 24px 56px -34px rgba(21, 19, 17, 0.42);
}

.game-copy {
  padding: clamp(26px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.game-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  width: fit-content;
}

.game-header-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
}

.game-app-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  object-fit: cover;
  flex-shrink: 0;
}

.game-name {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.95rem, 3.6vw, 2.85rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

html[lang^="zh"] .game-name {
  font-weight: 900;
}

.game-alt-name {
  display: inline-block;
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 700;
  opacity: 0.72;
}

.game-tagline {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.12rem, 1.8vw, 1.32rem);
  line-height: 1.35;
}

.game-desc {
  margin: 12px 0 0;
  font-size: 0.98rem;
  line-height: 1.7;
  max-width: 34rem;
}

.game-facts {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.game-facts li {
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
}

.game-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.game-domains {
  margin-top: 18px;
  padding-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
}

.domain-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.game-candy .domain-link {
  background: rgba(71, 32, 52, 0.06);
  border: 1px solid rgba(71, 32, 52, 0.14);
  color: var(--candy-ink);
}

.game-candy .domain-link:hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: var(--candy-ink);
  transform: translateY(-1px);
}

.game-raid .domain-link {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 194, 61, 0.24);
  color: var(--raid-ink);
}

.game-raid .domain-link:hover {
  background: rgba(255, 194, 61, 0.16);
  border-color: var(--raid-gold);
  transform: translateY(-1px);
}

/* ---- GAME 01: CANDY BONK! ---- */
.game-candy {
  background: linear-gradient(135deg, var(--candy-bg) 0%, #fff8f2 52%, var(--candy-bg-2) 100%);
  color: var(--candy-ink);
  border-color: var(--candy-ink);
}

.game-candy .game-eyebrow {
  background: rgba(255, 255, 255, 0.85);
  color: var(--candy-pink-dark);
  border: 1.5px solid rgba(71, 32, 52, 0.16);
}

.game-candy .game-app-icon {
  border: 2px solid var(--candy-ink);
  box-shadow: 0 8px 18px -10px rgba(71, 32, 52, 0.65);
}

.game-candy .game-desc {
  color: var(--candy-muted);
}

.game-candy .game-facts li {
  background: rgba(255, 255, 255, 0.85);
  color: var(--candy-ink);
  border: 1.5px solid rgba(71, 32, 52, 0.14);
}

.game-candy .game-domains {
  border-top: 1px dashed rgba(71, 32, 52, 0.2);
  color: var(--candy-muted);
}

.candy-stage {
  position: relative;
  min-height: 360px;
  padding: 28px 24px 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 194, 212, 0.35), rgba(255, 232, 200, 0.55));
}

.candy-map-bg {
  position: absolute;
  inset: 16px;
  border-radius: 24px;
  overflow: hidden;
  border: 1.5px solid rgba(71, 32, 52, 0.14);
}

.candy-map-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.06) brightness(1.04);
  opacity: 0.52;
  transform: scale(1.04);
}

.candy-composition {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-top: 16px;
}

.candy-phone {
  width: 210px;
  border-radius: 28px 28px 0 0;
  border: 5px solid #2b1824;
  border-bottom: 0;
  background: #2b1824;
  box-shadow: -14px 16px 36px -14px rgba(71, 32, 52, 0.45);
  transform: rotate(-4deg) translateX(-28px) translateY(8px);
  overflow: hidden;
  transition: transform 0.45s var(--ease-spring);
}

.game-candy:hover .candy-phone {
  transform: rotate(-2deg) translateX(-32px) translateY(2px);
}

.candy-phone img {
  width: 100%;
  aspect-ratio: 600 / 1020;
  object-fit: cover;
  object-position: top;
}

.candy-mascot {
  width: clamp(190px, 34vw, 258px);
  position: relative;
  z-index: 3;
  margin-left: -74px;
  margin-bottom: 10px;
  filter: drop-shadow(0 18px 24px rgba(71, 32, 52, 0.34));
  transition: transform 0.45s var(--ease-spring);
}

.game-candy:hover .candy-mascot {
  transform: translateY(-10px) rotate(3deg) scale(1.03);
}

/* ---- GAME 02: DROPRAID ---- */
.game-raid {
  background:
    radial-gradient(circle at 80% 18%, rgba(255, 98, 36, 0.2), transparent 44%),
    radial-gradient(circle at 15% 88%, rgba(255, 194, 61, 0.14), transparent 42%),
    var(--raid-bg);
  color: var(--raid-ink);
  border-color: #2b241d;
  box-shadow: 0 28px 64px -32px rgba(0, 0, 0, 0.72);
}

.game-raid .game-eyebrow {
  background: rgba(255, 194, 61, 0.12);
  color: var(--raid-gold);
  border: 1px solid rgba(255, 194, 61, 0.35);
}

.game-raid .game-app-icon {
  border: 2px solid rgba(255, 194, 61, 0.5);
  box-shadow: 0 10px 24px -10px rgba(255, 130, 30, 0.55);
}

.game-raid .game-tagline {
  color: #ffe3a3;
}

.game-raid .game-desc {
  color: var(--raid-muted);
}

.game-raid .game-facts li {
  background: rgba(255, 255, 255, 0.06);
  color: var(--raid-ink);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.game-raid .game-domains {
  border-top: 1px dashed rgba(255, 255, 255, 0.16);
  color: var(--raid-muted);
}

.raid-stage {
  position: relative;
  padding: clamp(20px, 3vw, 32px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.raid-viewport {
  position: relative;
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 194, 61, 0.34);
  background: #0a0806;
  box-shadow: 0 22px 48px -20px rgba(0, 0, 0, 0.85);
}

.raid-viewport img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.55s var(--ease-out);
}

.game-raid:hover .raid-viewport img {
  transform: scale(1.04);
}

.raid-hud-top {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}

.raid-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 8px;
  background: rgba(14, 11, 9, 0.8);
  border: 1px solid rgba(255, 194, 61, 0.35);
  color: var(--raid-gold);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  backdrop-filter: blur(8px);
}

.raid-beacon-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
}

.raid-hud-bottom {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 12px;
  padding: 9px 13px;
  border-radius: 12px;
  background: rgba(14, 11, 9, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(246, 241, 230, 0.9);
}

.raid-hud-bottom span {
  white-space: nowrap;
}

/* ===========================
   STUDIO CRAFT / PHILOSOPHY
   =========================== */
.craft-section {
  background: var(--paper-deep);
  border-top: 1.5px solid var(--line);
  border-bottom: 1.5px solid var(--line);
}

.craft-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.craft-visual {
  position: relative;
}

.craft-frame {
  border-radius: var(--radius-lg);
  border: 2px solid var(--ink);
  overflow: hidden;
  background: var(--surface);
  box-shadow: -8px 8px 0 var(--ink);
}

.craft-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.craft-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-top: 2px solid var(--ink);
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.pillars {
  display: flex;
  flex-direction: column;
}

.pillar {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 24px 0;
  border-top: 1.5px solid rgba(21, 19, 17, 0.18);
}

.pillar:last-child {
  border-bottom: 1.5px solid rgba(21, 19, 17, 0.18);
}

.pillar-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--pow-dark);
  padding-top: 4px;
}

.pillar h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.32rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.pillar p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.68;
}

/* ===========================
   FOOTER & PORTAL HUB
   =========================== */
.site-footer {
  padding: clamp(32px, 5vw, 56px) 0 clamp(28px, 4vw, 44px);
}

.footer-card {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 54px);
  position: relative;
  overflow: hidden;
  background-image:
    radial-gradient(circle at 92% 14%, rgba(255, 77, 26, 0.24), transparent 36%),
    radial-gradient(circle at 12% 94%, rgba(255, 184, 28, 0.14), transparent 34%);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(246, 242, 233, 0.14);
}

.footer-card .brand-sub {
  color: rgba(246, 242, 233, 0.68);
}

.footer-brand-title {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  line-height: 1.18;
  letter-spacing: -0.025em;
  max-width: 16ch;
  text-wrap: balance;
}

html[lang^="zh"] .footer-brand-title {
  max-width: 10em;
}

.footer-contact-row {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.email-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.08);
  border: 1.5px solid rgba(255, 253, 248, 0.2);
  color: var(--surface);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.email-pill:hover {
  background: rgba(255, 253, 248, 0.15);
  border-color: var(--amber);
}

.copy-email-btn {
  padding: 11px 16px;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 184, 28, 0.55);
  background: rgba(255, 184, 28, 0.14);
  color: var(--amber);
  font-size: 0.86rem;
  font-weight: 700;
  transition: background 0.2s, transform 0.15s;
}

.copy-email-btn:hover {
  background: rgba(255, 184, 28, 0.24);
  transform: translateY(-1px);
}

.portal-heading {
  margin: 0 0 14px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(246, 242, 233, 0.55);
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px;
}

.portal-link {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.05);
  border: 1px solid rgba(255, 253, 248, 0.12);
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.2s var(--ease-spring);
}

.portal-link:hover {
  background: rgba(255, 253, 248, 0.11);
  border-color: rgba(255, 184, 28, 0.5);
  transform: translateY(-2px);
}

.portal-link-title {
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.portal-link-url {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: rgba(246, 242, 233, 0.62);
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.84rem;
  color: rgba(246, 242, 233, 0.6);
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.footer-bottom a,
.footer-bottom button {
  color: rgba(246, 242, 233, 0.78);
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  font-size: inherit;
}

.footer-bottom a:hover,
.footer-bottom button:hover {
  color: var(--amber);
}

/* ===========================
   WECHAT QR MODAL
   =========================== */
.qr-dialog {
  width: min(390px, calc(100vw - 32px));
  border: 2px solid var(--candy-ink);
  border-radius: 28px;
  padding: 28px 24px 24px;
  background: #fffaf4;
  color: var(--candy-ink);
  text-align: center;
  box-shadow: 0 28px 70px -20px rgba(21, 19, 17, 0.55);
}

.qr-dialog::backdrop {
  background: rgba(21, 19, 17, 0.62);
  backdrop-filter: blur(6px);
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(71, 32, 52, 0.22);
  background: #ffffff;
  font-size: 1.3rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dialog-close:hover {
  background: var(--candy-bg-2);
}

.qr-dialog h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
}

.qr-dialog p {
  margin: 8px 0 0;
  font-size: 0.92rem;
  color: var(--candy-muted);
}

.qr-box {
  margin: 18px auto 16px;
  width: 210px;
  padding: 12px;
  border-radius: 22px;
  background: #ffffff;
  border: 2px solid rgba(71, 32, 52, 0.14);
  box-shadow: 0 12px 24px -16px rgba(71, 32, 52, 0.45);
}

.qr-box img {
  width: 100%;
  border-radius: 12px;
}

.qr-copy-row {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.qr-name-input {
  flex: 1;
  min-width: 0;
  border: 1.5px solid rgba(71, 32, 52, 0.22);
  border-radius: 12px;
  background: #ffffff;
  padding: 10px 12px;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  color: var(--candy-ink);
}

.qr-copy-status {
  min-height: 20px;
  margin-top: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--candy-teal);
}

/* ===========================
   SCROLL REVEAL ANIMATIONS
   =========================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   RESPONSIVE BREAKPOINTS
   =========================== */
@media (min-width: 820px) {
  .site-nav {
    display: inline-flex;
  }

  .hero-grid {
    grid-template-columns: 1.06fr 0.94fr;
  }

  .game-candy {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .game-raid {
    grid-template-columns: 1.02fr 0.98fr;
  }

  .candy-stage {
    min-height: 450px;
  }

  .craft-grid {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .footer-top {
    grid-template-columns: 0.92fr 1.08fr;
    align-items: start;
  }
}

@media (max-width: 600px) {
  .brand-sub {
    display: none;
  }

  .hero-frame {
    box-shadow: 6px 6px 0 var(--ink);
  }

  .craft-frame {
    box-shadow: -5px 5px 0 var(--ink);
  }

  .candy-phone {
    width: 170px;
    transform: rotate(-4deg) translateX(-18px) translateY(8px);
  }

  .candy-mascot {
    width: 176px;
    margin-left: -58px;
  }

  .btn {
    padding: 12px 18px;
    font-size: 0.92rem;
  }

  .raid-hud-bottom {
    font-size: 0.66rem;
    padding: 7px 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .marquee-track,
  .pulse-dot {
    animation: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
