:root {
  --ink: #151311;
  --ink-soft: #282421;
  --paper: #f1efe9;
  --paper-warm: #e7e1d6;
  --line: #bdb6aa;
  --muted: #716b65;
  --red: #e52b12;
  --red-dark: #ae1b0a;
  --white: #fffdf8;
  --font-display: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --font-body: Inter, "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.shell { width: min(1320px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 100; padding: 12px 18px; color: white; background: var(--ink); transition: top .2s; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(241,239,233,.96); border-bottom: 2px solid var(--ink); backdrop-filter: blur(12px); }
.release-bar { color: white; background: var(--red); }
.release-bar__inner { min-height: 34px; display: flex; align-items: center; gap: 12px; font: 700 11px/1 var(--font-body); letter-spacing: .18em; }
.release-bar__pulse { width: 7px; height: 7px; border-radius: 50%; background: white; animation: pulse 1.8s ease-in-out infinite; }
.release-bar__version { margin-left: auto; opacity: .82; }
.site-header .shell { width: min(1840px, calc(100% - 48px)); }
.navigation { min-height: 76px; display: flex; align-items: stretch; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; font: 800 22px/1 var(--font-display); letter-spacing: .02em; text-transform: uppercase; white-space: nowrap; }
.brand__logo { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(0,0,0,.2)); }
.brand__mark { position: relative; width: 28px; height: 28px; display: inline-grid; place-items: center; border: 2px solid var(--ink); border-radius: 50%; transform: rotate(-12deg); }
.brand__mark i { position: absolute; width: 4px; height: 12px; background: var(--red); transform-origin: 2px 14px; }
.brand__mark i:nth-child(2) { transform: rotate(120deg); }
.brand__mark i:nth-child(3) { transform: rotate(240deg); }
.nav-links { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.nav-links a { padding-block: 28px 24px; border-bottom: 4px solid transparent; text-decoration: none; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.nav-links a:hover, .nav-links a:focus-visible, .nav-links a[aria-current="page"] { color: var(--red); border-color: var(--red); }
.nav-toggle { display: none; }
.navigation__download { margin-left: 4px; }
.language-toggle, .account-trigger { align-self: center; flex: 0 0 auto; padding: 8px 10px; border: 2px solid var(--ink); background: transparent; color: var(--ink); font: 800 10px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.language-toggle { min-width: 68px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.language-toggle img { width: 20px; height: 14px; object-fit: cover; border: 1px solid rgba(21,19,17,.22); }
.account-trigger { border-color: transparent; }
.language-toggle:hover, .language-toggle:focus-visible, .account-trigger:hover, .account-trigger:focus-visible { color: var(--red); border-color: var(--red); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border: 2px solid transparent; text-decoration: none; font: 800 13px/1 var(--font-display); letter-spacing: .13em; text-transform: uppercase; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button--solid { color: white; background: var(--red); }
.button--solid:hover { background: var(--red-dark); }
.button--outline { color: white; border-color: rgba(255,255,255,.85); }
.button--outline:hover { color: var(--ink); background: white; }
.button--light { color: var(--ink); background: var(--white); }
.button--large { min-height: 58px; padding-inline: 28px; font-size: 15px; }
.play-button { position: relative; isolation: isolate; min-width: 118px; padding-inline: 28px 35px; color: white; background: var(--red); clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 50%, calc(100% - 15px) 100%, 0 100%); overflow: hidden; }
.play-button::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(110deg, transparent 0 35%, rgba(255,255,255,.32) 47%, transparent 59%); transform: translateX(-115%); animation: chakra-sweep 3.4s cubic-bezier(.19,1,.22,1) infinite; }
.play-button::after { content: ""; position: absolute; z-index: -2; inset: 2px 17px 2px 2px; border: 1px solid rgba(255,255,255,.42); pointer-events: none; }
.play-button i { margin-left: 12px; font-size: 9px; font-style: normal; transition: transform .25s cubic-bezier(.19,1,.22,1); }
.play-button:hover { color: white; background: #ff341b; transform: translateY(-2px); }
.play-button:hover i { transform: translateX(4px); }
.play-button--large { min-height: 60px; min-width: 255px; font-size: 15px; }

.hero { position: relative; min-height: 760px; overflow: hidden; color: var(--white); background: var(--ink) url("shinobi-world-hero-v1.webp") center/cover no-repeat; border-bottom: 2px solid var(--red); }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 76% 42%, rgba(229,43,18,.18), transparent 30%), linear-gradient(90deg, rgba(13,12,11,.97) 0%, rgba(13,12,11,.88) 38%, rgba(13,12,11,.32) 70%, rgba(13,12,11,.08) 100%); pointer-events: none; }
.hero__grid { position: absolute; inset: -84px; opacity: .1; background-image: linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px); background-size: 84px 84px; animation: grid-drift 18s linear infinite; }
.hero__seal { position: absolute; right: -50px; top: -80px; width: 620px; height: 620px; display: grid; place-items: center; border: 2px solid var(--red); border-radius: 50%; opacity: .55; animation: rotate 46s linear infinite; }
.hero__seal::before, .hero__seal::after { content: ""; position: absolute; border: 2px solid rgba(255,255,255,.25); border-radius: 50%; }
.hero__seal::before { inset: 68px; }
.hero__seal::after { inset: 130px; border-color: rgba(229,43,18,.7); }
.hero__seal span { font: 800 340px/1 var(--font-display); color: rgba(255,255,255,.09); transform: rotate(-10deg); }
.hero__content { position: relative; z-index: 2; padding-block: 105px 60px; }
.eyebrow { margin: 0; color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .25em; text-transform: uppercase; }
.eyebrow--light { color: #ff6a56; }
.hero h1, .section-heading h2, .status-layout h2, .download-cta h2 { margin: 18px 0 0; font: 800 clamp(58px, 8vw, 116px)/.86 var(--font-display); letter-spacing: -.035em; text-transform: uppercase; }
.hero h1 em { color: var(--red); font-style: normal; }
.hero__lead { max-width: 620px; margin: 30px 0 0; color: #c9c5c1; font-size: 17px; line-height: 1.7; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 35px; }
.hero__facts { width: min(760px, 100%); display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 64px; border-top: 1px solid rgba(255,255,255,.25); }
.hero__facts div { padding: 18px 20px 0 0; }
.hero__facts span, .hero__facts strong { display: block; }
.hero__facts span { margin-bottom: 7px; color: #89837f; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero__facts strong { font: 700 19px/1.2 var(--font-display); text-transform: uppercase; }
.beta-countdown { width: min(760px,100%); display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 34px; padding: 16px 0; border-block: 1px solid rgba(255,255,255,.2); }
.beta-countdown > span { color: #ff6a56; font-size: 10px; font-weight: 800; letter-spacing: .2em; }
.beta-countdown > div { display: flex; align-items: baseline; gap: 7px; font-variant-numeric: tabular-nums; }
.beta-countdown strong { font: 800 28px/1 var(--font-display); }
.beta-countdown small { color: #aaa39e; font-size: 10px; text-transform: uppercase; }
.beta-countdown__note { margin-left: auto; }

.ticker { overflow: hidden; white-space: nowrap; border-bottom: 2px solid var(--ink); }
.ticker__track { display: flex; width: max-content; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .28em; animation: ticker 28s linear infinite; will-change: transform; }
.ticker__track span { flex: none; padding: 15px 1.7em 15px 0; }
.section { padding-block: 100px; }
.route-surface { min-height: calc(100vh - 240px); }
body:not([data-current-route="home"]) .route-surface { padding-top: clamp(90px, 10vw, 150px); }
.section--warm { background: var(--paper-warm); border-block: 2px solid var(--ink); }
.section--dark { color: var(--white); background: #11100f; border-block: 2px solid var(--red); }
.section--dark .section-heading h2 { color: var(--white); }
.section--dark .section-heading > p:last-child { color: #aaa39e; }
.section-heading { max-width: 860px; margin-bottom: 46px; }
.section-heading h2, .status-layout h2, .download-cta h2 { font-size: clamp(50px, 6vw, 82px); color: var(--ink); }
.section-heading > p:last-child { max-width: 650px; margin: 26px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.section-heading--row { max-width: none; display: grid; grid-template-columns: 1.25fr .75fr; gap: 70px; align-items: end; }
.section-heading--row > *, .community-layout > *, .support-grid > * { min-width: 0; }
.section-heading--row > p { margin: 0 0 8px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 2px solid var(--ink); }
.feature-card { position: relative; min-height: 335px; padding: 34px 28px; border-right: 1px solid var(--line); background: rgba(255,255,255,.18); }
.feature-card:last-child { border-right: 0; }
.feature-card__index { position: absolute; right: 20px; top: 16px; color: #d3cdc3; font: 800 54px/1 var(--font-display); }
.feature-card__tag { display: inline-block; margin: 0; padding-bottom: 7px; color: var(--red); border-bottom: 2px solid var(--red); font-size: 10px; font-weight: 800; letter-spacing: .2em; }
.feature-card h3, .future-grid h3 { margin: 54px 0 0; font: 800 31px/1 var(--font-display); text-transform: uppercase; }
.feature-card p:last-child, .future-grid p { color: var(--muted); font-size: 14px; line-height: 1.65; }

.status-section { padding-block: 84px; color: white; background: var(--ink); }
.status-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: center; }
.status-layout h2 { color: white; }
.status-board { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid #3a3633; }
.status-board--wide { width: 100%; }
.status-board article { min-height: 125px; display: flex; align-items: center; gap: 15px; padding: 25px; border: 1px solid #3a3633; }
.status-board small, .status-board strong { display: block; }
.status-board small { margin-bottom: 8px; color: #89837f; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.status-board strong { font: 700 20px/1.25 var(--font-display); text-transform: uppercase; }
.status-dot { flex: 0 0 auto; width: 10px; height: 10px; border-radius: 50%; background: #827c77; }
.status-dot--online { background: #4cc978; box-shadow: 0 0 18px rgba(76,201,120,.5); }
.status-dot--offline { background: var(--red); }

.timeline { border-top: 2px solid var(--ink); }
.timeline-entry { display: grid; grid-template-columns: 220px 1fr; gap: 50px; padding: 34px 12px; border-bottom: 1px solid var(--line); }
.timeline-entry__meta { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; color: var(--red); font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.timeline-entry__meta span { padding: 6px 10px; color: white; background: var(--ink); }
.timeline-entry h3 { margin: 0; font: 800 29px/1.1 var(--font-display); text-transform: uppercase; }
.timeline-entry ul { margin: 14px 0 0; padding-left: 18px; color: var(--muted); font-size: 14px; line-height: 1.7; }
.timeline-entry li::marker { color: var(--red); }

.kage-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(320px,1fr)); gap: 2px; background: #393532; border: 1px solid #393532; }
.kage-card { min-height: 520px; display: flex; flex-direction: column; background: #181614; }
.kage-card__stage { position: relative; min-height: 330px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 55%, rgba(229,43,18,.18), transparent 40%), repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 42px); }
.kage-card__stage::after { content: ""; position: absolute; width: 230px; height: 230px; border: 1px solid rgba(229,43,18,.55); border-radius: 50%; }
.kage-card__stage img { position: relative; z-index: 1; width: 150px; height: 150px; object-fit: contain; opacity: .34; filter: grayscale(1); }
.kage-card__stage.has-character::before { content: ""; position: absolute; left: 50%; bottom: 28px; width: 210px; height: 42px; border-radius: 50%; background: rgba(229,43,18,.35); filter: blur(18px); transform: translateX(-50%); animation: chakra-breathe 2.8s ease-in-out infinite; }
.kage-card__stage.has-character img { width: auto; height: 310px; opacity: 1; filter: drop-shadow(0 16px 10px rgba(0,0,0,.55)); image-rendering: pixelated; animation: character-breathe 3.2s ease-in-out infinite; transform-origin: 50% 100%; }
.kage-card__demo { position: absolute; left: 18px; top: 18px; z-index: 2; padding: 7px 9px; color: #f3f2ef; border: 1px solid #5b5550; font-size: 9px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.kage-card__body { flex: 1; padding: 25px; border-top: 1px solid #393532; }
.kage-card__body > span { color: #ff6a56; font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.kage-card h3 { margin: 8px 0 22px; font: 800 32px/1 var(--font-display); text-transform: uppercase; }
.kage-card dl { display: grid; grid-template-columns: 1fr auto; gap: 10px 18px; margin: 0; padding-top: 18px; border-top: 1px solid #393532; font-size: 12px; }
.kage-card dt { color: #938c87; text-transform: uppercase; letter-spacing: .1em; }
.kage-card dd { margin: 0; font-weight: 700; }

.ranking-tabs { display: grid; grid-template-columns: repeat(4,1fr); margin: 45px 0 0; border: 2px solid var(--ink); background: var(--ink); gap: 2px; }
.ranking-tabs button { min-height: 58px; border: 0; color: var(--ink); background: var(--paper); font: 800 11px/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: color .18s ease, background .18s ease; }
.ranking-tabs button:hover { background: #e4dfd8; }
.ranking-tabs button[aria-selected="true"] { color: white; background: var(--red); }
.ranking-context { display: grid; grid-template-columns: .7fr 1.3fr auto; gap: 35px; align-items: center; min-height: 116px; padding: 25px 30px; color: white; background: var(--ink); border-top: 1px solid #514b47; }
.ranking-context div { display: grid; gap: 7px; }
.ranking-context div span { color: #ff6a56; font-size: 9px; font-weight: 800; letter-spacing: .18em; }
.ranking-context div strong { font: 800 24px/1 var(--font-display); text-transform: uppercase; }
.ranking-context p { margin: 0; color: #aaa39e; font-size: 13px; line-height: 1.55; }
.ranking-context__freshness { color: #d9d2cc; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.ranking-context__freshness::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: #4dd77b; box-shadow: 0 0 14px rgba(77,215,123,.55); }
.podium { display: grid; grid-template-columns: repeat(3,1fr); align-items: end; gap: 2px; min-height: 390px; margin-bottom: 40px; }
.podium-card { position: relative; min-height: var(--podium-height,260px); display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; color: white; background: var(--ink); overflow: hidden; }
.podium-card--1 { --podium-height: 280px; }
.podium-card--2 { --podium-height: 370px; }
.podium-card--3 { --podium-height: 235px; }
.podium-card:first-child, .podium-card:last-child { background: var(--ink-soft); }
.podium-card:nth-child(2) { background: var(--red); }
.podium-card__rank { position: absolute; left: 18px; top: 8px; font: 800 88px/1 var(--font-display); opacity: .15; }
.podium-card small { color: rgba(255,255,255,.66); font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }
.podium-card h3 { margin: 7px 0; font: 800 29px/1 var(--font-display); text-transform: uppercase; }
.podium-card strong { font-size: 12px; }
.podium-card__portrait { position: absolute; right: 5%; bottom: -4px; width: auto; height: 88%; object-fit: contain; opacity: 1; image-rendering: pixelated; filter: drop-shadow(0 10px 7px rgba(0,0,0,.38)); }
.podium-card > small, .podium-card > h3, .podium-card > strong { position: relative; z-index: 2; max-width: 70%; }
.ranking-table { overflow-x: auto; border: 2px solid var(--ink); }
.ranking-table table { width: 100%; border-collapse: collapse; min-width: 680px; }
.ranking-table th, .ranking-table td { padding: 17px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.ranking-table th { background: var(--ink); color: white; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }
.ranking-table td:first-child { color: var(--red); font: 800 20px/1 var(--font-display); }
.ranking-table td:last-child { font-variant-numeric: tabular-nums; font-weight: 800; }

.event-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: var(--ink); border: 2px solid var(--ink); }
.event-card, .empty-state { min-height: 290px; padding: 32px; background: var(--paper-warm); }
.event-card > span, .empty-state > span { color: var(--red); font-size: 9px; font-weight: 800; letter-spacing: .18em; }
.event-card h3, .empty-state h3 { margin: 55px 0 12px; font: 800 30px/1 var(--font-display); text-transform: uppercase; }
.event-card p, .empty-state p { color: var(--muted); font-size: 14px; line-height: 1.65; }
.event-card time { display: block; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); font: 800 14px/1 var(--font-display); text-transform: uppercase; }
.empty-state { grid-column: 1/-1; }

.community-section { padding-block: 95px; color: white; background: #11100f; border-block: 2px solid var(--red); }
.community-layout { display: grid; grid-template-columns: 1fr .72fr; gap: 90px; align-items: center; }
.community-layout h2 { margin: 16px 0 20px; font: 800 clamp(52px,6vw,84px)/.88 var(--font-display); text-transform: uppercase; }
.community-layout p:last-child { max-width: 570px; color: #aaa39e; line-height: 1.7; }
.community-panel { min-height: 350px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; padding: 35px; border: 1px solid #45403d; background: radial-gradient(circle, rgba(229,43,18,.13), transparent 55%); text-align: center; }
.community-panel strong { font: 800 30px/1 var(--font-display); text-transform: uppercase; }
.community-panel span { color: #aaa39e; font-size: 12px; }
.button:disabled { cursor: not-allowed; opacity: .58; transform: none; }

.support-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: center; }
.support-card { padding: 42px; color: white; background: var(--ink); border-top: 5px solid var(--red); }
.support-card > span { color: #ff6a56; font-size: 9px; font-weight: 800; letter-spacing: .2em; }
.support-card h3 { margin: 40px 0 10px; font: 800 34px/1 var(--font-display); text-transform: uppercase; }
.support-card p { margin-bottom: 28px; color: #aaa39e; line-height: 1.7; }

.account-dialog { width: min(520px,calc(100% - 32px)); padding: 42px; color: var(--ink); background: var(--paper); border: 2px solid var(--ink); box-shadow: 0 25px 90px rgba(0,0,0,.45); }
.account-dialog::backdrop { background: rgba(10,9,8,.76); backdrop-filter: blur(4px); }
.account-dialog__close { position: absolute; right: 14px; top: 10px; border: 0; background: none; color: var(--ink); font-size: 32px; cursor: pointer; }
.account-dialog h2 { margin: 12px 0; font: 800 38px/1 var(--font-display); text-transform: uppercase; }
.account-dialog > p:not(.eyebrow) { color: var(--muted); line-height: 1.7; }
.account-dialog .button { margin-top: 18px; }

.section--missions { color: var(--white); background: #12100f; border-block: 2px solid var(--red); }
.section--missions .section-heading h2 { color: var(--white); }
.section--missions .section-heading > p:last-child { color: #a9a39e; }
.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #423b36; }
.mission-card { position: relative; min-height: 320px; padding: 32px; border: 1px solid #423b36; background: linear-gradient(145deg, rgba(229,43,18,.08), transparent 45%); }
.mission-card::before { content: ""; position: absolute; left: 0; top: 0; width: 4px; height: 72px; background: var(--red); }
.mission-card > span { color: #ff705d; font-size: 10px; font-weight: 800; letter-spacing: .2em; }
.mission-card h3 { margin: 48px 0 0; font: 800 31px/1 var(--font-display); text-transform: uppercase; }
.mission-card p { min-height: 70px; color: #aaa39e; font-size: 14px; line-height: 1.65; }
.mission-card strong, .mission-card small { display: block; }
.mission-card strong { margin-top: 24px; color: #e7e1da; font-size: 12px; line-height: 1.55; }
.mission-card small { margin-top: 18px; padding-top: 16px; color: #d8aa58; border-top: 1px solid #423b36; font-size: 10px; line-height: 1.6; letter-spacing: .06em; }

.future-grid { display: grid; grid-template-columns: repeat(2, 1fr); border: 2px solid var(--ink); }
.future-grid article { min-height: 290px; padding: 34px; border: 1px solid var(--ink); }
.future-grid article > span { color: var(--red); font-size: 10px; font-weight: 800; letter-spacing: .2em; }
.future-grid h3 { margin-top: 48px; }
.future-grid small { display: inline-block; margin-top: 18px; padding: 6px 9px; border: 1px solid var(--line); color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.download-cta { padding-block: 82px; color: white; background: var(--red); }
.download-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.download-cta h2 { color: white; }
.download-cta p:last-child { max-width: 600px; color: rgba(255,255,255,.8); line-height: 1.65; }
.world-stream { overflow: hidden; color: white; background: var(--red); border-block: 2px solid var(--ink); }
.world-stream__track { width: max-content; display: flex; align-items: center; min-height: 46px; font: 800 11px/1 var(--font-display); letter-spacing: .17em; text-transform: uppercase; animation: world-stream 24s linear infinite; will-change: transform; }
.world-stream__group { flex: none; display: flex; align-items: center; gap: 34px; padding-right: 34px; }
.world-stream__track b { color: #200400; font-size: 9px; }
.discord-float { position: fixed; right: 24px; bottom: 24px; z-index: 25; display: grid; place-items: center; width: 66px; height: 54px; background: transparent; filter: drop-shadow(0 7px 5px rgba(0,0,0,.32)); transition: transform .25s cubic-bezier(.19,1,.22,1), filter .25s ease; }
.discord-float img { display: block; width: 64px; height: auto; }
.discord-float:hover, .discord-float:focus-visible { transform: translateY(-5px) scale(1.05); filter: drop-shadow(0 10px 6px rgba(0,0,0,.38)); }
.footer { position: relative; overflow: hidden; color: #9b9590; background: #0d0c0b; }
.footer::before { content: "忍"; position: absolute; right: 7vw; top: 50%; color: rgba(255,255,255,.025); font: 800 190px/1 var(--font-display); transform: translateY(-50%) rotate(-12deg); animation: footer-mark 12s ease-in-out infinite; }
.footer__inner { min-height: 130px; display: flex; align-items: center; justify-content: space-between; gap: 30px; font-size: 11px; }
.footer .brand { color: white; }
.footer .brand__mark { border-color: white; }
.footer p { max-width: 520px; text-align: center; line-height: 1.6; }
.footer nav { white-space: nowrap; }
.footer a { color: white; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

@keyframes pulse { 50% { opacity: .3; transform: scale(.7); } }
@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes chakra-sweep { 0%,55% { transform: translateX(-115%); } 82%,100% { transform: translateX(115%); } }
@keyframes grid-drift { to { transform: translate3d(84px,84px,0); } }
@keyframes chakra-breathe { 50% { opacity: .55; transform: translateX(-50%) scaleX(1.18); } }
@keyframes character-breathe { 50% { transform: translateY(-4px) scaleY(1.008); } }
@keyframes world-stream { to { transform: translateX(-50%); } }
@keyframes footer-mark { 50% { transform: translateY(-50%) rotate(4deg) scale(1.06); } }

@media (max-width: 980px) {
  .navigation { align-items: center; min-height: 70px; }
  .nav-toggle { display: block; margin-left: auto; border: 2px solid var(--ink); padding: 8px 11px; background: transparent; font: 800 11px var(--font-body); letter-spacing: .12em; text-transform: uppercase; }
  .nav-links { position: absolute; left: 0; right: 0; top: 104px; display: none; padding: 16px 24px 24px; background: var(--paper); border-bottom: 2px solid var(--ink); }
  .nav-links.is-open { display: grid; }
  .nav-links a { padding-block: 12px; }
  .navigation__download { display: none; }
  .account-trigger { display: none; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .mission-grid { grid-template-columns: 1fr; }
  .feature-card:nth-child(2) { border-right: 0; }
  .feature-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .status-layout, .section-heading--row, .community-layout, .support-grid { grid-template-columns: 1fr; gap: 40px; }
  .kage-grid { grid-template-columns: 1fr; }
  .ranking-context { grid-template-columns: 1fr 1fr; }
  .ranking-context__freshness { grid-column: 1/-1; }
  .route-surface { min-height: auto; }
}

@media (min-width: 1200px) {
  .navigation { gap: clamp(18px,1.2vw,28px); }
  .nav-links { gap: clamp(16px,1.05vw,24px); }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 28px, 1320px); }
  .release-bar__inner { letter-spacing: .1em; }
  .release-bar__version { display: none; }
  .navigation { gap: 8px; }
  .brand { gap: 8px; font-size: 17px; }
  .brand__logo { width: 34px; height: 34px; }
  .language-toggle { min-width: 60px; padding-inline: 6px; font-size: 9px; gap: 5px; }
  .language-toggle img { width: 18px; height: 12px; }
  .section-heading h2, .status-layout h2, .download-cta h2, .community-layout h2 { font-size: clamp(40px,12vw,48px); overflow-wrap: normal; word-break: normal; }
  .hero { min-height: 720px; }
  .hero__content { padding-top: 76px; }
  .hero__seal { right: -300px; opacity: .4; }
  .hero__facts { grid-template-columns: 1fr; gap: 16px; }
  .hero__facts div { border-top: 1px solid rgba(255,255,255,.16); padding-top: 14px; }
  .feature-grid, .status-board, .future-grid, .mission-grid, .event-grid { grid-template-columns: 1fr; }
  .ranking-tabs { grid-template-columns: repeat(2,1fr); }
  .ranking-context { grid-template-columns: 1fr; gap: 12px; align-items: start; }
  .ranking-context__freshness { grid-column: auto; }
  .podium { grid-template-columns: 1fr; align-items: stretch; }
  .podium-card { min-height: 220px; }
  .podium-card__portrait { right: 7%; height: 92%; opacity: 1; }
  .beta-countdown__note { width: 100%; margin-left: 0; }
  .feature-card { min-height: 280px; border-right: 0; border-bottom: 1px solid var(--line); }
  .section { padding-block: 72px; }
  .timeline-entry { grid-template-columns: 1fr; gap: 20px; }
  .timeline-entry__meta { flex-direction: row; align-items: center; }
  .download-cta__inner, .footer__inner { align-items: flex-start; flex-direction: column; }
  .footer__inner { padding-block: 34px; }
  .footer p { text-align: left; }
  .world-stream__track { font-size: 10px; }
  .world-stream__group { gap: 24px; padding-right: 24px; }
  .discord-float { right: 14px; bottom: 16px; width: 56px; height: 46px; }
  .discord-float img { width: 54px; }
}

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