:root {
  --bg: #0e1012;
  --bg-2: #141719;
  --panel: #191e22;
  --panel-soft: #1f252b;
  --line: #3a4550;
  --line-soft: #2a343c;
  --text: #dde8f0;
  --muted: #a8bac8;
  --accent: #6abf45;
  --accent-2: #50a030;
  --accent-strong: #82d455;
  --title: #f0f5f8;
  --card-ivory: #ded8c8;
  /* minecraft.net inspired */
  --mc-green: #5daf2b;
  --mc-green-light: #7ed43f;
  --mc-green-dark: #3d8c1a;
  --mc-dirt: #8b6914;
  --mc-stone: #7a7a7a;
  --mc-gold: #f9c11e;
  --mc-diamond: #4ee0d4;
  --mc-panel-border: #2e3d28;
  --mc-glow: rgba(106, 191, 69, 0.18);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
h1[id], h2[id] { scroll-margin-top: 108px; }
body {
  font-family: "Noto Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(ellipse at 0% 0%, rgba(93, 175, 43, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 100% 60%, rgba(78, 224, 212, 0.05) 0%, transparent 45%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  line-height: 1.45;
  -webkit-tap-highlight-color: transparent;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 8px; top: 8px; background: #fff; color: #000; padding: 8px; z-index: 999; }

.top-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, #141a1f 0%, #0e1215 100%);
  border-bottom: 2px solid #2e3d28;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45), 0 1px 0 rgba(93, 175, 43, 0.18);
}

.header-inner {
  width: min(1240px, 94vw);
  min-height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.top-nav-shell {
  display: contents;
}

.top-nav-progress {
  display: none;
}

.top-social-desktop {
  display: flex;
  align-items: center;
  gap: 8px;
}

.desktop-only-nav {
  display: inline-flex;
}

.top-nav a {
  color: #d7e0e7;
  text-decoration: none;
  border: 1px solid transparent;
  background: transparent;
  padding: 7px 10px;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  font-weight: 700;
  white-space: nowrap;
  border-radius: 6px;
}

.top-nav a:hover,
.top-nav a:focus-visible {
  border-color: #4a545d;
  background: #21282e;
}

.nav-download-btn {
  border: 2px solid var(--mc-green-light);
  background: linear-gradient(180deg, #72c83c 0%, #4ea825 100%);
  color: #0f1f06;
  padding: 6px 14px;
  min-height: 34px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  border-radius: 4px;
  box-shadow: 0 3px 0 #2d6010, inset 0 1px 0 rgba(255,255,255,0.18);
  transition: filter 120ms ease, transform 100ms ease, box-shadow 100ms ease;
}

.nav-download-btn:hover,
.nav-download-btn:focus-visible {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 5px 0 #2d6010, inset 0 1px 0 rgba(255,255,255,0.22);
}

.nav-download-btn:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0 #2d6010;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.brand-wrap img {
  border: 0;
  border-radius: 10px;
  box-shadow: none;
  background: transparent;
  width: 38px;
  height: 38px;
  object-fit: cover;
}
.brand-wrap:focus-visible {
  outline: 2px solid #8fb3cc;
  outline-offset: 2px;
  border-radius: 8px;
}
.brand {
  margin: 0;
  font-family: "Press Start 2P", monospace;
  font-size: 0.88rem;
  line-height: 1.5;
  letter-spacing: 0.55px;
  color: #e8f4e0;
  text-shadow: 0 0 16px rgba(93, 175, 43, 0.5), 0 2px 4px rgba(0,0,0,0.5);
}
.slogan {
  margin: 5px 0 0;
  color: #cfd9ca;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.header-actions a {
  text-decoration: none;
  color: #ebf2e8;
  border: 1px solid #454545;
  padding: 7px 10px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.header-actions .social-icon {
  width: 36px;
  height: 36px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #20262b;
  border: 1px solid #454f57;
}

.header-actions .social-icon svg {
  width: 18px;
  height: 18px;
  fill: #ebf0f4;
}

.header-actions .social-icon:hover,
.header-actions .social-icon:focus-visible {
  border-color: #6a7885;
  background: #2a3239;
}

.header-actions label {
  color: #c5c5c5;
  text-transform: uppercase;
  font-size: 0.84rem;
}

.header-actions select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  height: 36px;
  border: 1px solid #4d5963;
  border-radius: 6px;
  background: #21272c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%238a9aa8'/%3E%3C/svg%3E") no-repeat right 8px center;
  color: #eff4f8;
  padding: 0 28px 0 10px;
  font-family: inherit;
  cursor: pointer;
}

.site-footer {
  margin-top: 22px;
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(180deg, #181d21 0%, #12161a 100%);
}

.footer-inner {
  width: min(1240px, 94vw);
  margin: 0 auto;
  min-height: 128px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 16px 0 24px;
}

.footer-meta {
  text-align: left;
  color: #bfc9d2;
  font-size: 0.88rem;
  line-height: 1.45;
}

.footer-meta p {
  margin: 0;
}

.footer-meta p + p {
  margin-top: 4px;
}

.footer-legal-links {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
}

.footer-legal-links a {
  color: #dbe5ed;
  text-decoration: none;
  font-weight: 600;
}

.footer-legal-links a:hover,
.footer-legal-links a:focus-visible {
  color: #f4f9ff;
  text-decoration: underline;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.footer-socials .social-icon {
  width: 36px;
  height: 36px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #20262b;
  border: 1px solid #454f57;
}

.footer-socials .social-icon svg {
  width: 18px;
  height: 18px;
  fill: #f2f5ee;
}

.page { width: min(1240px, 94vw); margin: 18px auto 32px; }
.section {
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel-soft) 100%);
  border: 2px solid #2e3d28;
  margin-top: 20px;
  padding: 24px;
  border-radius: 8px;
  box-shadow:
    inset 0 0 0 1px rgba(93, 175, 43, 0.06),
    0 8px 32px rgba(0, 0, 0, 0.35),
    0 1px 0 rgba(93, 175, 43, 0.12);
  position: relative;
}

/* Minecraft-style corner accent */
.section::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--mc-green) 20%, var(--mc-green-light) 50%, var(--mc-green) 80%, transparent 100%);
  opacity: 0.5;
  border-radius: 8px 8px 0 0;
}

.section:not(#hero-section) {
  content-visibility: auto;
  contain-intrinsic-size: 860px;
}

.section-head h2 {
  margin: 0 0 16px;
  font-family: "Press Start 2P", monospace;
  color: var(--title);
  font-size: clamp(0.9rem, 1.6vw, 1.2rem);
  line-height: 1.35;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-shadow: 0 0 20px rgba(93, 175, 43, 0.35);
}

