/* ═══════════════════════════════════════════════════════════════════════════
   World of Clashes — site styles v2 · GLASS
   Deep desert night behind layers of frosted glass; the pixel art stays
   razor-crisp inside. Light = gold, Dark = violet, frost = ice blue.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --bg:        #110d24;
  --ink:       #0a0718;
  --text:      #f1edfa;
  --muted:     #aa9dc9;
  --gold:      #ffd700;
  --sand:      #e8c170;
  --light-fa:  #ffcf4a;
  --dark-fa:   #9b6dff;
  --pve:       #4caf50;
  --pvp:       #ef5350;
  --frost:     #64c7f5;

  --glass-bg: linear-gradient(150deg, rgba(255,255,255,.13), rgba(255,255,255,.05) 48%, rgba(255,255,255,.02));
  --glass-bd: rgba(255,255,255,.17);
  --glass-bd-hi: rgba(255,255,255,.34);
  --glass-blur: blur(22px) saturate(1.5);
  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 13px;

  --font-ar: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  --font-px: 'Press Start 2P', 'Cairo', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ar);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* aurora colour fields the glass refracts */
.aurora {
  position: fixed; inset: -20%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(620px 480px at 78% 6%,  rgba(255, 200, 64, .17), transparent 65%),
    radial-gradient(720px 560px at 12% 32%, rgba(124, 77, 222, .20), transparent 65%),
    radial-gradient(560px 460px at 86% 74%, rgba(100, 199, 245, .12), transparent 65%),
    radial-gradient(680px 560px at 28% 92%, rgba(198, 40, 120, .10), transparent 65%);
  filter: blur(40px);
  animation: auroraDrift 26s ease-in-out infinite alternate;
}
@keyframes auroraDrift {
  from { transform: translate3d(-1.5%, -1%, 0) scale(1); }
  to   { transform: translate3d(1.5%, 1.5%, 0) scale(1.06); }
}

/* starfield over the aurora */
body::before {
  content: '';
  position: fixed; inset: 0;
  z-index: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, rgba(255,255,255,.32), transparent),
    radial-gradient(1px 1px at 34% 64%, rgba(255,255,255,.22), transparent),
    radial-gradient(1.5px 1.5px at 56% 28%, rgba(255,255,255,.26), transparent),
    radial-gradient(1px 1px at 73% 76%, rgba(255,255,255,.18), transparent),
    radial-gradient(1.5px 1.5px at 88% 12%, rgba(255,255,255,.28), transparent),
    radial-gradient(1px 1px at 8% 86%, rgba(255,255,255,.18), transparent),
    radial-gradient(1.2px 1.2px at 65% 50%, rgba(255,255,255,.2), transparent);
  pointer-events: none;
}

main, nav, footer { position: relative; z-index: 1; }

/* pixel art stays crisp inside the glass */
.walker, .prop, .champ, .aura, .jinn, .podium,
.f-stage img, .c-stage img, .mob-stage img, .sheikh-chip img,
.ab i img, .p-lineup, .life-shot img, .life-chip img,
.feature .f-ico, .cls-ico, .f-ico, .features-band img {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ── glass primitives ─────────────────────────────────────────────────────── */

.glass {
  position: relative;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-bd);
  border-radius: var(--r-lg);
  box-shadow:
    0 14px 48px rgba(4, 2, 14, .5),
    inset 0 1px 0 rgba(255, 255, 255, .22),
    inset 0 -1px 0 rgba(255, 255, 255, .04);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.glass::before { /* sheen streak */
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.075) 44%, transparent 58%);
  pointer-events: none;
}
.glass:hover {
  border-color: var(--glass-bd-hi);
  box-shadow:
    0 20px 60px rgba(4, 2, 14, .6),
    inset 0 1px 0 rgba(255, 255, 255, .28),
    inset 0 -1px 0 rgba(255, 255, 255, .05);
}

.glass-bar {
  background: rgba(15, 11, 32, .52);
  -webkit-backdrop-filter: blur(26px) saturate(1.5);
  backdrop-filter: blur(26px) saturate(1.5);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.glass-frame {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 215, 0, .35);
  border-radius: var(--r-lg);
  box-shadow:
    0 0 0 1px rgba(255, 215, 0, .12),
    0 24px 70px rgba(4, 2, 14, .65),
    0 0 56px rgba(255, 207, 74, .12),
    inset 0 1px 0 rgba(255, 255, 255, .25);
}

