:root {
  color-scheme: dark;
  --ink: #fff3dc;
  --muted: #ead9b9;
  --coal: #14100c;
  --lantern-hot: #ffd783;
  --focus: #9fd0ff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

html {
  overflow-x: hidden;
  overflow-y: hidden;
}

body {
  overflow-x: hidden;
  overflow-y: hidden;
  background: var(--coal);
  color: var(--ink);
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
}

.splash {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.8vw, 20px);
  padding: clamp(22px, 3vw, 36px);
  background: var(--coal) url("assets/hero.png") center 38% / cover no-repeat;
  isolation: isolate;
}

.splash__video {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  pointer-events: none;
  transform: scale(1.02);
}

.splash::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: rgba(9, 15, 17, 0.2);
}

.splash::after {
  content: "";
  position: absolute;
  top: clamp(26px, 5vw, 54px);
  bottom: clamp(16px, 2vw, 28px);
  left: 50%;
  z-index: -1;
  width: min(1120px, calc(100% - clamp(38px, 7vw, 120px)));
  border: 1px solid rgba(255, 243, 220, 0.16);
  border-radius: 12px;
  background: rgba(19, 14, 10, 0.42);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 243, 220, 0.1);
  pointer-events: none;
  transform: translateX(-50%);
  backdrop-filter: blur(12px) saturate(0.92);
}

.status {
  position: absolute;
  top: clamp(10px, 1.3vw, 16px);
  right: clamp(10px, 1.3vw, 16px);
  z-index: 3;
  margin: 0;
  padding: 7px 11px;
  border: 1px solid rgba(255, 215, 131, 0.46);
  border-radius: 4px;
  color: var(--lantern-hot);
  background: rgba(17, 18, 14, 0.62);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(0.72rem, 0.88vw, 0.84rem);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.58);
}

h1 {
  margin: 0;
  line-height: 0;
}

.game-logo {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  filter: drop-shadow(0 14px 16px rgba(0, 0, 0, 0.44));
}

.pitch {
  width: min(760px, 100%);
  max-width: 100%;
  margin: 0;
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.14rem);
  line-height: 1.42;
  text-align: center;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}

.trailer-feature {
  position: relative;
  z-index: 1;
  width: min(980px, calc((100svh - 300px) * 16 / 9), 100%);
  min-width: 0;
  margin-top: clamp(36px, 4vw, 60px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(14px, 1.6vw, 20px);
}

.trailer-feature__logo {
  position: absolute;
  top: clamp(-68px, -5vw, -42px);
  left: clamp(-44px, -3vw, -24px);
  z-index: 3;
  width: clamp(240px, 23vw, 360px);
  pointer-events: none;
  transform: rotate(-5deg);
  transform-origin: 34% 64%;
}

.live-links {
  position: absolute;
  top: clamp(-46px, -3.8vw, -34px);
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.live-link {
  min-height: 32px;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid rgba(255, 243, 220, 0.16);
  border-radius: 999px;
  color: rgba(255, 243, 220, 0.78);
  background: rgba(11, 14, 18, 0.58);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.46);
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  transition: border-color 120ms ease, color 120ms ease, transform 120ms ease;
}

.live-link::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #9146ff;
  box-shadow: 0 0 12px rgba(145, 70, 255, 0.64);
}

.live-link--youtube::before {
  background: #ff0033;
  box-shadow: 0 0 12px rgba(255, 0, 51, 0.58);
}

.live-link strong {
  color: #ffffff;
  font-weight: 800;
}

.live-link:hover {
  border-color: rgba(255, 243, 220, 0.32);
  color: var(--ink);
  transform: translateY(-1px);
}

.live-link:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.trailer-feature__video {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 243, 220, 0.22);
  border-radius: 8px;
  background: #050507;
  object-fit: cover;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(0, 0, 0, 0.28);
}