.section-title-icon {
  width: 30px;
  height: 30px;
  border: 2px solid #3d5230;
  border-radius: 4px;
  background: linear-gradient(180deg, #1e2e16 0%, #172212 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(93, 175, 43, 0.2), 0 2px 6px rgba(0,0,0,0.4);
  flex: 0 0 auto;
}

.section-title-icon svg {
  width: 16px;
  height: 16px;
  fill: var(--mc-green-light);
  filter: drop-shadow(0 0 4px rgba(93, 175, 43, 0.6));
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.video-panel,
.video-card {
  border: 2px solid #2e3d28;
  background: #0a0d0f;
  align-self: stretch;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(93, 175, 43, 0.06);
}

.video-panel {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  height: 100%;
}

.video-panel iframe {
  width: 100%;
  border: 0;
  display: block;
  flex: 1;
  min-height: 320px;
}

.video-card {
  position: relative;
}

.video-card iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

.video-thumb-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0d0f;
  z-index: 1;
  pointer-events: none;
}

.video-thumb-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.video-thumb-placeholder.no-thumb {
  background: linear-gradient(135deg, #0d1a0a 0%, #111f0d 50%, #0a1508 100%);
}

.video-play-icon {
  position: relative;
  z-index: 2;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.65);
  border: 2px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.video-play-icon svg {
  width: 26px;
  height: 26px;
  fill: #fff;
  margin-left: 3px;
}

.video-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  background: linear-gradient(180deg, #1a2025 0%, #14191e 100%);
  padding: 12px;
}

.metric-item {
  border: 2px solid #3a4d30;
  background: linear-gradient(180deg, #1a2a18 0%, #141f12 100%);
  padding: 9px 10px;
  min-height: 74px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  transition: border-color 160ms ease;
}

.metric-item:hover {
  border-color: #5a7548;
}

.metric-value {
  margin: 0;
  color: var(--mc-green-light);
  font-family: "Press Start 2P", monospace;
  font-size: 0.8rem;
  line-height: 1.45;
  text-shadow: 0 0 10px rgba(126, 212, 63, 0.5);
}

.metric-label {
  margin: 6px 0 0;
  color: #b7c3cc;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.45px;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.metric-stars {
  position: relative;
  display: inline-block;
  font-size: 1.6rem;
  letter-spacing: 2px;
  line-height: 0.9;
}

.metric-stars .stars-bg {
  color: #6c7668;
}

.metric-stars .stars-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 90%;
  overflow: hidden;
  color: var(--mc-gold);
  white-space: nowrap;
  text-shadow: 0 0 12px rgba(249, 193, 30, 0.6);
}

.metric-sub {
  margin: 0;
  color: var(--mc-green-light);
  font-family: "Press Start 2P", monospace;
  font-size: 0.8rem;
  line-height: 1.45;
  text-shadow: 0 0 10px rgba(126, 212, 63, 0.5);
}

.metric-leading {
  border-color: #5a7a3a;
  background: linear-gradient(180deg, #1f3018 0%, #172410 100%);
  box-shadow: inset 0 0 0 1px rgba(93, 175, 43, 0.15), 0 0 14px rgba(93, 175, 43, 0.12);
}

.promo-panel {
  border: 2px solid #2e3d28;
  background: linear-gradient(180deg, #161e12 0%, #111809 100%);
  padding: 16px;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(93, 175, 43, 0.07);
}

.promo-logo {
  width: 78px;
  height: 78px;
  border-radius: 14px;
}

.promo-panel h1 {
  margin: 10px 0 10px;
  font-family: "Press Start 2P", monospace;
  color: #e8f8e0;
  font-size: clamp(0.78rem, 1.8vw, 0.96rem);
  line-height: 1.3;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-shadow: 0 0 24px rgba(93, 175, 43, 0.5), 0 2px 6px rgba(0,0,0,0.6);
}

.hero-title-line {
  display: block;
  white-space: nowrap;
}

.promo-panel p { margin: 0 0 14px; color: var(--muted); font-size: 1.15rem; }

.code-showcase {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  gap: 10px;
  margin-bottom: 14px;
  flex: 1;
  min-height: 280px;
}

.code-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.code-tab {
  border: 2px solid #3a4d30;
  background: #131a0e;
  color: #b8d4a8;
  min-height: 34px;
  cursor: pointer;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px 4px 0 0;
  transition: background 120ms ease, border-color 120ms ease;
}

.code-tab.is-active {
  border-color: var(--mc-green);
  background: linear-gradient(180deg, #1e3018 0%, #172211 100%);
  color: #c8f0a8;
  box-shadow: 0 0 12px rgba(93, 175, 43, 0.25);
}

.code-panel {
  border: 2px solid #2a3820;
  background: #0b110a;
  padding: 10px;
  display: none;
  height: 100%;
  border-radius: 0 0 4px 4px;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.4);
}

.code-panel.is-active {
  display: block;
}

.code-title {
  margin: 0 0 6px !important;
  color: #e9eef2 !important;
  font-size: 0.86rem !important;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.code-panel pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  height: 220px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #5f7457 #1a2219;
  padding-right: 4px;
}

.code-panel pre::-webkit-scrollbar {
  width: 8px;
}

.code-panel pre::-webkit-scrollbar-track {
  background: #1a2219;
  border-radius: 999px;
}

.code-panel pre::-webkit-scrollbar-thumb {
  background: #4f6448;
  border-radius: 999px;
  border: 1px solid #1a2219;
}

.code-panel pre:hover::-webkit-scrollbar-thumb {
  background: #688260;
}

.code-panel code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.74rem;
  line-height: 1.45;
  color: #d5e3ec;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 2px solid #3a4d30;
  background: linear-gradient(180deg, #1e2d18 0%, #151f10 100%);
  color: #c8e0b8;
  text-decoration: none;
  min-height: 40px;
  padding: 8px 12px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
  transition: filter 120ms ease, transform 100ms ease, box-shadow 120ms ease;
  box-shadow: 0 3px 0 #0d1508;
}

.btn:hover, .btn:focus-visible {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 5px 0 #0d1508;
}

.btn:active {
  transform: translateY(1px);
  box-shadow: 0 1px 0 #0d1508;
}

.btn.primary {
  border-color: var(--mc-green);
  background: linear-gradient(180deg, #5daf2b 0%, #3d8c1a 100%);
  color: #0c1a06;
  box-shadow: 0 4px 0 #1a5000, inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn.primary:hover, .btn.primary:focus-visible {
  filter: brightness(1.12);
  box-shadow: 0 6px 0 #1a5000, inset 0 1px 0 rgba(255,255,255,0.25);
}

.btn.primary:active {
  box-shadow: 0 1px 0 #1a5000;
}

.btn.secondary {
  border-color: #4a6a38;
  background: linear-gradient(180deg, #1e2d18 0%, #151f10 100%);
  color: var(--mc-green-light);
  box-shadow: 0 4px 0 #0a1207, inset 0 1px 0 rgba(255,255,255,0.06);
}

.btn.secondary:hover, .btn.secondary:focus-visible {
  border-color: var(--mc-green);
  filter: brightness(1.1);
}

.cta-stack { display: grid; gap: 8px; }

.install-btn {
  font-size: 0.94rem;
  letter-spacing: 0.7px;
  border-width: 2px;
  gap: 8px;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
  min-height: 50px;
  border-radius: 6px;
  font-weight: 800;
}

.ios-btn {
  background: linear-gradient(180deg, #1a1e2a 0%, #121624 100%);
  border-color: #3a4560;
  color: #b8c8f0;
  box-shadow: 0 4px 0 #06080f;
}

.ios-btn:hover, .ios-btn:focus-visible {
  border-color: #5a6880;
  filter: brightness(1.12);
  box-shadow: 0 6px 0 #06080f;
}

.android-btn {
  background: linear-gradient(180deg, #5daf2b 0%, #3d8c1a 100%);
  border-color: var(--mc-green);
  color: #0a1805;
  box-shadow: 0 4px 0 #1a5000, inset 0 1px 0 rgba(255,255,255,0.2);
}

.android-btn:hover, .android-btn:focus-visible {
  filter: brightness(1.1);
  box-shadow: 0 6px 0 #1a5000, inset 0 1px 0 rgba(255,255,255,0.24);
}

.install-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.install-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.slider-window {
  overflow: hidden;
  border: 2px solid #2a3820;
  background: #0d1209;
  padding: 12px;
  border-radius: 6px;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.35);
}

.slider-window.manual-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 14px;
  -webkit-overflow-scrolling: touch;
  padding: 12px 0;
  scrollbar-width: none;
}

.scroll-shell {
  position: relative;
}

.scroll-shell::before,
.scroll-shell::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 22px;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 180ms ease;
}

.scroll-shell::before {
  left: 0;
  background: linear-gradient(90deg, rgba(18, 23, 28, 0.95), rgba(18, 23, 28, 0));
}

.scroll-shell::after {
  right: 0;
  background: linear-gradient(270deg, rgba(18, 23, 28, 0.95), rgba(18, 23, 28, 0));
}

.scroll-shell.can-scroll-left::before { opacity: 1; }
.scroll-shell.can-scroll-right::after { opacity: 1; }

.scroll-nav {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.scroll-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  color: var(--mc-green-light, #8ed44a);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 120ms ease;
}

.scroll-btn svg {
  display: block;
  width: 48px;
  height: 36px;
}

.scroll-btn:hover,
.scroll-btn:focus-visible {
  opacity: 0.6;
}

.scroll-btn:active {
  opacity: 0.4;
}

.scroll-btn:disabled {
  opacity: 0.45;
  border-color: #49555f;
  background: #252d34;
  color: #aeb8c0;
  box-shadow: none;
  cursor: default;
  transform: none;
}

.slider-window.manual-scroll::-webkit-scrollbar {
  display: none;
}

.slider-window.manual-scroll::-webkit-scrollbar-thumb {
  background: #5e7458;
  border-radius: 999px;
}

.slider-window.manual-scroll .content-card,
.slider-window.manual-scroll .weekly-item {
  scroll-snap-align: start;
}

.slider-track {
  display: flex;
  gap: 14px;
  will-change: transform;
}

.slider-track::after,
.preview-grid::after {
  content: "";
  flex: 0 0 14px;
}

#content-grid {
  padding-inline: 14px;
}

.content-card {
  flex: 0 0 min(292px, 78vw);
  background: linear-gradient(180deg, #1a2414 0%, #131a0e 100%);
  border: 2px solid #2e3d28;
  border-radius: 6px;
  padding: 12px;
  color: #c8dbb8;
  box-shadow: inset 0 0 0 1px rgba(93, 175, 43, 0.06), 0 4px 14px rgba(0,0,0,0.4);
  cursor: pointer;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
  display: grid;
  grid-template-rows: auto auto 2.5em auto auto;
  align-content: start;
  gap: 8px;
}

.content-card:hover,
.content-card:focus-visible {
  border-color: var(--mc-green);
  box-shadow: inset 0 0 0 1px rgba(93, 175, 43, 0.2), 0 8px 24px rgba(0,0,0,0.45), 0 0 14px rgba(93, 175, 43, 0.15);
  transform: translateY(-2px);
}

.content-thumb-wrap { position: relative; }
.content-thumb-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  border: 2px solid #2a3845;
  background: linear-gradient(180deg, #2a343d 0%, #222a32 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.content-thumb-placeholder img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  opacity: 0.9;
}

.content-thumb {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid #2a3845;
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 180ms ease;
}

.content-thumb-wrap.is-loaded .content-thumb {
  opacity: 1;
}
.content-card h3 {
  margin: 2px 0 0;
  font-family: "Press Start 2P", monospace;
  font-size: 0.78rem;
  line-height: 1.25;
  color: #d8f0c0;
  min-height: 2.5em;
  max-height: 2.5em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-shadow: 0 0 8px rgba(93, 175, 43, 0.25);
}

.content-card p { margin: 0; font-size: 1.02rem; }
.content-card .meta { margin-top: 6px; color: #635d4c; font-size: 0.96rem; }
.trend-meta {
  margin-top: 0;
  display: grid;
  grid-template-columns: 0.82fr 1.36fr 0.96fr;
  gap: 12px;
  min-height: 28px;
  align-items: center;
  width: 100%;
  overflow: hidden;
}

.trend-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid #3a4d30;
  background: #141e0e;
  color: #a8c890;
  border-radius: 3px;
  padding: 2px 6px;
  font-size: 0.82rem;
  width: 100%;
  min-width: 0;
}

.trend-chip-type {
  border-color: var(--mc-green-dark);
  background: #0f1e08;
  color: var(--mc-green-light);
}


.trend-install {
  width: 100%;
  margin-top: 6px;
  min-height: 36px;
  font-size: 0.82rem;
  padding: 6px 8px;
  align-self: end;
}

.stat-row {
  margin-top: 7px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  font-size: 1.12rem;
}

.card-actions {
  margin-top: 9px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.preview-grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 14px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-inline: 14px;
}

.preview-grid::-webkit-scrollbar {
  display: none;
}

.preview-grid::-webkit-scrollbar-thumb {
  background: #5e7458;
  border-radius: 999px;
}

.preview-grid .video-card {
  flex: 0 0 min(420px, 88vw);
  scroll-snap-align: start;
}

.weekly-track .weekly-item {
  flex: 0 0 min(320px, 82vw);
  border: 1px solid #4b5863;
  background: #141a20;
  padding: 8px;
  scroll-snap-align: start;
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  gap: 10px;
}

.weekly-track {
  padding-inline: 14px;
}

.weekly-open {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: 10px;
  overflow: hidden;
}

.weekly-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 708;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

.weekly-install-btn {
  width: 100%;
  min-height: 34px;
  font-size: 0.78rem;
  letter-spacing: 0.4px;
}

.testimonial-list {
  position: relative;
  display: grid;
  gap: 12px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.trend-chip svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
  flex: 0 0 auto;
}

.trend-chip strong {
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.testimonial {
  border: 2px solid #2e3d28;
  background: linear-gradient(180deg, #171f11 0%, #111809 100%);
  padding: 10px 14px 14px;
  width: min(340px, 82vw);
  min-width: min(340px, 82vw);
  max-width: min(340px, 82vw);
  border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(93, 175, 43, 0.05);
}

.testimonial .review-stars {
  margin: -4px 0 12px;
  font-family: "Press Start 2P", monospace;
  font-size: 1.79rem;
  line-height: 0.9;
  display: block;
  letter-spacing: 4.2px;
  color: var(--mc-gold);
  text-shadow: 0 0 22px rgba(249, 193, 30, 0.6), 0 0 6px rgba(249, 193, 30, 0.4);
}

.testimonial p { margin: 0 0 8px; font-size: 1.07rem; color: #d8e3ec; }
.testimonial > p:not(.review-stars) {
  min-height: calc(1.4em * 3);
  max-height: calc(1.4em * 3);
  line-height: 1.4;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.testimonial strong { color: var(--mc-green-light); font-size: 0.95rem; text-transform: uppercase; }


.review-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: review-wall-scroll 120s linear infinite;
}

.review-track.reverse {
  animation-direction: reverse;
  animation-duration: 140s;
}

.seo-copy p {
  margin: 0 0 12px;
  color: #cbd6de;
  font-size: 1rem;
  line-height: 1.65;
}

.seo-copy ul {
  margin: 4px 0 16px 18px;
  padding: 0;
  color: #d7e2ea;
}

.seo-copy li {
  margin: 0 0 8px;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 8px;
}

.review-avatar {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  object-fit: cover;
  border: 2px solid #3a4d30;
  background: #141c0e;
  flex: 0 0 auto;
}
@keyframes review-wall-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.detail-modal {
  border: 2px solid #3a4d30;
  background: linear-gradient(180deg, #161e10 0%, #0f1609 100%);
  color: #c8e8a8;
  width: min(680px, 92vw);
  padding: 18px;
  max-height: 88vh;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.7), inset 0 0 0 1px rgba(93, 175, 43, 0.12);
}
.detail-modal::backdrop { background: rgba(0, 0, 0, 0.6); }
.detail-modal article {
  display: flex;
  flex-direction: column;
  max-height: calc(88vh - 32px);
  overflow: auto;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: #4a7a30 #111a0d;
}
.detail-modal article::-webkit-scrollbar {
  width: 4px;
}
.detail-modal article::-webkit-scrollbar-track {
  background: transparent;
}
.detail-modal article::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #6ec234 0%, #4ea825 100%);
  border-radius: 999px;
}
.detail-modal article::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #88d44a 0%, #5ec030 100%);
}
.close-modal {
  position: absolute;
  top: 12px;
  right: 36px;
  z-index: 3;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #2e3944;
  border: 1px solid #617282;
  color: #e8f0f7;
  cursor: pointer;
}
.detail-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: min(52vh, 540px);
  object-fit: cover;
  border: 1px solid #627386;
  margin: 12px 0;
  border-radius: 14px;
  background: transparent;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(190, 214, 236, 0.09);
}
.badge { border: 1px solid #739469; border-radius: 999px; padding: 2px 8px; width: fit-content; }

#detail-title {
  margin: 4px 0 10px;
  line-height: 1.35;
  text-align: center;
}

#detail-desc {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #475666;
  background: linear-gradient(180deg, rgba(26, 35, 44, 0.95), rgba(21, 29, 37, 0.96));
  color: #d8e4ef;
  line-height: 1.62;
  white-space: pre-line;
  max-height: none;
  overflow: visible;
}

#detail-download {
  align-self: center;
  margin: 8px auto 0;
  min-width: min(320px, 88%);
  text-align: center;
  outline: none;
  box-shadow: none;
}

#detail-download:focus,
#detail-download:focus-visible,
#detail-download:active {
  outline: none;
  box-shadow: none;
}

.weekly-modal {
  border: 1px solid #4f5f6b;
  background: linear-gradient(180deg, #1b2229 0%, #131a21 100%);
  padding: 12px;
  width: auto;
  max-width: min(720px, 94vw);
  max-height: 90vh;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(159, 184, 208, 0.12);
}

.weekly-modal[open] {
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}

.weekly-modal-cta {
  width: 100%;
  justify-content: center;
}

.weekly-modal::backdrop {
  background: rgba(0, 0, 0, 0.7);
}

#weekly-modal-image {
  display: block;
  width: auto;
  height: auto;
  max-width: min(696px, 90vw);
  max-height: 74vh;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid #627589;
  background: #10161c;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(199, 216, 232, 0.08);
}

@media (min-width: 981px) {
  .scroll-nav {
    top: 50%;
    left: 0;
    right: 0;
    bottom: auto;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    padding: 0 6px;
    pointer-events: none;
  }
  .scroll-nav .scroll-btn {
    pointer-events: auto;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(48, 59, 69, 0.94), rgba(35, 44, 53, 0.94));
    border-color: #728391;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.36);
  }
  .scroll-nav .scroll-btn.prev {
    transform: translateX(-8px);
  }
  .scroll-nav .scroll-btn.next {
    transform: translateX(8px);
  }
  .scroll-nav .scroll-btn:hover,
  .scroll-nav .scroll-btn:focus-visible {
    transform: none;
  }
}

@media (max-width: 980px) {
  .top-social-desktop { display: none; }
  .desktop-only-nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; gap: 12px; }
  .video-panel { height: auto; }
  .video-panel iframe { flex: none; min-height: unset; aspect-ratio: 16 / 9; }
  .promo-panel { height: auto; }
  .hero-title-line { white-space: normal; }
  .video-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .preview-grid .video-card { flex-basis: min(360px, 86vw); }
  .header-inner {
    flex-wrap: wrap;
    padding: 12px 0;
    align-items: center;
  }
  .brand-wrap {
    flex: 0 1 auto;
    min-width: 0;
  }
  .header-actions {
    margin-left: auto;
    width: auto;
    justify-content: flex-end;
    flex: 0 0 auto;
  }
  .top-nav-shell {
    order: 3;
    width: 100%;
    position: relative;
    display: block;
  }
  .top-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: center;
    gap: 12px;
    padding: 14px 0 20px;
  }
  .footer-meta { text-align: center; }
  .footer-legal-links { justify-content: center; }
  .footer-socials { justify-content: center; }
  .scroll-nav {
    top: 50%;
    left: 0;
    right: 0;
    bottom: auto;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    padding: 0 4px;
    pointer-events: none;
  }
  .scroll-nav .scroll-btn {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    font-size: 0.98rem;
    border-color: #7c8f9f;
    background: linear-gradient(180deg, rgba(44, 56, 67, 0.9), rgba(32, 41, 50, 0.9));
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
    pointer-events: auto;
  }
  .scroll-nav .scroll-btn.prev {
    transform: translateX(-4px);
  }
  .scroll-nav .scroll-btn.next {
    transform: translateX(4px);
  }
  .scroll-nav .scroll-btn:hover,
  .scroll-nav .scroll-btn:focus-visible {
    transform: none;
  }
  .scroll-nav .scroll-btn:disabled {
    opacity: 0;
    visibility: hidden;
  }
  .top-nav a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .nav-download-btn {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .top-nav-shell::before,
  .top-nav-shell::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 2px;
    width: 26px;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 180ms ease;
  }
  .top-nav-shell::before {
    left: 0;
    background: linear-gradient(90deg, rgba(20, 24, 28, 0.96), rgba(20, 24, 28, 0));
  }
  .top-nav-shell::after {
    right: 0;
    background: linear-gradient(270deg, rgba(20, 24, 28, 0.96), rgba(20, 24, 28, 0));
  }
  .top-nav-shell.can-scroll-left::before,
  .top-nav-shell.can-scroll-right::after {
    opacity: 1;
  }
  .top-nav-progress {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: -3px;
    height: 2px;
    border-radius: 999px;
    background: rgba(186, 202, 214, 0.16);
    opacity: 0;
    transition: opacity 180ms ease;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
  }
  .top-nav-progress-fill {
    display: block;
    height: 100%;
    width: 28%;
    border-radius: inherit;
    background: linear-gradient(90deg, #9db9cc, #d6e7f3);
    transform: translateX(var(--nav-progress-x, 0%));
    transition: transform 120ms ease-out, width 120ms ease-out;
  }
  .top-nav-shell.is-scrollable .top-nav-progress {
    opacity: 1;
  }
}

@media (max-width: 640px) {
  .header-inner { padding: 12px 0; }
  .card-actions { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .video-metrics { grid-template-columns: 1fr; }
  .preview-grid .video-card { flex-basis: 88vw; }
  .section { box-shadow: none; }
  .top-header { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); }
  .review-track.reverse { display: none; }
  .review-track { animation-duration: 170s; }
  .footer-legal-links { gap: 10px; flex-wrap: wrap; }
  .footer-meta { font-size: 0.82rem; }
}

@media (max-width: 768px) {
  h1[id], h2[id] { scroll-margin-top: 92px; }
  .page { width: min(1240px, 96vw); margin: 14px auto 24px; }

  .section-title-icon { display: none; }

  .header-inner {
    min-height: auto;
    gap: 10px;
    padding: 10px 0;
  }

  .brand-wrap img {
    width: 36px;
    height: 36px;
  }

  .brand {
    font-size: 0.72rem;
    line-height: 1.45;
  }

  .slogan { display: none; }

  .header-actions {
    width: auto;
    gap: 8px;
    justify-content: flex-end;
    margin-left: auto;
  }

  .header-actions .social-icon {
    width: 34px;
    height: 34px;
  }

  .header-actions select {
    min-height: 34px;
    font-size: 0.88rem;
    padding: 5px 8px;
  }

  .top-nav {
    gap: 8px;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .top-nav::-webkit-scrollbar { display: none; }

  .top-nav a {
    font-size: 0.72rem;
    padding: 7px 9px;
  }

  .nav-download-btn {
    padding: 6px 10px;
    min-height: 34px;
    font-size: 0.72rem;
  }

  .section {
    margin-top: 14px;
    padding: 16px;
    border-radius: 12px;
  }

  .section-head h2 {
    margin-bottom: 12px;
    gap: 8px;
    font-size: clamp(0.8rem, 3.2vw, 1rem);
  }

  .section-title-icon {
    width: 24px;
    height: 24px;
  }

  .section-title-icon svg {
    width: 14px;
    height: 14px;
  }

  .video-panel { gap: 12px; }

  .video-panel iframe { min-height: 220px; }

  .video-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 4px;
    gap: 6px;
  }

  .metric-item {
    min-height: 24px;
    padding: 3px 4px;
  }

  .metric-value,
  .metric-sub {
    font-size: 0.72rem;
  }

  .metric-label { font-size: 0.72rem; }

  .metric-stars {
    font-size: 1.3rem;
    letter-spacing: 1px;
  }

  .promo-panel { padding: 12px; }

  .promo-logo {
    width: 64px;
    height: 64px;
  }

  .promo-panel h1 {
    font-size: 0.74rem;
    line-height: 1.35;
    letter-spacing: 0.35px;
  }

  .hero-title-line { white-space: normal; }

  .code-showcase {
    min-height: 232px;
    margin-bottom: 10px;
  }

  .code-panel pre { height: 160px; }

  .install-btn {
    min-height: 44px;
    font-size: 0.86rem;
  }

  .slider-window {
    padding: 10px;
    border-radius: 10px;
  }

  .slider-window.manual-scroll {
    padding: 10px 0;
    scroll-padding-inline: 12px;
  }

  .slider-track { gap: 12px; }

  .slider-track::after,
  .preview-grid::after {
    flex: 0 0 12px;
  }

  #content-grid,
  .preview-grid,
  .weekly-track {
    padding-inline: 12px;
  }

  .content-card {
    flex: 0 0 min(286px, 84vw);
    padding: 10px;
    gap: 7px;
    border-radius: 14px;
  }

  .trend-meta {
    gap: 8px;
    grid-template-columns: 0.74fr 1.52fr 0.92fr;
  }

  .trend-chip {
    font-size: 0.78rem;
    padding: 2px 5px;
  }

  .trend-chip svg {
    width: 12px;
    height: 12px;
  }

  .trend-install {
    min-height: 34px;
    font-size: 0.78rem;
  }

  .preview-grid .video-card { flex: 0 0 90vw; }

  .weekly-track .weekly-item {
    flex: 0 0 min(308px, 84vw);
    padding: 7px;
  }

  .weekly-install-btn {
    min-height: 32px;
    font-size: 0.74rem;
  }

  .testimonial {
    width: min(300px, 84vw);
    min-width: min(300px, 84vw);
    max-width: min(300px, 84vw);
    padding: 10px 12px 12px;
  }

  .testimonial .review-stars {
    margin: 0 0 9px;
    font-size: 1.36rem;
    letter-spacing: 2.6px;
  }

  .testimonial p { font-size: 1rem; }

  .footer-inner {
    padding: 12px 0 18px;
    gap: 10px;
  }

  .footer-meta {
    font-size: 0.8rem;
    line-height: 1.5;
  }

  .footer-legal-links { gap: 8px; }

  .footer-socials { gap: 9px; }

  .footer-socials .social-icon {
    width: 34px;
    height: 34px;
  }
}

@media (max-width: 480px) {
  .brand {
    font-size: 0.68rem;
    line-height: 1.42;
  }
  .section { padding: 14px; }
  .content-card { flex-basis: 86vw; }
  .weekly-track .weekly-item { flex-basis: 86vw; }
  .testimonial {
    width: 86vw;
    min-width: 86vw;
    max-width: 86vw;
  }
  .install-btn {
    font-size: 0.82rem;
    letter-spacing: 0.45px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .review-track,
  .review-track.reverse {
    animation: none;
    transform: none;
  }
}

/* ============ FEATURES SECTION ============ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 4px;
}

.feature-card {
  background: linear-gradient(180deg, #161e10 0%, #111608 100%);
  border: 2px solid #2e3d28;
  border-radius: 6px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--mc-green-dark), transparent);
  opacity: 0.6;
}

.feature-card:hover {
  border-color: var(--mc-green);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.45), 0 0 16px rgba(93, 175, 43, 0.15);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border: 2px solid #3a4d30;
  border-radius: 6px;
  background: linear-gradient(180deg, #1e3018 0%, #162211 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4), inset 0 0 0 1px rgba(93, 175, 43, 0.15);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--mc-green-light);
  filter: drop-shadow(0 0 6px rgba(93, 175, 43, 0.5));
}

.feature-name {
  margin: 0;
  font-family: "Press Start 2P", monospace;
  font-size: 0.7rem;
  color: #c8f0a8;
  line-height: 1.4;
  text-shadow: 0 0 10px rgba(93, 175, 43, 0.3);
}

.feature-desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

/* ============ PLATFORM CTA SECTION ============ */
.platform-cta-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 4px;
}

.platform-card {
  background: linear-gradient(180deg, #161e10 0%, #101508 100%);
  border: 2px solid #2e3d28;
  border-radius: 6px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 120ms ease;
}

.platform-card:hover {
  border-color: var(--mc-green);
  box-shadow: 0 0 20px rgba(93, 175, 43, 0.15);
  transform: translateY(-2px);
}

.platform-card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.platform-card-icon svg {
  width: 36px;
  height: 36px;
  fill: var(--mc-green-light);
  filter: drop-shadow(0 0 8px rgba(93, 175, 43, 0.5));
}

.platform-card-title {
  font-family: "Press Start 2P", monospace;
  font-size: 0.7rem;
  color: #c0e8a0;
  line-height: 1.4;
  text-shadow: 0 0 10px rgba(93, 175, 43, 0.3);
}

.platform-card-desc {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
  margin: 0;
}

/* ============ HERO CTA 下载区 ============ */
.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 8px;
  flex: 1;
  justify-content: flex-end;
}

/* 评分栏 */
.hero-rating-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-rating-stars {
  color: var(--mc-gold);
  font-size: 1.05rem;
  letter-spacing: 2px;
  line-height: 1;
  text-shadow: 0 0 10px rgba(249, 193, 30, 0.55);
}

.hero-rating-text {
  font-size: 0.8rem;
  color: #b0c8a0;
  line-height: 1.3;
  white-space: nowrap;
}

/* 大下载按钮通用 */
.hero-cta-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 100ms ease, box-shadow 100ms ease, filter 100ms ease;
  position: relative;
  overflow: hidden;
}