/* ── typography ────────────────────────────────────────────────────────────── */

.px { font-family: var(--font-px); }

h1, h2, h3 { line-height: 1.35; }

html[lang='ar'] .display { font-family: var(--font-ar); font-weight: 900; }
html[lang='en'] .display { font-family: var(--font-px); font-weight: 400; }

.section-title {
  font-size: clamp(26px, 4vw, 40px);
  text-align: center;
  margin-bottom: 8px;
}
html[lang='en'] .section-title { font-size: clamp(17px, 2.5vw, 27px); }

.section-sub {
  color: var(--muted);
  text-align: center;
  max-width: 680px;
  margin: 0 auto 42px;
}

/* ── buttons ───────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 28px;
  font-weight: 800;
  font-size: 16px;
  border-radius: 16px;
  border: 1px solid transparent;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s, background .2s;
  user-select: none;
}
html[lang='en'] .btn { font-family: var(--font-px); font-size: 11px; padding: 16px 24px; }
.btn:active { transform: translateY(2px) scale(.99); }

.btn-gold {
  background: linear-gradient(150deg, rgba(255, 215, 0, .32), rgba(255, 184, 28, .14));
  border-color: rgba(255, 215, 0, .55);
  color: #ffe9a3;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .4);
  box-shadow: 0 8px 30px rgba(255, 184, 28, .18), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.btn-gold:hover { border-color: rgba(255, 215, 0, .9); box-shadow: 0 12px 38px rgba(255, 184, 28, .3), inset 0 1px 0 rgba(255,255,255,.4); }

.btn-ghost {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .22);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn-ghost:hover { border-color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .11); }

/* ── nav ───────────────────────────────────────────────────────────────────── */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px clamp(16px, 4vw, 44px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-px);
  font-size: 12px;
  color: var(--sand);
  letter-spacing: 1px;
  white-space: nowrap;
}
.brand svg { display: block; }

.nav-links {
  display: flex;
  gap: clamp(8px, 1.8vw, 22px);
  font-weight: 700;
  font-size: 15px;
}
.nav-links a {
  color: var(--muted);
  transition: color .15s, background .15s;
  padding: 7px 13px;
  border-radius: 999px;
}
.nav-links a:hover { color: var(--gold); background: rgba(255, 255, 255, .07); }

.lang-btn {
  background: rgba(255, 255, 255, .08);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  padding: 8px 18px;
  transition: border-color .15s, background .15s;
}
.lang-btn:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .13); }

/* ── hero ──────────────────────────────────────────────────────────────────── */

.hero {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  align-items: center;
  gap: clamp(24px, 4vw, 60px);
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(96px, 13vh, 144px) clamp(18px, 4vw, 44px) 70px;
  min-height: 92vh;
}

.soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 207, 74, .1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--sand);
  font-weight: 800;
  font-size: 13px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 207, 74, .4);
  border-radius: 999px;
  margin-bottom: 22px;
}
.soon-badge .dot, .dl-note .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--sand);
  animation: pulse 1.6s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

.hero-title {
  font-family: var(--font-px);
  font-size: clamp(26px, 4.4vw, 50px);
  line-height: 1.25;
  color: var(--gold);
  text-shadow: 0 4px 0 var(--ink), 0 0 38px rgba(255, 215, 0, .3);
  margin-bottom: 18px;
  direction: ltr;
  unicode-bidi: isolate;
}
.hero-title .of { color: var(--text); font-size: .55em; display: block; margin: 8px 0; }

.hero-tagline { font-size: clamp(20px, 2.6vw, 28px); font-weight: 900; margin-bottom: 12px; }

.hero-sub { color: var(--muted); font-size: 17px; max-width: 540px; margin-bottom: 28px; }

.cta-row { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 18px; }

