:root {
  --lime: #b8ff00;
  --lime-deep: #86c900;
  --yellow: #ffe033;
  --black: #10120d;
  --ink: #15180e;
  --paper: #f9ffe5;
  --white: #ffffff;
  --gray: #dde4d1;
  --muted: #56613f;
  --line: rgba(21, 24, 14, 0.18);
  --shadow: rgba(39, 50, 14, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(125deg, rgba(16, 18, 13, 0.12), transparent 26%),
    radial-gradient(circle at 75% 18%, rgba(255, 224, 51, 0.52), transparent 22rem),
    linear-gradient(180deg, var(--lime) 0%, #dfff72 42%, var(--paper) 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(135deg, transparent 0 46%, rgba(255, 255, 255, 0.22) 46% 47%, transparent 47% 100%),
    linear-gradient(45deg, transparent 0 48%, rgba(16, 18, 13, 0.08) 48% 49%, transparent 49% 100%);
  background-size: 92px 92px, 128px 128px;
  opacity: 0.82;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.light-cursor {
  position: fixed;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.55), transparent 64%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.shell {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 42px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px;
  border: 2px solid var(--black);
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: 10px 10px 0 rgba(16, 18, 13, 0.18);
}

.wordmark,
.links,
.actions,
.footer-links {
  display: flex;
  align-items: center;
}

.wordmark {
  gap: 10px;
  min-width: 0;
  font-weight: 950;
}

.wordmark span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--yellow);
  background: var(--black);
  border: 2px solid var(--black);
}

.links,
.footer-links {
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.links a,
.footer-links a,
.primary,
.secondary {
  min-height: 42px;
  padding: 11px 15px;
  border: 2px solid var(--black);
  background: var(--white);
  color: var(--black);
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.links a:hover,
.footer-links a:hover,
.primary:hover,
.secondary:hover {
  transform: translateY(-2px) skew(-4deg);
  box-shadow: 6px 6px 0 var(--black);
}

.poster-grid {
  display: grid;
  grid-template-columns: 74px minmax(0, 0.95fr) minmax(330px, 1.05fr);
  align-items: center;
  gap: clamp(18px, 4vw, 50px);
  min-height: calc(100vh - 92px);
  padding: 42px 0 28px;
}

.name-column {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  min-height: 560px;
  color: var(--yellow);
  background: var(--black);
  box-shadow: 8px 8px 0 rgba(255, 255, 255, 0.54);
}

.name-column span {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.18rem;
}

.copy-panel {
  position: relative;
  padding: clamp(24px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.84);
  border: 2px solid var(--black);
  box-shadow: 14px 14px 0 rgba(16, 18, 13, 0.18);
}

.copy-panel::after {
  content: "";
  position: absolute;
  right: -18px;
  top: 26px;
  width: 56px;
  height: 190px;
  background: var(--yellow);
  border: 2px solid var(--black);
  transform: skewY(-18deg);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--lime-deep);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
}

h1,
h2,
p,
strong {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(4.1rem, 11vw, 10rem);
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
}

.lead {
  max-width: 610px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  line-height: 1.58;
}

.actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.primary {
  color: var(--yellow);
  background: var(--black);
}

.secondary {
  cursor: pointer;
}

.character-frame {
  position: relative;
  display: grid;
  place-items: center;
  min-height: min(650px, 74vh);
  margin: 0;
  border: 2px solid var(--black);
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.72), transparent 21rem),
    linear-gradient(135deg, rgba(255, 224, 51, 0.5), rgba(255, 255, 255, 0.38));
  box-shadow: 0 28px 80px var(--shadow);
  overflow: hidden;
  transform-style: preserve-3d;
}

.character-frame img {
  position: relative;
  z-index: 2;
  width: min(92%, 560px);
  max-height: 610px;
  object-fit: contain;
  filter: drop-shadow(18px 28px 24px rgba(16, 18, 13, 0.28));
  animation: floaty 4.6s ease-in-out infinite;
}

.slash {
  position: absolute;
  width: 55%;
  height: 34px;
  background: var(--black);
  transform: rotate(-22deg);
}

.slash-one {
  top: 14%;
  left: -10%;
}

.slash-two {
  right: -12%;
  bottom: 18%;
  background: var(--yellow);
  border: 2px solid var(--black);
}

figcaption {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 18px;
  min-width: 138px;
  padding: 12px 14px;
  color: var(--white);
  background: var(--black);
  box-shadow: 6px 6px 0 var(--yellow);
}

figcaption span,
figcaption strong {
  display: block;
}

figcaption span {
  color: var(--lime);
  font-size: 0.8rem;
  font-weight: 950;
}

figcaption strong {
  text-transform: uppercase;
}

.banner-wrap {
  margin: 26px 0;
  padding: 10px;
  border: 2px solid var(--black);
  background: var(--white);
  box-shadow: 0 22px 70px var(--shadow);
}

.banner-wrap img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 1;
  object-fit: cover;
}

.manifest {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.manifest article {
  min-height: 190px;
  padding: 22px;
  border: 2px solid var(--black);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 8px 8px 0 rgba(16, 18, 13, 0.14);
}

.manifest span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--lime-deep);
  font-weight: 950;
}

.manifest h2 {
  margin: 0;
  font-size: clamp(1.34rem, 2vw, 1.95rem);
  letter-spacing: 0;
}

.manifest p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.52;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
  padding: 18px;
  border: 2px solid var(--black);
  background: var(--yellow);
}

.footer > strong {
  font-size: clamp(1.35rem, 4vw, 3.2rem);
  text-transform: uppercase;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 5;
  padding: 12px 18px;
  color: var(--yellow);
  background: var(--black);
  border: 2px solid var(--white);
  box-shadow: 0 14px 36px var(--shadow);
  transform: translate(-50%, 24px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-14px) rotate(-1deg);
  }
}

@media (max-width: 900px) {
  .shell {
    width: min(100% - 24px, 720px);
  }

  .topbar,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .poster-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 34px;
  }

  .name-column {
    min-height: auto;
    flex-direction: row;
    padding: 14px;
  }

  .name-column span {
    writing-mode: horizontal-tb;
    font-size: 0.76rem;
  }

  .character-frame {
    min-height: 480px;
  }

  .manifest {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .shell {
    width: min(100% - 18px, 460px);
    padding-top: 12px;
  }

  .links,
  .actions,
  .footer-links {
    width: 100%;
  }

  .links a,
  .footer-links a,
  .primary,
  .secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  h1 {
    font-size: clamp(3rem, 18vw, 4.8rem);
  }

  .copy-panel::after {
    display: none;
  }

  .character-frame {
    min-height: 390px;
  }

  .character-frame img {
    width: 98%;
  }

  figcaption {
    left: 16px;
    right: 16px;
  }
}

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

  .light-cursor {
    display: none;
  }
}
