:root {
  --ink: #13110f;
  --ink-2: #1d1a17;
  --paper: #f4ecd8;
  --paper-2: #e7dcbf;
  --vermilion: #d84a27;
  --vermilion-dark: #a8341a;
  --gold: #e9b949;
  --gold-dim: #b8892a;
  --grass: #2f7d3a;
  --line: rgba(244,236,216,.14);

  --font-serif: "Noto Serif JP", serif;
  --font-sans: "Noto Sans JP", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

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

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  color: var(--paper);
  min-height: 100vh;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background:
    radial-gradient(1200px 600px at 15% 10%, rgba(216,74,39,.18), transparent 60%),
    radial-gradient(900px 500px at 85% 95%, rgba(233,185,73,.10), transparent 55%),
    #0a0907;
}

.stage {
  width: 100%;
  max-width: 1200px;
}

.banner {
  position: relative;
  aspect-ratio: 1200 / 630;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, #1a1613 0%, #120f0d 55%, #0d0a08 100%);
  box-shadow:
    0 40px 80px -20px rgba(0,0,0,.7),
    0 0 0 1px rgba(244,236,216,.08),
    inset 0 0 120px rgba(216,74,39,.06);
  isolation: isolate;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
}

.banner:hover {
  transform: translateY(-4px);
  box-shadow:
    0 50px 100px -20px rgba(216,74,39,.35),
    0 0 0 1px rgba(233,185,73,.3),
    inset 0 0 140px rgba(216,74,39,.10);
}

.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20px 40px, transparent 18px, rgba(233,185,73,.06) 18.5px, rgba(233,185,73,.06) 19.5px, transparent 20px),
    radial-gradient(circle at 60px 40px, transparent 18px, rgba(233,185,73,.06) 18.5px, rgba(233,185,73,.06) 19.5px, transparent 20px),
    radial-gradient(circle at 40px 60px, transparent 18px, rgba(233,185,73,.06) 18.5px, rgba(233,185,73,.06) 19.5px, transparent 20px);
  background-size: 80px 40px;
  opacity: .7;
  pointer-events: none;
  mask-image: linear-gradient(120deg, black 0%, black 40%, transparent 70%);
}

.sun {
  position: absolute;
  right: -120px;
  top: -120px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #e96142 0%, #d84a27 45%, #a8341a 80%, #7a2613 100%);
  filter: blur(.3px);
  box-shadow: 0 0 80px 20px rgba(216,74,39,.25), inset -30px -20px 60px rgba(0,0,0,.25);
  z-index: 1;
}

.sun::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  border: 1px dashed rgba(244,236,216,.18);
}

.stamp {
  position: absolute;
  top: 32px;
  left: 32px;
  width: 72px;
  height: 72px;
  border-radius: 6px;
  background: var(--vermilion);
  color: #fff7e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 36px;
  letter-spacing: -2px;
  box-shadow:
    inset 0 0 0 3px rgba(255,255,255,.9),
    inset 0 0 0 4px var(--vermilion),
    0 6px 16px rgba(168,52,26,.5);
  transform: rotate(-6deg);
  z-index: 5;
  clip-path: polygon(
    4% 0,12% 3%,22% 0,35% 2%,48% 0,60% 3%,72% 0,85% 2%,96% 0,
    100% 8%,98% 20%,100% 34%,97% 48%,100% 62%,98% 76%,100% 90%,
    94% 100%,82% 97%,70% 100%,56% 98%,44% 100%,30% 97%,18% 100%,6% 98%,
    0 92%,2% 78%,0 64%,3% 50%,0 36%,2% 22%,0 10%
  );
}