/* store badges */
.store-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 9px 18px 9px 14px;
  border-radius: 14px;
  background: rgba(8, 6, 20, .55);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
  text-align: start;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 8px 26px rgba(4, 2, 14, .4);
  transition: transform .15s ease, border-color .15s, box-shadow .2s;
}
.store-badge:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, .5); box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 14px 34px rgba(4,2,14,.55); }
.store-badge:active { transform: translateY(0); }
.store-badge svg { height: 24px; width: auto; fill: #fff; flex: 0 0 auto; }
.store-badge .sb-txt { display: flex; flex-direction: column; line-height: 1.25; }
.store-badge .sb-txt small { font-size: 9.5px; letter-spacing: .6px; text-transform: uppercase; opacity: .8; font-weight: 700; }
.store-badge .sb-txt b { font-size: 16.5px; font-weight: 800; letter-spacing: .2px; }
.store-row-big { justify-content: center; gap: 18px; margin: 26px 0 18px; }
.store-row-big .store-badge { padding: 13px 26px 13px 20px; border-radius: 17px; }
.store-row-big .store-badge svg { height: 32px; }
.store-row-big .store-badge .sb-txt small { font-size: 11px; }
.store-row-big .store-badge .sb-txt b { font-size: 21px; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 12px; }
.stat-chip {
  background: rgba(255, 255, 255, .07);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--r-sm);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14);
  padding: 10px 18px;
  text-align: center;
  min-width: 88px;
}
.stat-chip .v { font-family: var(--font-px); font-size: 15px; color: var(--gold); display: block; margin-bottom: 5px; direction: ltr; }
.stat-chip .l { font-size: 12.5px; color: var(--muted); font-weight: 700; }

/* the Najd diorama */

.hero-stage { display: flex; justify-content: center; }

.scene {
  position: relative;
  width: min(430px, 88vw);
  aspect-ratio: 5 / 5.6;
  overflow: hidden;
  padding: 0;
}
.scene > * { border-radius: 0; }
.scene .sky {
  position: absolute; inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(2px 2px at 18% 16%, rgba(255,255,255,.5), transparent),
    radial-gradient(1.5px 1.5px at 64% 10%, rgba(255,255,255,.4), transparent),
    radial-gradient(1.5px 1.5px at 84% 30%, rgba(255,255,255,.35), transparent),
    radial-gradient(2px 2px at 38% 26%, rgba(255,255,255,.3), transparent),
    radial-gradient(1.5px 1.5px at 10% 44%, rgba(255,255,255,.3), transparent),
    linear-gradient(180deg, #150e33 0%, #241452 46%, #4b2a63 66%, #8a5a4e 76%, #0000 76%);
}
.scene .moon {
  position: absolute;
  top: 9%; inset-inline-end: 12%;
  width: 13%; aspect-ratio: 1;
  background: radial-gradient(circle at 38% 34%, #fff7d6, #ffd700 58%, #c9a23f);
  border-radius: 50%;
  box-shadow: 0 0 34px 10px rgba(255, 215, 0, .25);
}
.scene .dune { position: absolute; background: #2a1a4e; border-radius: 50%; }
.scene .dune-a { width: 90%; height: 34%; bottom: 16%; inset-inline-start: -28%; }
.scene .dune-b { width: 86%; height: 30%; bottom: 14%; inset-inline-end: -30%; background: #231546; }
.scene .sand {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 24%;
  background-image: url('assets/ground_sand.png');
  background-size: 96px 96px;
  image-rendering: pixelated;
  box-shadow: 0 -3px 0 var(--ink), 0 -14px 26px rgba(0,0,0,.35);
  filter: brightness(.6) saturate(.9);
}
.scene .prop { position: absolute; z-index: 2; filter: brightness(.72); }
.scene .prop-mesa  { width: 40%; bottom: 20%; inset-inline-end: -7%; z-index: 1; }
.scene .prop-palms { width: 26%; bottom: 16%; inset-inline-start: 0; }
.scene .prop-cave  { width: 19%; bottom: 22%; inset-inline-start: 38%; z-index: 1; filter: brightness(.5); }
.scene .walker {
  position: absolute;
  z-index: 3;
  width: 30%;
  bottom: 7%;
  left: 50%;
  transform: translateX(-50%);
  filter: drop-shadow(0 10px 10px rgba(0, 0, 0, .55));
}
.scene .walker.geared {
  width: 38%;
  bottom: 4.5%;
  filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .6)) drop-shadow(0 0 18px rgba(255, 207, 74, .4));
}
.scene-flash {
  position: absolute; inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at 50% 68%, rgba(255, 235, 150, .95), rgba(255, 207, 74, .45) 34%, transparent 62%);
}
.scene-flash.on { animation: gearFlash .5s ease-out; }
@keyframes gearFlash { 0% { opacity: 0; } 18% { opacity: 1; } 100% { opacity: 0; } }
.scene-label {
  position: absolute;
  z-index: 5;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(8, 6, 20, .6);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 207, 74, .45);
  border-radius: 999px;
  color: var(--sand);
  font-size: 9px;
  padding: 7px 14px;
  white-space: nowrap;
}

