:root {
  --ink: #1a1033; --paper: #fff6dc; --night: #1b1147; --violet: #4a1fa8; --yellow: #ffd21f; --pink: #ff4fbf; --blue: #1fa8ff; --red: #ff3b3b;
  --display: "Bangers", Impact, "Arial Black", sans-serif;
  --body: "Baloo 2", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
html:is(:lang(ru), :lang(ar), :lang(zh), :lang(ja), :lang(ko)) {
  --display: Impact, "Roboto Condensed", Roboto, "PingFang SC", "Hiragino Sans", "Noto Sans CJK SC", "Apple SD Gothic Neo", "Noto Sans Arabic", system-ui, sans-serif;
  --body: system-ui, -apple-system, Roboto, "PingFang SC", "Hiragino Sans", "Apple SD Gothic Neo", "Noto Sans Arabic", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: #fff; background: var(--night); font: 600 17px/1.5 var(--body); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { width: min(1120px, 100%); margin: 0 auto; padding-inline: 16px; }

/* top bar */
.bar { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 12px; }
.bar .mark { font: 400 26px/1 var(--display); letter-spacing: 1px; color: var(--yellow); text-decoration: none; text-shadow: 2px 2px 0 var(--ink); }
details.lang { position: relative; }
details.lang summary { list-style: none; cursor: pointer; display: flex; align-items: center; min-height: 44px; padding: 4px 14px; font-size: 15px; font-weight: 800; color: var(--ink); background: var(--paper); border: 3px solid var(--ink); border-radius: 12px; box-shadow: 0 4px 0 var(--ink); }
details.lang summary::-webkit-details-marker { display: none; }
details.lang summary::after { content: "▾"; margin-inline-start: 8px; }
details.lang div { position: absolute; inset-inline-end: 0; top: calc(100% + 10px); z-index: 5; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; width: 270px; padding: 8px; background: var(--paper); border: 3px solid var(--ink); border-radius: 14px; box-shadow: 6px 7px 0 var(--ink); }
details.lang a { display: block; padding: 8px 10px; font-size: 15px; font-weight: 800; color: var(--ink); text-decoration: none; border-radius: 8px; }
details.lang a:hover, details.lang a:focus-visible { background: #ffe88a; }
details.lang a[aria-current] { background: var(--yellow); }

/* hero */
.hero { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(circle at 68% 45%, #8a2be2 0, var(--violet) 32%, var(--night) 72%); border-bottom: 6px solid var(--ink); }
.hero::before { content: ""; position: absolute; inset: -40%; z-index: -2; background: repeating-conic-gradient(from 0deg at 68% 48%, rgba(255, 255, 255, .07) 0 9deg, transparent 9deg 22deg); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(rgba(255, 255, 255, .14) 1.5px, transparent 1.6px) 0 0 / 13px 13px; -webkit-mask-image: linear-gradient(180deg, transparent 30%, #000); mask-image: linear-gradient(180deg, transparent 30%, #000); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 12px; padding-block: 8px 44px; }
.logo { width: min(500px, 100%); margin-inline: -10px; filter: drop-shadow(0 8px 0 rgba(0, 0, 0, .35)); }
h1 { margin: 6px 0 8px; font: 400 clamp(38px, 6vw, 66px)/1.02 var(--display); letter-spacing: 1px; color: var(--yellow); text-shadow: 3px 3px 0 var(--ink), -1px -1px 0 var(--ink), 1px -1px 0 var(--ink), -1px 1px 0 var(--ink); }
.lead { max-width: 33em; margin: 0 0 18px; font-size: clamp(17px, 2vw, 20px); }
.soon { display: inline-block; padding: 9px 18px; font: 400 clamp(19px, 2.4vw, 25px)/1.15 var(--display); letter-spacing: .5px; color: var(--ink); background: var(--yellow); border: 4px solid var(--ink); border-radius: 14px; box-shadow: 0 6px 0 var(--ink); transform: rotate(-1.5deg); }
.fighter { position: relative; justify-self: center; width: min(520px, 100%); }
.fighter .burst { position: absolute; inset: -6%; z-index: -1; width: 112%; max-width: none; opacity: .95; }
.fighter .pose { width: 100%; filter: drop-shadow(8px 10px 0 rgba(10, 4, 40, .55)); animation: float 3.6s ease-in-out infinite; }
html[dir="rtl"] .fighter .pose { transform: scaleX(-1); animation: none; }
@keyframes float { 50% { transform: translateY(-12px); } }

/* impact words */
.words { display: flex; justify-content: center; gap: clamp(4px, 2vw, 26px); padding: 14px 16px; overflow: hidden; background: var(--pink); border-bottom: 6px solid var(--ink); }
.words img { width: clamp(76px, 20vw, 220px); }
.words img:nth-child(odd) { transform: rotate(-5deg); }
.words img:nth-child(even) { transform: rotate(4deg); }

/* features */
.features { padding-block: 44px 56px; background: radial-gradient(rgba(255, 255, 255, .06) 1.5px, transparent 1.6px) 0 0 / 14px 14px; }
h2 { margin: 0 0 26px; text-align: center; font: 400 clamp(34px, 5vw, 52px)/1.05 var(--display); letter-spacing: 1px; color: #fff; text-shadow: 3px 3px 0 var(--ink); }
.panels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.panel { display: grid; grid-template-columns: 124px 1fr; align-items: center; gap: 14px; padding: 16px; color: var(--ink); background: var(--paper); border: 5px solid var(--ink); border-radius: 18px; box-shadow: 8px 9px 0 #000; }
.panel:nth-child(1) { background: #ffe88a; } .panel:nth-child(2) { background: #ffc7ea; } .panel:nth-child(3) { background: #bfe6ff; } .panel:nth-child(4) { background: #c9f7c5; }
.panel img { width: 124px; height: 124px; object-fit: contain; }
.panel h3 { margin: 0 0 3px; font: 400 29px/1.05 var(--display); letter-spacing: .6px; }
.panel p { margin: 0; font-size: 16px; line-height: 1.38; }

/* footer */
footer { padding-block: 26px 34px; color: #e7deff; background: #120a33; border-top: 6px solid var(--ink); }
.links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 12px; }
.links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; color: #fff; }
footer small { font-size: 14px; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; padding-bottom: 34px; }
  .logo { margin-inline: auto; width: min(380px, 94%); }
  .lead { margin-inline: auto; }
  .fighter { grid-row: 3; width: min(390px, 92%); margin-top: 16px; }
  .panels { grid-template-columns: 1fr; }
}
@media (max-width: 440px) {
  .panel { grid-template-columns: 88px 1fr; padding: 12px; gap: 10px; }
  .panel img { width: 88px; height: 88px; }
  .panel h3 { font-size: 25px; }
  details.lang div { width: min(270px, calc(100vw - 32px)); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .fighter .pose { animation: none; } }