.ground {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  background:
    radial-gradient(ellipse 70% 60% at 50% 100%, rgba(47,125,58,.35), transparent 70%),
    linear-gradient(180deg, transparent 0%, rgba(10,9,7,.6) 70%, #060504 100%);
  pointer-events: none;
  z-index: 2;
}

.grid {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  background-image:
    linear-gradient(to right, rgba(233,185,73,.08) 1px, transparent 1px),
    linear-gradient(to top, rgba(233,185,73,.08) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to top, black 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
}

.left {
  padding: 72px 40px 56px 120px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 7px 12px 7px 10px;
  border: 1px solid rgba(233,185,73,.35);
  border-radius: 999px;
  background: rgba(233,185,73,.06);
  margin-bottom: 22px;
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--vermilion);
  box-shadow: 0 0 0 3px rgba(216,74,39,.25);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 3px rgba(216,74,39,.25);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(216,74,39,.0);
  }
}

h1 {
  font-family: var(--font-serif);
  font-weight: 900;
  color: var(--paper);
  margin: 0 0 8px;
  font-size: clamp(30px, 4.2vw, 58px);
  line-height: 1.12;
  letter-spacing: -.01em;
}

h1 .line {
  display: block;
}

h1 .acc {
  color: var(--gold);
  position: relative;
  display: inline-block;
  padding: 0 2px;
}

h1 .acc::after {
  content: "";
  position: absolute;
  left: 0;
  right: -4px;
  bottom: 6px;
  height: 8px;
  background: var(--vermilion);
  z-index: -1;
  opacity: .7;
  transform: skewX(-8deg);
}

.sub {
  font-weight: 500;
  color: rgba(244,236,216,.72);
  font-size: clamp(13px, 1.15vw, 16px);
  line-height: 1.55;
  margin: 18px 0 28px;
  max-width: 46ch;
}

.extra-note {
  margin-top: 14px;
  font-size: 12px;
  color: rgba(244,236,216,.6);
  max-width: 46ch;
  line-height: 1.55;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px;
  background: var(--vermilion);
  color: #fff7e0;
  border-radius: 12px;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: .02em;
  cursor: pointer;
  box-shadow:
    inset 0 0 0 1px rgba(255,247,224,.3),
    0 10px 24px -6px rgba(216,74,39,.55);
  transition: box-shadow .3s, transform .15s;
}

.banner:hover .cta {
  box-shadow:
    inset 0 0 0 1px rgba(255,247,224,.4),
    0 14px 32px -6px rgba(216,74,39,.7),
    0 0 0 6px rgba(216,74,39,.18);
}

.arrow {
  display: inline-block;
  width: 28px;
  height: 22px;
  position: relative;
}

.arrow::before,
.arrow::after {
  content: "";
  position: absolute;
  background: #fff7e0;
}

.arrow::before {
  left: 0;
  right: 5px;
  top: 10px;
  height: 2px;
}

.arrow::after {
  right: 0;
  top: 4px;
  width: 14px;
  height: 14px;
  border-top: 2px solid #fff7e0;
  border-right: 2px solid #fff7e0;
  transform: rotate(45deg);
  background: transparent;
}

.banner:hover .arrow::before {
  animation: shoot .6s ease;
}

@keyframes shoot {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(6px);
  }
  100% {
    transform: translateX(0);
  }
}

.cast {
  position: relative;
  height: 100%;
  width: 100%;
}

.pedestal {
  position: absolute;
  left: 50%;
  bottom: 14%;
  width: 86%;
  height: 40px;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse 50% 50% at 20% 50%, rgba(216,74,39,.45), transparent 65%),
    radial-gradient(ellipse 40% 50% at 50% 50%, rgba(233,185,73,.35), transparent 65%),
    radial-gradient(ellipse 50% 50% at 80% 50%, rgba(216,74,39,.45), transparent 65%);
  filter: blur(14px);
  opacity: .9;
}

.char {
  position: absolute;
  bottom: 10%;
  filter: drop-shadow(0 24px 14px rgba(0,0,0,.55));
  transition: transform .45s cubic-bezier(.2,.8,.2,1), filter .35s;
  image-rendering: pixelated;
}

.char img {
  display: block;
  width: 100%;
  height: auto;
}