/* ── duels ─────────────────────────────────────────────────────────────────── */

.duel-grid {
  display: grid;
  grid-template-columns: 1.22fr .78fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 20px;
}
.duel-card { padding: 26px 26px 24px; text-align: center; overflow: hidden; }
.duel-main { border-color: rgba(255, 215, 0, .38); box-shadow: 0 14px 48px rgba(4,2,14,.5), 0 0 52px rgba(255,207,74,.10), inset 0 1px 0 rgba(255,255,255,.22); }
.duel-badge {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 1px;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.badge-main { background: rgba(255, 215, 0, .16); color: var(--gold); border: 1px solid rgba(255, 215, 0, .5); }
.badge-side { background: rgba(100, 199, 245, .12); color: var(--frost); border: 1px solid rgba(100, 199, 245, .45); }
.duel-card h3 { font-size: 24px; font-weight: 900; }
.duel-pairs { color: var(--sand); font-weight: 800; font-size: 14.5px; margin-bottom: 16px; direction: ltr; }
.duel-body { color: var(--muted); font-size: 14.5px; max-width: 460px; margin: 14px auto 0; }

.faceoff {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(10px, 3vw, 30px);
  margin-top: 6px;
}
.faceoff-sub { transform: scale(.78); margin-top: -16px; transform-origin: top center; }
.fighter { position: relative; width: 124px; height: 138px; }
.fighter .champ {
  position: absolute;
  bottom: 10px; left: 50%;
  transform: translateX(-50%);
  width: 116px;
  z-index: 1;
  filter: drop-shadow(0 8px 10px rgba(0,0,0,.5));
}
.fighter.flip .champ { transform: translateX(-50%) scaleX(-1); }
.fighter .aura {
  position: absolute;
  bottom: -4px; left: 50%;
  transform: translateX(-50%);
  width: 108px;
  opacity: .9;
}
.vs-mini {
  font-size: 19px;
  color: var(--gold);
  text-shadow: 0 3px 0 var(--ink), 0 0 22px rgba(255,215,0,.5);
  padding-bottom: 42px;
}
.duel-side .podium { width: 120px; margin: 18px auto 0; display: block; opacity: .95; }
.duel-note { text-align: center; color: var(--muted); font-size: 14px; }

/* ── VS strip ──────────────────────────────────────────────────────────────── */

.vs-strip {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 86px;
  background: linear-gradient(105deg, rgba(176,136,32,.85) 0%, rgba(176,136,32,.7) 44%, rgba(10,7,24,.9) 44.2%, rgba(10,7,24,.9) 55.8%, rgba(75,47,134,.7) 56%, rgba(56,35,100,.85) 100%);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,.14);
  border-bottom: 1px solid rgba(255,255,255,.14);
  overflow: hidden;
}
.vs-strip::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 2px, transparent 2px);
  background-size: 100% 8px;
}
.vs-strip .vs { font-size: 30px; color: var(--gold); text-shadow: 0 4px 0 var(--ink); z-index: 1; }
.vs-strip .side { position: absolute; font-weight: 900; font-size: 16px; color: rgba(255,255,255,.92); letter-spacing: .5px; }
.vs-strip .side.you   { left:  clamp(14px, 6vw, 80px); }
.vs-strip .side.enemy { right: clamp(14px, 6vw, 80px); }

/* ── sections ──────────────────────────────────────────────────────────────── */

section { padding: 76px clamp(18px, 4vw, 44px); }
.wrap { max-width: 1180px; margin: 0 auto; }

/* world map */

