:root {
  color-scheme: dark;
  --background: #10172b;
  --panel: #172139;
  --border: #364562;
  --mint: #a0f2d2;
  --text: #f1f5ff;
  --muted: #c5cfe4;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 1rem/1.6 system-ui, sans-serif;
}
a { color: var(--mint); text-underline-offset: .22em; overflow-wrap: anywhere; }
a:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; }
.skip-link { position: absolute; top: .75rem; left: .75rem; background: var(--panel); padding: .75rem; }
.skip-link:not(:focus) { transform: translateY(-200%); }
.slime-shell { max-width: 74rem; margin: auto; padding: 0 clamp(1rem, 4vw, 3rem); }
.slime-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .25rem 1.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.slime-header nav { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.slime-header a { display: inline-flex; align-items: center; min-height: 44px; }
.slime-header a:not([aria-current]) { text-decoration: none; }
.slime-header a:hover { text-decoration: underline; }
.studio-link { color: var(--text); font-weight: 750; }
main { padding: clamp(1.5rem, 5vw, 4rem) 0; }
h1, h2 { margin: 0; line-height: 1.13; }
h1 { font-size: clamp(2.35rem, 7vw, 5rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.2rem, 3vw, 1.5rem); }
p { color: var(--muted); }
.hero, .document { border: 1px solid var(--border); border-radius: 1.4rem; background: var(--panel); }
.hero {
  background-color: var(--panel);
  background-image:
    linear-gradient(90deg, var(--panel) 0%, #172139f5 28%, #172139d9 49%, #17213973 72%, #1721390d 100%),
    url("/assets/img/games/slimebound/slimebound-guild-banner.png");
  background-position: center, right center;
  background-size: cover;
  background-origin: padding-box;
  background-clip: padding-box;
}
.hero-title h1 { text-shadow: 0 2px 16px #10172bd9; }
@media (max-width: 40rem) {
  .hero {
    background-image:
      linear-gradient(90deg, #172139fa 0%, #172139ed 45%, #172139ac 100%),
      url("/assets/img/games/slimebound/slimebound-guild-banner.png");
    background-position: center, 70% center;
  }
}
.hero-title { display: flex; align-items: center; gap: clamp(.65rem, 3vw, 1.25rem); }
.hero-copy { padding: clamp(1.25rem, 5vw, 3.75rem); }
.hero-copy > p:not([class]) { max-width: 62ch; }
.hero-title img { width: clamp(2.75rem, 10vw, 6rem); height: auto; flex: none; }
.eyebrow { margin: 0 0 .75rem; color: var(--mint); font-weight: 700; }
.play-status {
  display: inline-block;
  margin-bottom: 0;
  padding: .5rem .9rem;
  border: 1px solid #538776;
  border-radius: 2rem;
  color: var(--mint);
  font-weight: 650;
}
.gameplay { margin-top: clamp(1.75rem, 5vw, 3rem); }
.gameplay > p { margin: .5rem 0 1rem; }
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.screenshot-grid figure { margin: 0; }
.screenshot-grid a {
  display: block;
  border: 1px solid var(--border);
  border-radius: .75rem;
  background: var(--panel);
  cursor: zoom-in;
}
.screenshot-grid a:hover { border-color: var(--mint); }
.screenshot-grid img { display: block; width: 100%; height: auto; }
.screenshot-grid figcaption { margin-top: .6rem; font-weight: 650; line-height: 1.4; }
.document { max-width: 48rem; margin: auto; padding: clamp(1.25rem, 5vw, 3rem); }
.document h1 { font-size: clamp(2rem, 6vw, 3.75rem); }
.document h2 { margin-top: 2rem; }
.review { background: #292944; border-left: .2rem solid #c4a9f0; padding: .75rem 1rem; }
footer { border-top: 1px solid var(--border); padding: .5rem 0 1rem; }
@media (max-width: 54rem) {
  .screenshot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 26rem) {
  .screenshot-grid { grid-template-columns: 1fr; }
  .hero-title h1 { font-size: clamp(1.75rem, 9vw, 2.35rem); }
}

.support-contact {
  margin-top: 1.5rem;
  padding: clamp(1rem, 4vw, 1.75rem);
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: #121b30;
}
.support-contact h2 { margin: 0; }
.support-intro { margin: .45rem 0 0; }
.support-contact form { display: grid; gap: 1.15rem; margin-top: 1.25rem; }
.support-field { display: grid; gap: .45rem; min-width: 0; }
.support-field label { color: var(--text); font-weight: 650; }
.support-field p { margin: 0; font-size: .875rem; }
.support-field input, .support-field textarea {
  width: 100%;
  min-height: 3rem;
  padding: .7rem .85rem;
  border: 1px solid var(--border);
  border-radius: .6rem;
  background: var(--background);
  color: var(--text);
  font: inherit;
}
.support-field textarea { resize: vertical; }
.support-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.support-turnstile { flex: 1 1 300px; min-width: 0; }
.support-contact button {
  min-height: 48px;
  padding: .65rem 1.15rem;
  border: 0;
  border-radius: .6rem;
  background: var(--mint);
  color: var(--background);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.support-contact button:hover { background: #c0fae4; }
.support-contact :is(input, textarea, button):focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.form-notice {
  padding: .75rem 1rem;
  border-left: 3px solid var(--mint);
  border-radius: .4rem;
  background: var(--panel);
}
.form-notice[role="alert"] { border-color: #ffb7af; }
@media (max-width: 35rem) {
  .support-contact button { flex-basis: 100%; }
}
