@font-face {
  font-family: "Noto Sans JP Bonus";
  src: url("assets/bonus-heading.woff2") format("woff2");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  unicode-range: U+20, U+44-45, U+47, U+50, U+54, U+65, U+68-69, U+6E-6F, U+75, U+3042, U+304B-304C, U+305F-3060, U+3063, U+306A-306B, U+308B, U+3092, U+3099, U+30B9-30BA, U+30C1-30C2, U+30E3, U+30F3, U+4E59, U+5408, U+5973, U+5F53, U+FF01;
}

@font-face {
  font-family: "Mochiy Pop One";
  src: url("assets/bonus-callout.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+45, U+47, U+54, U+305F-3060, U+3066-3067, U+308B, U+3099, U+5F53, U+62BD, U+6599, U+7121, U+9078, U+FF01;
}

.bonuses {
  --bonus-ink: #142955;
  --bonus-gold: #d3a65d;
  --bonus-gold-light: #ffe8ac;
  padding-block: clamp(40px, 7vw, 78px) clamp(44px, 8vw, 86px);
  background:
    linear-gradient(180deg, #0b1929 0%, #0b192925 19%, transparent 73%, #0d162b 100%),
    url("assets/bonuses-night-city.jpg") 32% center / cover no-repeat,
    #101a35;
}

.bonuses-inner {
  display: grid;
  grid-auto-rows: 1fr;
  gap: clamp(28px, 6vw, 49px);
  width: min(100% - 30px, 680px);
  margin: clamp(28px, 6vw, 49px) auto 0;
}

@media (max-width: 600px) {
  .bonuses {
    background:
      linear-gradient(180deg, #0b1929 0%, #0b192940 13%, transparent 25% 89%, #0d162b 100%),
      url("assets/bonuses-night-city.jpg") 9% 66% / auto 124% no-repeat,
      #101a35;
  }
}

.bonus-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.42fr);
  align-items: center;
  gap: clamp(10px, 3vw, 28px);
  padding: clamp(45px, 8vw, 58px) clamp(14px, 4vw, 32px) clamp(24px, 5.5vw, 42px);
  isolation: isolate;
  scroll-margin-top: 28px;
  border: 2px solid var(--bonus-gold);
  border-radius: 20px;
  background:
    linear-gradient(135deg, #3a5497 0 24px, #efcb83 24px 26px, transparent 27px),
    linear-gradient(315deg, #3a5497 0 24px, #efcb83 24px 26px, transparent 27px),
    radial-gradient(ellipse at 50% 0%, #fff 20%, #f9efd9 100%);
  box-shadow: 0 0 0 1px #08132a, inset 0 0 0 4px #ffffff9c, 0 12px 30px #030a2680;
  color: var(--bonus-ink);
}

.bonus-card::before {
  position: absolute;
  z-index: -1;
  inset: 8px;
  border: 1px solid #be8d4170;
  border-radius: 13px;
  pointer-events: none;
  content: "";
}

.bonus-step {
  position: absolute;
  inset-block-start: 14px;
  inset-inline-start: clamp(14px, 5vw, 28px);
  margin: 0;
  padding: 4px 15px;
  border: 1px solid var(--bonus-gold);
  border-radius: 6px 12px;
  background: #213b73;
  color: #fff6df;
  box-shadow: 0 3px 0 #111e44;
  font: 800 clamp(13px, 3.4vw, 18px)/1.3 var(--mono);
  letter-spacing: .06em;
}

.bonus-mystery {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: .91;
  overflow: hidden;
  border: 2px solid #c8954c;
  border-radius: 44% 44% 22% 22%;
  background:
    repeating-conic-gradient(from 0deg, #f2f6ff19 0 1deg, transparent 1deg 30deg),
    radial-gradient(ellipse at 50% 45%, #a8dfff, #5377be 56%, #253d75 82%);
  box-shadow: inset 0 0 0 4px #fce7b975, 0 6px 14px #172c5950;
}

.bonus-mystery::before {
  position: absolute;
  inset: 7% 3% 0;
  background: linear-gradient(155deg, #253864, #101c43 62%, #171d4b);
  mask: url("assets/characters/01.webp") center top / 118% auto no-repeat;
  content: "";
}

.bonus-mystery span {
  position: relative;
  color: #ffedb4;
  font: 900 clamp(48px, 15vw, 104px)/1 var(--heading-serif);
  text-shadow: 0 3px 0 #6d4a23, 0 0 20px #ffc5638c;
}

.bonus-copy {
  min-width: 0;
}

.bonus-callout {
  --callout-edge: #b07220;
  --callout-tip: #edb141;
  position: absolute;
  z-index: 1;
  inset-block-start: -17px;
  inset-inline-end: -5px;
  margin: 0;
  padding: .4em .74em;
  transform: rotate(5deg);
  border: 2px solid var(--callout-edge);
  border-radius: 1em;
  background:
    radial-gradient(ellipse at 25% 0%, #fff9d8b3, transparent 65%),
    linear-gradient(175deg, #ffe9a0 3%, #ffdb68 48%, var(--callout-tip) 92%);
  box-shadow: inset 0 0 0 1px #fff2b7, 0 2px 0 #714810, 0 4px 8px #28170760;
  color: #fff9db;
  -webkit-text-stroke: .14em #642e0a;
  paint-order: stroke fill;
  text-shadow: 0 2px #642e0a, 0 3px 3px #71380a9e;
  font: 400 clamp(17px, 4.8vw, 27px)/1.22 "Mochiy Pop One", var(--font);
  font-feature-settings: "palt";
  white-space: nowrap;
  text-align: center;
}

.bonus-callout::after {
  position: absolute;
  inset-block-end: -6px;
  inset-inline-start: 17%;
  width: 10px;
  height: 10px;
  transform: rotate(45deg);
  border: solid var(--callout-edge);
  border-width: 0 2px 2px 0;
  background: var(--callout-tip);
  content: "";
}

.bonus-copy h3 {
  margin: 0;
  font: 900 clamp(17px, 5.7vw, 40px)/1.18 "Noto Sans JP Bonus", var(--font);
  letter-spacing: -.02em;
}

.bonus-heading-lead {
  display: block;
  margin-bottom: 4px;
  color: #34578f;
  font: 800 clamp(11px, 3.7vw, 21px)/1.25 var(--font);
  letter-spacing: normal;
}

.bonus-heading-emphasis {
  color: #1c4892;
  text-shadow: 0 1px #ead4a7;
}

.bonus-detail {
  margin: 8px 0 0;
  color: #43516c;
  font-size: clamp(11px, 3vw, 14px);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.bonus-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .3em;
  width: 100%;
  min-height: clamp(52px, 9vw, 60px);
  margin-top: 14px;
  padding: 6px clamp(6px, 1.8vw, 16px);
  border: 2px solid #e7be70;
  border-radius: 15px;
  background: linear-gradient(180deg, #356cc0 0%, #245098 54%, #1a3b79 100%);
  box-shadow: inset 0 0 0 1px #fff4c566, 0 3px #a47a3a, 0 6px 12px #1b397b3b;
  color: #fff;
  font-size: clamp(12.5px, 3.9vw, 20px);
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}

.bonus-action[href]:hover {
  background: linear-gradient(180deg, #4276bb, #284f8b);
}

.bonus-action span {
  color: var(--bonus-gold-light);
}

@media (prefers-reduced-motion: no-preference) {
  .bonus-action {
    animation: preorder-pulse 2.9s ease-in-out infinite;
  }
}

.bonus-phone {
  width: 100%;
  height: auto;
  transform: scale(1.14);
  transform-origin: 60% center;
  filter: drop-shadow(0 8px 7px #24385752);
}

:root:lang(en) .bonus-copy h3 { font-size: clamp(17px, 5vw, 33px); }
:root:lang(en) .bonus-callout { font-weight: 800; }

:root:not(:lang(ja), :lang(ko), :lang(zh)) .bonus-copy h3 {
  font-size: clamp(17px, 5vw, 33px);
  overflow-wrap: anywhere;
}
:root:not(:lang(ja)) .bonus-callout {
  max-inline-size: 56%;
  white-space: normal;
  overflow-wrap: anywhere;
  font: 900 clamp(14px, 3.85vw, 24px)/1.25 var(--font);
  -webkit-text-stroke-width: .11em;
}
:root:not(:lang(ja), :lang(ko), :lang(zh)) .bonus-action {
  font-size: clamp(12px, 3.7vw, 18px);
}
[dir="rtl"] :is(.bonus-step, .bonus-callout, .bonus-copy h3) { letter-spacing: normal; }
[dir="rtl"] .bonus-step { font-family: var(--font); }
[dir="rtl"] .bonus-callout { transform: rotate(-5deg); }