.map-wrap { max-width: 800px; margin: 0 auto 30px; padding: 16px 16px 14px; }
.world-map { width: 100%; aspect-ratio: 1 / 1; }
.world-map svg { display: block; width: 100%; height: 100%; border-radius: var(--r-md); }
.world-map .m-lbl { fill: #f4f0fc; paint-order: stroke; stroke: #0a0718; stroke-width: .55px; font-weight: 800; font-family: var(--font-ar); }
.world-map .m-lv { fill: #e3d9f6; paint-order: stroke; stroke: #0a0718; stroke-width: .45px; font-weight: 700; font-family: var(--font-ar); }
.world-map g.rg:hover circle { stroke: var(--gold); }
.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: center;
  margin: 14px 0 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted);
}
.lg { display: inline-flex; align-items: center; gap: 8px; }
.lg-i { width: 12px; height: 12px; display: inline-block; border-radius: 4px; border: 1px solid rgba(255,255,255,.35); }
.lg-light  { background: #4db866; }
.lg-dark   { background: #6e3a2e; }
.lg-centre { background: #9e6bbd; }
.map-hint { text-align: center; color: var(--muted); font-size: 12.5px; opacity: .85; margin: 0; }

/* zones */

.zones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-bottom: 26px;
}
.zone-card {
  position: relative;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--glass-bd);
  box-shadow: 0 14px 48px rgba(4,2,14,.5), inset 0 1px 0 rgba(255,255,255,.2);
  transition: transform .18s ease, border-color .2s;
}
.zone-card:hover { transform: translateY(-5px); border-color: var(--zc, var(--glass-bd-hi)); }
.zone-card .z-bg { position: absolute; inset: 0; background-size: cover; background-position: center; image-rendering: pixelated; }
.zone-card .z-shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,7,24,.12) 0%, rgba(10,7,24,.84) 80%);
}
.zone-card .z-tint { position: absolute; inset: 0; box-shadow: inset 0 0 0 1.5px var(--zc, transparent); border-radius: inherit; opacity: .55; }
.zone-card h3 { position: relative; font-size: 19px; font-weight: 900; margin-bottom: 4px; color: #fff; text-shadow: 0 2px 0 var(--ink); }
.zone-card p  { position: relative; color: #ded5f2; font-size: 13.8px; line-height: 1.65; text-shadow: 0 1px 0 var(--ink); }

/* the journey strip — the world gradient made literal */
.journey { padding: 16px 16px 12px; }
.journey-bar {
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .25);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25);
  margin-bottom: 7px;
}
.journey-labels {
  display: flex;
  margin-bottom: 12px;
}
.journey-labels span {
  flex: 1;
  text-align: center;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: .2px;
}
.journey img { display: block; width: 100%; border-radius: var(--r-md); image-rendering: pixelated; }
.journey-cap { text-align: center; color: var(--muted); font-size: 12.5px; padding-top: 10px; margin: 0; }
html[dir='rtl'] .journey-bar { transform: scaleX(-1); }
html[dir='rtl'] .journey img { transform: scaleX(-1); }

/* factions */

