@font-face {
  font-family: "Cormorant Arena";
  src: url("cormorant-garamond.woff2") format("woff2");
  font-weight: 500 700;
  font-display: swap;
}
@font-face {
  font-family: "Golos Arena";
  src: url("golos-text.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --coal: #17120f;
  --surface: #221a13;
  --line: #56402d;
  --bone: #f9edd8;
  --muted: #cebba4;
  --gold: #f2b968;
  --ember: #b94d2b;
  --mast-height: 110px;
  --display: "Cormorant Arena", Garamond, Georgia, serif;
  font-family: "Golos Arena", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--mast-height) + 10px); }
body { margin: 0; color: var(--bone); background: var(--coal); }
a { text-decoration: none; color: inherit; }
button, input { font: inherit; }
button:not(:disabled), summary { cursor: pointer; }
:focus-visible { outline: 2px solid #ffcf95; outline-offset: 4px; }
.frame { width: min(1240px, calc(100% - 88px)); margin-inline: auto; }
.skip { position: absolute; z-index: 20; top: 8px; left: 8px; transform: translateY(-160%); padding: 8px 12px; color: var(--coal); background: var(--gold); }
.skip:focus { transform: none; }
.mast { position: sticky; top: 0; z-index: 5; background: #1b1512; }
.mast-inner { min-height: 68px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; }
.brand { display: flex; align-items: center; gap: 10px; height: fit-content; justify-self: start; font: 700 1.2rem var(--display); letter-spacing: .05em; }
.brand img { object-fit: cover; border-radius: 50%; }
.mast nav { display: flex; gap: clamp(16px, 3.2vw, 46px); color: var(--muted); font-size: .92rem; }
.mast nav a:hover, .footer a:hover { color: var(--gold); }
.launch-state { justify-self: end; color: var(--muted); white-space: nowrap; font-size: .83rem; }
.launch-state::before { content: ""; display: inline-block; vertical-align: 2px; margin-right: 7px; width: 5px; height: 5px; background: var(--gold); border-radius: 50%; }
.contract-bar { background: #251b14; border-block: 1px solid #493324; }
.contract-inner {
  position: relative; min-height: 42px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 5px 16px; align-items: center; padding-block: 3px;
}
.contract-label { color: var(--gold); font-size: .88rem; font-weight: 650; }
.contract-value { color: var(--muted); font: inherit; font-size: .87rem; overflow-wrap: anywhere; }
.contract-bar[data-live="true"] .contract-value { color: var(--bone); font-family: ui-monospace, Consolas, monospace; }
.contract-copy {
  min-width: 76px; min-height: 34px; padding: 3px 8px; border: 1px solid #805c37;
  background: #1d1510; color: var(--bone); font-size: .84rem;
}
.contract-copy:hover { border-color: var(--gold); color: var(--gold); }

.arena { min-height: clamp(620px, 82svh, 790px); position: relative; isolation: isolate; overflow: hidden; background: #361f14; }
.arena-camera, .arena-art, .arena-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.arena-camera { container-type: size; --venue-align: 50%; transform-origin: 65% 73%; }
.venue {
  position: absolute; top: 0; left: var(--venue-align); width: max(100%, 177.684cqh);
  aspect-ratio: 1672 / 941; translate: calc(-1 * var(--venue-align)) 0;
}
.arena-shade { pointer-events: none; background: linear-gradient(168deg, #170f0cdd 0%, #170f0c4c 30%, transparent 62%), linear-gradient(0deg, #17120f, #17120f00 23%); }
.arena-inner { position: relative; z-index: 2; padding: clamp(55px, 13svh, 139px) 0 19px; pointer-events: none; }
.intro { position: relative; width: fit-content; max-width: 100%; }
h1 { margin: 0; font: 700 clamp(3.2rem, 8.3vw, 9rem)/.86 var(--display); letter-spacing: -.05em; color: #f9e4c1; text-shadow: 0 6px 24px #100604c2; }
.description { margin: 16px 0 23px; color: #f7dfb8; font: 600 clamp(1.28rem, 3vw, 2.45rem)/1.03 var(--display); }
.training-link { display: inline-block; pointer-events: auto; color: var(--gold); padding-block: 4px; text-decoration: underline; text-underline-offset: 6px; font-size: .94rem; }
.training-link:hover { color: var(--bone); }
.button {
  min-height: 45px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid transparent; padding: 10px 15px; font-size: .95rem; font-weight: 760; line-height: 1.2; text-align: center;
}
.gold { color: #25170c; background: var(--gold); }
.gold:not(:disabled):hover { background: #ffcd8e; }
.outline { color: var(--bone); border-color: #9c7149; background: #23170fdf; }
.outline:not(:disabled):hover { border-color: var(--gold); color: var(--gold); }
.button:disabled { opacity: .56; }
.combat-ring { --foot: clamp(70px, 12.5%, 114px); position: absolute; inset: 0; pointer-events: none; }
.combatant { position: absolute; bottom: var(--foot); width: clamp(140px, 19.5vw, 272px); left: 52%; translate: -50% 0; transform-origin: center 92%; }
.side-b { left: 77%; }
.combatant img { display: block; position: relative; width: 100%; height: auto; filter: drop-shadow(0 5px 8px #1b0c06a0); transform-origin: 50% 94%; }
.action-frame {
  display: none; position: absolute; inset: 0 -14.21%; background-size: 400% 100%; background-repeat: no-repeat;
  filter: drop-shadow(0 5px 8px #1b0c06a0);
}
.combatant[data-action=true] img { visibility: hidden; }
.combatant[data-action=true] .action-frame { display: block; }
.side-b img, .side-b .action-frame { scale: -1 1; }
.combat-ring[data-state="idle"] .combatant img { animation: breathe 1.15s ease-in-out 2 alternate; transform-origin: bottom; }
.combat-ring[data-state="idle"] .side-b img { animation-delay: -.45s; }
.fighter-shadow { position: absolute; inset: auto 17% 2% 16%; height: 9%; background: #1e0f08a6; filter: blur(7px); border-radius: 50%; }
@keyframes breathe { from { transform: rotate(-.5deg) scaleY(.986); } to { transform: rotate(.85deg) scaleY(1.022); } }
.impact { position: absolute; width: 28px; height: 28px; left: 63%; bottom: calc(var(--foot) + clamp(57px, 8.5vw, 116px)); translate: -50% 50%; opacity: 0; }
.impact::before { content: ""; position: absolute; inset: -4px; background: radial-gradient(ellipse, #fff4cd9a, #ffd59742 29%, transparent 70%); }
.impact i { position: absolute; left: 50%; top: 50%; width: 6px; height: 2px; background: #ffe2af; box-shadow: 0 0 6px #ffac5c; }
.arena-sand { position: absolute; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; }
.oath { background: #eee0c7; color: #382417; }
.oath .frame { padding-block: clamp(25px, 4vw, 52px); text-align: center; }
.oath p { margin: 0; font: 700 clamp(2.35rem, 6.35vw, 6.4rem)/.87 var(--display); letter-spacing: -.04em; }
.oath em { color: #771e19; font-style: normal; }

.training { padding-block: 46px 48px; scroll-margin-top: 15px; }
.section-head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 17px; margin-bottom: 18px; }
.section-head h2, .shop h3, .faq h2 { margin: 0; font: 650 clamp(2.15rem, 4vw, 3.6rem)/1.02 var(--display); letter-spacing: -.035em; }
.modes { display: flex; gap: 13px; }
.mode { padding: 8px 0; border: 0; border-bottom: 1px solid transparent; background: transparent; color: var(--muted); font-size: .87rem; }
.mode:hover { color: var(--gold); }
.mode.active { color: #ffe1af; border-color: #d29e64; }
.training-grid { display: grid; grid-template-columns: 1.02fr 1fr; min-height: 520px; }
.fighter-stage {
  min-width: 0; display: grid; align-content: start; padding: 18px clamp(14px, 2.4vw, 26px) 15px;
  background: #211a15;
}
.fighter-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
#rank-name { color: var(--bone); font: 650 clamp(1.7rem, 3.2vw, 2.55rem)/1 var(--display); }
#level { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.fighter-portrait {
  position: relative; isolation: isolate; display: grid; place-items: end center; min-width: 0;
  padding: 8px 0 17px;
  background: radial-gradient(ellipse at 50% 45%, #6f4a32 0, #3e2d22 36%, #211a15 71%);
}
.fighter-portrait::before {
  content: ""; z-index: -1; position: absolute; bottom: 6%; left: 18%; width: 64%; height: 7%;
  background: radial-gradient(ellipse, #110d0bc7 0, #110d0b72 35%, transparent 70%);
}
.fighter-glow { position: absolute; z-index: -1; inset: 0; opacity: 0; background: radial-gradient(circle, #f8ae5563, transparent 58%); pointer-events: none; }
.sprite {
  position: relative; width: min(84%, 393px); aspect-ratio: 1; transform-origin: center 96%;
  filter: drop-shadow(0 8px 10px #130a0590); transform: scale(var(--muscle, 1));
}
.body-art { display: block; width: 100%; height: 100%; }
.worn, .grip-art { position: absolute; display: block; pointer-events: none; }
.worn.armor { left: var(--armor-x); top: var(--armor-y); width: var(--armor-w); height: auto; }
.worn.weapon {
  left: var(--weapon-x); top: var(--weapon-y); height: var(--weapon-h); width: auto;
  translate: -50% -85%; rotate: var(--weapon-angle); transform-origin: center 85%;
}
.grip-art { inset: 0; width: 100%; height: 100%; clip-path: var(--grip); }
.worn.shield { left: var(--shield-x); top: var(--shield-y); width: var(--shield-w); height: auto; translate: -50% -50%; rotate: 9deg; }
.sprite[data-tier="0"] {
  --armor-x:49%; --armor-y:34%; --armor-w:13%;
  --weapon-x:38.2%; --weapon-y:66.8%; --weapon-h:30%; --weapon-angle:-33deg;
  --grip:polygon(35.9% 67.1%, 36.2% 65.7%, 37.5% 65%, 38.6% 64.9%, 40.2% 64.1%, 41.1% 66.9%, 40% 69.8%, 37.1% 69.8%);
  --shield-x:64%; --shield-y:65%; --shield-w:19%;
}
.sprite[data-tier="1"] {
  --armor-x:49%; --armor-y:30%; --armor-w:17%;
  --weapon-x:34.6%; --weapon-y:66.1%; --weapon-h:34%; --weapon-angle:-36deg;
  --grip:polygon(31.7% 66.8%, 32.6% 65%, 34.3% 64.5%, 35.6% 62.9%, 38.2% 64.4%, 39.5% 66.1%, 38.4% 69.5%, 34.3% 69.5%);
  --shield-x:67.4%; --shield-y:64%; --shield-w:20%;
}
.sprite[data-tier="2"] {
  --armor-x:45%; --armor-y:28%; --armor-w:24%;
  --weapon-x:28.4%; --weapon-y:69.5%; --weapon-h:40%; --weapon-angle:-37deg;
  --grip:polygon(24.2% 70.5%, 24.9% 68.5%, 26.8% 67.6%, 29.5% 67.6%, 30.1% 65.6%, 32.6% 65.9%, 34.5% 68.8%, 33.6% 73%, 29.2% 74%);
  --shield-x:72%; --shield-y:68%; --shield-w:22%;
}
.sprite[data-tier="3"] {
  --armor-x:44%; --armor-y:24%; --armor-w:29%;
  --weapon-x:22.1%; --weapon-y:72.4%; --weapon-h:47%; --weapon-angle:-39deg;
  --grip:polygon(17.7% 74.4%, 18.5% 72.1%, 20.3% 70.7%, 22.1% 70.4%, 22.9% 68.6%, 24.7% 67.4%, 28.7% 68.6%, 29.5% 71.8%, 27.1% 75.8%, 22.7% 77.1%, 19.5% 76.3%);
  --shield-x:79.4%; --shield-y:69.8%; --shield-w:24%;
}
.stat-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; border-top: 1px solid var(--line); }
.stat-rail div { padding-block: 10px 7px; display: grid; gap: 1px; }
.stat-rail span { color: var(--muted); font-size: .82rem; }
.stat-rail strong { color: var(--gold); font-size: 1.3rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.loadout { display: flex; align-items: start; gap: 8px 12px; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 4px; padding-top: 9px; }
.loadout ul { list-style: none; display: flex; flex-wrap: wrap; align-self: center; gap: 3px 11px; margin: 0; padding: 0; font-size: .82rem; color: var(--muted); }
.loadout .text-action { color: var(--gold); white-space: nowrap; min-height: 32px; margin-block: -6px; padding: 4px 0; }
.training-panel { padding: clamp(17px, 4vw, 43px); display: flex; flex-direction: column; align-items: stretch; }
.panel-label { color: var(--gold); font-size: .85rem; font-weight: 680; margin: 0 0 7px; }
.training-panel h3 { font: 650 clamp(2rem, 3vw, 2.9rem)/1.02 var(--display); margin: 0; letter-spacing: -.04em; }
.panel-description { margin: 11px 0 19px; line-height: 1.48; color: var(--muted); }
form label { display: block; margin: 0 0 6px; color: #edd4b3; font-size: .86rem; font-weight: 600; }
.verify-row { display: flex; gap: 6px; }
.verify-row input { flex: 1; min-width: 0; }
input { width: 100%; padding: 10px 11px; border: 1px solid #92613a; border-radius: 0; background: #16110d; color: var(--bone); }
input::placeholder { color: #ac9a89; opacity: 1; }
.xp { margin: 19px 0; }
.xp div { display: flex; justify-content: space-between; gap: 6px; font-size: .85rem; color: var(--muted); }
.xp strong { color: var(--gold); }
progress { display: block; width: 100%; height: 8px; margin-top: 6px; appearance: none; border: 0; background: #423022; }
progress::-webkit-progress-bar { background: #423022; }
progress::-webkit-progress-value { background: var(--gold); }
progress::-moz-progress-bar { background: var(--gold); }
.full { width: 100%; }
.text-action { text-decoration: underline; text-underline-offset: 3px; color: var(--muted); padding: 10px 0 0; border: 0; background: none; font-size: .85rem; }
.text-action:hover { color: var(--gold); }
.notice { margin: 11px 0 0; min-height: 1.4em; color: #ffd6a4; font-size: .85rem; line-height: 1.4; }
.mint-status { margin: 0 0 9px; font-size: .87rem; line-height: 1.4; color: var(--muted); overflow-wrap: anywhere; }
#proof-form { margin-top: 14px; }
.shop { margin-top: 27px; }
.shop-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 11px; }
.shop h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.shop-head span { color: var(--muted); font-size: .85rem; }
.shop-items { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 30px; }
.shop-item { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 13px; padding: 11px 0; border-top: 1px solid var(--line); }
.item-thumb { width: 43px; height: 58px; object-fit: contain; }
.shop-item-label { margin: 0; color: var(--gold); font-size: .8rem; }
.shop-item h4 { margin: 0; font-size: 1.07rem; }
.shop-item-stats { margin: 0; color: var(--muted); font-size: .86rem; }
.shop-item .button { min-height: 38px; padding-inline: 5px; background: transparent; border: 0; border-bottom: 1px solid #906942; color: var(--gold); }
.rules { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 15px; color: var(--muted); line-height: 1.52; }
.rules summary { color: var(--bone); font-weight: 650; }
.rules p { margin: 8px 0; max-width: 760px; }
.players { padding: 28px 0 52px; border-top: 1px solid var(--line); scroll-margin-top: 15px; }
.players .section-head { margin-bottom: 5px; }
.player-caption, .online-note { color: var(--muted); line-height: 1.5; margin: 10px 0; }
.online-note { color: var(--gold); }
.online-note:empty { display: none; }
.wallet-join { margin-top: 16px; }
.player-form, .online-controls { margin: 22px 0; }
.player-form { max-width: 400px; }
.online-controls { display: grid; grid-template-columns: 1fr minmax(235px, 430px); gap: 12px 24px; align-items: end; }
.online-summary { display: grid; gap: 4px; }
.online-summary strong { font: 650 2rem var(--display); }
.online-summary span { color: var(--gold); }
.online-wallet { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.online-controls select { flex: 1; min-width: 0; font: inherit; background: #221710; color: var(--bone); border: 1px solid #795536; padding: 5px; }
.leaderboard-wrap { position: relative; overflow-x: auto; }
.leaderboard { width: 100%; border-collapse: collapse; min-width: 475px; }
.leaderboard th { font-weight: 500; color: var(--muted); font-size: .83rem; }
.leaderboard th, .leaderboard td { padding: 10px 8px; text-align: left; border-bottom: 1px solid var(--line); }
.leaderboard .leader td:first-child { color: var(--gold); font-weight: 700; }
.leaderboard td .text-action, .challenges .text-action { padding: 2px 0; color: var(--gold); }
.leaderboard td .text-action:disabled { opacity: .6; text-decoration: none; }
.holders-table td:nth-child(2) { font-family: var(--mono, monospace); white-space: nowrap; }
.holders-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 12px; }
.music-dock {
  position: fixed; z-index: 8; right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom));
}
.music-toggle.button { min-height: 44px; padding: 5px 13px; background: #211813; color: var(--gold); }
.challenges { margin-top: 28px; }
.challenges h3 { margin: 0 0 8px; font: 650 2.1rem var(--display); }
.challenges ul { margin: 0; list-style: none; padding: 0; }
.challenges li { padding: 10px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); }
.challenges li div { display: flex; gap: 10px; }
.faq {
  display: grid; grid-template-columns: minmax(135px, .34fr) minmax(0, 1fr); align-items: start;
  gap: 20px 36px; border-top: 1px solid var(--line); padding-block: 34px 46px;
}
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  list-style: none; line-height: 1.4; font-weight: 600; padding-block: 10px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--gold); }
.faq-list summary span::before { content: "+"; color: var(--gold); }
.faq-list details[open] summary span::before { content: "−"; }
.faq-list p { max-width: 64ch; margin: 0 0 16px; color: var(--muted); line-height: 1.55; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 72px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding-block: 10px; }
.music-credit { margin: 0; color: var(--muted); font-size: .8rem; }
.music-credit a { text-decoration: underline; text-underline-offset: 3px; }
.download { font-size: .86rem; color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .frame { width: calc(100% - 44px); }
  .arena { min-height: 580px; }
  .arena-camera { --venue-align: 64%; }
}
@media (max-width: 650px) {
  .frame { width: calc(100% - 26px); }
  .mast-inner { min-height: 54px; grid-template-columns: 1fr auto; gap: 7px; }
  .brand { gap: 6px; font-size: .92rem; }
  .brand img { width: 30px; height: 30px; }
  .mast nav { font-size: .73rem; gap: 8px; }
  .launch-state { display: none; }
  .contract-inner { gap: 4px 11px; }
  .contract-bar[data-live="true"] .contract-value { grid-row: 2; grid-column: 1 / -1; padding-bottom: 3px; font-size: .8rem; }
  .contract-bar[data-live="true"] .contract-copy { grid-row: 1; grid-column: 3; min-height: 30px; }
  .arena { min-height: clamp(535px, 128vw, 655px); }
  .arena-camera { --venue-align: 80%; transform-origin: 50% 76%; }
  .arena-shade { background: linear-gradient(180deg, #1a110ccb, transparent 39%, #2d160515 77%, #17120fa6 96%, #17120f 100%); }
  .arena-inner { padding: 22px 0 14px; }
  h1 { font-size: clamp(3.2rem, 13vw, 5.3rem); }
  .description { font-size: 1.33rem; margin: 6px 0 9px; }
  .training-link { font-size: .83rem; }
  .combat-ring { --foot: 43px; }
  .combatant { width: clamp(123px, 38vw, 205px); left: 26%; }
  .side-b { left: 74%; }
  .oath p { font-size: clamp(2.25rem, 7.4vw, 3.15rem); }
  .training { padding-block: 28px 30px; }
  .training-grid { grid-template-columns: 1fr; }
  .fighter-stage { padding-top: 14px; }
  .training-panel { padding: 15px; }
  .shop-items { grid-template-columns: 1fr; }
  .shop-item { padding-block: 8px; }
  .shop-item h4 { font-size: .94rem; }
  .shop-item .button { padding-inline: 5px; font-size: .82rem; }
  .verify-row .button { padding-inline: 8px; font-size: .84rem; }
  .online-controls { grid-template-columns: 1fr; }
  .leaderboard th, .leaderboard td { padding: 10px 6px; font-size: .86rem; }
  .leaderboard { min-width: 340px; }
  .faq { grid-template-columns: 1fr; gap: 6px; padding-block: 24px 28px; }
}
@media (max-width: 350px) { .mast-inner .brand span { display: none; } }
@media (max-width: 510px) { .oath em { display: block; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .combatant img { animation: none !important; }
  .arena-sand { display: none; }
}