.wishlist-cta {
  position: relative;
  width: min(680px, 88%);
  min-height: clamp(56px, 4.6vw, 68px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px clamp(24px, 4vw, 48px) 6px clamp(68px, 8vw, 104px);
  border-radius: 8px;
  color: #f7fff0;
  background: #65d600;
  background: linear-gradient(180deg, #8cf600 0%, #58d200 46%, #36ad00 100%);
  font-family: "Motiva Sans", Arial, Helvetica, sans-serif;
  font-size: clamp(1.35rem, 2.35vw, 2rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 2px 3px rgba(21, 54, 24, 0.52);
  box-shadow: 0 0 0 1px rgba(167, 255, 92, 0.32), 0 18px 38px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition: background 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}

.wishlist-cta__badge {
  position: absolute;
  top: 50%;
  left: 0;
  width: clamp(76px, 8.6vw, 100px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 9px 22px rgba(0, 0, 0, 0.34), inset 0 -2px 0 rgba(0, 0, 0, 0.08);
  transform: translate(-32%, -50%);
}

.wishlist-cta__mark {
  width: 64%;
  height: 64%;
  display: block;
}

.wishlist-cta:hover {
  background: linear-gradient(180deg, #a2ff14 0%, #64de00 48%, #3ab900 100%);
  box-shadow: 0 0 0 1px rgba(191, 255, 115, 0.42), 0 22px 46px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.36);
  transform: translateY(-2px);
}

.wishlist-cta:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
}

.actions {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  appearance: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  line-height: 44px;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: none;
  text-shadow: none;
  cursor: pointer;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 8px 22px rgba(0, 0, 0, 0.22);
  transition: color 120ms ease, background 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}

.button__icon {
  display: block;
  flex: 0 0 auto;
}

.button__icon--discord {
  width: 22px;
  height: 17px;
}

.button__icon--steam {
  width: 22px;
  height: 22px;
}

.button--steam {
  color: #c7d5e0;
  background: #1b2838;
  font-family: "Motiva Sans", Arial, Helvetica, sans-serif;
}

.button--discord {
  background: #5865f2;
  font-family: "gg sans", "Noto Sans", "Helvetica Neue", Arial, sans-serif;
}

.button--steam:hover {
  color: #ffffff;
  background: #263f57;
  background: linear-gradient(180deg, #315a78 0%, #1b2838 100%);
  box-shadow: 0 0 0 1px rgba(103, 193, 245, 0.22), 0 10px 26px rgba(0, 0, 0, 0.28);
  transform: translateY(-1px);
}

.button--discord:hover {
  background: #4752c4;
  box-shadow: 0 0 0 1px rgba(88, 101, 242, 0.34), 0 10px 26px rgba(0, 0, 0, 0.28);
  transform: translateY(-1px);
}

.button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.publisher-mark {
  position: absolute;
  right: clamp(18px, 3vw, 36px);
  bottom: clamp(18px, 3vw, 36px);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  color: rgba(255, 243, 220, 0.78);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.56);
}

.publisher-mark img {
  display: block;
  width: min(172px, 18vw);
  height: auto;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.42));
}

.publisher-mark__link {
  display: block;
  line-height: 0;
  text-decoration: none;
  transition: opacity 120ms ease, transform 120ms ease;
}

.publisher-mark__link:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.publisher-mark__link:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
  border-radius: 4px;
}

@media (min-width: 721px) and (max-width: 1280px) {
  .trailer-feature {
    width: min(840px, calc((100svh - 288px) * 16 / 9), 100%);
    margin-top: 50px;
  }

  .trailer-feature__logo {
    top: -54px;
    left: -30px;
    width: clamp(220px, 23vw, 286px);
  }

  .pitch {
    font-size: 1rem;
  }

  .publisher-mark img {
    width: 146px;
  }
}

@media (max-width: 720px) {
  html {
    overflow-y: auto;
  }

  body {
    overflow-y: auto;
  }

  .splash {
    justify-content: flex-start;
    gap: 14px;
    padding: 22px;
    background-position: 56% 38%;
  }

  .splash::after {
    top: 14px;
    bottom: auto;
    width: calc(100% - 24px);
    height: min(676px, calc(100% - 28px));
    border-radius: 10px;
    background: rgba(19, 14, 10, 0.44);
    backdrop-filter: blur(10px) saturate(0.92);
  }

  .splash__video {
    object-position: 56% 38%;
  }

  .trailer-feature {
    order: 1;
    align-self: center;
    width: calc(100vw - 44px);
    max-width: 100%;
    min-width: 0;
    margin-top: 68px;
    gap: 12px;
  }

  .trailer-feature__logo {
    top: -68px;
    left: -2px;
    width: min(168px, 48vw);
    transform: rotate(-3deg);
  }

  .trailer-feature__video {
    order: 1;
    border-radius: 6px;
  }

  .status {
    top: 8px;
    right: 8px;
    padding: 6px 8px;
    font-size: 0.68rem;
  }

  .pitch {
    order: 2;
    max-width: 34ch;
    font-size: 0.98rem;
    line-height: 1.38;
  }

  .wishlist-cta {
    order: 3;
    width: min(100%, 360px);
    min-height: 56px;
    padding: 6px 16px 6px 58px;
    border-radius: 6px;
    font-size: clamp(1.05rem, 5.1vw, 1.35rem);
  }

  .wishlist-cta__badge {
    width: 68px;
    transform: translate(-28%, -50%);
  }

  .live-links {
    position: relative;
    top: auto;
    right: auto;
    order: 4;
    width: 100%;
    flex-direction: column;
    gap: 8px;
  }

  .live-link {
    width: 100%;
    justify-content: center;
    min-height: 34px;
    font-size: 0.74rem;
  }

  .actions {
    order: 3;
    align-self: center;
    width: calc(100vw - 44px);
    max-width: 100%;
    flex-direction: column;
    gap: 12px;
  }

  .button {
    width: 100%;
  }

  .publisher-mark {
    position: relative;
    right: auto;
    bottom: auto;
    order: 4;
    align-items: center;
    margin-top: 2px;
    text-align: center;
  }

  .publisher-mark img {
    width: min(168px, 56vw);
  }
}

@media (max-width: 480px) {
  .trailer-feature,
  .actions {
    width: min(346px, calc(100vw - 44px));
  }
}

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