:root {
  --bg: #c5c4c6;
  --bg-deep: #bbc2c4;
  --bg-card: rgba(255, 255, 255, 0.35);
  --coral: #d4886a;
  --coral-dark: #bf7458;
  --coral-soft: rgba(212, 136, 106, 0.12);
  --mauve: #6b5c62;
  --text: #3a3335;
  --text-soft: rgba(58, 51, 53, 0.6);
  --border: rgba(80, 70, 65, 0.16);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-hover: 0 4px 24px rgba(58, 51, 53, 0.09);
  --t: 0.3s ease;
  --max-w: 1080px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

.section-title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--mauve);
  text-align: center;
  margin-bottom: 8px;
}
.section-sub {
  text-align: center;
  color: var(--text-soft);
  font-size: 1.05rem;
  margin-bottom: 48px;
}

/* ---- Nav ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--t), box-shadow var(--t);
}
.nav.scrolled {
  background: rgba(197, 196, 198, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--mauve);
}
.nav-logo {
  height: 32px;
  width: auto;
  mix-blend-mode: multiply;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.95rem;
  color: var(--text-soft);
  transition: color var(--t);
}
.nav-links a:hover { color: var(--coral); }
.nav-lang {
  font-size: 0.8rem !important;
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 20px;
  letter-spacing: 0.04em;
  opacity: 0.7;
  transition: opacity var(--t), border-color var(--t);
}
.nav-lang:hover { opacity: 1; border-color: var(--coral); }
.nav-cta {
  background: var(--coral) !important;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  transition: background var(--t) !important;
}
.nav-cta:hover { background: var(--coral-dark) !important; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text);
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 24px 80px;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(212, 136, 106, 0.06) 0%, transparent 65%),
    linear-gradient(to bottom, var(--bg) 60%, var(--bg-deep) 100%);
}
.hero-content { max-width: 640px; }
.hero-logo {
  width: 240px;
  height: auto;
  margin: 0 auto 32px;
  mix-blend-mode: multiply;
}
h1 {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--mauve);
  line-height: 1.3;
  margin-bottom: 16px;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-soft);
  line-height: 1.8;
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-secondary {
  margin-top: 16px;
  gap: 8px 24px;
}
.hero-secondary a {
  font-size: 0.9rem;
  color: var(--text-soft);
  opacity: 0.7;
  transition: all var(--t);
  padding: 4px 0;
  border-bottom: 1px dashed transparent;
}
.hero-secondary a:hover {
  opacity: 1;
  color: var(--coral);
  border-bottom-color: var(--coral);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 500;
  transition: all var(--t);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 2px 12px rgba(212, 136, 106, 0.3);
}
.btn-primary:hover {
  background: var(--coral-dark);
  box-shadow: 0 4px 20px rgba(212, 136, 106, 0.4);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text-soft);
  border: 1.5px solid rgba(80, 70, 65, 0.15);
}
.btn-ghost:hover {
  color: var(--coral);
  border-color: rgba(212, 136, 106, 0.3);
  background: var(--coral-soft);
}
.btn-lg {
  padding: 18px 40px;
  font-size: 1.1rem;
}

/* ---- What is KOA ---- */
.what-is-koa {
  padding: 80px 0 60px;
  background: linear-gradient(to bottom, var(--bg-deep), var(--bg) 40%, var(--bg) 60%, var(--bg-deep));
}
.what-is-koa .section-title {
  margin-bottom: 32px;
}
.what-is-koa-body {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.what-is-koa-lead {
  font-size: 1.15rem;
  line-height: 2;
  color: var(--mauve);
  font-weight: 500;
  margin-bottom: 20px;
}
.what-is-koa-body > p:last-child {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text-soft);
}

/* ---- Promo Video ---- */
.promo-video {
  padding: 0 0 60px;
  background: var(--bg-deep);
}
.promo-video-wrap {
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(58, 51, 53, 0.13);
}
.promo-video-wrap video {
  width: 100%;
  display: block;
}

/* ---- Features ---- */
.features {
  padding: 100px 0;
  background: linear-gradient(to bottom, var(--bg-deep) 0%, var(--bg-deep) 70%, var(--bg) 100%);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--coral-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.4rem;
  color: var(--coral);
}

/* Feature showcase carousel */
.showcase { position: relative; }
.showcase-window {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
}
.showcase-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.showcase-slide {
  min-width: 100%;
  display: flex;
  align-items: stretch;
}
.showcase-media {
  flex: 0 0 58%;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(212,136,106,0.04) 0%, rgba(107,92,98,0.04) 100%);
}
.showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.showcase-placeholder i {
  font-size: 5rem;
  color: var(--coral);
  opacity: 0.1;
}
.showcase-body {
  flex: 1;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.showcase-body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--mauve);
  margin-bottom: 12px;
}
.showcase-body p {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.8;
}
.showcase-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
}
.showcase-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-soft);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t);
}
.showcase-arrow:hover {
  color: var(--coral);
  border-color: rgba(212, 136, 106, 0.3);
  background: var(--coral-soft);
}
.showcase-dots { display: flex; gap: 10px; }
.showcase-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(80, 70, 65, 0.2);
  cursor: pointer;
  padding: 0;
  transition: all var(--t);
}
.showcase-dot.active {
  background: var(--coral);
  transform: scale(1.3);
}