.hero-cta-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.07) 0%, transparent 60%);
  pointer-events: none;
}

/* iOS — 绿色 Minecraft 3D 主按钮 */
.hero-cta-ios {
  background: linear-gradient(180deg, #6ec234 0%, #4ea825 50%, #3d8c1a 100%);
  border: 2px solid #8ed44a;
  box-shadow: 0 5px 0 #1a5000, 0 6px 14px rgba(0,0,0,0.5);
  color: #fff;
}

.hero-cta-ios:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 7px 0 #1a5000, 0 8px 20px rgba(0,0,0,0.5), 0 0 20px rgba(110, 194, 52, 0.3);
}

.hero-cta-ios:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 #1a5000, 0 2px 6px rgba(0,0,0,0.4);
}

/* Android — 深色描边次按钮 */
.hero-cta-android {
  background: linear-gradient(180deg, #1e3018 0%, #141f10 100%);
  border: 2px solid var(--mc-green);
  box-shadow: 0 5px 0 #080f06, 0 6px 14px rgba(0,0,0,0.5);
  color: var(--mc-green-light);
}

.hero-cta-android:hover {
  border-color: var(--mc-green-light);
  background: linear-gradient(180deg, #253d1c 0%, #1a2c14 100%);
  transform: translateY(-2px);
  box-shadow: 0 7px 0 #080f06, 0 0 20px rgba(93, 175, 43, 0.2);
}

.hero-cta-android:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 #080f06;
}

/* 按钮内图标 */
.hero-cta-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-cta-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* 按钮内文字 */
.hero-cta-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 2px;
}

