:root {
  --ink: #1c1915;
  --yellow: #e8b62d;
  --cream: #f6efe2;
  --cream-deep: #ebe1cf;
  --muted: #6f675c;
  --white: #ffffff;
  --glow: rgba(232, 182, 45, 0.35);
  --font: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --display: 'Syne', 'Noto Sans SC', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font);
  background:
    radial-gradient(1200px 700px at 78% -8%, rgba(232, 182, 45, 0.28), transparent 55%),
    radial-gradient(900px 500px at -12% 35%, rgba(28, 25, 21, 0.07), transparent 50%),
    linear-gradient(165deg, #faf6ee 0%, var(--cream) 42%, var(--cream-deep) 100%);
  line-height: 1.55;
  overflow-x: hidden;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 50;
  background: linear-gradient(90deg, var(--yellow), #f0d06a);
  box-shadow: 0 0 12px rgba(232, 182, 45, 0.55);
  transform-origin: left;
}

.cursor-glow {
  pointer-events: none;
  position: fixed;
  width: 280px;
  height: 280px;
  margin: -140px 0 0 -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 182, 45, 0.18), transparent 68%);
  z-index: 2;
  opacity: 0;
  transition: opacity 0.35s ease;
  mix-blend-mode: multiply;
}

body.has-pointer .cursor-glow.is-on {
  opacity: 1;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.orb-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

.top,
main,
.foot {
  position: relative;
  z-index: 1;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 22px 24px 0;
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  transition: transform 0.25s ease;
}

.mark:hover {
  transform: translateY(-1px);
}

.mark img {
  border-radius: 10px;
  background: var(--cream);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav a {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

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

.nav a:hover::after {
  transform: scaleX(1);
}

.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(48px, 10vh, 96px) 24px 56px;
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
  position: relative;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 48px;
  }

  .hero-stage {
    order: -1;
    min-height: 260px;
  }
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-stage {
  position: relative;
  min-height: 380px;
  display: grid;
  place-items: center;
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(28, 25, 21, 0.12);
}

.ring-a {
  width: min(340px, 70vw);
  height: min(340px, 70vw);
  animation: spin 28s linear infinite;
  background: radial-gradient(circle at 30% 30%, rgba(232, 182, 45, 0.2), transparent 55%);
}

.ring-b {
  width: min(220px, 48vw);
  height: min(220px, 48vw);
  border-style: dashed;
  animation: spin 18s linear infinite reverse;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hero-chip {
  position: absolute;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(28, 25, 21, 0.08);
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(28, 25, 21, 0.08);
  animation: floaty 5.5s ease-in-out infinite;
}

.chip-1 {
  top: 18%;
  left: 8%;
  animation-delay: 0s;
}

.chip-2 {
  top: 46%;
  right: 4%;
  animation-delay: 0.8s;
}

.chip-3 {
  bottom: 16%;
  left: 22%;
  animation-delay: 1.4s;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.hero-kicker {
  margin: 0 0 12px;
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  color: var(--muted);
  font-weight: 700;
}

.hero-brand {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(4rem, 14vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--ink);
  display: flex;
  gap: 0.02em;
}

.hero-brand .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) rotate(-4deg);
  animation: charIn 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-brand .char:nth-child(1) {
  animation-delay: 0.08s;
}
.hero-brand .char:nth-child(2) {
  animation-delay: 0.18s;
}
.hero-brand .char:nth-child(3) {
  animation-delay: 0.28s;
}

@keyframes charIn {
  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

.hero-lead {
  margin: 22px 0 0;
  max-width: 28rem;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: var(--muted);
  font-weight: 500;
}

.hero-cta {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  will-change: transform;
}

.btn-primary {
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 10px 28px rgba(232, 182, 45, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 16px 36px rgba(232, 182, 45, 0.5);
}

.btn-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 48%, transparent 62%);
  transform: translateX(-120%);
  animation: shine 3.8s ease-in-out infinite;
}

@keyframes shine {
  0%,
  55% {
    transform: translateX(-120%);
  }
  75%,
  100% {
    transform: translateX(120%);
  }
}

.btn-primary.is-disabled {
  background: #d9d0bf;
  color: var(--muted);
  box-shadow: none;
  pointer-events: none;
}

.btn-primary.is-disabled .btn-shine {
  display: none;
}

.hero-note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.scroll-hint {
  position: absolute;
  left: 24px;
  bottom: 18px;
  width: 28px;
  height: 44px;
  border: 2px solid rgba(28, 25, 21, 0.2);
  border-radius: 16px;
  display: grid;
  place-items: start center;
  padding-top: 8px;
  text-decoration: none;
}

.scroll-hint span {
  width: 4px;
  height: 8px;
  border-radius: 4px;
  background: var(--ink);
  animation: scrollDot 1.4s ease-in-out infinite;
}

@keyframes scrollDot {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(14px);
    opacity: 0;
  }
}

.ticker {
  overflow: hidden;
  border-block: 1px solid rgba(28, 25, 21, 0.1);
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
  margin: 8px 0 24px;
}

.ticker-track {
  display: flex;
  gap: 48px;
  width: max-content;
  padding: 14px 0;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--muted);
  animation: marquee 28s linear infinite;
}

.ticker-track span::before {
  content: '◆';
  color: var(--yellow);
  margin-right: 48px;
}

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

.games,
.minis {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 24px;
}

.games-head h2 {
  margin: 0;
  font-size: clamp(1.55rem, 4vw, 2.15rem);
  font-weight: 900;
}

.games-head p {
  margin: 8px 0 22px;
  color: var(--muted);
  max-width: 36rem;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (min-width: 720px) {
  .game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (min-width: 980px) {
  .game-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.game-card {
  position: relative;
  display: block;
  border: 0;
  padding: 0;
  border-radius: 22px;
  overflow: hidden;
  text-align: left;
  cursor: default;
  background: #2a251f;
  color: var(--cream);
  box-shadow: 0 14px 36px rgba(28, 25, 21, 0.14);
  transform: translateY(18px);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
  animation: cardIn 0.55s ease forwards;
}

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

@keyframes cardIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.game-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 22px 48px rgba(28, 25, 21, 0.22);
}

.game-card-cover {
  aspect-ratio: 1;
  width: 100%;
  object-fit: cover;
  display: block;
  background: var(--ink);
  transition: transform 0.45s ease;
}

.game-card:hover .game-card-cover {
  transform: scale(1.06);
}

.game-card-fallback {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: clamp(2rem, 6vw, 2.8rem);
  font-weight: 800;
  color: rgba(255, 255, 255, 0.88);
}

.game-card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 48px 14px 14px;
  background: linear-gradient(180deg, transparent, rgba(18, 16, 12, 0.92) 55%);
}

.game-card-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.game-card-meta {
  margin: 6px 0 0;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: rgba(246, 239, 226, 0.72);
}

.game-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(232, 182, 45, 0.95);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.mini-grid {
  display: grid;
  gap: 14px;
}

@media (min-width: 720px) {
  .mini-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.mini-card {
  position: relative;
  padding: 22px 20px;
  border-radius: 22px;
  border: 1px solid rgba(28, 25, 21, 0.08);
  background: rgba(255, 255, 255, 0.62);
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px);
  animation: cardIn 0.55s ease forwards;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mini-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(28, 25, 21, 0.1);
}

.mini-card::before {
  content: '';
  position: absolute;
  inset: auto -20% -40% auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 182, 45, 0.35), transparent 70%);
  pointer-events: none;
}

