:root {
  --color-bg: #0a0a0f;
  --color-bg-secondary: #12121a;
  --color-bg-tertiary: #1a1a24;
  --color-surface: #1e1e2a;
  --color-border: #2a2a3a;
  --color-text: #e4e4e7;
  --color-text-secondary: #a1a1aa;
  --color-text-muted: #71717a;
  --color-primary: #ff6b6b;
  --color-primary-hover: #ff5252;
  --color-accent: #4ade80;
  --color-accent-blue: #60a5fa;
  --color-accent-purple: #c084fc;
  --color-accent-yellow: #fbbf24;
  --font-mono: 'JetBrains Mono', monospace;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

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

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

.nav-logo {
  width: 32px;
  height: 32px;
}

.nav-title {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 18px;
}

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

.nav-link {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--color-text);
}

.nav-link-github {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.nav-link-github:hover {
  background: var(--color-bg-tertiary);
  border-color: var(--color-text-muted);
}

.lang-switcher {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.lang-btn {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--color-text-muted);
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s;
}

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

.lang-btn.active {
  background: var(--color-primary);
  color: #000;
}

body.lang-zh {
  font-family: 'Noto Sans SC', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body.lang-zh .hero-title {
  letter-spacing: 2px;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.pixel-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 107, 107, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 107, 107, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
}

.floating-pixels {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.pixel {
  position: absolute;
  width: 8px;
  height: 8px;
  opacity: 0.4;
  animation: float 20s infinite ease-in-out;
}

.pixel-1 { background: var(--color-primary); top: 20%; left: 10%; animation-delay: 0s; }
.pixel-2 { background: var(--color-accent); top: 60%; left: 20%; animation-delay: -4s; }
.pixel-3 { background: var(--color-accent-blue); top: 30%; right: 15%; animation-delay: -8s; }
.pixel-4 { background: var(--color-accent-purple); top: 70%; right: 25%; animation-delay: -12s; }
.pixel-5 { background: var(--color-accent-yellow); top: 40%; left: 50%; animation-delay: -16s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-30px) rotate(90deg); }
  50% { transform: translateY(0) rotate(180deg); }
  75% { transform: translateY(30px) rotate(270deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.3);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.hero-title {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-title-line {
  display: block;
}

.hero-title-line.accent {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 18px;
  color: var(--color-text-secondary);
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--color-primary);
  color: #000;
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background: var(--color-bg-tertiary);
  border-color: var(--color-text-muted);
}

.hero-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.preview-frame {
  padding: 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 60px rgba(255, 107, 107, 0.15);
}

.preview-pixel-grid {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.preview-row {
  display: flex;
  gap: 2px;
}

.preview-pixel {
  width: 24px;
  height: 24px;
  border-radius: 2px;
}

.preview-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.preview-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-muted);
}

.preview-text {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--color-text-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--color-text-secondary);
}

.features {
  padding: 120px 0;
  background: var(--color-bg-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 32px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(255, 107, 107, 0.1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 107, 107, 0.1);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  color: var(--color-primary);
}

.feature-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-description {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.examples {
  padding: 120px 0;
}

/* ── Scene Showcase ── */
.scene-showcase {
  margin-bottom: 80px;
}

.scene-label {
  text-align: center;
  margin-bottom: 20px;
}

.scene-badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: 0.5px;
}

.game-scene {
  position: relative;
  width: 100%;
  height: 320px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: 0 0 80px rgba(74, 222, 128, 0.08), 0 0 40px rgba(255, 107, 107, 0.06);
}

/* Sky */
.scene-sky {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0d1b3e 0%, #1a2f5e 40%, #2a4a7f 70%, #3d6b9e 100%);
}

/* Clouds */
.scene-clouds {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60%;
}

.cloud {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50px;
}

.cloud::before,
.cloud::after {
  content: '';
  position: absolute;
  background: inherit;
  border-radius: 50%;
}

.cloud-1 {
  width: 120px; height: 30px;
  top: 20%; left: 8%;
  animation: cloudDrift 30s linear infinite;
}
.cloud-1::before { width: 50px; height: 50px; top: -25px; left: 15px; }
.cloud-1::after  { width: 35px; height: 35px; top: -18px; left: 55px; }

.cloud-2 {
  width: 90px; height: 22px;
  top: 35%; left: 40%;
  animation: cloudDrift 45s linear infinite;
  opacity: 0.6;
}
.cloud-2::before { width: 38px; height: 38px; top: -20px; left: 10px; }
.cloud-2::after  { width: 28px; height: 28px; top: -14px; left: 40px; }

.cloud-3 {
  width: 100px; height: 26px;
  top: 15%; right: 12%;
  animation: cloudDrift 38s linear infinite reverse;
  opacity: 0.7;
}
.cloud-3::before { width: 44px; height: 44px; top: -22px; left: 12px; }
.cloud-3::after  { width: 32px; height: 32px; top: -16px; left: 48px; }

@keyframes cloudDrift {
  from { transform: translateX(0); }
  to   { transform: translateX(60px); }
}

/* Flying bird */
.scene-bird {
  position: absolute;
  top: 18%;
  left: 15%;
  width: 48px;
  height: 48px;
  image-rendering: pixelated;
  animation: birdFly 8s ease-in-out infinite;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}

@keyframes birdFly {
  0%   { transform: translateX(0) translateY(0); }
  30%  { transform: translateX(80px) translateY(-20px); }
  60%  { transform: translateX(160px) translateY(10px); }
  100% { transform: translateX(0) translateY(0); }
}

/* Ground */
.scene-ground {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55%;
  background: linear-gradient(180deg, #2d5a1b 0%, #1e3d10 30%, #3d2b1a 60%, #2a1e0f 100%);
}

.scene-ground::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 12px;
  background: repeating-linear-gradient(
    90deg,
    #4a8c2a 0px, #4a8c2a 32px,
    #3d7520 32px, #3d7520 64px
  );
}

/* Ground tiles row */
.scene-tiles {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: repeating-linear-gradient(
    90deg,
    #5c3d1e 0px, #5c3d1e 31px,
    #4a3018 32px, #4a3018 63px,
    #5c3d1e 64px
  );
  border-top: 2px solid #7a5230;
}

/* Trees */
.scene-tree {
  position: absolute;
  bottom: 38px;
  image-rendering: pixelated;
  filter: drop-shadow(2px 4px 8px rgba(0,0,0,0.6));
}

.scene-tree-1 {
  left: 5%;
  width: 64px;
  height: auto;
}

.scene-tree-2 {
  right: 8%;
  width: 56px;
  height: auto;
  opacity: 0.85;
}

/* Treasure chest */
.scene-chest {
  position: absolute;
  bottom: 42px;
  left: 55%;
  width: 56px;
  height: 56px;
  image-rendering: pixelated;
  filter: drop-shadow(0 4px 12px rgba(255, 200, 50, 0.4));
}

/* Sword */
.scene-sword {
  position: absolute;
  bottom: 42px;
  left: 35%;
  width: 40px;
  height: 40px;
  image-rendering: pixelated;
  filter: drop-shadow(0 2px 8px rgba(100, 180, 255, 0.5));
  animation: swordFloat 3s ease-in-out infinite;
}

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

/* Heart */
.scene-heart {
  position: absolute;
  bottom: 48px;
  left: 22%;
  width: 32px;
  height: 32px;
  image-rendering: pixelated;
  filter: drop-shadow(0 2px 8px rgba(255, 80, 80, 0.6));
  animation: heartFloat 2.5s ease-in-out infinite;
}

@keyframes heartFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-10px) scale(1.1); }
}

