:root {
  --blue: #1d4bff;
  --blue-2: #1235c9;
  --navy: #0b1650;
  --navy-2: #16226b;
  --gold: #ffd60a;
  --gold-2: #ffb800;
  --pink: #ff3d8b;
  --green: #2ee6a6;
  --ink: #ffffff;
  --ink-2: #c9d4ff;
  --radius: 22px;
  --font: 'Baloo 2', system-ui, sans-serif;
  --display: 'Lilita One', 'Baloo 2', system-ui, sans-serif;
}
html[lang="he"] { --font: 'Rubik', system-ui, sans-serif; --display: 'Rubik', system-ui, sans-serif; }
html[lang="hi"] { --display: 'Baloo 2', system-ui, sans-serif; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--navy);
  background-image:
    radial-gradient(1200px 700px at 50% -10%, #3d6bff 0%, transparent 60%),
    linear-gradient(180deg, var(--blue) 0%, var(--blue-2) 35%, var(--navy-2) 70%, var(--navy) 100%);
  background-repeat: no-repeat;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 900; letter-spacing: .01em; margin: 0; line-height: 1.1; }
html[lang="he"] h1, html[lang="he"] h2, html[lang="he"] h3 { font-weight: 900; }

/* top bar */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px max(16px, env(safe-area-inset-left));
  background: rgba(11, 22, 80, .55);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: 'Lilita One', sans-serif; font-size: 24px; }
.brand img { border-radius: 10px; box-shadow: 0 3px 10px rgba(0,0,0,.3); }
.langs { display: flex; gap: 4px; background: rgba(0,0,0,.25); padding: 4px; border-radius: 999px; }
.langs button {
  font: 700 14px/1 var(--font); color: var(--ink-2); background: none; border: 0; cursor: pointer;
  padding: 8px 12px; border-radius: 999px; min-width: 44px;
}
.langs button.on { background: var(--gold); color: var(--navy); }

main { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
section { padding: 56px 0 8px; text-align: center; }
h2 { font-size: clamp(30px, 5vw, 46px); text-shadow: 0 4px 0 rgba(0,0,0,.25); }
.sub { color: var(--ink-2); font-size: 18px; max-width: 620px; margin: 10px auto 0; }

/* hero */
.hero { padding-top: 22px; }
.hero-art {
  border-radius: 28px; overflow: hidden;
  border: 4px solid var(--gold);
  box-shadow: 0 0 0 6px rgba(255,214,10,.18), 0 24px 60px rgba(0,0,0,.45);
  aspect-ratio: 1400 / 683;
  background: var(--blue-2);
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.hero h1 { font-size: clamp(34px, 6.4vw, 64px); margin-top: 30px; text-shadow: 0 5px 0 rgba(0,0,0,.28); }
.lead { font-size: clamp(18px, 2.4vw, 22px); color: var(--ink-2); max-width: 700px; margin: 14px auto 0; line-height: 1.45; }

.ctas { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 30px; }
.btn-play {
  display: inline-flex; align-items: center; gap: 14px;
  text-decoration: none; color: var(--navy);
  background: linear-gradient(180deg, #ffe55c 0%, var(--gold) 45%, var(--gold-2) 100%);
  border: 3px solid var(--navy);
  border-radius: 20px;
  padding: 12px 30px 12px 22px;
  box-shadow: 0 7px 0 #b88600, 0 14px 30px rgba(0,0,0,.35);
  transform: translateY(0);
  transition: transform .12s, box-shadow .12s;
  animation: pulse 2.2s ease-in-out infinite;
  text-align: start;
}
.btn-play:hover { transform: translateY(-2px); }
.btn-play:active { transform: translateY(5px); box-shadow: 0 2px 0 #b88600, 0 6px 14px rgba(0,0,0,.35); }
.btn-play .bolt { font-size: 36px; filter: drop-shadow(0 2px 0 rgba(0,0,0,.2)); }
.btn-play b { display: block; font-family: var(--display); font-size: 34px; line-height: 1; }
.btn-play small { display: block; font-weight: 700; font-size: 14px; opacity: .85; margin-top: 3px; }
@keyframes pulse { 50% { box-shadow: 0 7px 0 #b88600, 0 14px 30px rgba(0,0,0,.35), 0 0 0 10px rgba(255,214,10,.18); } }

.btn-store {
  display: inline-flex; align-items: center; gap: 12px;
  background: #000; color: #fff; border-radius: 16px; padding: 10px 22px;
  border: 2px solid rgba(255,255,255,.35); text-align: start; cursor: default;
}
.btn-store small { display: block; font-size: 12px; opacity: .8; }
.btn-store b { display: block; font-size: 22px; line-height: 1.05; font-family: system-ui, sans-serif; }

/* how */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.card {
  background: linear-gradient(180deg, rgba(43,62,170,.9), rgba(24,36,120,.95));
  border: 3px solid var(--c, var(--gold));
  border-radius: var(--radius);
  padding: 22px 20px 24px;
  box-shadow: 0 10px 0 rgba(0,0,0,.18);
}
.card.c1 { --c: var(--gold); } .card.c2 { --c: var(--green); } .card.c3 { --c: var(--pink); }
.card .num {
  width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--c); color: var(--navy);
  font: 900 34px/1 'Lilita One', sans-serif;
  box-shadow: inset 0 -5px 0 rgba(0,0,0,.18);
}
.card h3 { font-size: 26px; }
.card p { color: var(--ink-2); font-size: 17px; line-height: 1.45; margin: 8px 0 0; }

/* fighters */
.strip {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 26px 4px 18px; margin: 0 -16px; padding-inline: 16px;
  scrollbar-width: thin;
}
.fighter {
  flex: 0 0 170px; scroll-snap-align: center;
  background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--fc) 55%, transparent), transparent 70%),
              linear-gradient(180deg, rgba(43,62,170,.85), rgba(16,26,96,.95));
  border: 3px solid var(--fc);
  border-radius: var(--radius);
  padding: 10px 8px 12px;
}
.fighter img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(0,0,0,.35)); }
.fighter b { display: block; font-family: 'Lilita One', sans-serif; font-size: 22px; margin-top: 4px; }
.fighter small { display: block; color: var(--ink-2); font-weight: 700; font-size: 12px; letter-spacing: .04em; }
.fighter.top { border-color: var(--gold); box-shadow: 0 0 22px rgba(255,214,10,.45); }