.factions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  max-width: 860px;
  margin: 0 auto 56px;
}
.faction-card { padding: 26px 22px; text-align: center; }
.faction-card .f-ico { width: 44px; height: 44px; margin-bottom: 4px; }
.faction-card .f-stage { height: 140px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.faction-card img { width: 118px; }
.faction-card h3 { font-size: 21px; font-weight: 900; margin-bottom: 6px; }
.faction-card p { color: var(--muted); font-size: 14.5px; }
.f-light { border-color: rgba(255, 207, 74, .4); }
.f-light .f-stage { filter: drop-shadow(0 0 26px rgba(255, 207, 74, .35)); }
.f-light h3 { color: var(--light-fa); }
.f-dark { border-color: rgba(155, 109, 255, .42); }
.f-dark .f-stage { filter: drop-shadow(0 0 26px rgba(155, 109, 255, .4)); }
.f-dark h3 { color: var(--dark-fa); }

.realms-title { text-align: center; font-size: clamp(20px, 3vw, 28px); margin-bottom: 26px; }
.realms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  max-width: 860px;
  margin: 0 auto 18px;
}
.realm-card { padding: 24px 22px; }
.realm-card .r-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.realm-card h4 { font-size: 19px; font-weight: 900; }
.realm-card .r-tag { font-size: 10px; color: #0d0a1e; background: var(--rc); padding: 5px 11px; border-radius: 999px; }
.realm-card p { color: var(--muted); font-size: 14.5px; }
.realms-note { text-align: center; color: var(--muted); font-size: 14px; max-width: 560px; margin: 0 auto; }

/* classes */

.classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.class-card { padding: 26px 24px; text-align: center; }
.class-card .cls-ico { width: 46px; height: 46px; margin-bottom: 2px; }
.class-card .c-stage { height: 185px; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.class-card .c-stage img { width: 172px; }
.c-warrior { border-color: rgba(220, 215, 230, .3); }
.c-warrior .c-stage { filter: drop-shadow(0 0 26px rgba(255, 120, 90, .22)); }
.c-mage { border-color: rgba(100, 199, 245, .38); }
.c-mage .c-stage { filter: drop-shadow(0 0 26px rgba(100, 199, 245, .3)); }
.class-card h3 { font-size: 22px; font-weight: 900; }
.class-card .c-role { color: var(--sand); font-weight: 800; font-size: 14px; margin-bottom: 8px; }
.class-card .c-body { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }

.ab-row { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.ab { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 64px; }
.ab i {
  display: flex;
  width: 46px; height: 46px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
  align-items: center; justify-content: center;
}
.ab i img { width: 36px; height: 36px; object-fit: contain; }
.ab span { font-size: 10.5px; color: var(--muted); font-weight: 700; line-height: 1.3; text-align: center; }

/* MMO life */

.life-shot { padding: 14px; max-width: 940px; margin: 0 auto 26px; }
.life-shot img { display: block; width: 100%; border-radius: var(--r-md); }
.life-shot figcaption { text-align: center; color: var(--muted); font-size: 13px; padding-top: 10px; }
.life-chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  max-width: 940px;
  margin: 0 auto;
}
.life-chip {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .07);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, .15);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
  font-weight: 800;
  font-size: 13.5px;
}
.life-chip img { width: 30px; height: 30px; object-fit: contain; }

/* dungeon */

.dungeon-subtitle { text-align: center; font-size: 10px; color: var(--frost); letter-spacing: 1px; margin: -2px 0 10px; }
.dungeon-box { max-width: 880px; margin: 0 auto; overflow: hidden; padding: 0; }
.dungeon-bg {
  position: absolute; inset: 0;
  background-image: url('assets/bg_caveint.png');
  background-size: cover;
  background-position: center;
  image-rendering: pixelated;
  opacity: .5;
}
.dungeon-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,9,28,.62) 0%, rgba(13,9,28,.9) 100%);
}
.dungeon-inner { position: relative; padding: clamp(22px, 4vw, 40px); }
.dungeon-ladder { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; counter-reset: none; }
.dungeon-ladder li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}
.dungeon-ladder li:nth-child(2) { margin-inline-start: 4%;  background: rgba(255,255,255,.05); }
.dungeon-ladder li:nth-child(3) { margin-inline-start: 8%;  background: rgba(100,199,245,.07); border-color: rgba(100,199,245,.3); }
.dungeon-ladder li:nth-child(4) { margin-inline-start: 12%; background: rgba(239,110,74,.08); border-color: rgba(239,110,74,.32); }
.dungeon-ladder .t-tag {
  font-family: var(--font-px);
  font-size: 10px;
  color: var(--sand);
  flex: 0 0 auto;
  background: rgba(8,6,20,.55);
  border: 1px solid rgba(255,207,74,.4);
  padding: 6px 10px;
  border-radius: 9px;
}
.dungeon-ladder .t-name { font-weight: 900; font-size: 15.5px; }
.dungeon-ladder .t-note { color: var(--muted); font-size: 13px; margin-inline-start: auto; text-align: end; }