.hero-cta-label {
  font-size: 0.72rem;
  opacity: 0.82;
  line-height: 1.2;
  letter-spacing: 0.3px;
}

.hero-cta-store {
  font-family: "Press Start 2P", monospace;
  font-size: 0.7rem;
  line-height: 1.4;
  letter-spacing: 0.4px;
}

.hero-cta-ios .hero-cta-store {
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.hero-cta-android .hero-cta-store {
  text-shadow: 0 0 10px rgba(126, 212, 63, 0.4);
}

/* 信任语小字 */
.hero-trust-line {
  margin: 2px 0 0;
  font-size: 0.75rem;
  color: #788878;
  text-align: center;
  letter-spacing: 0.3px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 移动端适配 */
@media (max-width: 980px) {
  .hero-cta {
    gap: 10px;
    margin-top: 6px;
  }
  .hero-cta-btn {
    min-height: 56px;
  }
}

@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
  .platform-cta-wrap {
    grid-template-columns: 1fr;
  }
  /* 移动端两个按钮并排 */
  .hero-cta {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .hero-cta-btn {
    flex: 1 1 calc(50% - 4px);
    min-width: 140px;
    min-height: 62px;
    gap: 10px;
    padding: 0 12px;
    justify-content: center;
  }
  .hero-cta-text { align-items: center; text-align: center; }
  .hero-trust-line { flex: 0 0 100%; }
  .hero-rating-bar { flex: 0 0 100%; }
}

@media (max-width: 420px) {
  /* 小屏保持竖排，更好点击 */
  .hero-cta {
    flex-direction: column;
  }
  .hero-cta-btn {
    flex: unset;
    width: 100%;
    min-height: 60px;
    justify-content: flex-start;
  }
  .hero-cta-text { align-items: flex-start; text-align: left; }
  .hero-cta-store { font-size: 0.65rem; }
}

/* ============ SEO COPY ENHANCED ============ */
.seo-copy .highlight-text {
  color: var(--mc-green-light);
  font-weight: 700;
}

.seo-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mc-green-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.seo-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--mc-green-light), var(--mc-green));
  box-shadow: 0 0 8px rgba(93,175,43,0.5);
  flex-shrink: 0;
}

