.home-feature {
  padding: clamp(30px, 4.5vw, 70px) 0 clamp(28px, 4vw, 54px);
  color: #fff7ed;
  background:
    radial-gradient(ellipse at 16% 38%, #322a31 0, transparent 47%),
    radial-gradient(ellipse at 86% 20%, #253643 0, transparent 47%),
    #151923;
}

.home-frame {
  width: min(calc(100% - 64px), 1440px);
  margin-inline: auto;
}

.home-intro {
  margin: 0 auto clamp(26px, 4vw, 52px);
  text-align: center;
}

.home-intro h1 {
  color: #fff6e8;
  font-size: clamp(3.25rem, 8.5vw, 8.2rem);
  letter-spacing: -.018em;
  line-height: .9;
  text-wrap: balance;
}

.home-intro p {
  margin: 15px 0 0;
  color: #d7d5d6;
  font-size: clamp(.9rem, 1.5vw, 1.15rem);
}

.home-intro strong {
  color: #fff6e9;
}

.home-worlds {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.3vw, 18px);
}

.home-world {
  --world-accent: #ffc693;
  --world-button-text: #261810;
  --world-button-hover: #ffdfbb;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(335px, 34vw, 500px);
  display: grid;
  align-items: end;
  padding: clamp(22px, 2.3vw, 36px);
  border: 1px solid #ffffff42;
  border-radius: 4px;
  background: #282b37;
}

.home-world-riftline-defense {
  --world-accent: #cfe6f3;
  --world-button-text: #132938;
  --world-button-hover: #e9f6ff;
}

.home-world-velvet-room {
  --world-accent: #cce6c8;
  --world-button-text: #162918;
  --world-button-hover: #e2f6de;
}

.home-world-off-grid-harbors {
  --world-accent: #addfd3;
  --world-button-text: #132d2b;
  --world-button-hover: #d3f5e9;
}

.home-world-art,
.home-world-art img,
.home-world-light {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-world-art {
  z-index: -2;
}

.home-world-art img {
  object-fit: cover;
  object-position: center 55%;
}

.home-world-drive .home-world-art img {
  object-position: 60% center;
}

.home-world-riftline-defense .home-world-art img {
  object-position: 58% center;
}

.home-world-velvet-room .home-world-art img {
  object-position: 77% center;
}

.home-world-light {
  z-index: -1;
  background: linear-gradient(0deg, #10131df5 0%, #10131dd6 20%, #10131d66 50%, #10131d00 76%);
}

.home-world-content {
  position: relative;
  max-width: 38rem;
}

.home-world-type {
  margin: 0 0 7px;
  color: var(--world-accent);
  font-size: .79rem;
  font-weight: 700;
}

.home-world h2 {
  font-size: clamp(2.7rem, 3.6vw, 4.4rem);
  letter-spacing: -.02em;
  text-shadow: 0 3px 18px #0b0d18aa;
}

.home-world-description {
  margin: 11px 0 19px;
  max-width: 38ch;
  color: #f4e9e7;
  font-size: clamp(.93rem, 1.3vw, 1.08rem);
}

.home-world-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 19px;
}

.home-launch {
  display: inline-flex;
  min-height: 47px;
  align-items: center;
  justify-content: center;
  padding: .68rem .98rem;
  gap: .66rem;
  border-radius: 4px;
  color: var(--world-button-text, #221b17);
  background: var(--world-accent, #ffc693);
  font-weight: 700;
  font-size: .87rem;
}

.home-launch:hover {
  background: var(--world-button-hover, #ffdfbb);
}

.home-details {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #fff4e8;
  font-weight: 700;
  font-size: .86rem;
  text-underline-offset: .27em;
  text-decoration: underline;
}

.home-details:hover {
  color: var(--world-accent);
}

@media (min-width: 1180px) {
  .home-world-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

.home-feature :focus-visible,
.home-community :focus-visible {
  outline-color: #ffd693;
  outline-offset: 3px;
}

.home-art-credit {
  position: absolute;
  bottom: 12px;
  right: 14px;
  color: #e4d9d9;
  font-size: .67rem;
}

.home-community h2 {
  font-size: clamp(2.55rem, 6vw, 5rem);
  text-wrap: balance;
}

.home-community {
  padding: clamp(42px, 7vw, 100px) 0;
  color: #fff5e8;
  background: #212937;
}

.home-community-grid {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: clamp(30px, 6vw, 88px);
}

.home-community p {
  max-width: 48ch;
  color: #e3dce0;
}

.home-faq h2 {
  font-size: clamp(1.85rem, 3.6vw, 3rem);
  margin-bottom: 13px;
}

.home-faq details {
  border-color: #535965;
}

.home-faq summary:hover {
  color: #ffc693;
}

@media (max-width: 950px) {
  .home-frame {
    width: calc(100% - 38px);
  }
}

@media (max-width: 1179px) {
  .home-worlds {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 740px) {
  .home-frame {
    width: calc(100% - 28px);
  }

  .home-community-grid {
    grid-template-columns: 1fr;
  }

  .home-world {
    min-height: clamp(315px, 77vw, 410px);
    padding: 19px 18px 25px;
  }

  .home-world-light {
    background: linear-gradient(0deg, #10131dfa 0%, #10131dd9 21%, #10131d66 53%, #10131d00 77%);
  }

  .home-art-credit {
    bottom: 6px;
    right: 9px;
  }

}

@media (max-width: 580px) {
  .home-worlds { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .home-world h2 {
    font-size: clamp(2.67rem, 13vw, 3rem);
  }

  .home-world-actions {
    gap: 4px 12px;
  }

  .home-world-actions a {
    font-size: .78rem;
  }

  .home-launch {
    padding-inline: .65rem;
  }
}