.c1 {
  left: 2%;
  width: 50%;
  z-index: 3;
  transform: rotate(-3deg);
}
.c2 {
  left: 30%;
  width: 46%;
  z-index: 5;
  bottom: 8%;
}
.c3 {
  right: 2%;
  width: 48%;
  z-index: 4;
  transform: rotate(3deg);
}

.banner:hover .c1 {
  transform: translate(-6px,-8px) rotate(-5deg);
}
.banner:hover .c2 {
  transform: translate(0,-12px) scale(1.03);
}
.banner:hover .c3 {
  transform: translate(6px,-8px) rotate(5deg);
}

.overlay {
  position: absolute;
  inset: 0;
  z-index: 50;
  background:
    linear-gradient(180deg, rgba(10,9,7,.78), rgba(10,9,7,.92)),
    radial-gradient(800px 500px at 50% 50%, rgba(216,74,39,.18), transparent 70%);
  backdrop-filter: blur(14px);
  display: none;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding: 36px 40px;
  animation: fadeIn .35s ease;
}

.overlay.on {
  display: flex;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.ov-head {
  text-align: center;
  margin: 20px 0;
}

.ov-head .eyebrow {
  margin: 0 0 14px;
}

.ov-head h2 {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(22px, 2.6vw, 38px);
  margin: 0;
  color: var(--paper);
  letter-spacing: -.01em;
}

.ov-head p {
  margin: 8px 0 0;
  color: rgba(244,236,216,.65);
  font-size: 13px;
}

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

.pick {
  position: relative;
  border-radius: 14px;
  padding: 14px 14px 16px;
  background: linear-gradient(180deg, rgba(244,236,216,.06), rgba(244,236,216,.02));
  border: 1px solid rgba(244,236,216,.12);
  cursor: pointer;
  overflow: hidden;
  transition: transform .25s, border-color .25s, background .25s;
  text-align: center;
}

.pick:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(233,185,73,.14), rgba(233,185,73,.04));
}

.pick .art {
  height: 140px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 8px;
}

.pick .art img {
  max-height: 130px;
  width: auto;
  image-rendering: pixelated;
  filter: drop-shadow(0 10px 6px rgba(0,0,0,.5));
}

.pick h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--paper);
  font-weight: 700;
}

.pick .code {
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--gold);
}

.pick .supply {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(244,236,216,.5);
}

.pick-btn {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 700;
  color: #fff7e0;
  background: var(--vermilion);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255,247,224,.25);
  text-decoration: none;
  text-align: center;
  transition: background .2s;
}

.pick-btn:hover {
  background: var(--vermilion-dark);
}

.close-btn {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(244,236,216,.2);
  background: rgba(10,9,7,.5);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  transition: border-color .2s, color .2s;
}

.close-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

@media (max-width: 820px) {
  body {
    padding: 16px;
  }

  .banner {
    aspect-ratio: auto;
  }

  .content {
    grid-template-columns: 1fr;
    grid-template-rows: auto 320px;
    align-items: start;
  }

  .left {
    padding: 80px 20px 20px;
    text-align: center;
  }

  .eyebrow,
  .sub,
  .extra-note {
    margin-left: auto;
    margin-right: auto;
  }

  h1 {
    font-size: clamp(28px, 8vw, 40px);
  }

  .cast {
    height: 100%;
  }

  .stamp {
    top: 16px;
    left: 16px;
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
  .sun {
    right: -80px;
    top: -120px;
    width: 280px;
    height: 280px;
  }

  .overlay {
    padding: 32px 16px 24px;
  }

  .ov-head {
    margin: 20px 0;
  }

  .ov-head h2 {
    font-size: clamp(20px, 6vw, 28px);
  }

  .picks {
    grid-template-columns: 1fr;
    gap: 12px;
    max-height: 75vh;
    padding-right: 4px;
    padding: 20px 0;
    overflow-y: auto;
  }

  .pick .art {
    height: 110px;
  }
  .pick .art img {
    max-height: 100px;
  }

  .pick-btn {
    padding: 14px;
    font-size: 15px;
  }
}