:root {
  --navy: #06152d;
  --navy-2: #092551;
  --navy-3: #103868;
  --ink: #091833;
  --cream: #fff8e7;
  --paper: #fffaf1;
  --red: #ff3154;
  --red-dark: #bd143e;
  --green: #00c765;
  --green-dark: #007b49;
  --blue: #087cff;
  --pink: #f32670;
  --gold: #ffc52d;
  --line: #e8dfd0;
  --about-navy: #030414;
  --about-blue: #0a73ed;
  --about-light-blue: #24b7ff;
  --about-pink: #ff2054;
  --about-cream: #fff7e5;
  --about-gold: #ffc928;
  --about-white: #ffffff;
  --pixel: 'Geist Pixel', 'Courier New', monospace;
  --body: 'Lexend', Arial, sans-serif;
  --header-height: 78px;
  --content-width: 1260px;
  --shadow-pixel: 5px 5px 0 rgba(3, 12, 30, 0.75);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  overflow-x: hidden;
}

body.is-state-loading .score-number,
body.is-state-loading .stat-content strong {
  visibility: hidden;
}

::selection { background: var(--red); color: white; }

img { display: block; max-width: 100%; }

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

button, a { -webkit-tap-highlight-color: transparent; }

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

.site-header {
  position: relative;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  border-bottom: 2px solid rgba(9, 24, 51, 0.1);
  background: rgba(255, 249, 238, 0.98);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 249, 238, 0.96);
  box-shadow: 0 4px 0 rgba(9, 24, 51, 0.1);
}

.header-inner {
  width: min(100% - 40px, 1510px);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 58px);
}

.brand { width: clamp(205px, 17vw, 258px); flex: 0 0 auto; animation: brand-in 600ms 20ms both; }
.brand img { width: 100%; height: auto; image-rendering: pixelated; }

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3.1vw, 56px);
  flex: 1 1 auto;
  height: 100%;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
  color: var(--ink);
  font: 600 clamp(13px, 1.1vw, 17px) var(--pixel);
  white-space: nowrap;
  transition: color 160ms ease;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 13px;
  left: 0;
  height: 3px;
  background: var(--red);
  content: '';
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.nav-link:hover, .nav-link:focus-visible, .nav-link.is-active { color: var(--red); }
.nav-link:hover::after, .nav-link:focus-visible::after, .nav-link.is-active::after { transform: scaleX(1); }

.header-pledge {
  position: relative;
  top: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 7px 12px 7px 8px;
  border: 2px solid var(--ink);
  background: #fff4de;
  box-shadow: 3px 3px 0 rgba(9, 24, 51, 0.18);
  color: var(--ink);
  font: 600 clamp(12px, 1.05vw, 16px) var(--pixel);
  white-space: nowrap;
}

.header-pledge img { width: 28px; height: 28px; image-rendering: pixelated; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 42px;
  padding: 9px;
  border: 2px solid var(--ink);
  background: var(--cream);
  cursor: pointer;
}

.nav-toggle span { display: block; height: 3px; margin: 4px 0; background: var(--ink); }

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  padding: clamp(52px, 7.5vh, 88px) 0 26px;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
}

.arena-backdrop { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #06152d; }

.hero-background-picture { position: absolute; inset: 0; z-index: 0; display: block; }
.hero-background-image { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; image-rendering: pixelated; }
.arena-backdrop .arena-scanlines { z-index: 3; }
.arena-scanlines { position: absolute; inset: 0; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 5px); pointer-events: none; }

.hero-inner { position: relative; z-index: 1; width: min(100% - 36px, var(--content-width)); margin: 0 auto; }

.hero-intro { display: flex;  flex-direction: column; align-items: center; text-align: center; animation: intro-in 720ms 70ms both; }
.hero-title { width: min(100%, 720px); height: auto; image-rendering: pixelated; }

.peace-toast { min-height: 34px; margin: 3px 0 -4px; color: #ffdf75; font: 700 clamp(14px, 1.15vw, 18px) var(--pixel); text-align: center; opacity: 0; transform: translateY(7px); pointer-events: none; }
.peace-toast.is-visible { animation: toast-in 1.55s ease both; }

.battle-stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(13px, 2vw, 34px); margin-top: 2px; }
.player-panel { display: flex; align-items: flex-end; min-width: 0; gap: clamp(7px, 1.2vw, 22px); }
.player-panel--ygor { flex-direction: row; animation: panel-in-left 820ms 260ms both; }
.player-panel--julianne { flex-direction: row-reverse; animation: panel-in-right 820ms 360ms both; }