.seo-intro {
  font-size: 1rem;
  line-height: 1.65;
  color: #cbd6de;
  margin: 0 0 16px;
}

.seo-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.seo-feature-list li {
  position: relative;
  padding-left: 16px;
  color: #d7e2ea;
  font-size: 0.95rem;
  line-height: 1.55;
}

.seo-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mc-green-light);
  box-shadow: 0 0 6px rgba(93,175,43,0.5);
}

.faq-wrap {
  border: 2px solid #2e3d28;
  background: linear-gradient(180deg, #141c0e 0%, #0f1609 100%);
  border-radius: 6px;
  padding: 20px;
  box-shadow: inset 0 0 0 1px rgba(93, 175, 43, 0.05);
  margin-bottom: 16px;
}

.faq-heading {
  margin: 0 0 8px;
  font-family: "Press Start 2P", monospace;
  font-size: 0.82rem;
  color: #c0e8a0;
  line-height: 1.4;
  text-shadow: 0 0 12px rgba(93, 175, 43, 0.3);
}

.faq-subtext {
  margin: 0 0 16px;
  color: #a8c890;
  font-size: 0.88rem;
  line-height: 1.6;
}

.faq-list { display: grid; gap: 0; }

.faq-item { border-top: 1px solid rgba(93,175,43,0.15); }
.faq-item:last-child { border-bottom: 1px solid rgba(93,175,43,0.15); }

.faq-question {
  width: 100%;
  background: transparent;
  border: 0;
  color: #d8f0c8;
  padding: 16px 44px 16px 0;
  text-align: left;
  font-size: 0.98rem;
  font-weight: 700;
  font-family: var(--font-sans);
  cursor: pointer;
  position: relative;
  line-height: 1.4;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--mc-green-light);
  transition: transform 0.2s ease;
}

