.home-page .game-hero {
  background:
    radial-gradient(ellipse at 67% 86%, #a243583c, transparent 24%),
    radial-gradient(ellipse at 86% 72%, #47328766, transparent 43%),
    #100f1d;
}

.home-page .game-hero .hero-grid {
  width: min(100% - clamp(32px, 6vw, 112px), 1700px);
  grid-template-columns: minmax(0, 43fr) minmax(0, 57fr);
  grid-template-areas: "intro reel" "composer reel";
  align-items: center;
  column-gap: clamp(24px, 3.4vw, 64px);
  row-gap: 0;
  padding-block: clamp(42px, 4.3vw, 78px);
}

.game-hero .hero-intro {
  margin: 0;
  color: #9ef3df;
  font-size: clamp(17px, 1.55vw, 25px);
  font-weight: 800;
  letter-spacing: .065em;
  line-height: 1.3;
}

.home-page .game-hero h1 {
  margin: .23em 0 .24em;
  font-size: clamp(33px, 4.65vw, 86px);
  line-height: .98;
  letter-spacing: -.065em;
}

.home-page .game-hero h1 em { color: #ff967a; }
.home-page .game-hero .lead { max-width: 38ch; color: #f4f0f6; font-size: clamp(16px, 1.46vw, 24px); }
.home-page .game-hero .hero-composer {
  max-width: none;
  margin-top: clamp(19px, 2vw, 32px);
  padding: clamp(12px, 1.2vw, 22px);
  border: 1px solid transparent;
  border-radius: 25px;
  background: linear-gradient(120deg, #171c2c, #1d1927) padding-box,
    linear-gradient(135deg, #a3ffe9, #45445e 55%, #b37278) border-box;
  box-shadow: 0 -5px 28px #56e9c51a;
}
.game-hero .choices { display: flex; flex-wrap: wrap; gap: 8px; }
.game-hero .hero-composer .option { font-size: clamp(12px, 1.03vw, 16px); padding: 8px clamp(10px, 1.1vw, 22px); border-radius: 10px; }
.home-page .game-hero .hero-composer textarea {
  margin: 12px 0 0;
  min-height: clamp(80px, 7vw, 126px);
  padding: 12px;
  font-size: clamp(14px, 1.18vw, 19px);
  border-color: #6b687c;
  border-radius: 11px;
  background: #121321;
}
.game-hero .hero-composer textarea::placeholder { color: #cecbd8; }
.game-hero .composer-footer { flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.game-hero .composer-footer .primary { white-space: nowrap; margin-left: auto; background: #ff967a; }
.game-hero .hero-settings { display: flex; flex-wrap: wrap; gap: 6px; }
.game-hero .hero-settings[hidden], .game-hero select[hidden] { display: none; }
.game-hero .hero-settings select {
  min-height: 40px;
  padding: 0 7px;
  color: #f5f3fb;
  background: #202234;
  border: 1px solid #59566b;
  border-radius: 9px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
}
.game-hero .hero-prompt-links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; font-size: 13px; }
.game-hero .hero-prompt-links a:not(.style-link) { border: 1px solid #68677a; border-radius: 99px; padding: 7px 12px; background: #202133; color: #f5f2fa; }
.game-hero .hero-reference { display: inline-block; margin-top: 10px; font-size: 12px; }

.game-hero #create { grid-area: intro; align-self: end; }
.game-hero .hero-create-panel { grid-area: composer; align-self: start; min-width: 0; }
.game-hero .hero-showcase { grid-area: reel; min-width: 0; }
.game-hero .hero-reel {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 2px solid #93e6dc;
  border-radius: clamp(12px, 1.6vw, 24px);
  background: #101c29;
  box-shadow: 0 20px 48px #080515af, 0 0 32px #48b7ab29;
}
.game-hero .hero-reel video { display: block; width: 100%; height: 100%; object-fit: cover; }
.game-hero .hero-reel .iconbtn {
  position: absolute;
  bottom: 10px;
  width: 44px;
  height: 44px;
  border: 1px solid #ffffff6b;
  background: #080d1bd9;
  color: #fff;
}
.game-hero #hero-play { left: 10px; }
.game-hero #hero-sound { right: 10px; }
.game-hero .hero-reel-chapters {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(5px, 1vw, 12px);
  margin-top: clamp(8px, 1.3vw, 16px);
}
.game-hero .hero-reel-chapters button {
  overflow: hidden;
  border-radius: clamp(6px, 1vw, 12px);
  border: 2px solid #6d627c;
  background: #161724;
  padding: 0;
  cursor: pointer;
}
.game-hero .hero-reel-chapters button[aria-pressed="true"] { border-color: #9af3dc; }
.game-hero .hero-reel-chapters img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.game-hero .hero-settings-toggle { display: none; }
.game-hero [hidden] { display: none; }
.game-hero a:focus-visible, .game-hero button:focus-visible, .game-hero select:focus-visible { outline: 2px solid #a3ffe9; outline-offset: 3px; }

@media (max-width: 880px) {
  .home-page .game-hero .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "intro" "reel" "composer";
    row-gap: 14px;
    padding-block: 26px 36px;
  }
  .home-page .game-hero h1 { font-size: clamp(32px, 9vw, 67px); }
  .game-hero .hero-intro { font-size: clamp(13px, 3.5vw, 19px); }
  .home-page .game-hero .lead { margin: 0; }
  .home-page .game-hero .hero-composer { margin-top: 0; border-radius: 16px; }
  .home-page .game-hero .hero-composer textarea { min-height: 72px; }
  .game-hero .hero-composer .choices { gap: 5px; }
  .game-hero .hero-composer .option { padding-inline: clamp(6px, 2vw, 12px); }
  .game-hero .composer-footer .primary { width: 100%; justify-content: center; }
  .game-hero .hero-settings-toggle:not([hidden]) {
    display: inline-block;
    border: 0;
    background: transparent;
    color: #b8e4dc;
    padding: 7px 0;
    font: inherit;
    font-size: .8rem;
    cursor: pointer;
  }
  .game-hero .hero-settings-toggle[aria-expanded="false"] + .hero-settings { display: none; }
  .game-hero .hero-settings-toggle[aria-expanded="true"] + .hero-settings:not([hidden]) { flex-basis: 100%; }
}