.fighter-wrap { position: relative; display: flex; flex: 0 1 42%; align-items: flex-end; justify-content: center; height: clamp(300px, 41vh, 490px); min-width: 0; transform-origin: center bottom; }
.fighter { width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(7px 8px 0 rgba(3, 11, 28, 0.72)); transform: scale(1.15); transform-origin: center bottom; transition: transform 180ms ease; }
.fighter-wrap:hover .fighter { transform: translateY(-3px) rotate(-0.3deg) scale(1.15); }
.fighter-wrap--julianne:hover .fighter { transform: translateY(-3px) rotate(0.3deg) scale(1.15); }
.fighter-heart { position: absolute; top: 14%; right: 3%; z-index: 2; width: 28px; opacity: 0; transform: translateY(5px) scale(0.8); transition: opacity 160ms ease, transform 160ms ease; }
.fighter-wrap--julianne .fighter-heart { right: auto; left: 3%; }
.fighter-wrap:hover .fighter-heart { opacity: 1; transform: translateY(-5px) scale(1); }
.fighter-heart img { width: 100%; height: auto; object-fit: contain; image-rendering: pixelated; }

.player-stack { display: flex; flex: 0 1 58%; flex-direction: column; gap: 9px; min-width: 0; }

.counter-card { position: relative; width: 100%; aspect-ratio: 1140 / 1051; min-width: 0; }
.frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.frame--counter { image-rendering: pixelated; }
.counter-content { position: absolute; inset: 10% 8% 9%; display: flex; flex-direction: column; align-items: center; justify-content: space-between; text-align: center; }
.counter-heading { display: flex; align-items: center; justify-content: center; width: 100%; gap: 9px; }
.counter-heading .profile { width: clamp(38px, 4.1vw, 64px); height: clamp(38px, 4.1vw, 64px); object-fit: contain; image-rendering: pixelated; }
.counter-heading h2 { margin: 0; color: var(--ink); font: 700 clamp(15px, 1.5vw, 23px) / 1.05 var(--pixel); text-align: left; }
.counter-heading strong { display: block; }
.score-number { margin: -4px 0 0; color: var(--red); font: 700 clamp(68px, 6.6vw, 108px) / 0.9 var(--pixel); letter-spacing: -0.1em; text-shadow: 4px 4px 0 var(--ink); transform-origin: center; }
.score-number.is-bumping { animation: score-bump 390ms ease both; }
.counter-tagline { margin: 0; color: var(--ink); font: 600 clamp(10px, 0.95vw, 15px) / 1.25 var(--body); opacity: 0.7; }