.faq-item.active .faq-question::after { content: "–"; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.faq-answer-inner {
  padding: 0 0 16px;
  color: #a8c890;
  font-size: 0.96rem;
  line-height: 1.6;
}

.faq-answer-inner p { margin: 0; }

.seo-footer-note {
  margin: 4px 0 0;
  color: #90a3b0;
  font-size: 0.82rem;
  line-height: 1.6;
}

.seo-footer-note strong { color: #dce8f0; }

@media (max-width: 640px) {
  .seo-feature-list { grid-template-columns: 1fr; }
}

/* ============ 响应式完善补丁 ============ */

/* 平板 641-980px：首屏下载按钮并排 */
@media (min-width: 641px) and (max-width: 980px) {
  .hero-cta {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }
  .hero-cta-btn {
    flex: 1 1 calc(50% - 5px);
    min-width: 160px;
    min-height: 62px;
    justify-content: center;
    padding: 0 16px;
  }
  .hero-cta-text { align-items: center; text-align: center; }
  .hero-rating-bar { flex: 0 0 100%; }
  .hero-trust-line { flex: 0 0 100%; }
  .promo-panel h1 {
    font-size: clamp(0.82rem, 1.8vw, 1.05rem);
    margin-bottom: 14px;
  }
}

/* 小屏 ≤480px：全局内边距再收紧 */
@media (max-width: 480px) {
  .page { width: 96vw; margin: 10px auto 20px; }
  .section { padding: 12px; margin-top: 12px; border-radius: 8px; }
  .section-head h2 {
    font-size: clamp(0.68rem, 3.8vw, 0.86rem);
    gap: 6px;
    margin-bottom: 10px;
  }
  .section-title-icon { width: 22px; height: 22px; }
  .section-title-icon svg { width: 12px; height: 12px; }
}

/* 极小屏 ≤360px：防止 header 内容挤压 */
@media (max-width: 360px) {
  .brand { font-size: 0.6rem; letter-spacing: 0.3px; }
  .brand-wrap img { width: 30px; height: 30px; }
  .brand-wrap { gap: 7px; }
  .header-actions select { padding: 5px 6px; font-size: 0.78rem; }
  .nav-download-btn { padding: 5px 8px; font-size: 0.68rem; }
  .top-nav a { font-size: 0.68rem; padding: 6px 7px; }
  .hero-cta-store { font-size: 0.58rem; }
  .hero-cta-label { font-size: 0.62rem; }
  .hero-rating-text { font-size: 0.68rem; }
  .hero-rating-stars { font-size: 0.9rem; }
}

/* 减弱动效（无障碍） */
@media (prefers-reduced-motion: reduce) {
  .hero-cta-btn, .nav-download-btn, .btn { transition: none; }
}


/* ================================================================
   HERO DESC
   ================================================================ */
.hero-desc {
  margin: 14px 0 4px;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #a0b898;
  font-family: var(--font-sans);
}

/* ================================================================
   CHALLENGE SECTION
   ================================================================ */
.challenge-section {
  background: linear-gradient(180deg, #0a1508 0%, #0d1a0a 60%, #0a1508 100%);
  border: 2px solid #2a4a18;
  border-radius: 8px;
  margin-top: 20px;
  padding: 40px 24px 36px;
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(93, 175, 43, 0.06),
    0 8px 32px rgba(0, 0, 0, 0.35),
    0 1px 0 rgba(93, 175, 43, 0.12);
}
.challenge-section::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--mc-green) 20%, var(--mc-green-light) 50%, var(--mc-green) 80%, transparent 100%);
  opacity: 0.5;
  border-radius: 8px 8px 0 0;
  pointer-events: none;
}