.dungeon-throne {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-inline-start: 16%;
  padding: 16px 20px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 138, 80, .5);
  background: linear-gradient(150deg, rgba(255, 110, 60, .16), rgba(120, 30, 60, .12));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 0 44px rgba(255, 110, 60, .14);
  margin-bottom: 22px;
}
.dungeon-throne .jinn { width: 110px; filter: drop-shadow(0 0 22px rgba(255, 120, 60, .55)); }
.throne-tag { font-size: 9px; color: #ff9e6e; letter-spacing: 1px; display: inline-block; margin-bottom: 6px; }
.dungeon-throne h3 { font-size: 22px; font-weight: 900; margin-bottom: 4px; }
.dungeon-throne p { color: var(--muted); font-size: 13.5px; }

.dungeon-reward { text-align: center; }
.dungeon-reward .rw-title { font-weight: 900; margin-bottom: 10px; }
.dungeon-reward ul { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.dungeon-reward li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border-radius: 999px;
  background: rgba(255, 215, 0, .12);
  border: 1px solid rgba(255, 215, 0, .45);
  color: #ffe9a3;
  font-weight: 800;
  font-size: 14px;
}
.dungeon-reward li::before { content: '★'; color: var(--gold); }

/* bestiary */

.mobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 20px;
  margin-bottom: 22px;
}
.mob-tile { padding: 18px 12px 14px; text-align: center; transition: transform .16s ease; }
.mob-tile:hover { transform: translateY(-5px); }
.mob-stage { height: 110px; display: flex; align-items: flex-end; justify-content: center; margin-bottom: 10px; }
.mob-stage img { width: 96px; }
.mob-tile .m-name { font-weight: 900; font-size: 15.5px; }
.mob-tile .m-line { color: var(--muted); font-size: 12px; line-height: 1.55; margin-top: 2px; }
.variants-note { text-align: center; color: var(--muted); font-size: 14px; max-width: 640px; margin: 0 auto; }

/* features */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}
.feature { padding: 24px 22px; display: flex; gap: 16px; align-items: flex-start; }
.feature .f-ico {
  flex: 0 0 auto;
  width: 54px; height: 54px;
  object-fit: contain;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 14px;
  padding: 8px;
}
.feature h3 { font-size: 17px; font-weight: 900; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 14px; }

/* pipeline band */

.pipeline-box {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(18px, 3vw, 36px);
  align-items: center;
  padding: clamp(22px, 3.4vw, 40px);
}
.pipeline-box .section-title { text-align: start; }
.pipeline-box .p-text p { color: var(--muted); margin-bottom: 18px; }
.p-lineup { width: 100%; display: block; border-radius: var(--r-md); }
.sheikh-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--r-sm);
  padding: 8px 16px 8px 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.sheikh-chip img { width: 56px; }

/* download */

.download-box { max-width: 720px; margin: 0 auto; padding: clamp(26px, 4vw, 44px); text-align: center; }
.dl-note {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--sand);
  font-weight: 800;
  font-size: 14px;
}

/* footer */

footer {
  border-top: none;
  padding: 36px clamp(18px, 4vw, 44px) 30px;
  text-align: center;
}
footer .f-line { color: var(--muted); font-size: 14.5px; }
footer .f-credit { color: #6f6296; font-size: 12.5px; margin-top: 6px; direction: ltr; }

/* soon toast */

.soon-toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%) translateY(16px);
  z-index: 99;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  color: #ffe9a3;
  border-color: rgba(255, 215, 0, .5);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.soon-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── reveal on scroll ──────────────────────────────────────────────────────── */

.reveal { opacity: 0; transform: translateY(26px); }
.reveal, .reveal.in { transition: opacity .6s ease, transform .6s ease, border-color .2s ease, box-shadow .2s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .aurora { animation: none; }
  html { scroll-behavior: auto; }
}

/* ── responsive ────────────────────────────────────────────────────────────── */

@media (max-width: 980px) {
  .duel-grid { grid-template-columns: 1fr; }
  .pipeline-box { grid-template-columns: 1fr; }
  .pipeline-box .section-title, .pipeline-box .p-text { text-align: center; }
}

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 104px; min-height: 0; }
  .hero-sub { margin-inline: auto; }
  .cta-row, .hero-stats, .store-row { justify-content: center; }
  .hero-stage { margin-top: 26px; }
  .nav-links { display: none; }
}

@media (max-width: 520px) {
  .mobs-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .stat-chip { min-width: 72px; padding: 8px 12px; }
  .feature { flex-direction: column; align-items: center; text-align: center; }
  .fighter { width: 96px; height: 116px; }
  .fighter .champ { width: 92px; }
  .fighter .aura { width: 86px; }
  .dungeon-throne { flex-direction: column; text-align: center; margin-inline-start: 0; }
  .dungeon-ladder .t-note { display: none; }
}