/* Explosion */
.scene-explosion {
  position: absolute;
  bottom: 38px;
  right: 22%;
  width: 64px;
  height: 64px;
  image-rendering: pixelated;
  filter: drop-shadow(0 0 16px rgba(255, 120, 30, 0.7));
}

/* ── Asset Detail Cards ── */
.assets-detail {
  margin-top: 16px;
}

.assets-detail-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 32px;
  color: var(--color-text-secondary);
  text-align: center;
}

.asset-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.asset-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
}

.asset-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(255, 107, 107, 0.12);
}

.wide-card {
  grid-column: span 1;
}

.asset-card-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  padding: 24px;
}

.asset-card-preview.animated-bg {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
}

.asset-card-preview.dark-bg {
  background: #0d0d14;
}

.asset-card-preview.sheet-preview {
  height: 140px;
  padding: 16px;
}

.asset-card-img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  image-rendering: pixelated;
  filter: drop-shadow(0 2px 12px rgba(0,0,0,0.6));
  transform: scale(1);
  transition: transform 0.3s ease;
}

.asset-card:hover .asset-card-img {
  transform: scale(1.15);
}

.asset-card-sheet {
  max-width: 100%;
  max-height: 108px;
  image-rendering: pixelated;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
  transition: transform 0.3s ease;
}

.asset-card:hover .asset-card-sheet {
  transform: scale(1.05);
}

.asset-card-info {
  padding: 16px;
  border-top: 1px solid var(--color-border);
}