.action-stack { display: grid; gap: 8px; }
.arcade-button { position: relative; display: flex; align-items: center; justify-content: flex-start; min-height: clamp(48px, 6.4vh, 64px); gap: 10px; padding: 7px 14px; overflow: visible; border: 3px solid var(--ink); border-right-width: 5px; border-bottom-width: 5px; border-radius: 5px; color: #fff9ee; cursor: pointer; font-family: var(--pixel); transition: transform 130ms ease, filter 130ms ease; }
.arcade-button::after { display: none; }
.arcade-button img { width: clamp(27px, 2.8vw, 38px); height: clamp(27px, 2.8vw, 38px); flex: 0 0 auto; image-rendering: pixelated; }
.arcade-button span:not(.particle-layer) { display: flex; min-width: 0; flex: 1 1 auto; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px; text-align: left; }
.arcade-button strong { position: relative; top: 1px; font: 600 clamp(12px, 1.12vw, 17px) / 1.05 var(--pixel); }
.arcade-button small { flex: 0 0 auto; padding-left: 8px; font: 700 clamp(16px, 1.55vw, 23px) / 1 var(--pixel); }
.arcade-button--offense { background: var(--red); box-shadow: 4px 4px 0 var(--red-dark); }
.arcade-button--peace { background: var(--green); box-shadow: 4px 4px 0 var(--green-dark); }
.arcade-button:hover { filter: brightness(1.08); transform: translateY(-2px); }
.arcade-button:active, .arcade-button.is-impact { transform: translateY(2px); filter: brightness(0.95); }
.arcade-button--offense.is-impact { animation: offense-pulse 170ms ease; }
.arcade-button--peace.is-impact { animation: peace-pulse 170ms ease; }
.arcade-button:focus-visible, .nav-link:focus-visible, .brand:focus-visible, .nav-toggle:focus-visible { outline: 3px solid #ffd451; outline-offset: 4px; }
.particle-layer { position: absolute; inset: -12px; pointer-events: none; }
.particle { position: absolute; left: 50%; bottom: 40%; width: 22px; height: 22px; animation: particle-fly 760ms var(--delay) ease-out both; image-rendering: pixelated; }
.particle img { width: 100%; height: 100%; object-fit: contain; transform: rotate(var(--rot)); }

.versus { position: absolute; top: 54%; left: 50%; z-index: 4; display: grid; place-items: center; width: clamp(70px, 8vw, 126px); transform: translate(-50%, -50%); pointer-events: none; }
.versus img { width: 100%; height: auto; image-rendering: pixelated; }

.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(7px, 1vw, 13px); margin-top: clamp(24px, 2.6vh, 32px); animation: stats-in 760ms 500ms both; }
.stat-card { position: relative; min-height: 85px; aspect-ratio: 1974 / 688; }
.frame--stat { image-rendering: pixelated; }
.stat-content { position: absolute; inset: 13% 7%; display: flex; align-items: center; gap: 9px; padding-left: clamp(4px, 0.55vw, 8px); color: var(--cream); }
.stat-content > img { width: clamp(28px, 3vw, 44px); height: clamp(28px, 3vw, 44px); flex: 0 0 auto; object-fit: contain; image-rendering: pixelated; }
.stat-content > div { display: grid; min-width: 0; grid-template-columns: max-content minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 7px; row-gap: 5px; align-items: baseline; }
.stat-content span { overflow: hidden; color: #c7d5eb; font: 500 clamp(9px, 0.85vw, 13px) / 1.1 var(--body); text-overflow: ellipsis; white-space: nowrap; }
.stat-content span { grid-column: 1 / -1; grid-row: 1; }
.stat-content strong { grid-column: 1; grid-row: 2; color: var(--cream); font: 700 clamp(22px, 2.1vw, 33px) / 0.95 var(--pixel); }
.stat-content small { position: relative; top: -2px; display: inline-flex; grid-column: 2; grid-row: 2; align-items: center; align-self: end; width: max-content; max-width: 100%; gap: 4px; color: #dce5f4; font: 400 clamp(8px, 0.75vw, 11px) / 1.1 var(--body); white-space: nowrap; }
.stat-content b { color: #2de493; font-size: 16px; }
.trend-arrow { position: relative; display: inline-block; width: 11px; height: 15px; flex: 0 0 11px; margin-left: 0; color: transparent !important; font-size: 0 !important; line-height: 1; vertical-align: middle; }
.trend-arrow::before { position: absolute; top: 0; left: 4px; width: 3px; height: 9px; background: #2de493; content: ''; }
.trend-arrow::after { position: absolute; right: 0; bottom: 0; left: 0; height: 8px; background: #2de493; clip-path: polygon(0 0, 33% 0, 50% 32%, 67% 0, 100% 0, 50% 100%); content: ''; }

.content-section { position: relative; padding: clamp(70px, 9vw, 130px) 20px; }
.section-inner { width: min(100%, 1110px); margin: 0 auto; }
.memories-section { background: var(--paper); background-image: radial-gradient(rgba(9, 24, 51, 0.08) 1px, transparent 1px); background-size: 17px 17px; }
.content-section.memories-section { padding-bottom: clamp(40px, 5vw, 72px); }
.section-heading { max-width: 670px; margin: 0 auto 34px; text-align: center; }
.memories-kicker { display: flex; justify-content: center; margin-bottom: 10px; }
.memories-label { width: clamp(210px, 15vw, 250px); height: auto; aspect-ratio: 1883 / 347; image-rendering: pixelated; }
.section-heading h2 { margin: 10px 0 10px; color: var(--ink); font: 700 clamp(27px, 4vw, 48px) / 1.05 var(--pixel); }
.memories-heading-title { display: flex; justify-content: center; margin: 18px auto 16px !important; }
.memories-heading-title img { display: block; width: min(100%, 620px); height: auto; aspect-ratio: 1506 / 361; image-rendering: pixelated; }
.section-heading p { margin: 0; color: #52617a; font: 400 clamp(14px, 1.4vw, 18px) / 1.6 var(--body); }
.memories-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.memory-card-shadow { position: relative; min-width: 0; filter: drop-shadow(6px 6px 0 #e7b0ab); transition: transform 160ms ease, filter 160ms ease; }
.memory-card-shadow:hover { transform: translateY(-3px); filter: drop-shadow(8px 9px 0 #e7b0ab); }
.memory-card-shell { position: relative; min-width: 0; padding: 3px; background: var(--ink); clip-path: polygon(0 8px, 3px 8px, 3px 4px, 7px 4px, 7px 0, calc(100% - 7px) 0, calc(100% - 7px) 4px, calc(100% - 3px) 4px, calc(100% - 3px) 8px, 100% 8px, 100% calc(100% - 8px), calc(100% - 3px) calc(100% - 8px), calc(100% - 3px) calc(100% - 4px), calc(100% - 7px) calc(100% - 4px), calc(100% - 7px) 100%, 7px 100%, 7px calc(100% - 4px), 3px calc(100% - 4px), 3px calc(100% - 8px), 0 calc(100% - 8px)); }
.memory-card { position: relative; display: flex; min-height: 178px; flex-direction: column; overflow: hidden; background: linear-gradient(var(--red) 0 9px, #fffefb 9px 100%); clip-path: polygon(0 6px, 3px 6px, 3px 3px, 7px 3px, 7px 0, calc(100% - 7px) 0, calc(100% - 7px) 3px, calc(100% - 3px) 3px, calc(100% - 3px) 6px, 100% 6px, 100% calc(100% - 6px), calc(100% - 3px) calc(100% - 6px), calc(100% - 3px) calc(100% - 3px), calc(100% - 7px) calc(100% - 3px), calc(100% - 7px) 100%, 7px 100%, 7px calc(100% - 3px), 3px calc(100% - 3px), 3px calc(100% - 6px), 0 calc(100% - 6px)); }
.memory-card::before { display: none; }
.memory-card::after { display: none; }
.memory-card-shadow.is-peace { filter: drop-shadow(6px 6px 0 #a7d8bf); }
.memory-card-shadow.is-peace:hover { filter: drop-shadow(8px 9px 0 #a7d8bf); }
.memory-card.is-peace { background: linear-gradient(var(--green) 0 9px, #fffefb 9px 100%); }
.memory-card.is-record { background: linear-gradient(var(--gold) 0 9px, #fffefb 9px 100%); }
.memory-card-shadow.is-record { filter: drop-shadow(6px 6px 0 #e8c87a); }
.memory-card-shadow.is-record:hover { filter: drop-shadow(8px 9px 0 #e8c87a); }
.memory-head { position: relative; top: 14px; display: flex; align-items: center; justify-content: center; gap: 11px; padding: 16px 18px 8px; text-align: center; }
.memory-card-icon { width: 34px; height: 34px; flex: 0 0 auto; object-fit: contain; image-rendering: pixelated; }
.memory-card-type { color: #71809a; font: 700 clamp(10px, 1vw, 15px) / 1 var(--pixel); letter-spacing: 0.04em; text-transform: uppercase; }
.memory-card p { position: relative; z-index: 1; display: flex; flex: 1 1 auto; align-items: center; justify-content: center; min-height: 43px; margin: 0 18px; color: var(--ink); font: 700 clamp(14px, 1.25vw, 20px) / 1.3 var(--pixel); text-align: center; }
.memory-card > * { position: relative; z-index: 2; }
.memory-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: auto 18px 15px; padding-top: 10px; }
.memory-card time, .memory-footer > span { color: #7d8798; font: 600 11px var(--pixel); text-transform: uppercase; }
.memory-footer > span { color: #a49a90; font-size: 10px; }
.memory-empty { display: grid; grid-column: 1 / -1; min-height: 178px; box-sizing: border-box; place-items: center; padding: 32px; border: 2px dashed #bdc5d2; color: #68758c; font: 500 14px var(--body); text-align: center; }
.reset-count-wrap { display: flex; justify-content: center; margin-top: clamp(34px, 4vw, 52px); }
.reset-count-wrap[hidden] { display: none; }
.reset-count-button { display: block; width: min(100%, 340px); padding: 0; border: 0; background: transparent; cursor: pointer; transition: transform 160ms ease, filter 160ms ease; }
.reset-count-button img { display: block; width: 100%; height: auto; aspect-ratio: 1257 / 303; image-rendering: pixelated; }
.reset-count-button:hover { filter: brightness(1.06) drop-shadow(4px 5px 0 rgba(9, 24, 51, 0.28)); transform: translateY(-4px) scale(1.02); }
.reset-count-button:active { filter: brightness(0.96); transform: translateY(1px) scale(0.99); }
.reset-count-button:focus-visible { outline: 3px solid #ffd451; outline-offset: 5px; }

.about-section {
  position: relative;
  min-height: max(900px, calc(100svh - var(--header-height)));
  overflow: hidden;
  isolation: isolate;
  background: var(--about-navy);
  color: var(--about-white);
}

.about-background-picture { position: absolute; inset: 0; z-index: 0; display: block; }
.about-background { width: 100%; height: 100%; object-fit: cover; object-position: center center; image-rendering: pixelated; }
.about-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(3, 4, 20, 0.68) 0%, rgba(3, 4, 20, 0.18) 69.95%); pointer-events: none; }

.about-content { position: relative; z-index: 3; display: flex; width: min(calc(100% - 48px), 1120px); min-height: max(900px, calc(100svh - var(--header-height))); flex-direction: column; align-items: center; margin: 0 auto; padding: clamp(70px, 7.5vw, 90px) 0 clamp(80px, 8vw, 100px); }
.about-intro { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; width: 100%; text-align: center; }
.about-label { width: clamp(210px, 15vw, 250px); height: auto; aspect-ratio: 706 / 139; margin-bottom: clamp(8px, 0.8vw, 12px); image-rendering: pixelated; }
.about-title-art { width: min(620px, 80vw); height: auto; aspect-ratio: 1236 / 459; margin-bottom: clamp(24px, 2.3vw, 32px); image-rendering: pixelated; }
.about-description { max-width: 700px; margin: 0; color: rgba(255, 255, 255, 0.94); font: 400 clamp(14px, 0.9vw, 16px) / 1.55 var(--body); text-align: center; }
.about-description-mobile { display: none; }

.about-characters { position: absolute; top: 0; bottom: 0; left: 50%; z-index: 0; width: 100vw; transform: translateX(-50%); pointer-events: none; }
.about-character { position: absolute; bottom: 0; height: auto; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 6px 0 rgba(3, 4, 20, 0.48)); transform-origin: center bottom; will-change: transform; }
.about-character--ygor { left: clamp(0px, 3vw, 48px); width: clamp(300px, 25vw, 450px); aspect-ratio: 624 / 780; animation: about-character-idle 5.2s ease-in-out infinite; }
.about-character--julianne { right: clamp(0px, 3vw, 48px); width: clamp(320px, 27vw, 480px); aspect-ratio: 742 / 870; animation: about-character-idle 5.8s 700ms ease-in-out infinite; }

.about-cards { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 1.5vw, 22px); width: min(100%, 1120px); margin-top: clamp(28px, 3vw, 42px); }
.about-card { position: relative; aspect-ratio: 265 / 214; min-width: 0; transition: transform 180ms ease, filter 180ms ease; }
.about-card-frame, .about-quote-frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.about-card-frame { image-rendering: pixelated; }
.about-card-content { position: absolute; inset: 11% 8% 9%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.about-card-icon { width: clamp(48px, 3.4vw, 54px); height: clamp(48px, 3.4vw, 54px); margin-bottom: clamp(7px, 0.8vw, 10px); object-fit: contain; image-rendering: pixelated; transition: transform 180ms ease; }
.about-card h3 { margin: 0 0 6px; color: #08162f; font: 700 clamp(20px, 1.45vw, 22px) / 1 var(--pixel); text-transform: uppercase; }
.about-card p { max-width: 88%; margin: 0; color: #161c2c; font: 400 clamp(12px, 0.9vw, 13px) / 1.35 var(--body); }
.about-card:hover { filter: drop-shadow(0 5px 0 rgba(3, 4, 20, 0.28)); transform: translateY(-5px); }
.about-card:hover .about-card-icon { transform: translateY(-2px) scale(1.04); }

.about-quote { position: relative; z-index: 1; display: grid; width: min(760px, 85%); aspect-ratio: 1600 / 257; place-items: center; margin: clamp(24px, 2.4vw, 30px) auto 0; padding: 0 12%; color: var(--about-white); text-align: center; }
.about-quote-frame { object-fit: fill; image-rendering: pixelated; }
.about-quote p { position: relative; z-index: 1; max-width: 620px; margin: 0; font: 400 clamp(16px, 1.1vw, 18px) / 1.5 var(--body); }
.about-quote-heart { color: var(--about-pink); font-size: 1.25em; }

@keyframes about-character-idle { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

@keyframes intro-in { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes brand-in { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: translateX(0); } }
@keyframes panel-in-left { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: translateX(0); } }
@keyframes panel-in-right { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: translateX(0); } }
@keyframes stats-in { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toast-in { 0% { opacity: 0; transform: translateY(7px); } 18%, 82% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(-5px); } }
@keyframes score-bump { 0% { transform: translateY(0) scale(1); } 42% { transform: translateY(-8px) scale(1.18); } 100% { transform: translateY(0) scale(1); } }
@keyframes offense-pulse { 0%, 100% { box-shadow: 4px 4px 0 var(--red-dark); } 45% { box-shadow: 4px 4px 0 var(--red-dark), 0 0 0 5px rgba(255, 49, 84, 0.2); } }
@keyframes peace-pulse { 0%, 100% { box-shadow: 4px 4px 0 var(--green-dark); } 45% { box-shadow: 4px 4px 0 var(--green-dark), 0 0 0 5px rgba(0, 199, 101, 0.2); } }
@keyframes particle-fly { 0% { opacity: 0; transform: translate(-50%, 8px) scale(0.35); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(calc(-50% + var(--dx)), var(--dy)) scale(1); } }

@media (max-width: 1180px) {
  .header-inner { gap: 24px; }
  .main-nav { gap: 22px; }
  .header-pledge { gap: 5px; padding: 5px 8px 5px 6px; font-size: 11px; }
  .header-pledge img { width: 28px; height: 28px; }
  .hero-inner { width: min(100% - 28px, 1080px); }
  .fighter-wrap { height: clamp(280px, 38vh, 420px); }
  .counter-content { inset-inline: 7%; }
  .counter-heading { gap: 5px; }
  .score-number { font-size: clamp(62px, 6vw, 92px); }
}

@media (max-width: 930px) {
  :root { --header-height: 70px; }
  .header-inner { width: min(100% - 28px, 820px); }
  .brand { width: 205px; }
  .main-nav { gap: 14px; }
  .nav-link { font-size: 11px; }
  .hero { padding-top: 38px; }
  .hero-title { width: min(100%, 560px); }
  .battle-stage { gap: 8px; }
  .player-panel { gap: 5px; }
  .fighter-wrap { flex-basis: 37%; height: 300px; }
  .player-stack { flex-basis: 63%; }
  .counter-heading h2 { font-size: 13px; }
  .counter-heading .profile { width: 40px; height: 40px; }
  .score-number { font-size: clamp(54px, 7vw, 80px); }
  .counter-tagline { font-size: 9px; }
  .arcade-button { gap: 5px; padding-inline: 7px; }
  .arcade-button img { width: 29px; height: 29px; }
  .arcade-button strong { font-size: 10px; }
  .arcade-button small { font-size: 16px; }
  .stat-content { gap: 5px; }
  .stat-content > img { width: 26px; height: 26px; }
  .stat-content strong { font-size: 25px; }
  .stat-content span { font-size: 7px; }
  .stat-content small { font-size: 6px; }
}

@media (max-width: 767px) {
  :root { --header-height: 66px; }
  .site-header { height: var(--header-height); }
  .header-inner { width: min(100% - 20px, 620px); gap: 12px; justify-content: space-between; }
  .brand { width: min(205px, calc(100vw - 88px)); }
  .header-pledge { display: none; }
  .nav-toggle { position: relative; display: block; width: 44px; height: 44px; flex: 0 0 44px; padding: 0; border: 0; background: transparent; box-shadow: none; }
  .nav-toggle span { position: absolute; left: 10px; display: block; width: 22px; height: 3px; margin: 0; background: var(--ink); transform-origin: center; transition: transform 180ms ease, opacity 140ms ease; }
  .nav-toggle span:nth-child(1) { transform: translateY(-7px); }
  .nav-toggle span:nth-child(2) { transform: translateY(0); }
  .nav-toggle span:nth-child(3) { transform: translateY(7px); }
  .nav-toggle.is-open span:nth-child(1) { transform: rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-toggle.is-open span:nth-child(3) { transform: rotate(-45deg); }
  .main-nav { position: absolute; top: 100%; right: 0; left: 0; display: flex; width: 100%; height: auto; max-height: calc(100svh - var(--header-height) - 10px); flex-direction: column; align-items: stretch; gap: 0; overflow-x: hidden; overflow-y: auto; padding: 4px 18px 10px; border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); background: var(--cream); box-shadow: 0 7px 0 rgba(9, 24, 51, 0.28); opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity 160ms ease, transform 160ms ease; }
  .main-nav::before { position: absolute; right: 18px; bottom: 0; left: 18px; height: 4px; background: var(--red); content: ''; }
  .main-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav-link { justify-content: flex-start; height: 46px; padding: 0 14px; border-bottom: 2px solid #eadfce; font-size: 15px; }
  .nav-link:last-child { border-bottom: 0; }
  .nav-link:hover, .nav-link:focus-visible, .nav-link.is-active { background: #fff1dc; color: var(--red); }
  .nav-link::after { display: none; }
  .nav-link.is-active { padding-left: 22px; }
  .nav-link.is-active::before { position: absolute; top: 9px; bottom: 9px; left: 0; width: 4px; background: var(--red); content: ''; }
  .nav-link[data-section="hero"].is-active { padding-left: 14px; background: transparent; color: var(--ink); }
  .nav-link[data-section="hero"].is-active::before { display: none; }
  .site-header.is-menu-open { height: var(--header-height); }
  .site-header.is-menu-open .header-inner { display: flex; width: min(100% - 20px, 620px); height: 100%; flex-wrap: nowrap; align-items: center; column-gap: 12px; }
  .site-header.is-menu-open .main-nav { position: absolute; top: calc(100% - 3px); right: 0; left: 0; width: 100%; max-height: calc(100svh - var(--header-height)); margin: 0; border-top: 0; transform: none; }
  .hero { min-height: auto; padding: 52px 0 40px; }
  .hero-background-picture { top: auto; right: auto; bottom: 0; left: 50%; width: 105%; height: auto; opacity: 0.8; transform: translateX(-50%); }
  .hero-background-image { position: static; width: 100%; height: auto; object-position: center bottom; object-fit: contain; }
  .hero-inner { width: min(100% - 20px, 480px); max-width: 100%; min-width: 0; }
  .hero-title { width: min(100%, 350px); }
  .peace-toast { height: 0; min-height: 0; margin: 0; font-size: 13px; }
  .peace-toast.is-visible { height: auto; min-height: 34px; margin: 14px 0 -3px; }
  .battle-stage { display: flex; flex-direction: column; gap: 20px; margin-top: 4px; }
  .player-panel, .player-panel--ygor, .player-panel--julianne { display: flex; flex-direction: column; align-items: center; gap: 6px; }
  .player-panel--ygor { animation-name: panel-in-left; }
  .player-panel--julianne { animation-name: panel-in-right; }
  .fighter-wrap, .fighter-wrap--julianne { flex: 0 0 auto; width: min(100%, 246px); height: 216px; }
  .fighter-wrap--julianne { height: 230px; }
  .fighter { transform: scale(1.06); }
  .fighter-wrap:hover .fighter { transform: translateY(-3px) rotate(-0.3deg) scale(1.06); }
  .fighter-wrap--julianne:hover .fighter { transform: translateY(-3px) rotate(0.3deg) scale(1.06); }
  .fighter-heart { width: 23px; }
  .player-stack { width: min(100%, 330px); max-width: 100%; min-width: 0; flex: 0 0 auto; gap: 10px; }
  .counter-heading h2 { font-size: 17px; }
  .counter-heading .profile { width: 48px; height: 48px; }
  .score-number { font-size: clamp(76px, 22vw, 104px); }
  .counter-tagline { font-size: 11px; }
  .arcade-button { width: 100%; min-height: 56px; gap: 8px; padding-inline: 12px; }
  .arcade-button img { width: 32px; height: 32px; }
  .arcade-button strong { font-size: 13px; }
  .arcade-button small { font-size: 19px; }
  .versus { position: static; align-self: center; order: 0; width: 82px; margin: 0 auto; transform: none; }
  .stats-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 26px; }
  .stat-card { min-height: 104px; aspect-ratio: 3.8 / 1; }
  .stat-content { inset: 14% 8% 12%; gap: 10px; }
  .stat-content > img { width: 38px; height: 38px; }
  .stat-content span { overflow: visible; font-size: 10px; line-height: 1.2; white-space: normal; }
  .stat-content strong { margin: 3px 0; font-size: 30px; }
  .stat-content small { font-size: 8.5px; }
  .content-section { padding: 64px 14px; overflow-x: clip; }
  .section-inner { width: 100%; max-width: 100%; min-width: 0; }
  .section-heading { margin-bottom: 28px; }
  .section-heading h2 { font-size: clamp(27px, 8vw, 34px); }
  .memories-heading-title { box-sizing: border-box; margin: 14px auto 14px !important; padding-inline: clamp(18px, 6vw, 32px); }
  .section-heading p { font-size: 13px; line-height: 1.55; }
  .memories-list { grid-template-columns: 1fr; }
  .memory-card { width: 100%; min-height: 176px; }
  .memory-head { flex-wrap: wrap; row-gap: 7px; }
  .memory-card-type { max-width: calc(100% - 52px); }
  .memories-label { width: min(230px, 72vw); }
  .reset-count-button { width: min(100%, 280px); }
}

@media (max-width: 380px) {
  .hero { padding-top: 42px; }
  .hero-title { width: min(100%, 310px); }
  .fighter-wrap, .fighter-wrap--julianne { width: min(100%, 220px); height: 198px; }
  .fighter-wrap--julianne { height: 210px; }
  .player-stack { width: min(100%, 295px); }
  .counter-heading h2 { font-size: 15px; }
  .counter-heading .profile { width: 43px; height: 43px; }
  .score-number { font-size: 74px; }
  .counter-tagline { font-size: 10px; }
  .arcade-button { min-height: 52px; padding-inline: 9px; }
  .arcade-button img { width: 29px; height: 29px; }
  .arcade-button strong { font-size: 11px; }
  .arcade-button small { font-size: 17px; }
  .stat-card { min-height: 96px; aspect-ratio: 3.8 / 1; }
  .stat-content { inset: 14% 8% 12%; gap: 7px; }
  .stat-content > img { width: 32px; height: 32px; }
  .stat-content span { font-size: 8.5px; }
  .stat-content strong { font-size: 27px; }
  .stat-content small { font-size: 7.5px; }
  .content-section { padding-inline: 10px; }
  .memory-card { min-height: 168px; }
  .memory-head { padding-inline: 14px; }
  .memory-card p { margin-inline: 14px; font-size: 14px; }
}

@media (max-width: 1200px) {
  .about-content { width: min(calc(100% - 40px), 900px); }
  .about-title-art { width: min(560px, 78vw); }
  .about-description { max-width: 680px; font-size: 15px; }
  .about-cards { gap: 14px; }
  .about-character--ygor { width: clamp(290px, 28vw, 350px); }
  .about-character--julianne { width: clamp(310px, 30vw, 370px); }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .about-content { width: min(calc(100% - 40px), 680px); padding-top: 66px; }
  .about-title-art { width: min(500px, 80vw); }
  .about-description { max-width: 680px; font-size: 15px; }
  .about-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; width: min(100%, 640px); }
  .about-character--ygor { left: 0; width: 280px; opacity: 0.9; }
  .about-character--julianne { right: 0; width: 300px; opacity: 0.9; }
}

@media (max-width: 767px) {
  .about-section { min-height: 0; }
  .about-background { object-position: center bottom; }
  .about-overlay { background: linear-gradient(180deg, rgba(3, 4, 20, 0.80) 0%, rgba(3, 4, 20, 0.44) 100%); }
  .about-content { width: min(calc(100% - 32px), 560px); min-height: 0; padding: 56px 0 68px; }
  .about-label { width: min(230px, 72vw); margin-bottom: 18px; }
  .about-title-art { width: min(620px, 94vw); margin-bottom: 22px; }
  .about-description { max-width: 440px; font-size: 13px; line-height: 1.5; }
  .about-description-full { display: none; }
  .about-description-mobile { display: inline; }
  .about-characters { position: relative; top: auto; bottom: auto; left: auto; display: flex; width: calc(100% + 64px); height: clamp(220px, 56vw, 290px); align-items: flex-end; justify-content: space-between; margin: 22px -32px 12px; transform: none; }
  .about-character { position: relative; bottom: auto; height: 100%; object-position: bottom center; }
  .about-character--ygor { left: auto; width: 46%; max-width: 220px; }
  .about-character--julianne { right: auto; width: 50%; max-width: 230px; margin-left: 0; }
  .about-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; width: 100%; margin-top: 0; }
  .about-card { width: min(100%, 280px); justify-self: center; }
  .about-card-content { inset: 12% 9% 10%; }
  .about-card-icon { width: clamp(48px, 12vw, 58px); height: clamp(48px, 12vw, 58px); margin-bottom: 9px; }
  .about-card h3 { margin-bottom: 7px; font-size: clamp(18px, 4.6vw, 22px); }
  .about-card p { max-width: 88%; font-size: 12px; line-height: 1.4; }
  .about-quote { width: 100%; min-height: 104px; aspect-ratio: auto; margin-top: 22px; padding: 0 11%; }
  .about-quote p { max-width: 90%; font-size: 14px; line-height: 1.45; }
}

@media (max-width: 560px) {
  .about-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .about-card { width: 100%; max-width: none; justify-self: stretch; }
  .about-card-content { inset: 8% 7% 8%; }
  .about-card-icon { width: clamp(34px, 9vw, 42px); height: clamp(34px, 9vw, 42px); margin-bottom: 5px; }
  .about-card h3 { margin-bottom: 4px; font-size: clamp(15px, 4vw, 18px); }
  .about-card p { max-width: 94%; font-size: 10px; line-height: 1.25; }
}

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