/* Home layout. The shared stylesheet supplies the Minecraft theme shell and beveled controls. */
.site-home .home-hero {
  display: block;
  isolation: isolate;
  padding-block: clamp(54px, 7vw, 96px) 0;
  text-align: center;
}
.site-home .home-hero::before {
  inset: 0;
  background: radial-gradient(ellipse 720px 300px at 50% 190px, rgba(60, 133, 39, 0.16), transparent);
}
.site-home .home-hero::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: clamp(300px, 38vw, 540px);
  background: url("assets/home-widget-generated-v3.png") center 56% / cover no-repeat;
  filter: invert(1);
  opacity: .20;
  mask-image: linear-gradient(to bottom, transparent 4%, #000 33%, #000 65%, transparent 97%);
  image-rendering: pixelated;
  pointer-events: none;
}
.site-home .hero-copy > * { position: relative; }
.site-home .hero-copy::before {
  content: "";
  position: absolute;
  inset: -20px 0 -22px;
  background: radial-gradient(ellipse min(540px, 60vw) 82% at center, #000000 22%, rgba(0, 0, 0, 0.72) 56%, transparent 97%);
  pointer-events: none;
}
.site-home .hero-copy {
  position: relative;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.site-home .hero-copy .site-kicker { justify-content: center; color: var(--mc-gold); }
.site-home .home-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 6.5vw, 4.8rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.05;
  text-shadow: 2px 2px 0 #080a0d;
  margin: 14px 0 18px;
}
.site-home .hero-lead { margin-inline: auto; max-width: 40ch; }
.site-home .hero-copy .site-actions, .site-home .platform-links { justify-content: center; }
.site-home .hero-copy .site-button { min-height: 48px; padding-inline: 22px; }
.site-home .platform-links { column-gap: 22px; row-gap: 8px; }
.site-home .hero-display { max-width: 1140px; }
.site-home .hero-shot {
  width: 100%;
  max-width: none;
  border-radius: 4px;
  border-color: #161616;
}
.mc-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 940px;
  margin: 22px auto 0;
}
.mc-stat {
  background: #080808;
  border: 2px solid #161616;
  border-top: 2px solid #282828;
  border-radius: 4px;
  padding: 14px 12px;
  text-align: center;
  transition: transform .18s ease, border-color .18s ease;
}
.mc-stat:hover {
  transform: translateY(-2px);
  border-color: #2a2a2a;
}
.mc-stat-gold { border-top-color: #282828; }
.mc-stat-blue { border-top-color: #282828; }
.mc-stat strong {
  display: block;
  font: 700 1.05rem/1.25 var(--font-head);
  color: #ffffff;
  margin-bottom: 4px;
}
.mc-stat span {
  display: block;
  font: 700 10px/1.3 var(--font-pixel);
  color: var(--site-muted);
  text-transform: uppercase;
}
@media (max-width: 720px) {
  .mc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.site-home .hero-shot img { aspect-ratio: auto; }
.site-home .site-shot figcaption { padding: 12px 16px; }
.site-home .site-shot figcaption span { color: var(--mc-gold); }
.site-home .site-section { padding-block: clamp(56px, 8vw, 112px); }
.site-home .site-section-heading {
  display: block;
  max-width: 760px;
  margin: 0 0 clamp(26px, 4vw, 44px);
}
.site-home .site-section-heading h2 {
  font-size: clamp(2.1rem, 4.6vw, 3.8rem);
  letter-spacing: -.015em;
}
.site-home .site-section-heading .site-kicker { margin-bottom: 10px; }
.site-home .site-section-heading > p:not(.site-kicker) { margin-top: 12px; max-width: 54ch; }
.site-home .feature-grid { gap: clamp(16px, 3vw, 32px); }
.site-home .feature-grid p { max-width: 34ch; }
.site-home .wardrobe-showcase {
  max-width: 920px;
  margin: clamp(36px, 6vw, 76px) auto 0;
}
.site-home .wardrobe-showcase img { aspect-ratio: auto; }
.site-home .game-gallery {
  background: #000000;
  border-block: 2px solid #141414;
}
.site-home .shot-grid { gap: clamp(18px, 3vw, 32px); }
.site-home .preview-note {
  max-width: 74ch;
  margin: 30px 0 0;
  background: #0a0a0a;
  padding: 14px 18px;
}
.site-home .pet-panel {
  border: 2px solid var(--site-line);
  background: var(--site-panel);
  border-radius: 4px;
  padding: clamp(20px, 4vw, 40px);
  gap: clamp(20px, 6vw, 72px);
}
.site-home .pet-copy h2 { margin: 0; }
.site-home .pet-copy p { margin: 16px 0 20px; }
.site-home .pet-roost {
  min-height: 220px;
  background: radial-gradient(ellipse, #222733, #12151b 70%);
  border: 2px solid var(--site-line);
}
.site-home .pet-roost img { width: clamp(105px, 14vw, 150px); height: auto; }
.site-home .faq-section { max-width: 940px; }
.site-home .site-faq details { padding-block: 18px; }
.site-home .final-download { padding-top: 0; }
.site-home .download-strip {
  border: 2px solid var(--site-line);
  border-top: 2px solid #282828;
  border-radius: 4px;
  padding: clamp(24px, 4vw, 40px);
  background: var(--site-panel);
}
.site-home .download-strip h2 { margin: 0; }

@media(max-width: 580px) {
  .site-home .home-hero { padding-top: 44px; }
  .site-home .hero-copy { margin-bottom: 30px; }
  .site-home .site-shot figcaption { padding-inline: 10px; }
  .site-home .pet-roost { min-height: 120px; }
  .site-home .site-section { padding-block: 50px; }
  .site-home .final-download { padding-top: 0; }
}

@media(min-width: 961px) {
  .site-home .hero-display { max-width: 940px; }
  .site-home .wardrobe-showcase { max-width: 780px; }
  .site-home .shot-grid { gap: clamp(18px, 2.5vw, 28px); }
}