.mini-card strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 8px;
  position: relative;
}

.mini-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  position: relative;
}

.mini-tag {
  display: inline-block;
  margin-bottom: 12px;
  font-family: var(--display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: #9a7410;
}

.band {
  max-width: 1100px;
  margin: 0 auto;
  padding: 56px 24px 72px;
}

.band-title {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 900;
}

.band-lead {
  margin: 10px 0 28px;
  color: var(--muted);
  max-width: 34rem;
}

.feats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

@media (min-width: 800px) {
  .feats {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.feat {
  padding: 22px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(28, 25, 21, 0.08);
  box-shadow: 0 10px 30px rgba(28, 25, 21, 0.04);
  transform-style: preserve-3d;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  will-change: transform;
}

.feat:hover {
  border-color: rgba(232, 182, 45, 0.55);
  box-shadow: 0 18px 40px rgba(28, 25, 21, 0.1);
}

.feat-icon {
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--yellow);
  margin-bottom: 14px;
  font-weight: 800;
}

.feat strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.feat span {
  color: var(--muted);
  font-size: 0.95rem;
}

.guides {
  max-width: 1100px;
  margin: 0 auto;
  padding: 8px 24px 80px;
}

.guides-head h2 {
  margin: 0;
  font-size: clamp(1.4rem, 3.5vw, 1.9rem);
  font-weight: 900;
}

.guides-head p {
  margin: 8px 0 22px;
  color: var(--muted);
}

.guide-list {
  display: grid;
  gap: 10px;
}

.guide-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 14px 18px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid transparent;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  opacity: 0;
  transform: translateX(-12px);
  animation: rowIn 0.5s ease forwards;
}

.guide-thumb {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--ink);
}

.guide-row:hover {
  transform: translateX(6px);
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(232, 182, 45, 0.45);
}

.guide-arrow {
  color: var(--yellow);
  font-weight: 800;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.guide-row:hover .guide-arrow {
  opacity: 1;
  transform: translateX(0);
}

@keyframes rowIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.guide-meta {
  font-family: var(--display);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}

.guide-title {
  font-weight: 700;
  font-size: 1.05rem;
}

.guide-empty {
  color: var(--muted);
  padding: 12px 0;
}

.closing {
  position: relative;
  max-width: 1100px;
  margin: 0 auto 40px;
  padding: 64px 24px;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(28, 25, 21, 0.94), #2a251f 60%);
  color: var(--cream);
}

.closing-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  right: -40px;
  top: -80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 182, 45, 0.35), transparent 70%);
  animation: drift 8s ease-in-out infinite alternate;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-24px, 18px, 0) scale(1.08);
  }
}

.closing h2 {
  position: relative;
  margin: 0 0 22px;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 900;
  max-width: 12em;
  color: var(--cream);
}

.closing .btn-primary {
  position: relative;
}

.foot {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 24px 48px;
  border-top: 1px solid rgba(28, 25, 21, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.88rem;
}

.foot strong {
  color: var(--ink);
  margin-right: 10px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.7s ease forwards;
}

.reveal:nth-child(1) {
  animation-delay: 0.12s;
}
.reveal:nth-child(2) {
  animation-delay: 0.22s;
}
.reveal:nth-child(3) {
  animation-delay: 0.32s;
}

.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-up,
  .hero-brand .char,
  .hero-chip,
  .hero-ring,
  .ticker-track,
  .btn-shine,
  .scroll-hint span,
  .closing-glow,
  .guide-row {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .cursor-glow,
  .orb-canvas {
    display: none !important;
  }
}

@media (max-width: 860px) {
  .cursor-glow {
    display: none;
  }

  .scroll-hint {
    display: none;
  }
}
