:root {
  color-scheme: only light;
  --ink: #1c1a1e;
  --muted: #5a5662;
  --cream: #fff6ea;
  --peach: #f4c3a2;
  --sky: #9ab7ff;
  --mint: #c2f3d5;
  --shadow: rgba(15, 10, 25, 0.15);
  --card: rgba(255, 255, 255, 0.78);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 245, 224, 0.9), transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(154, 183, 255, 0.35), transparent 35%),
    radial-gradient(circle at 30% 80%, rgba(194, 243, 213, 0.6), transparent 40%),
    linear-gradient(145deg, #fffaf0 0%, #f8f0ff 100%);
  min-height: 100vh;
  padding: 24px 5vw 64px;
}

h1,
h2,
h3 {
  margin: 0 0 12px;
  font-weight: 600;
}

p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.6;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 48px;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1c1a1e, #5c3c90);
  color: #fff;
  font-weight: 700;
}

.brand-title {
  font-weight: 700;
  font-size: 18px;
}

.brand-subtitle {
  font-size: 13px;
  color: var(--muted);
}

.site-nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
  color: var(--muted);
}

.site-nav a {
  position: relative;
  padding-bottom: 4px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--ink);
  transition: width 0.3s ease;
}

.site-nav a:hover::after {
  width: 100%;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
  margin-bottom: 64px;
}

.hero-copy h1 {
  font-size: clamp(32px, 5vw, 52px);
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #7f5ea5;
  margin-bottom: 12px;
}

.lead {
  font-size: 16px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn.primary {
  background: linear-gradient(135deg, #ffb275, #ff7a7a);
  color: #1c1a1e;
  box-shadow: 0 12px 24px rgba(255, 122, 122, 0.25);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  border: 1px solid rgba(28, 26, 30, 0.1);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(28, 26, 30, 0.15);
}

.btn.disabled {
  background: rgba(150, 150, 160, 0.3);
  color: rgba(28, 26, 30, 0.5);
  cursor: not-allowed;
  box-shadow: none;
}

.hero-panel {
  background: var(--card);
  border-radius: 24px;
  padding: 24px;
  display: grid;
  gap: 16px;
  box-shadow: 0 16px 40px var(--shadow);
  backdrop-filter: blur(12px);
}

.stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.stat-value {
  font-size: 28px;
  font-weight: 600;
}

.stat-label {
  color: var(--muted);
  font-size: 13px;
}

.games {
  margin-bottom: 72px;
}

.section-title {
  margin-bottom: 32px;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.game-card {
  background: var(--card);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 16px 36px var(--shadow);
  display: grid;
  gap: 12px;
  animation: rise 0.8s ease both;
}

.game-card:nth-child(2) {
  animation-delay: 0.15s;
}

.game-card:nth-child(3) {
  animation-delay: 0.3s;
}

.game-card:nth-child(4) {
  animation-delay: 0.45s;
}

.game-card:nth-child(5) {
  animation-delay: 0.6s;
}

.game-card.muted {
  opacity: 0.8;
}

.game-tag {
  font-size: 12px;
  letter-spacing: 1px;
  border-radius: 999px;
  padding: 6px 12px;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-weight: 500;
}

.game-tag.breath {
  background: rgba(100, 200, 255, 0.2);
  color: #2980b9;
}

.game-tag.listen {
  background: rgba(155, 89, 182, 0.15);
  color: #8e44ad;
}

.game-tag.burst {
  background: rgba(255, 122, 122, 0.2);
  color: #e74c3c;
}

.game-tag.steady {
  background: rgba(46, 204, 113, 0.2);
  color: #27ae60;
}

.game-tag.challenge {
  background: rgba(255, 165, 0, 0.2);
  color: #e67e22;
}

.game-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 12px;
}

.about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 64px;
}

.about-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 14px 30px var(--shadow);
}

.about-card.alt {
  background: linear-gradient(135deg, rgba(255, 235, 220, 0.9), rgba(194, 243, 213, 0.8));
}

ol {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.7;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chips span {
  background: rgba(28, 26, 30, 0.08);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  color: var(--ink);
}

.site-footer {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

.orb {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  filter: blur(6px);
  opacity: 0.5;
  animation: float 10s ease-in-out infinite;
  z-index: -1;
}

.orb-left {
  background: radial-gradient(circle, var(--peach), transparent 60%);
  top: 40px;
  left: -80px;
}

.orb-right {
  background: radial-gradient(circle, var(--sky), transparent 60%);
  bottom: 60px;
  right: -100px;
  animation-delay: 2s;
}

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

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

@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero-panel {
    order: -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