.asset-card-name {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.asset-card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.tag {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tag-anim   { background: rgba(192, 132, 252, 0.15); color: #c084fc; border: 1px solid rgba(192,132,252,0.3); }
.tag-static { background: rgba(96, 165, 250, 0.15);  color: #60a5fa; border: 1px solid rgba(96,165,250,0.3); }
.tag-char   { background: rgba(74, 222, 128, 0.15);  color: #4ade80; border: 1px solid rgba(74,222,128,0.3); }
.tag-item   { background: rgba(251, 191, 36, 0.15);  color: #fbbf24; border: 1px solid rgba(251,191,36,0.3); }
.tag-fx     { background: rgba(255, 107, 107, 0.15); color: #ff6b6b; border: 1px solid rgba(255,107,107,0.3); }
.tag-ui     { background: rgba(255, 107, 107, 0.15); color: #ff6b6b; border: 1px solid rgba(255,107,107,0.3); }
.tag-env    { background: rgba(74, 222, 128, 0.15);  color: #4ade80; border: 1px solid rgba(74,222,128,0.3); }

.asset-card-desc {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.getting-started {
  padding: 120px 0;
  background: var(--color-bg-secondary);
}

.steps {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.step {
  display: flex;
  gap: 24px;
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #000;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 18px;
  border-radius: var(--radius-md);
}

.step-content {
  flex: 1;
  padding-top: 4px;
}

.step-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.step-code {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  overflow-x: auto;
}

.step-code code {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--color-accent);
}

.copy-btn {
  flex-shrink: 0;
  padding: 4px;
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.copy-btn:hover {
  color: var(--color-text);
  background: var(--color-bg-tertiary);
}

.copy-btn.copied {
  color: var(--color-accent);
}

.step-description {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-top: 8px;
}

.step-description code {
  font-family: var(--font-mono);
  color: var(--color-accent-blue);
}

.step-commands {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.command-example {
  padding: 12px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--color-text-secondary);
}

.tools {
  padding: 120px 0;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.tool-category-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--color-primary);
}

.tool-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tool-list li {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--color-text-secondary);
}

.footer {
  padding: 64px 0;
  background: var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

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

.footer-logo {
  width: 32px;
  height: 32px;
}

.footer-title {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 18px;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--color-text);
}

.footer-copyright {
  font-size: 13px;
  color: var(--color-text-muted);
}

.footer-copyright a {
  color: var(--color-text-secondary);
  text-decoration: none;
}

.footer-copyright a:hover {
  color: var(--color-primary);
}

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .hero-description {
    max-width: none;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-preview {
    order: -1;
  }

  .hero-title {
    font-size: 42px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .asset-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .game-scene {
    height: 260px;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 12px 16px;
  }

  .nav-brand {
    gap: 8px;
  }

  .nav-title {
    font-size: 16px;
  }

  .nav-logo {
    width: 28px;
    height: 28px;
  }

  .nav-links {
    gap: 8px;
  }

  .nav-link:not(.nav-link-github) {
    display: none;
  }

  .lang-switcher {
    padding: 2px;
  }

  .lang-btn {
    padding: 4px 8px;
    font-size: 11px;
  }

  .github-text {
    display: none;
  }

  .nav-link-github {
    padding: 6px 10px;
  }

  .hero {
    padding: 80px 0 40px;
    min-height: auto;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-badge {
    font-size: 12px;
    padding: 6px 12px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .preview-frame {
    padding: 16px;
  }

  .preview-pixel {
    width: 20px;
    height: 20px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-title {
    font-size: 28px;
  }

  .section-subtitle {
    font-size: 15px;
  }

  .features {
    padding: 60px 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 24px;
  }

  .feature-icon {
    width: 48px;
    height: 48px;
  }

  .feature-title {
    font-size: 18px;
  }

  .examples {
    padding: 60px 0;
  }

  .game-scene {
    height: 180px;
    border-radius: 12px;
    margin: 0 16px;
  }

  .scene-bird { width: 28px; height: 28px; }
  .scene-chest { width: 36px; height: 36px; bottom: 28px; }
  .scene-sword { width: 24px; height: 24px; bottom: 28px; }
  .scene-heart { width: 20px; height: 20px; bottom: 32px; }
  .scene-explosion { width: 40px; height: 40px; bottom: 24px; }
  .scene-tree-1 { width: 40px; }
  .scene-tree-2 { width: 32px; }

  .asset-cards {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }

  .game-assets {
    gap: 16px;
  }

  .getting-started {
    padding: 60px 0;
  }

  .steps {
    padding: 0 16px;
  }

  .step {
    flex-direction: column;
    gap: 12px;
  }

  .step-number {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .step-code {
    overflow-x: auto;
    padding: 10px 12px;
  }

  .step-code code {
    font-size: 13px;
    white-space: nowrap;
  }

  .step-code pre {
    overflow-x: auto;
    white-space: pre;
  }

  .command-example {
    font-size: 13px;
    padding: 10px 12px;
  }

  .tools {
    padding: 60px 0;
  }

  .tools-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .tool-list li {
    font-size: 12px;
  }

  .footer {
    padding: 40px 0;
  }

  .footer-links {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }

  .preview-pixel {
    width: 16px;
    height: 16px;
  }

  .preview-frame {
    padding: 12px;
  }

  .feature-card {
    padding: 20px;
  }

  .game-scene {
    height: 150px;
  }

  .scene-bird { width: 24px; height: 24px; }
  .scene-chest { width: 30px; height: 30px; bottom: 24px; }
  .scene-sword { width: 20px; height: 20px; bottom: 24px; }
  .scene-heart { width: 16px; height: 16px; bottom: 28px; }
  .scene-explosion { width: 32px; height: 32px; bottom: 20px; }
  .scene-tree-1 { width: 32px; }
  .scene-tree-2 { width: 28px; }

  .section-title {
    font-size: 24px;
  }

  .example-game {
    padding: 16px;
  }
}