/* --- Header --- */
.challenge-header {
  margin: 0 0 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  position: relative;
}
.challenge-header-text { display: flex; flex-direction: column; gap: 10px; }
.challenge-eyebrow {
  font-family: var(--font-pixel);
  font-size: 0.58rem;
  color: var(--mc-gold);
  letter-spacing: 3px;
  line-height: 1;
  margin: 0;
  opacity: 0.85;
}
.challenge-headline {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
}
.challenge-hl-line {
  font-family: var(--font-pixel);
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  color: var(--title);
  display: block;
  line-height: 1.15;
}
.challenge-hl-gold {
  font-family: var(--font-pixel);
  font-size: clamp(1.1rem, 2.4vw, 1.7rem);
  color: var(--mc-gold);
  display: block;
  line-height: 1.1;
  text-shadow: 0 2px 12px rgba(255,183,0,0.25);
}
.challenge-desc {
  font-size: clamp(0.9rem, 1.6vw, 1.1rem);
  line-height: 1.6;
  color: var(--text);
  font-family: var(--font-sans);
  margin: 0;
  max-width: 520px;
}

/* --- Deadline Bar --- */
.challenge-deadline-bar {
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,183,0,0.06);
  border: 1px solid rgba(255,183,0,0.2);
  border-radius: 6px;
  padding: 10px 16px;
  font-size: 0.78rem;
  font-family: var(--font-sans);
  color: #a09060;
  position: relative;
}
.ch-deadline-icon { font-size: 1rem; }
.ch-deadline-text { color: #786040; }
.ch-deadline-date {
  color: var(--mc-gold);
  font-weight: 700;
  margin-right: 4px;
}
.ch-countdown {
  font-family: var(--font-pixel);
  font-size: 0.62rem;
  color: #c8a040;
  margin-left: 4px;
  letter-spacing: 0.5px;
}

/* --- Challenge Cards Grid --- */
.challenge-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.challenge-slider-window {
  overflow: visible;
  border: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.challenge-slider-window.manual-scroll {
  overflow: visible;
  scroll-snap-type: none;
  scroll-padding-inline: 0;
  padding: 0;
}

.challenge-scroll-shell .scroll-nav {
  display: none;
}
.ch-card-countdown {
  display: none;
}
.ch-card {
  background: linear-gradient(160deg, #101d0c 0%, #0c1709 100%);
  border: 1px solid #233418;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
  cursor: pointer;
}
.ch-card:hover {
  transform: translateY(-4px);
  border-color: var(--mc-green);
  box-shadow: 0 8px 28px rgba(0,0,0,0.5), 0 0 0 1px rgba(93,175,43,0.3);
}
.ch-card-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  background: #0a1208;
}
.ch-card-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.ch-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(93,232,240,0.1);
  border: 1px solid rgba(93,232,240,0.25);
  border-radius: 4px;
  padding: 3px 8px;
  font-family: var(--font-pixel);
  font-size: 0.52rem;
  color: var(--mc-diamond, #5de8f0);
  letter-spacing: 0.5px;
  align-self: flex-start;
}
.ch-card-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.ch-card-countdown {
  display: none;
  align-items: center;
  background: rgba(93,232,240,0.1);
  border: 1px solid rgba(93,232,240,0.25);
  border-radius: 4px;
  padding: 3px 8px;
  font-family: var(--font-pixel);
  font-size: 0.52rem;
  color: var(--mc-diamond, #5de8f0);
  letter-spacing: 0.4px;
  white-space: nowrap;
}
.ch-card-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mc-diamond, #5de8f0);
  box-shadow: 0 0 6px var(--mc-diamond, #5de8f0);
  animation: live-pulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.7); }
}
.ch-card-no {
  font-family: var(--font-pixel);
  font-size: clamp(0.68rem, 1.3vw, 0.88rem);
  color: var(--title);
  vertical-align: middle;
}
.ch-card-title {
  font-family: var(--font-pixel);
  font-size: clamp(0.68rem, 1.3vw, 0.88rem);
  color: var(--title);
  line-height: 1.4;
  margin: 0;
}
.ch-card-excerpt {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text);
  font-family: var(--font-sans);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  flex: 1;
}
.ch-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid #1a2c12;
}
.ch-card-prize {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  color: var(--mc-gold);
  font-family: var(--font-sans);
  font-weight: 600;
}
.ch-card-prize-gem {
  color: var(--mc-diamond, #5de8f0);
  font-size: 0.85rem;
}
.ch-card-cta {
  font-family: var(--font-pixel);
  font-size: 0.66rem;
  color: var(--mc-green-light);
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.ch-card-cta-arrow { font-size: 0.8rem; }

/* --- Right side: stats + CTA --- */
.challenge-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.challenge-stats {
  display: flex;
  gap: 24px;
}

.challenge-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 16px;
  background: rgba(93, 175, 43, 0.06);
  border: 1px solid rgba(93, 175, 43, 0.2);
  border-radius: 6px;
  min-width: 80px;
}

.challenge-stat-num {
  font-family: var(--font-pixel);
  font-size: 1rem;
  color: var(--mc-gold);
  line-height: 1;
}

.challenge-stat-label {
  font-size: 0.7rem;
  color: #8a9e80;
  font-family: var(--font-sans);
  text-align: center;
  line-height: 1.3;
}

/* --- CTA --- */
.challenge-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 14px 32px;
  background: linear-gradient(180deg, #6ec234 0%, #4ea825 50%, #3d8c1a 100%);
  border: 2px solid #8ed44a;
  box-shadow: 0 4px 0 #1a5000, 0 6px 12px rgba(0,0,0,0.4);
  border-radius: 4px;
  color: #fff;
  font-family: var(--font-pixel);
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: transform 100ms, box-shadow 100ms;
  width: 100%;
  justify-content: center;
}
.challenge-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #1a5000, 0 8px 16px rgba(0,0,0,0.5);
}
.challenge-cta-btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #1a5000;
}
.challenge-cta-arrow { font-size: 1rem; }

