:root {
  --plum: #231023;
  --plum-deep: #160b18;
  --ink: #0a2226;
  --cream: #fff7dd;
  --lime: #b8ee37;
  --coral: #ff6f72;
  --pink: #ec238f;
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--plum);
  color: white;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--plum); color: white; }
img { display: block; max-width: 100%; }
a { color: inherit; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.8rem clamp(1rem, 4vw, 4rem);
  background: linear-gradient(to bottom, rgb(22 11 24 / 96%), rgb(22 11 24 / 70%), transparent);
}

.brand img { width: clamp(8rem, 14vw, 12rem); }

nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(0.8rem, 2.4vw, 2.2rem);
}

nav a,
.footer-links a {
  color: #ffd6c9;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-decoration: none;
  text-transform: uppercase;
}

nav a:hover,
nav a:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible { color: var(--lime); }

.hero {
  position: relative;
  min-height: min(58rem, 100vh);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--pink) url("assets/hero.webp") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8rem;
  background: linear-gradient(transparent, var(--plum));
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgb(0 0 0 / 25%), rgb(0 0 0 / 25%)),
    radial-gradient(circle at center, transparent 25%, rgb(62 0 57 / 24%) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(60rem, calc(100% - 2rem));
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8rem 1rem 4rem;
  text-align: center;
}

.hero-logo {
  width: min(48rem, 92vw);
  filter: drop-shadow(0 0.8rem 0.15rem rgb(70 0 44 / 32%));
}

.out-now {
  margin: 1.4rem 0 0.75rem;
  font-size: clamp(1.4rem, 3vw, 2.35rem);
  font-style: italic;
  font-weight: 1000;
  letter-spacing: 0.04em;
  text-shadow: 0 0.18rem 0 rgb(89 16 67 / 45%);
  text-transform: uppercase;
}

.platforms {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(0.5rem, 2vw, 1.2rem);
}

.platforms a {
  width: clamp(3.4rem, 7vw, 5rem);
  padding: 0.3rem;
  border-radius: 1rem;
  transition: transform 160ms ease, filter 160ms ease;
}

.platforms a:hover,
.platforms a:focus-visible {
  transform: translateY(-0.25rem) rotate(-2deg);
  filter: drop-shadow(0 0.4rem 0 rgb(79 17 58 / 35%));
}

.button {
  display: inline-flex;
  justify-content: center;
  margin-top: 1.5rem;
  padding: 0.85rem 1.35rem;
  border: 2px solid var(--plum-deep);
  border-radius: 999px;
  background: var(--lime);
  box-shadow: 0 0.3rem 0 var(--plum-deep);
  color: var(--plum-deep);
  font-size: 0.82rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(0.15rem);
  box-shadow: 0 0.12rem 0 var(--plum-deep);
}

.section-inner {
  width: min(70rem, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 8rem) 0;
}

.section-inner.narrow { width: min(58rem, calc(100% - 2rem)); }
.section-dark { background: var(--plum); }
.trailer .section-inner { padding-block: clamp(3rem, 6vw, 5rem); }

.kicker {
  margin: 0 0 0.65rem;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

h2 {
  margin: 0 0 2.2rem;
  font-size: clamp(2.1rem, 6vw, 4.5rem);
  font-style: italic;
  font-weight: 1000;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-align: center;
  text-transform: uppercase;
}

.video-frame {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 0.55rem solid #3a1b3b;
  border-radius: 0.6rem;
  box-shadow: 0 1.2rem 3rem rgb(0 0 0 / 35%);
}

.video-frame iframe { width: 100%; height: 100%; border: 0; }

.about {
  position: relative;
  background: var(--ink) url("assets/crust-background.gif") center top / 58rem auto repeat;
}

.about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(7 30 33 / 60%);
}

.about .section-inner { position: relative; z-index: 1; }

.intro-panel {
  width: min(58rem, 100%);
  margin: 0 auto 3rem;
  padding: clamp(1.5rem, 5vw, 3.2rem);
  border: 1px solid rgb(184 238 55 / 28%);
  border-radius: 0.7rem;
  background: rgb(5 26 30 / 90%);
  box-shadow: 0 1.2rem 3rem rgb(0 0 0 / 28%);
}

.lede {
  margin: 0 auto;
  color: var(--cream);
  font-size: clamp(1.08rem, 2.2vw, 1.45rem);
  font-weight: 650;
  line-height: 1.65;
}

.shoot-to-till {
  margin: 1.1rem 0 0;
  color: var(--lime);
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  font-style: italic;
  font-weight: 900;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  min-height: 10rem;
  padding: 1.4rem;
  border: 1px solid rgb(255 255 255 / 8%);
  border-radius: 0.55rem;
  background: rgb(5 26 30 / 88%);
}

.feature-card:last-child {
  grid-column: 1 / -1;
  width: calc(50% - 0.5rem);
  justify-self: center;
}

.feature-card img {
  width: 3.3rem;
  height: 3.3rem;
  object-fit: contain;
  image-rendering: pixelated;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  color: var(--coral);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 1000;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.feature-card p { margin: 0; color: #dce9df; line-height: 1.6; }
.gameplay .section-inner { padding-block: clamp(3rem, 6vw, 5rem); }

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.media-grid figure {
  aspect-ratio: 16 / 10;
  margin: 0;
  overflow: hidden;
  border: 0.4rem solid #3a1b3b;
  border-radius: 0.5rem;
  background: black;
}

.media-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}

.team { background: #31142f; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.team-grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1rem;
  border-radius: 0.6rem;
  color: white;
  text-align: center;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.team-grid a:hover,
.team-grid a:focus-visible {
  background: rgb(255 255 255 / 6%);
  transform: translateY(-0.2rem);
}

.team-grid img { width: 6.5rem; margin-bottom: 1rem; image-rendering: pixelated; }
.team-grid span { font-weight: 900; }
.team-grid small { margin-top: 0.25rem; color: var(--coral); }

.discord {
  position: relative;
  min-height: 34rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #8aaa22 url("assets/discord-background.webp") center / cover no-repeat;
}

.discord-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgb(35 16 35 / 8%), rgb(35 16 35 / 45%));
}

.discord-content {
  position: relative;
  z-index: 1;
  width: min(48rem, calc(100% - 2rem));
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 1rem;
  text-align: center;
}

.discord-content h2 { margin-bottom: 1rem; text-shadow: 0 0.25rem 0 rgb(35 16 35 / 65%); }
.discord-content img { width: min(27rem, 88%); filter: drop-shadow(0 0.5rem 0 rgb(35 16 35 / 35%)); }

footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  padding: 4rem 1rem;
  background: var(--plum-deep);
  text-align: center;
}

footer p {
  margin: 0;
  color: #bc9aaf;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

footer img { width: 12rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }

@media (max-width: 760px) {
  .site-header { flex-direction: column; gap: 0.75rem; padding-block: 0.8rem 1.5rem; }
  .brand img { width: 8rem; }
  nav { justify-content: center; flex-wrap: wrap; gap: 0.7rem 1.1rem; }
  nav a { font-size: 0.64rem; }
  .hero { min-height: 48rem; background-position: 52% center; }
  .hero-content { padding-top: 10rem; }
  .feature-grid, .media-grid { grid-template-columns: 1fr; }
  .feature-card:last-child { grid-column: auto; width: 100%; }
  .team-grid { grid-template-columns: 1fr; gap: 0.5rem; }
  .team-grid a { flex-direction: row; justify-content: center; gap: 1rem; }
  .team-grid img { width: 4.5rem; margin: 0; }
  .team-grid small { margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