/* ---- Games ---- */
.games {
  padding: 100px 0;
  background: linear-gradient(to bottom, var(--bg) 0%, var(--bg) 60%, var(--bg-deep) 100%);
}
.games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@property --card-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@keyframes card-border-spin {
  to { --card-angle: 360deg; }
}

.game-card {
  position: relative;
  overflow: hidden;
  background: transparent;
  border: none;
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: transform var(--t), box-shadow var(--t);
}
.game-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  padding: 2px;
  background: conic-gradient(
    from var(--card-angle),
    var(--game-color),
    transparent 30%,
    var(--game-color) 50%,
    transparent 80%,
    var(--game-color)
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: card-border-spin 6s linear infinite;
  opacity: 0.45;
  transition: opacity var(--t);
}
.game-card::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: calc(var(--radius) - 2px);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 0;
}
.game-card > * {
  position: relative;
  z-index: 1;
}
.game-card:hover::before { opacity: 1; }
.game-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px var(--game-glow);
}
.game-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--game-color);
  background: var(--game-bg);
}
.game-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}
.game-en {
  display: block;
  font-size: 0.8rem;
  color: var(--text-soft);
  margin-bottom: 12px;
}
.game-card > p,
.game-card-front > p {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 14px;
}
.game-tag {
  display: inline-block;
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 20px;
  color: var(--game-color);
  background: var(--game-tag-bg);
  border: 1px solid var(--game-tag-border);
}

a.game-card {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  overflow: visible;
  perspective: 600px;
}
a.game-card:hover {
  transform: none;
}
.game-card-inner {
  position: relative;
  z-index: 1;
  transform-style: preserve-3d;
  transition: transform 0.5s ease;
}
@media (hover: hover) {
  a.game-card:hover .game-card-inner {
    transform: rotateY(180deg);
  }
}
.game-card-front {
  backface-visibility: hidden;
}
.game-card-front > * {
  position: relative;
  z-index: 1;
}
.game-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--game-color);
}
.game-card-back > i {
  font-size: 2rem;
}
.game-card-back > span {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.game-card.mc   { --game-color: #5a8f4a; --game-bg: rgba(90,143,74,0.1);   --game-glow: rgba(90,143,74,0.25);   --game-tag-bg: rgba(90,143,74,0.08);   --game-tag-border: rgba(90,143,74,0.18); }
.game-card.dst  { --game-color: #9b7340; --game-bg: rgba(155,115,64,0.1);  --game-glow: rgba(155,115,64,0.25);  --game-tag-bg: rgba(155,115,64,0.08);  --game-tag-border: rgba(155,115,64,0.18); }
.game-card.sv   { --game-color: #b5943a; --game-bg: rgba(181,148,58,0.1);  --game-glow: rgba(181,148,58,0.25);  --game-tag-bg: rgba(181,148,58,0.08);  --game-tag-border: rgba(181,148,58,0.18); }
.game-card.tr   { --game-color: #5a7ba8; --game-bg: rgba(90,123,168,0.1);  --game-glow: rgba(90,123,168,0.25);  --game-tag-bg: rgba(90,123,168,0.08);  --game-tag-border: rgba(90,123,168,0.18); }

/* ---- Growing ---- */
.growing {
  padding: 64px 0;
  background: var(--bg);
}
.growing-card {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
}
.growing-icon {
  font-size: 1.6rem;
  color: var(--coral);
  margin-bottom: 12px;
}
.growing-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--mauve);
  margin-bottom: 8px;
}
.growing-card p {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---- Beyond Games ---- */
.beyond {
  padding: 100px 0;
  background: linear-gradient(to bottom, var(--bg-deep) 0%, var(--bg-deep) 70%, var(--bg) 100%);
}
.beyond-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--mauve);
  text-align: center;
  margin: 56px 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.beyond-label:first-of-type { margin-top: 0; }
.mode-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.mode-card {
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--t);
}
.mode-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.45);
}
.mode-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--mauve);
  margin-bottom: 8px;
}
.mode-card p {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}
.beyond-label i { font-size: 1.2rem; color: var(--coral); }
.rp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.rp-card {
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--t);
}
.rp-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.45);
}
.rp-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--mauve);
  margin-bottom: 8px;
}
.rp-card p {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}
.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.app-card {
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: all var(--t);
}
.app-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.45);
}
.app-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--coral);
  background: var(--coral-soft);
}
.app-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--mauve);
  margin-bottom: 6px;
}
.app-card p {
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ---- Pricing ---- */
.pricing {
  padding: 72px 0;
  background: var(--bg);
  text-align: center;
}
.pricing h2 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--mauve);
  margin-bottom: 10px;
}
.pricing-desc {
  color: var(--text-soft);
  font-size: 0.95rem;
  margin-bottom: 24px;
}
.age-notice {
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--text-soft);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
}
.age-notice i {
  color: var(--coral);
  font-size: 1rem;
  flex-shrink: 0;
  position: relative;
  top: 2px;
}