/* ================================================================
   RESPONSIVE — FEATURES STRIP & CHALLENGE
   ================================================================ */

/* Tablet: 641–980px */
@media (min-width: 641px) and (max-width: 980px) {
  .challenge-header { grid-template-columns: 1fr; gap: 16px; }
  .challenge-header-right { display: none; }
  .challenge-cards-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile: ≤768px */
@media (max-width: 768px) {
  .challenge-section { padding: 20px 12px 16px; }

  .challenge-eyebrow {
    white-space: normal;
    letter-spacing: 0.9px;
    font-size: 0.54rem;
  }
  .challenge-hl-line { font-size: 0.92rem; }
  .challenge-hl-gold { font-size: 1.04rem; }

  .challenge-header {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 14px;
  }

  .challenge-header-right { display: none; }
  .challenge-desc {
    max-width: none;
    font-size: 0.9rem;
    line-height: 1.52;
  }
  .challenge-deadline-bar { display: none; }

  .challenge-scroll-shell .scroll-nav { display: flex; }
  .ch-card-countdown { display: inline-flex; }

  .challenge-slider-window.manual-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 12px;
    padding: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }

  .challenge-slider-window.manual-scroll::-webkit-scrollbar {
    display: none;
  }

  .challenge-cards-grid {
    display: flex;
    gap: 10px;
    width: auto;
    padding-inline: 12px;
  }

  .ch-card {
    flex: 0 0 min(292px, 82vw);
    scroll-snap-align: start;
    flex-direction: column;
    border-radius: 8px;
  }
  .ch-card-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    height: auto;
    min-height: 0;
    flex-shrink: 0;
  }
  .ch-card-body { padding: 11px 12px 10px; }
  .ch-card-title { font-size: 0.7rem; }
  .ch-card-excerpt { -webkit-line-clamp: 3; font-size: 0.82rem; }
  .ch-card-footer { gap: 8px; flex-wrap: wrap; }

  .hero-desc { font-size: 0.76rem; line-height: 1.5; }
}

/* ≤420px */
@media (max-width: 420px) {
  .challenge-section { padding: 18px 10px 14px; }
  .challenge-hl-line { font-size: 0.86rem; }
  .challenge-hl-gold { font-size: 0.96rem; }
  .challenge-desc { font-size: 0.86rem; line-height: 1.48; }
  .ch-card-countdown { font-size: 0.46rem; padding: 3px 7px; }
  .ch-card-thumb { width: 100%; min-height: 0; }
  .ch-card-title { font-size: 0.66rem; }
  .ch-card-excerpt { font-size: 0.78rem; }
  .ch-countdown { font-size: 0.5rem; }
  .seo-feature-list { grid-template-columns: 1fr; }
}