/* screenshots */
.phones { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 26px 16px 18px; margin: 0 -16px; justify-content: safe center; }
.phones img {
  flex: 0 0 auto; width: 210px; aspect-ratio: 9 / 16; object-fit: cover;
  border-radius: 26px; border: 5px solid #0a0f33;
  box-shadow: 0 16px 40px rgba(0,0,0,.4);
  scroll-snap-align: center;
}

/* modes */
.mode-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; text-align: start; }
.mode-list li {
  display: grid; grid-template-columns: 52px 1fr; grid-template-rows: auto auto; column-gap: 12px;
  background: rgba(255,255,255,.07); border: 2px solid rgba(255,255,255,.12);
  border-radius: 18px; padding: 14px 16px;
}
.mode-list span { grid-row: 1 / 3; font-size: 34px; display: grid; place-items: center; background: rgba(0,0,0,.2); border-radius: 14px; }
.mode-list b { font-size: 20px; }
.mode-list em { font-style: normal; color: var(--ink-2); font-size: 15px; line-height: 1.35; }

.final { padding: 70px 0 40px; }
.final h2 { margin-bottom: 26px; }

.foot { text-align: center; padding: 30px 16px 40px; color: var(--ink-2); border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; }
.foot a { color: var(--ink-2); text-decoration: none; font-weight: 700; }
.foot a:hover { color: var(--gold); }
.foot p { margin: 14px 0 0; font-size: 14px; opacity: .7; }

@media (max-width: 820px) {
  .cards, .mode-list { grid-template-columns: 1fr; }
  section { padding-top: 44px; }
  .hero-art { border-radius: 20px; border-width: 3px; }
}
@media (max-width: 420px) {
  .btn-play { padding: 10px 22px 10px 16px; }
  .btn-play b { font-size: 28px; }
  .fighter { flex-basis: 140px; }
  .phones img { width: 180px; }
}
@media (prefers-reduced-motion: reduce) { .btn-play { animation: none; } html { scroll-behavior: auto; } }