/* ---- Download CTA ---- */
.download {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(212,136,106,0.08) 0%, rgba(212,136,106,0.03) 100%);
  text-align: center;
}
.download h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--mauve);
  margin-bottom: 12px;
}
.download .download-desc {
  color: var(--text-soft);
  font-size: 1.05rem;
  margin-bottom: 32px;
}
.download-meta {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 24px;
  color: var(--text-soft);
  font-size: 0.9rem;
}
.download-meta i { margin-right: 4px; }

/* ---- About ---- */
.about {
  padding: 80px 0 72px;
  background: #3a3335;
  text-align: center;
}
.about-inner {
  max-width: 520px;
  margin: 0 auto;
  padding: 0 24px;
}
.about-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--coral);
  letter-spacing: 0.12em;
  margin-bottom: 28px;
}
.about-body {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
  line-height: 2;
  font-weight: 300;
}
.about-body em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.72);
}
.about-divider {
  width: 32px;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 28px auto;
}
.about-origin {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.85rem;
  line-height: 1.9;
  font-weight: 300;
}

/* ---- Footer ---- */
.footer {
  background: #3a3335;
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 32px;
}
.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-logo {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}
.footer-brand p { font-size: 0.9rem; opacity: 0.7; }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 0.9rem;
  opacity: 0.7;
  transition: opacity var(--t);
}
.footer-links a:hover { opacity: 1; }
.footer-qq {
  font-size: 0.9rem;
  opacity: 0.7;
  transition: opacity var(--t);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
}
.footer-qq:hover { opacity: 1; }
.footer-copy { font-size: 0.8rem; opacity: 0.4; }
.footer-legal { display: flex; gap: 16px; justify-content: center; }
.footer-legal a { font-size: 0.8rem; opacity: 0.5; transition: opacity var(--t); }
.footer-legal a:hover { opacity: 0.8; }

/* ---- Intro Slideshow ---- */
.intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 45%, #353031, #2a2526 75%);
  transition: opacity 1.2s ease;
  cursor: pointer;
}
.intro.done {
  opacity: 0;
}
.intro-slide {
  position: absolute;
  text-align: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  max-width: 580px;
  padding: 0 32px;
}
.intro-slide.active { opacity: 1; }
.intro-slide h2 {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.02em;
}
.intro-slide p {
  color: rgba(255, 255, 255, 0.45);
  font-size: 1rem;
  line-height: 1.9;
  margin-top: 16px;
  font-weight: 300;
}
.intro-slide .intro-brand {
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--coral);
  letter-spacing: 0.2em;
  margin-bottom: 8px;
  margin-top: 0;
}
.intro canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.intro-skip {
  position: absolute;
  bottom: 40px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 6px 20px;
  letter-spacing: 0.05em;
  font-family: inherit;
}
.intro-skip:hover {
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}
@media (max-width: 768px) {
  .intro-slide h2 { font-size: 1.3rem; }
  .intro-slide p { font-size: 0.9rem; }
  .intro-slide .intro-brand { font-size: 2rem; }
}
@media (max-width: 480px) {
  .intro-slide h2 { font-size: 1.1rem; }
  .intro-slide p { font-size: 0.85rem; }
  .intro-slide .intro-brand { font-size: 1.6rem; }
  .intro-skip { bottom: 24px; }
}

/* ---- Scroll Animations ---- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 0.88rem; }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(197, 196, 198, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    padding: 8px 0;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a {
    display: block;
    padding: 14px 24px;
    font-size: 1rem;
    transition: background var(--t), color var(--t);
  }
  .nav-links a:hover { background: rgba(0, 0, 0, 0.04); }
  .nav-cta {
    margin: 8px 16px 8px;
    text-align: center;
    border-radius: var(--radius-sm) !important;
  }
}
@media (max-width: 900px) {
  .games-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  .section-title { font-size: 1.6rem; }
  .hero { min-height: auto; padding: 120px 24px 60px; }
  .hero-logo { width: 120px; }
  .hero-sub br { display: none; }
  .features, .games, .beyond, .download { padding: 60px 0; }
  .rp-grid { grid-template-columns: 1fr; }
  .mode-grid { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase-slide { flex-direction: column; }
  .showcase-media { flex: none; min-height: 200px; }
  .showcase-body { padding: 28px 24px; }
  .showcase-body h3 { font-size: 1.1rem; }
  .btn-lg { padding: 14px 28px; font-size: 1rem; }
}
@media (max-width: 480px) {
  h1 { font-size: 1.6rem; }
  .hero-sub { font-size: 0.95rem; }
  .games-grid { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: 1fr; }
  .download-meta { flex-direction: column; gap: 8px; }
}
