/* Diamond Israel Role Play — brand system from the logo: diamond violet, Star-of-David royal blue, wordmark sky blue. */

:root {
  --v-200: #ddd0ff;
  --v-300: #c4a6ff;
  --v-400: #a77cff;
  --v-500: #8f4dff;
  --v-600: #7425ff;
  --v-700: #5a12d8;
  --royal: #3348d6;
  --sky: #4f9dff;
  --ok: #34d399;
  --warn: #fbbf24;
  --err: #fb7185;

  --bg: #08060f;
  --bg-2: #0e0a1c;
  --surface: rgba(24, 18, 44, 0.66);
  --surface-2: rgba(36, 27, 66, 0.55);
  --solid: #130f24;
  --field: #0f0b1f;
  --line: rgba(167, 124, 255, 0.15);
  --line-2: rgba(167, 124, 255, 0.32);
  --ink: #f5f2ff;
  --ink-2: #cbc3e8;
  --ink-3: #9d93c2;
  --acc: #b48bff;
  --acc-ink: #c9adff;
  --grad: linear-gradient(120deg, #c4a6ff 0%, #8f4dff 42%, #4f9dff 100%);
  --grad-btn: linear-gradient(135deg, #9b5cff 0%, #7425ff 55%, #4a5cf0 100%);
  --shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.8);
  --glow: 0 18px 50px -18px rgba(143, 77, 255, 0.6);
  --star: rgba(255, 255, 255, 0.55);

  --r-sm: 12px;
  --r: 18px;
  --r-lg: 28px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Rubik", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  --hdr: 72px;
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #f7f4ff;
  --bg-2: #efe8ff;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-2: rgba(255, 255, 255, 0.92);
  --solid: #ffffff;
  --field: #ffffff;
  --line: rgba(84, 36, 190, 0.13);
  --line-2: rgba(84, 36, 190, 0.28);
  --ink: #130d2a;
  --ink-2: #3d3466;
  --ink-3: #635a8c;
  --acc: #7a3cf0;
  --acc-ink: #5b1fd6;
  --grad: linear-gradient(120deg, #7a3cf0 0%, #5a12d8 45%, #2a6fd6 100%);
  --shadow: 0 30px 70px -40px rgba(60, 30, 140, 0.35);
  --glow: 0 18px 44px -20px rgba(116, 37, 255, 0.45);
  --star: rgba(116, 37, 255, 0.25);
  --ok: #059669;
  --warn: #b45309;
  --err: #e11d48;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(116, 37, 255, 0.22), transparent 60%),
    radial-gradient(800px 600px at -10% 30%, rgba(51, 72, 214, 0.16), transparent 60%),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 84%, transparent), color-mix(in srgb, var(--bg) 93%, transparent) 60%, var(--bg)),
    var(--city, none) center top / cover no-repeat;
}
[data-theme="light"] body::before {
  background:
    radial-gradient(900px 600px at 85% -10%, rgba(116, 37, 255, 0.14), transparent 60%),
    linear-gradient(180deg, color-mix(in srgb, var(--bg) 86%, transparent), color-mix(in srgb, var(--bg) 95%, transparent) 60%, var(--bg)),
    var(--city, none) center top / cover no-repeat;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
:where(p, li) { text-wrap: pretty; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(143, 77, 255, 0.45); color: #fff; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; opacity: 0; }
.ico { flex: none; }
[dir="rtl"] .ico--arrow { transform: scaleX(-1); }
code { font-family: var(--mono); font-size: 0.92em; }

.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 40px); }

.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--v-600); color: #fff; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
main:focus { outline: none; }

/* ---------- buttons, chips ---------- */
.btn {
  --h: 48px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--h);
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), opacity 0.2s;
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn--sm { --h: 40px; padding: 0 16px; font-size: 14px; }
.btn--lg { --h: 56px; padding: 0 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--grad-btn); color: #fff; box-shadow: var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn--primary::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%); background-size: 250% 100%; background-position: 120% 0; transition: background-position 0.8s var(--ease); pointer-events: none; }
.btn--ghost { background: var(--surface); border-color: var(--line-2); color: var(--ink); backdrop-filter: blur(8px); }
.btn--soft { background: rgba(143, 77, 255, 0.14); border-color: rgba(143, 77, 255, 0.28); color: var(--acc-ink); }
.btn[disabled], .btn[aria-disabled="true"], .btn.is-soon { opacity: 0.6; cursor: not-allowed; box-shadow: none; }
.btn.is-soon em, .ftr__link.is-soon em { font-style: normal; font-size: 11px; padding: 3px 8px; border-radius: 999px; background: rgba(143, 77, 255, 0.18); color: var(--acc-ink); letter-spacing: 0.04em; }
@media (hover: hover) {
  .btn--primary:not([disabled]):hover { transform: translateY(-2px); box-shadow: 0 24px 60px -18px rgba(143, 77, 255, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
  .btn--primary:not([disabled]):hover::after { background-position: -40% 0; }
  .btn--ghost:not(.is-soon):hover { border-color: var(--acc); transform: translateY(-2px); }
  .btn--soft:not([disabled]):hover { background: rgba(143, 77, 255, 0.24); }
}

.iconbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: pointer; transition: color 0.2s, border-color 0.2s, background 0.2s; }
.iconbtn:hover { color: var(--ink); border-color: var(--line-2); }
.theme .ico--sun { display: none; }
[data-theme="dark"] .theme .ico--moon { display: none; }
[data-theme="dark"] .theme .ico--sun { display: block; }

.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-size: 13px; font-weight: 500; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--acc-ink); font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
[lang="he"] .kicker { letter-spacing: 0.06em; font-size: 14px; }
.kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--grad); }

.pill { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 8px 16px 8px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: linear-gradient(90deg, rgba(143, 77, 255, 0.2), rgba(79, 157, 255, 0.12)); font-size: 14px; font-weight: 600; color: var(--ink); }
[dir="rtl"] .pill { padding: 8px 12px 8px 16px; }
.pill__dot { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--v-400); box-shadow: 0 0 12px var(--v-400); }
.pill__dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--v-400); animation: ping 2.2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(0.4); opacity: 0.9; } 100% { transform: scale(1.8); opacity: 0; } }

/* ---------- pre-launch banner ---------- */
.banner { position: relative; z-index: 31; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 9px 20px; background: linear-gradient(90deg, #5a12d8, #7425ff 40%, #3348d6); color: #fff; font-size: 13.5px; font-weight: 500; text-align: center; }
.banner__dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px #fff; animation: blink 1.6s ease-in-out infinite; flex: none; }
@keyframes blink { 50% { opacity: 0.25; } }
.banner__cta { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap; }
.banner__cta:hover { background: rgba(255, 255, 255, 0.26); }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 30; height: var(--hdr); margin-bottom: calc(var(--hdr) * -1); padding-top: 10px; pointer-events: none; }
.hdr__in { pointer-events: auto; display: flex; align-items: center; gap: 16px; width: min(1240px, 100% - 24px); height: calc(var(--hdr) - 10px); padding-inline: 16px 10px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.08); background: color-mix(in srgb, var(--bg) 22%, transparent); backdrop-filter: blur(14px) saturate(150%); -webkit-backdrop-filter: blur(14px) saturate(150%); transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease); }
[dir="rtl"] .hdr__in { padding-inline: 16px 10px; }
.hdr.is-stuck .hdr__in { background: color-mix(in srgb, var(--bg) 48%, transparent); border-color: var(--line-2); box-shadow: 0 14px 40px -18px rgba(0, 0, 0, 0.6); }
[data-theme="light"] .hdr__in { border-color: rgba(26, 18, 56, 0.08); background: color-mix(in srgb, var(--bg) 35%, transparent); }
[data-theme="light"] .hdr.is-stuck .hdr__in { background: color-mix(in srgb, var(--bg) 62%, transparent); }
.hdr ~ main > :first-child:not(.hero) { padding-top: calc(var(--hdr) + clamp(28px, 5vw, 64px)); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand__logo { width: auto; height: 40px; filter: drop-shadow(0 6px 16px rgba(79, 157, 255, 0.35)); transition: transform 0.4s var(--ease), filter 0.4s var(--ease); }
.brand:hover .brand__logo { transform: scale(1.04); filter: drop-shadow(0 8px 22px rgba(143, 77, 255, 0.6)); }
[data-theme="light"] .brand__logo, [data-theme="light"] .hero__logo, [data-theme="light"] .ftr__brand img { filter: drop-shadow(0 0 1px rgba(19, 13, 42, 0.95)) drop-shadow(0 2px 6px rgba(19, 13, 42, 0.45)); }
.flag { display: inline-block; flex: none; width: 22px; height: 16px; border-radius: 4px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.18), 0 2px 6px -2px rgba(0, 0, 0, 0.5); }
.flag svg { width: 100%; height: 100%; }
.nav { display: flex; gap: 2px; margin-inline-end: auto; min-width: 0; }
.nav a { position: relative; padding: 9px 12px; border-radius: 12px; color: var(--ink-2); font-size: 14.5px; font-weight: 600; white-space: nowrap; text-decoration: none; transition: color 0.2s, background 0.2s; }
.nav a:hover { color: var(--ink); background: var(--surface); }
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; inset-inline: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--grad); }
.hdr__act { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.nav + .hdr__act { margin-inline-start: 0; }
.lang { position: relative; }
.lang summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-size: 13px; font-weight: 700; cursor: pointer; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover { color: var(--ink); border-color: var(--line-2); }
.lang__list { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 160px; padding: 6px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--solid); box-shadow: var(--shadow); display: grid; animation: pop 0.22s var(--ease); }
.lang summary .flag { width: 24px; height: 17px; }
.lang__list a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-weight: 500; color: var(--ink-2); }
.lang__list a:hover, .lang__list a[aria-current="true"] { background: rgba(143, 77, 255, 0.14); color: var(--ink); }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(0.98); } }
.burger { display: none; }
.burger .ico--close { display: none; }
.burger[aria-expanded="true"] .ico--menu { display: none; }
.burger[aria-expanded="true"] .ico--close { display: block; }
.mnav { pointer-events: auto; display: grid; gap: 4px; width: min(1240px, 100% - 24px); margin: 8px auto 0; padding: 10px 14px 18px; border-radius: 20px; border: 1px solid var(--line-2); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: var(--shadow); max-height: calc(100dvh - var(--hdr) - 16px); overflow: auto; animation: pop 0.25s var(--ease); }
.mnav > a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 14px; border-radius: 14px; text-decoration: none; font-size: 18px; font-weight: 600; }
.mnav > a:hover, .mnav > a[aria-current="page"] { background: var(--surface); }
.mnav__langs { display: flex; gap: 8px; margin-top: 12px; }
.mnav__langs a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 12px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; color: var(--ink-2); }
.mnav__langs a[aria-current="true"] { border-color: var(--acc); color: var(--ink); background: rgba(143, 77, 255, 0.12); }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; padding: calc(var(--hdr) + clamp(24px, 5vw, 72px)) 0 0; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__city { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero__bg i { position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--bg) 94%, transparent) 0%, color-mix(in srgb, var(--bg) 78%, transparent) 42%, color-mix(in srgb, var(--bg) 25%, transparent) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 30%), radial-gradient(700px 500px at 75% 30%, rgba(143, 77, 255, 0.28), transparent 70%); }
[dir="rtl"] .hero__bg i { background: linear-gradient(270deg, color-mix(in srgb, var(--bg) 94%, transparent) 0%, color-mix(in srgb, var(--bg) 78%, transparent) 42%, color-mix(in srgb, var(--bg) 25%, transparent) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 30%), radial-gradient(700px 500px at 25% 30%, rgba(143, 77, 255, 0.28), transparent 70%); }
[data-theme="light"] .hero__city { opacity: 0.55; }
.hero__logo { width: min(460px, 92%); margin: 0 0 22px; filter: drop-shadow(0 10px 30px rgba(79, 157, 255, 0.45)); }
.hero__grid { display: grid; grid-template-columns: 1.08fr 0.92fr; align-items: center; gap: clamp(24px, 4vw, 64px); min-height: min(720px, calc(100svh - 150px)); padding-bottom: clamp(40px, 6vw, 80px); }
.hero__title { font-size: clamp(2.4rem, 5vw, 4.5rem); font-weight: 900; letter-spacing: -0.035em; line-height: 1.02; margin-bottom: 22px; }
[lang="he"] .hero__title { letter-spacing: -0.015em; line-height: 1.08; }
.hero__title em { display: block; font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.06em; }
.hero__lead { max-width: 58ch; color: var(--ink-2); font-size: clamp(1.02rem, 1.5vw, 1.18rem); margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.facts li { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-size: 13px; font-weight: 600; }

.hero__stage { position: relative; display: grid; place-items: center; min-height: 520px; perspective: 1200px; }
.stack { position: relative; width: min(100%, 500px); aspect-ratio: 1 / 1.02; transform-style: preserve-3d; transform: rotateY(calc(var(--tx, 0) * 12deg)) rotateX(calc(var(--ty, 0) * -10deg)); transition: transform 0.6s var(--ease); }
.stack__card { position: absolute; width: 50%; aspect-ratio: 3 / 4; margin: 0; border-radius: 24px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.2); background: #120d26; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(143, 77, 255, 0.25); animation: bob 7s ease-in-out infinite; }
.stack__card img { width: 100%; height: 100%; object-fit: cover; }
.stack__card figcaption { position: absolute; inset: auto 0 0; display: grid; gap: 2px; padding: 40px 14px 12px; background: linear-gradient(transparent, rgba(8, 6, 15, 0.92)); color: #fff; line-height: 1.25; }
.stack__card figcaption b { font-size: 15px; }
.stack__card figcaption span { font-size: 12px; color: #c9adff; }
.stack__card--a { left: 0; top: 12%; transform: translateZ(-80px) rotate(-11deg); animation-delay: -2s; }
.stack__card--b { right: 0; top: 6%; transform: translateZ(-50px) rotate(9deg); animation-delay: -4s; }
.stack__card--c { left: 24%; top: 16%; width: 54%; z-index: 2; transform: translateZ(70px); border-color: rgba(196, 166, 255, 0.55); box-shadow: 0 50px 90px -30px rgba(0, 0, 0, 0.9), 0 0 50px -10px rgba(143, 77, 255, 0.7); }
.stack__card--c::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.22) 48%, transparent 60%); background-size: 260% 100%; animation: holo 7s ease-in-out infinite; pointer-events: none; }
.f3d { position: absolute; z-index: 3; width: 84px; height: auto; filter: drop-shadow(0 18px 20px rgba(0, 0, 0, 0.5)); transform: translateZ(120px); animation: bob 6s ease-in-out infinite; }
.f3d--a { top: -2%; right: 26%; animation-delay: -1s; }
.f3d--b { bottom: 18%; left: 1%; animation-delay: -3s; }
.f3d--c { top: 42%; right: 4%; animation-delay: -5s; }
.f3d--d { top: 2%; left: 6%; width: 70px; animation-delay: -2.5s; }
@keyframes float { 50% { transform: translateY(-14px); } }
@keyframes bob { 50% { translate: 0 -12px; } }
@keyframes sweep { 0%, 55% { transform: translateX(-70%); } 100% { transform: translateX(70%); } }

.status { position: absolute; z-index: 4; inset-inline-start: 0; bottom: 0; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 18px; border: 1px solid var(--line-2); background: color-mix(in srgb, var(--solid) 82%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow); max-width: 290px; }
.status__beacon { position: relative; width: 12px; height: 12px; border-radius: 50%; flex: none; background: var(--v-400); box-shadow: 0 0 14px var(--v-400); }
.status__beacon::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid currentColor; color: var(--v-400); animation: ping 2s var(--ease) infinite; }
.status[data-mode="online"] .status__beacon { background: var(--ok); box-shadow: 0 0 14px var(--ok); }
.status[data-mode="online"] .status__beacon::after { color: var(--ok); }
.status[data-mode="offline"] .status__beacon { background: var(--err); box-shadow: none; }
.status[data-mode="offline"] .status__beacon::after { display: none; }
.status__txt { display: grid; line-height: 1.3; }
.status__txt small { color: var(--ink-3); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.status__txt b { font-size: 16px; }
.status__txt > span { color: var(--ink-2); font-size: 13px; }
.status__discord { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; color: var(--sky) !important; font-weight: 600; }
.ticker { position: relative; border-block: 1px solid var(--line); background: color-mix(in srgb, var(--bg-2) 70%, transparent); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker__track { display: flex; width: max-content; gap: 44px; padding: 16px 22px; animation: marquee 48s linear infinite; }
[dir="rtl"] .ticker__track { animation-name: marqueeRtl; }
.ticker span { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); font-weight: 600; font-size: 15px; white-space: nowrap; }
.i3d { flex: none; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.4)); }
.i3d--xs { width: 28px; height: 28px; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.35)); }

/* stats strip */
.stats { position: relative; z-index: 1; margin-top: clamp(28px, 4vw, 48px); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { display: grid; gap: 6px; padding: 22px 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.stat b { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 900; line-height: 1; letter-spacing: -0.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; direction: ltr; text-align: start; }
.stat span { color: var(--ink-2); font-weight: 500; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marqueeRtl { to { transform: translateX(50%); } }

/* ---------- sections ---------- */
.sec { position: relative; padding-block: clamp(52px, 6vw, 84px); }
.sec--tight { padding-block: clamp(32px, 5vw, 64px) clamp(72px, 9vw, 112px); }
.sec--tint { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--bg-2) 80%, transparent) 18%, color-mix(in srgb, var(--bg-2) 80%, transparent) 82%, transparent); }
.sec__head { max-width: 680px; margin-bottom: clamp(32px, 4vw, 52px); }
.sec__head h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); margin-bottom: 14px; }
.sec__head p { color: var(--ink-2); font-size: 1.08rem; margin: 0; }
.sec__head--row { display: flex; align-items: end; justify-content: space-between; gap: 24px; max-width: none; }
.sec__head--row > div { max-width: 640px; }

.card { position: relative; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }

/* bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { position: relative; overflow: hidden; display: grid; grid-template-columns: 58px minmax(0, 1fr); column-gap: 14px; row-gap: 14px; align-content: start; align-items: center; padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.tile--wide { grid-column: span 2; background: linear-gradient(135deg, rgba(143, 77, 255, 0.16), rgba(79, 157, 255, 0.06) 60%), var(--surface); }
.tile::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.35s var(--ease); pointer-events: none; }
.ibadge { box-sizing: border-box; object-fit: contain; border-radius: 18px; border: 1px solid var(--line-2); background: radial-gradient(circle at 50% 35%, rgba(143, 77, 255, 0.32), rgba(79, 157, 255, 0.08) 70%), var(--field); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 22px -12px rgba(0, 0, 0, 0.7); filter: none; }
.tile__i3d { width: 58px; height: 58px; padding: 8px; transition: transform 0.5s var(--ease); }
.tile h3 { margin: 0; padding-inline-end: 28px; font-size: 1.2rem; line-height: 1.25; }
.tile p { grid-column: 1 / -1; margin: 0; color: var(--ink-2); }
.tile__num { position: absolute; inset-inline-end: 20px; top: 16px; font-size: 13px; font-weight: 700; color: var(--ink-3); letter-spacing: 0.1em; }
@media (hover: hover) {
  .tile:hover { transform: translateY(-4px); box-shadow: var(--glow); }
  .tile:hover::before { opacity: 1; }
  .tile:hover .tile__i3d { transform: translateY(-3px) rotate(-6deg) scale(1.06); }
}

/* 3D map */
.map { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.map__stage { perspective: 2200px; }
.map__plane { position: relative; aspect-ratio: 1000 / 620; border-radius: 26px; transform: rotateX(calc(var(--ty, 0) * -2.5deg)) rotateY(calc(var(--tx, 0) * 2.5deg)); transition: transform 0.7s var(--ease); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.85), 0 0 0 1px var(--line-2), 0 0 80px -24px rgba(143, 77, 255, 0.5); }
.map__svg { display: block; width: 100%; height: 100%; border-radius: 26px; font-family: var(--font); }
.map__hint { display: none; margin: 0 0 8px; color: var(--ink-3); font-size: 13px; font-weight: 600; }
.map__land { fill: #161031; }
.map__grid { stroke: rgba(255, 255, 255, 0.045); stroke-width: 1; }
.map__d { stroke: rgba(196, 166, 255, 0.32); stroke-width: 2; }
.map__d--hills { fill: rgba(143, 77, 255, 0.2); }
.map__d--port { fill: rgba(79, 157, 255, 0.16); }
.map__d--bursa { fill: rgba(196, 166, 255, 0.2); }
.map__d--center { fill: rgba(116, 37, 255, 0.24); }
.map__d--gov { fill: rgba(51, 72, 214, 0.26); }
.map__d--shuk { fill: rgba(251, 191, 36, 0.14); }
.map__d--south { fill: rgba(167, 124, 255, 0.1); }
.map__park { fill: rgba(52, 211, 153, 0.25); }
.map__road { fill: none; stroke: rgba(235, 228, 255, 0.5); stroke-width: 7; stroke-linecap: round; }
.map__road--hw { stroke: rgba(79, 157, 255, 0.75); stroke-width: 15; stroke-dasharray: 26 10; }
.map__sea { fill: #0b2556; }
.map__coast { fill: none; stroke: #f2cf86; stroke-width: 9; opacity: 0.75; }
.map__st { font-size: 16px; font-weight: 700; fill: #fff; paint-order: stroke; stroke: rgba(8, 6, 15, 0.9); stroke-width: 5px; stroke-linejoin: round; }
.map__dl { font-size: 14px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; fill: rgba(255, 255, 255, 0.62); paint-order: stroke; stroke: rgba(8, 6, 15, 0.6); stroke-width: 4px; }
.map__sealbl { font-size: 22px; font-weight: 700; letter-spacing: 0.35em; fill: rgba(150, 195, 255, 0.55); }
.map__beach { font-size: 12px; font-weight: 700; fill: #f2cf86; letter-spacing: 0.1em; }
[data-theme="light"] .map__land { fill: #ece5ff; }
[data-theme="light"] .map__grid { stroke: rgba(84, 36, 190, 0.06); }
[data-theme="light"] .map__road { stroke: #fff; }
[data-theme="light"] .map__road--hw { stroke: rgba(51, 72, 214, 0.65); }
[data-theme="light"] .map__sea { fill: #9fc9ff; }
[data-theme="light"] .map__st { fill: #1a1238; stroke: rgba(255, 255, 255, 0.9); }
[data-theme="light"] .map__dl { fill: rgba(26, 18, 56, 0.5); }
[data-theme="light"] .map__sealbl { fill: rgba(20, 60, 140, 0.55); }
[data-theme="light"] .map__beach { fill: #a46a10; }
[data-theme="light"] .map__plane::after { background: linear-gradient(#b9a3f5, #8a6ee0); }
.pin { position: absolute; left: var(--x); top: var(--y); z-index: 2; width: 48px; height: 48px; padding: 0; border: 0; background: none; cursor: pointer; transform-origin: 50% 100%; transform: translate(-50%, calc(-100% - 6px)); transition: transform 0.35s var(--ease); }
.pin__head { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; border: 2px solid var(--v-400); background: color-mix(in srgb, var(--solid) 90%, transparent); box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.75); transition: background 0.3s, border-color 0.3s, box-shadow 0.3s; }
.pin__head img { width: 32px; height: 32px; object-fit: contain; }
.pin::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 10px; height: 10px; border-radius: 2px; background: var(--v-400); transform: translateX(-50%) rotate(45deg); z-index: -1; }
.pin::before { content: ""; position: absolute; left: 50%; bottom: -12px; width: 22px; height: 8px; margin-left: -11px; border-radius: 50%; border: 2px solid var(--v-400); animation: ping 2.4s var(--ease) infinite; }
.pin:hover, .pin:focus-visible, .pin[aria-pressed="true"] { transform: translate(-50%, calc(-100% - 10px)) scale(1.15); z-index: 3; }
.pin[aria-pressed="true"] .pin__head { background: var(--grad-btn); border-color: #fff; box-shadow: 0 0 30px rgba(143, 77, 255, 0.85); }
.map__panel { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(18px, 2.4vw, 30px); align-items: start; padding: clamp(18px, 2.2vw, 26px); border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--surface); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow); }
.map__info { display: flex; gap: 14px; align-items: flex-start; min-width: 0; }
.map__ico { flex: none; width: 64px; height: 64px; object-fit: contain; filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.45)); }
.map__info small { display: block; color: var(--acc-ink); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.map__info h3 { font-size: 1.3rem; margin: 4px 0 8px; }
.map__info p { color: var(--ink-2); margin: 0; font-size: 15px; }
.map__places { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0; margin: 0; list-style: none; }
.map__places button { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 6px 12px 6px 8px; border-radius: 14px; border: 1px solid var(--line); background: var(--field); color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; text-align: start; cursor: pointer; transition: border-color 0.25s, background 0.25s; }
[dir="rtl"] .map__places button { padding: 6px 8px 6px 12px; }
.map__places img { flex: none; width: 32px; height: 32px; object-fit: contain; }
.map__places span { min-width: 0; overflow-wrap: anywhere; line-height: 1.25; }
.map__places button:hover, .map__places button[aria-pressed="true"] { border-color: var(--v-400); background: color-mix(in srgb, var(--v-500) 16%, var(--field)); }
.map__panel h4 { margin: 0 0 10px; color: var(--ink-3); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
.map__streets { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; list-style: none; }
.map__streets li { padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--field); color: var(--ink-2); font-size: 13px; font-weight: 600; }
[lang="he"] .map__dl, [lang="he"] .map__info small, [lang="he"] .map__panel h4 { letter-spacing: 0.02em; }

/* life stories */
.rail-nav { display: flex; gap: 8px; flex: none; }
.rail-nav .iconbtn:first-child .ico { transform: scaleX(-1); }
[dir="rtl"] .rail-nav .iconbtn:first-child .ico { transform: none; }
.lives { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(240px, 22vw, 280px); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(50% - 50vw); padding: 20px calc(50vw - 50%) 30px; scroll-padding-inline: calc(50vw - 50%); scrollbar-width: none; perspective: 1400px; }
.lives::-webkit-scrollbar { display: none; }
.life { display: grid; scroll-snap-align: start; transform-style: preserve-3d; }
.js .life.is-in { transform: rotateY(calc(var(--off, 0) * -18deg)) scale(calc(1 - var(--abs, 0) * 0.08)); transition: transform 0.25s linear, opacity 0.6s var(--ease); }
.life__card { position: relative; display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); transform: perspective(900px) rotateY(calc(var(--tx, 0) * 9deg)) rotateX(calc(var(--ty, 0) * -9deg)); transition: transform 0.45s var(--ease), border-color 0.3s, box-shadow 0.3s; }
.life__card::after { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, 0.14), transparent 45%); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.life__art { aspect-ratio: 3 / 3.4; overflow: hidden; background: #120d26; }
.life__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transition: transform 0.8s var(--ease); }
.life__body { display: grid; align-content: start; gap: 6px; padding: 18px 18px 20px; flex: 1; }
.life__role { color: var(--acc-ink); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.life h3 { font-size: 1.15rem; }
.life blockquote { margin: 6px 0 0; padding-inline-start: 12px; border-inline-start: 2px solid var(--v-500); }
.life blockquote p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
@media (hover: hover) {
  .life__card:hover { border-color: var(--line-2); box-shadow: var(--glow); }
  .life__card:hover::after { opacity: 1; }
  .life__card:hover .life__art img { transform: scale(1.06); }
}

/* ars club */
.ars { overflow: hidden; isolation: isolate; }
.ars__bg { position: absolute; inset: 0 0 auto; height: min(820px, 62vw); z-index: -1; }
.ars__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 75%; }
.ars__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, transparent 18%, transparent 62%, var(--bg) 100%), linear-gradient(90deg, color-mix(in srgb, var(--bg) 88%, transparent), color-mix(in srgb, var(--bg) 30%, transparent) 55%, transparent 80%); }
[dir="rtl"] .ars__bg::after { background: linear-gradient(180deg, var(--bg) 0%, transparent 18%, transparent 62%, var(--bg) 100%), linear-gradient(270deg, color-mix(in srgb, var(--bg) 88%, transparent), color-mix(in srgb, var(--bg) 30%, transparent) 55%, transparent 80%); }
[dir="rtl"] .ars__bg img { transform: scaleX(-1); }
[data-theme="light"] .ars__bg img { opacity: 0.6; }
.ars__hero { max-width: 560px; padding-block: clamp(40px, 7vw, 100px) clamp(80px, 12vw, 200px); }
.ars__hero h2 { font-size: clamp(2.2rem, 5vw, 4rem); margin-bottom: 16px; text-shadow: 0 6px 30px rgba(0, 0, 0, 0.5); }
.ars__hero > p { color: var(--ink-2); font-size: 1.1rem; }
[data-theme="light"] .ars__hero h2 { text-shadow: none; }
.ars__grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 22px; align-items: start; }
.spec { display: grid; grid-template-columns: 0.8fr 1fr; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--surface); box-shadow: var(--shadow); transform: perspective(1000px) rotateY(calc(var(--tx, 0) * 6deg)) rotateX(calc(var(--ty, 0) * -6deg)); transition: transform 0.5s var(--ease), opacity 0.8s var(--ease); }
.spec__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.spec__body { padding: 24px; }
.spec h3 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; margin-bottom: 16px; }
.spec dl { display: grid; gap: 14px; margin: 0; }
.spec dl div { display: grid; gap: 4px; }
.spec dt { color: var(--ink-3); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.spec dd { margin: 0; font-weight: 700; }
.spec__bar { height: 6px; border-radius: 999px; background: rgba(143, 77, 255, 0.15); overflow: hidden; }
.spec__bar i { display: block; height: 100%; width: var(--p); border-radius: inherit; background: var(--grad-btn); }
.quiz { gap: 14px; display: grid; }
.quiz__title { font-size: 1.5rem; }
.quiz__lead { color: var(--ink-2); margin: 0; }
.quiz__q { margin: 0; padding: 0; border: 0; min-width: 0; }
.quiz__q legend { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; padding: 0; font-weight: 700; }
.quiz__q legend span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--grad-btn); color: #fff; font-size: 13px; flex: none; }
.quiz__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.quiz__opts label { position: relative; cursor: pointer; }
.quiz__opts input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.quiz__opts span { display: inline-flex; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--field); color: var(--ink-2); font-size: 14px; font-weight: 500; transition: background 0.2s, border-color 0.2s, color 0.2s; }
.quiz__opts input:checked + span { background: var(--grad-btn); border-color: transparent; color: #fff; box-shadow: var(--glow); }
.quiz__opts input:focus-visible + span { outline: 2px solid var(--acc); outline-offset: 2px; }
.quiz > .btn { justify-self: start; }
.quiz__out { display: grid; gap: 6px; justify-items: start; padding: 20px; border-radius: var(--r); background: linear-gradient(135deg, rgba(143, 77, 255, 0.25), rgba(79, 157, 255, 0.12)); border: 1px solid var(--line-2); animation: pop 0.4s var(--ease); }
.quiz__out b { font-size: 1.5rem; }
.quiz__out p { margin: 0; color: var(--ink-2); }
.quiz__out small { color: var(--acc-ink); font-weight: 700; }

/* a day in the city */
.day { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 0; margin: 0; list-style: none; counter-reset: d; }
.day__slot { position: relative; overflow: hidden; padding: 26px; border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(160deg, var(--sky-a), transparent 70%), var(--surface); }
.day__slot--0 { --sky-a: rgba(251, 191, 36, 0.22); }
.day__slot--1 { --sky-a: rgba(79, 157, 255, 0.22); }
.day__slot--2 { --sky-a: rgba(52, 211, 153, 0.2); }
.day__slot--3 { --sky-a: rgba(251, 113, 133, 0.22); }
.day__slot--4 { --sky-a: rgba(143, 77, 255, 0.3); }
.day__slot--5 { --sky-a: rgba(51, 72, 214, 0.32); }
.day__emoji { position: absolute; top: 18px; inset-inline-end: 20px; font-size: 54px; line-height: 1; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.4)); transition: transform 0.5s var(--ease); }
.day time { display: inline-block; font-size: 2.2rem; font-weight: 900; line-height: 1; letter-spacing: -0.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; text-align: start; }
.day h3 { font-size: 1.2rem; margin: 14px 0 8px; padding-inline-end: 56px; }
.day p { margin: 0; color: var(--ink-2); }
@media (hover: hover) { .day__slot:hover .day__emoji { transform: translateY(-6px) rotate(-10deg) scale(1.15); } }

/* slang flip cards */
.slang { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 0; margin: 0; list-style: none; }
.slang li { display: grid; }
.flip { position: relative; display: grid; min-height: 200px; padding: 0; border: 0; background: none; color: inherit; text-align: inherit; cursor: pointer; perspective: 900px; }
.flip__face { grid-area: 1 / 1; display: grid; align-content: center; gap: 8px; padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--line); backface-visibility: hidden; -webkit-backface-visibility: hidden; transition: transform 0.7s var(--ease); }
.flip__front { justify-items: center; text-align: center; background: radial-gradient(260px 160px at 50% 0%, rgba(143, 77, 255, 0.3), transparent 70%), var(--surface); }
.flip__front b { font-size: 2.6rem; font-weight: 900; line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.flip__front em { font-style: normal; font-weight: 700; color: var(--ink); }
.flip__front small { color: var(--ink-3); font-size: 12px; }
.flip__back { background: var(--grad-btn); color: #fff; border-color: transparent; transform: rotateY(180deg); box-shadow: var(--glow); }
.flip__back b { font-size: 1.3rem; }
.flip__back span { font-size: 15px; line-height: 1.55; }
.flip[aria-pressed="true"] .flip__front { transform: rotateY(-180deg); }
.flip[aria-pressed="true"] .flip__back { transform: rotateY(0); }
@media (hover: hover) { .flip:hover .flip__front { border-color: var(--line-2); } }

/* shuk price board */
.shuk { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.shuk .sec__head { margin: 0; }
.shuk__note { display: flex; gap: 8px; align-items: flex-start; margin-top: 18px !important; font-size: 14px !important; color: var(--ink-3) !important; }
.shuk__note .ico { color: var(--acc); margin-top: 3px; }
.board { border-radius: var(--r-lg); border: 1px solid var(--line-2); background: #0b0818; color: #f5f2ff; box-shadow: var(--shadow), inset 0 0 60px rgba(143, 77, 255, 0.12); overflow: hidden; font-variant-numeric: tabular-nums; }
.board__top { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid rgba(167, 124, 255, 0.2); font-family: var(--mono); font-size: 13px; color: #9d93c2; }
.board__live { display: inline-flex; align-items: center; gap: 8px; color: #fb7185; font-weight: 700; font-family: var(--font); }
.board__live i { width: 8px; height: 8px; border-radius: 50%; background: #fb7185; box-shadow: 0 0 10px #fb7185; animation: blink 1.4s ease-in-out infinite; }
.board ul { padding: 6px 0; margin: 0; list-style: none; }
.board li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto minmax(76px, auto); align-items: center; gap: 12px; padding: 11px 20px; border-top: 1px solid rgba(167, 124, 255, 0.08); }
.board li:first-child { border-top: 0; }
.board__emoji { font-size: 24px; }
.board__name { font-weight: 600; color: #cbc3e8; }
.board__price { font-family: var(--mono); font-size: 17px; transition: color 0.4s; }
.board__chg { justify-self: end; white-space: nowrap; padding: 3px 8px; border-radius: 8px; font-family: var(--mono); font-size: 12.5px; font-weight: 700; color: #9d93c2; background: rgba(255, 255, 255, 0.06); }
.board li.is-up .board__chg { color: #34d399; background: rgba(52, 211, 153, 0.14); }
.board li.is-down .board__chg { color: #fb7185; background: rgba(251, 113, 133, 0.14); }
.board li.is-up .board__price { color: #34d399; }
.board li.is-down .board__price { color: #fb7185; }

/* story teaser */
.teaser { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(24px, 4vw, 56px); border-radius: 36px; border: 1px solid var(--line-2); background: radial-gradient(600px 400px at 0% 0%, rgba(143, 77, 255, 0.24), transparent 60%), var(--surface); box-shadow: var(--shadow); }
.teaser h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); margin-bottom: 14px; }
.teaser__copy > p { color: var(--ink-2); font-size: 1.08rem; }
.teaser__ch { display: grid; gap: 10px; padding: 0; margin: 22px 0 30px; list-style: none; }
.teaser__ch li { display: flex; align-items: baseline; gap: 12px; font-weight: 600; }
.teaser__ch span { flex: none; min-width: 84px; color: var(--acc-ink); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.teaser__art { position: relative; margin: 0; aspect-ratio: 4 / 4.4; border-radius: 28px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8); }
.teaser__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.teaser__art figcaption { position: absolute; inset: auto 14px 14px; display: grid; gap: 6px; padding: 18px; border-radius: 20px; background: rgba(10, 7, 22, 0.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; font-size: 1.05rem; font-weight: 600; line-height: 1.45; }
.teaser__art small { color: #c9adff; font-size: 13px; }

/* tips */
.tips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 0; margin: 0; list-style: none; }
.tip { position: relative; display: grid; align-content: start; gap: 12px; padding: 24px 22px 22px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(143, 77, 255, 0.12), transparent 60%), var(--surface); rotate: -1.2deg; transition: rotate 0.4s var(--ease), translate 0.4s var(--ease), border-color 0.3s; }
.tip:nth-child(even) { rotate: 1deg; }
.tip::before { content: ""; position: absolute; top: -9px; left: 50%; width: 70px; height: 18px; margin-left: -35px; border-radius: 3px; background: rgba(196, 166, 255, 0.3); backdrop-filter: blur(2px); rotate: -3deg; }
.tip .i3d { width: 56px; height: 56px; padding: 8px; border-radius: 16px; }
.tip p { margin: 0; color: var(--ink); font-size: 15.5px; line-height: 1.6; }
.tip__n { position: absolute; top: 40px; inset-inline-end: 20px; display: grid; place-items: center; min-width: 34px; height: 26px; padding: 0 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-3); font-weight: 800; font-size: 12.5px; }
@media (hover: hover) { .tip:hover { rotate: 0deg; translate: 0 -5px; border-color: var(--line-2); } }

/* story page */
.phero--art { min-height: clamp(320px, 42vw, 480px); display: grid; align-items: end; isolation: isolate; }
.phero__bg { position: absolute; inset: 0; z-index: -1; }
.phero__bg img { width: 100%; height: 100%; object-fit: cover; }
.phero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 70%, transparent) 50%, color-mix(in srgb, var(--bg) 35%, transparent) 100%); }
.chapters { display: grid; gap: clamp(40px, 6vw, 88px); padding: 0; margin: 0; list-style: none; }
.chapter { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.chapter:nth-child(even) .chapter__art { order: 2; }
.chapter__art { position: relative; aspect-ratio: 4 / 3.4; border-radius: 28px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8); transform: perspective(1000px) rotateY(calc(var(--tx, 0) * 8deg)) rotateX(calc(var(--ty, 0) * -8deg)); transition: transform 0.5s var(--ease); }
.chapter__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.chapter__n { position: absolute; top: 14px; inset-inline-start: 18px; font-size: clamp(3rem, 6vw, 4.6rem); font-weight: 900; line-height: 1; color: #fff; text-shadow: 0 10px 30px rgba(0, 0, 0, 0.6); }
.chapter__label { display: inline-block; margin-bottom: 10px; color: var(--acc-ink); font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.chapter h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin-bottom: 16px; }
.chapter p { color: var(--ink-2); font-size: 1.1rem; line-height: 1.8; margin: 0; }
.bigquote { display: grid; justify-items: center; gap: 14px; margin: clamp(56px, 8vw, 110px) 0 0; padding: clamp(32px, 5vw, 64px); text-align: center; border-radius: 36px; border: 1px solid var(--line-2); background: radial-gradient(520px 320px at 50% 0%, rgba(143, 77, 255, 0.4), transparent 70%), var(--surface); }
.bigquote blockquote { margin: 0; max-width: 30ch; }
.bigquote blockquote p { margin: 0; font-size: clamp(1.5rem, 3.2vw, 2.4rem); font-weight: 800; line-height: 1.25; letter-spacing: -0.01em; }
.bigquote figcaption { color: var(--acc-ink); font-weight: 600; }
.bigquote__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 14px; }
[lang="he"] .chapter__label, [lang="he"] .teaser__ch span, [lang="he"] .life__role { letter-spacing: 0.02em; }

/* roadmap */
.road { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.road .sec__head { position: sticky; top: calc(var(--hdr) + 32px); margin: 0; }
.meter { margin-top: 32px; padding: 22px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--surface); }
.meter__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; color: var(--ink-2); font-weight: 600; }
.meter__top b { font-size: 2rem; font-weight: 900; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.meter__bar { height: 12px; border-radius: 999px; background: rgba(143, 77, 255, 0.14); overflow: hidden; }
.meter__bar i { display: block; height: 100%; width: var(--p); border-radius: inherit; background: var(--grad-btn); box-shadow: 0 0 20px rgba(143, 77, 255, 0.7); position: relative; overflow: hidden; transform-origin: left; }
[dir="rtl"] .meter__bar i { transform-origin: right; }
.js .meter__bar i { transform: scaleX(0); transition: transform 1.6s var(--ease); }
.js .meter.is-in .meter__bar i { transform: scaleX(1); }
.meter__bar i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent); animation: sweep 2.8s linear infinite; }
.steps-road { position: relative; display: grid; gap: 14px; padding: 0; margin: 0; list-style: none; }
.steps-road::before { content: ""; position: absolute; inset-inline-start: 21px; top: 24px; bottom: 24px; width: 2px; background: linear-gradient(var(--v-500), rgba(143, 77, 255, 0.1)); }
.milestone { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 20px 22px 20px 0; }
[dir="rtl"] .milestone { padding: 20px 0 20px 22px; }
.milestone > div { padding: 20px 22px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.milestone__dot { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; margin-top: 18px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--bg); color: #fff; }
.milestone.is-done .milestone__dot { border-color: transparent; background: var(--grad-btn); box-shadow: var(--glow); }
.milestone.is-active .milestone__dot { border-color: var(--v-400); }
.milestone.is-active .milestone__dot::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--v-400); box-shadow: 0 0 16px var(--v-400); animation: blink 1.6s ease-in-out infinite; }
.milestone.is-active > div { border-color: var(--line-2); background: linear-gradient(135deg, rgba(143, 77, 255, 0.18), transparent 70%), var(--surface); }
.milestone__st { display: inline-block; margin-bottom: 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.is-done .milestone__st { color: var(--ok); }
.is-active .milestone__st { color: var(--acc-ink); }
.milestone h3 { font-size: 1.2rem; margin-bottom: 4px; }
.milestone p { margin: 0; color: var(--ink-2); }

/* whitelist cta */
.cta-card { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center; padding: clamp(28px, 5vw, 64px); border-radius: 36px; overflow: hidden; background: radial-gradient(600px 400px at 90% 10%, rgba(79, 157, 255, 0.22), transparent 60%), radial-gradient(700px 500px at 10% 100%, rgba(143, 77, 255, 0.3), transparent 60%), var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.cta-card h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); margin-bottom: 14px; }
.cta-card p { color: var(--ink-2); font-size: 1.06rem; }
.ticks { display: grid; gap: 10px; padding: 0; margin: 22px 0 28px; list-style: none; }
.ticks li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.ticks .ico { color: var(--ok); }
.cta-card__art { display: grid; place-items: center; perspective: 1000px; }
.idcard { width: min(100%, 360px); aspect-ratio: 1.58; padding: 20px; border-radius: 22px; display: grid; grid-template-rows: auto 1fr auto; gap: 14px; color: #fff; background: linear-gradient(135deg, #2a1366 0%, #5a12d8 45%, #3348d6 100%); box-shadow: 0 40px 80px -30px rgba(90, 18, 216, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.3); transform: rotateY(-14deg) rotateX(8deg); transition: transform 0.6s var(--ease); position: relative; overflow: hidden; direction: ltr; }
.idcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.28) 48%, rgba(196, 166, 255, 0.2) 52%, transparent 64%); background-size: 260% 100%; animation: holo 6s ease-in-out infinite; }
@keyframes holo { 50% { background-position: 100% 0; } }
.cta-card:hover .idcard { transform: rotateY(-4deg) rotateX(2deg); }
.idcard__head { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 700; letter-spacing: 0.18em; }
.idcard__head img { width: 34px; }
.idcard__body { display: flex; align-items: center; gap: 16px; }
.idcard__photo { display: grid; place-items: center; width: 74px; height: 86px; border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.25); }
.idcard__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; }
.idcard__body div { display: grid; gap: 10px; flex: 1; }
.idcard__body i { display: block; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, 0.28); }
.idcard__body i:nth-child(2) { width: 70%; }
.idcard__body i:nth-child(3) { width: 45%; }
.idcard__foot { display: flex; justify-content: space-between; align-items: center; font-size: 11px; letter-spacing: 0.2em; opacity: 0.9; }
.idcard__foot b { font-family: var(--mono); font-size: 14px; letter-spacing: 0.08em; }

/* products */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.pgrid > div { display: grid; }
.pgrid--store { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.pcard { position: relative; display: flex; flex-direction: column; padding: 26px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease); }
.pcard.is-popular, .pcard.is-best { border-color: transparent; background: linear-gradient(var(--solid), var(--solid)) padding-box, var(--grad) border-box; border: 1.5px solid transparent; box-shadow: var(--glow); }
[data-theme="dark"] .pcard.is-popular, [data-theme="dark"] .pcard.is-best { background: linear-gradient(160deg, #1d1440, #120d26) padding-box, var(--grad) border-box; }
.pcard__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 18px; }
.pcard__cat { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.pcard--vip .pcard__cat { color: var(--acc-ink); }
.pcard--coins .pcard__cat { color: var(--sky); }
[data-theme="light"] .pcard--coins .pcard__cat { color: #2a6fd6; }
.pcard__badge { padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--grad-btn); color: #fff; }
.pcard__badge--value { background: linear-gradient(135deg, #2a6fd6, #4f9dff); }
.pcard__name { font-size: 1.5rem; margin-bottom: 8px; }
.pcard__desc { color: var(--ink-2); margin-bottom: 18px; }
.pcard__perks { display: grid; gap: 9px; padding: 0; margin: 0 0 24px; list-style: none; }
.pcard__perks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.pcard__perks .ico { color: var(--acc); margin-top: 3px; }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.pcard__price { display: grid; line-height: 1.1; }
.pcard__price b { font-size: 1.9rem; font-weight: 900; direction: ltr; text-align: start; }
.pcard__price small { color: var(--ink-3); font-size: 13px; }
@media (hover: hover) { .pcard:hover { transform: translateY(-5px); box-shadow: var(--glow); border-color: var(--line-2); } }
.note { display: flex; align-items: center; gap: 10px; margin: 26px 0 0; padding: 14px 18px; border-radius: var(--r); border: 1px dashed var(--line-2); color: var(--ink-2); font-size: 15px; }
.note .ico { color: var(--acc); }

.tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; margin-bottom: 28px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.tabs button, .tabs a { min-height: 42px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font-weight: 600; font-size: 14.5px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; transition: background 0.2s, color 0.2s; }
.tabs button:hover, .tabs a:hover { color: var(--ink); }
.tabs [aria-selected="true"], .tabs [aria-current="page"] { background: var(--grad-btn); color: #fff; box-shadow: var(--glow); }
.tabs--links { margin: 24px 0 0; }
.paystrip { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 36px; padding: 18px 22px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.paystrip__label { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.paystrip__label .ico { color: var(--ok); }
.paystrip ul { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 0; margin: 0; list-style: none; }
.paystrip li { display: grid; place-items: center; min-width: 56px; height: 36px; padding: 0 10px; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.paystrip__txt { color: #1a1433; font-size: 13px; font-weight: 700; }
.paystrip__vat { margin-inline-start: auto; color: var(--ink-3); font-size: 13px; }

/* news */
.ngrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ngrid > div { display: grid; }
.ncard { position: relative; display: flex; flex-direction: column; padding: 26px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); transition: transform 0.35s var(--ease), border-color 0.35s var(--ease); }
.ncard h3 { font-size: 1.22rem; margin: 14px 0 10px; }
.ncard h3 a { text-decoration: none; }
.ncard h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.ncard p { color: var(--ink-2); font-size: 15px; }
.ncard__meta { display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: 13px; }
.ncard__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; color: var(--acc-ink); font-weight: 600; font-size: 14px; }
@media (hover: hover) { .ncard:hover { transform: translateY(-4px); border-color: var(--line-2); } .ncard:hover .ncard__more .ico { transform: translateX(4px); } [dir="rtl"] .ncard:hover .ncard__more .ico { transform: scaleX(-1) translateX(4px); } }
.ncard__more .ico { transition: transform 0.3s var(--ease); }
.tag { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(143, 77, 255, 0.16); color: var(--acc-ink); }
.tag--dev { background: rgba(79, 157, 255, 0.16); color: var(--sky); }
[data-theme="light"] .tag--dev { color: #2a6fd6; }
.tag--event { background: rgba(251, 191, 36, 0.16); color: var(--warn); }
.tag--community { background: rgba(52, 211, 153, 0.16); color: var(--ok); }
.empty { padding: 40px; text-align: center; color: var(--ink-3); border: 1px dashed var(--line-2); border-radius: var(--r-lg); grid-column: 1 / -1; }

/* join */
.jsteps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 0; margin: 0 0 24px; list-style: none; counter-reset: s; }
.jsteps li { position: relative; padding: 26px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); }
.jsteps__n { display: block; margin-bottom: 18px; font-size: 3rem; font-weight: 900; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.jsteps h3 { font-size: 1.15rem; margin-bottom: 6px; }
.jsteps p { margin: 0; color: var(--ink-2); font-size: 15px; }
.connect { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; padding: 16px 18px 16px 24px; border-radius: 20px; border: 1px solid var(--line-2); background: var(--solid); }
[dir="rtl"] .connect { padding: 16px 24px 16px 18px; }
.connect__label { color: var(--ink-3); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.connect code, .connect__soon { flex: 1; min-width: 200px; font-size: 16px; color: var(--acc-ink); }
.connect__soon { font-weight: 600; }
[lang="he"] .connect__label, [lang="he"] .milestone__st, [lang="he"] .pcard__cat, [lang="he"] .ftr__col h2, [lang="he"] .status__txt small, [lang="he"] .tile__num { letter-spacing: 0.02em; }

/* faq + forms */
.faq { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.acc { display: grid; gap: 10px; }
.acc__item { border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); transition: border-color 0.25s; }
.acc__item[open] { border-color: var(--line-2); }
.acc__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 600; font-size: 1.05rem; cursor: pointer; }
.acc__item summary::-webkit-details-marker { display: none; }
.acc__item summary i { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; background: rgba(143, 77, 255, 0.14); }
.acc__item summary i::before, .acc__item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--acc-ink); transition: transform 0.3s var(--ease); }
.acc__item summary i::after { transform: rotate(90deg); }
.acc__item[open] summary i::after { transform: rotate(0); }
.acc__item p { margin: 0; padding: 0 22px 20px; color: var(--ink-2); }

.form { display: grid; gap: 16px; }
.form__title { font-size: 1.5rem; margin-bottom: 4px; }
.form__lead { color: var(--ink-2); margin: 0 0 6px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-size: 14px; font-weight: 600; color: var(--ink-2); padding: 0; }
.field small { color: var(--ink-3); font-size: 13px; }
.field small output { font-weight: 700; color: var(--acc-ink); }
input:not([type="checkbox"]):not([type="radio"]), select, textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: var(--field);
  color: var(--ink);
  font-size: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
textarea { resize: vertical; min-height: 110px; line-height: 1.55; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23a77cff' stroke-width='2'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-inline-end: 40px; }
[dir="rtl"] select { background-position: left 16px center; }
input::placeholder, textarea::placeholder { color: var(--ink-3); opacity: 0.8; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 4px rgba(143, 77, 255, 0.2); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--err); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--v-500); flex: none; }
.check a { color: var(--acc-ink); }
.form__msg { min-height: 1.4em; margin: 0; font-weight: 600; font-size: 15px; }
.form__msg.is-ok { color: var(--ok); }
.form__msg.is-err { color: var(--err); }
.form.is-busy button[type="submit"] { opacity: 0.7; pointer-events: none; }

.alert { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--surface); margin: 0; }
.alert > div { display: grid; gap: 2px; flex: 1; }
.alert span { color: var(--ink-2); }
.alert--soon { background: linear-gradient(90deg, rgba(143, 77, 255, 0.16), rgba(79, 157, 255, 0.08)); }
.alert--soon > .ico { color: var(--acc); }
.alert--ok { border-color: color-mix(in srgb, var(--ok) 40%, transparent); }
.alert--ok .ico { color: var(--ok); }
.alert--err { border-color: color-mix(in srgb, var(--err) 50%, transparent); color: var(--err); }

/* notify */
.notify__card { position: relative; overflow: hidden; display: grid; justify-items: center; text-align: center; padding: clamp(36px, 6vw, 80px) clamp(20px, 5vw, 80px); border-radius: 40px; border: 1px solid var(--line-2); background: radial-gradient(520px 320px at 50% 0%, rgba(143, 77, 255, 0.42), transparent 70%), radial-gradient(500px 300px at 50% 110%, rgba(79, 157, 255, 0.25), transparent 70%), var(--surface); box-shadow: var(--shadow); }
.notify__gem { width: 84px; margin-bottom: 18px; filter: drop-shadow(0 12px 24px rgba(143, 77, 255, 0.6)); animation: float 6s ease-in-out infinite; }
.notify__card h2 { font-size: clamp(2.1rem, 5vw, 3.8rem); margin-bottom: 14px; }
.notify__card > p { max-width: 54ch; color: var(--ink-2); font-size: 1.08rem; }
.notify__form { display: grid; grid-template-columns: 1fr auto; gap: 10px; width: min(100%, 540px); margin-top: 10px; }
.notify__form input { min-height: 56px; border-radius: 999px; padding-inline: 22px; }
.notify__form .btn { min-height: 56px; }
.notify__form .form__msg { grid-column: 1 / -1; }
.notify__alt { margin-top: 16px; }

/* page hero */
.phero { position: relative; padding: clamp(48px, 8vw, 104px) 0 clamp(20px, 3vw, 32px); overflow: hidden; }
.phero::before { content: ""; position: absolute; inset-inline-end: -10%; top: -60%; width: 680px; height: 680px; border-radius: 50%; background: radial-gradient(circle, rgba(143, 77, 255, 0.26), transparent 65%); z-index: -1; }
.phero h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); font-weight: 900; margin-bottom: 14px; }
.phero__lead { max-width: 60ch; color: var(--ink-2); font-size: 1.12rem; }
.phero .alert { margin-top: 26px; max-width: 760px; }
.phero--sm h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }

/* modal */
.modal { width: min(560px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 30px; background: transparent; color: var(--ink); overflow: visible; }
.modal::backdrop { background: rgba(6, 4, 14, 0.66); backdrop-filter: blur(6px); }
.modal[open] { animation: modalIn 0.35s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(0.98); } }
.modal__card { position: relative; max-height: calc(100dvh - 24px); overflow: auto; padding: clamp(24px, 4vw, 36px); border-radius: 30px; border: 1px solid var(--line-2); background: var(--solid); box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.85); }
.modal__x { position: absolute; top: 16px; inset-inline-end: 16px; }
.modal h2 { font-size: 1.8rem; padding-inline-end: 48px; }
.modal__price { font-size: 2.2rem; font-weight: 900; margin: 0; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; direction: ltr; text-align: start; }
.methods { display: grid; gap: 8px; }
.method { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--field); cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.method input { width: 20px; height: 20px; accent-color: var(--v-500); flex: none; }
.method span { display: grid; }
.method small { color: var(--ink-3); font-size: 13px; }
.method:has(input:checked) { border-color: var(--acc); background: rgba(143, 77, 255, 0.1); }
.modal__secure { display: flex; gap: 8px; align-items: flex-start; margin: 0; color: var(--ink-3); font-size: 13px; }
.modal__secure .ico { color: var(--ok); margin-top: 2px; }

/* rules */
.rules { display: grid; grid-template-columns: 280px 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.rules__side { position: sticky; top: calc(var(--hdr) + 24px); display: grid; gap: 16px; }
.search { position: relative; display: block; }
.search .ico { position: absolute; inset-inline-start: 16px; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.search input { padding-inline-start: 46px !important; }
.rules__toc { display: grid; gap: 2px; padding: 8px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.rules__toc a { padding: 10px 14px; border-radius: 10px; text-decoration: none; color: var(--ink-2); font-weight: 500; }
.rules__toc a:hover, .rules__toc a.is-active { background: rgba(143, 77, 255, 0.14); color: var(--ink); }
.rules__body { display: grid; gap: 22px; }
.rset { padding: clamp(22px, 3vw, 30px); border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); scroll-margin-top: calc(var(--hdr) + 24px); }
.rset h2 { display: flex; align-items: center; gap: 14px; font-size: 1.5rem; margin-bottom: 18px; }
.rset h2 span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad-btn); color: #fff; font-size: 16px; }
.rset ol { display: grid; gap: 4px; padding: 0; margin: 0; list-style: none; }
.rset li { display: grid; grid-template-columns: 44px 1fr; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.rset li:first-child { border-top: 0; }
.rset li b { color: var(--acc-ink); font-variant-numeric: tabular-nums; }
.rset mark { background: rgba(143, 77, 255, 0.35); color: var(--ink); border-radius: 4px; padding: 0 2px; }

/* apply */
.apply { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: clamp(20px, 3vw, 32px); align-items: start; }
.apply__side { display: grid; gap: 16px; position: sticky; top: calc(var(--hdr) + 24px); }
.apply__side .ticks { margin: 0; }

/* article + legal */
.article h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); margin: 18px 0 28px; }
.back { display: inline-flex; margin-bottom: 18px; color: var(--acc-ink); text-decoration: none; font-weight: 600; }
.back:hover { text-decoration: underline; }
.prose { font-size: 1.08rem; color: var(--ink-2); }
.prose p { margin-bottom: 1.2em; }
.legal h2 { font-size: 1.3rem; color: var(--ink); margin: 32px 0 10px; }
.legal h2 span { color: var(--acc-ink); }
.legal h2:first-child { margin-top: 0; }
.legal__contact { display: flex; align-items: center; gap: 10px; margin-top: 32px; }

/* result + 404 */
.result__card { display: grid; justify-items: center; gap: 10px; text-align: center; }
.result__ico { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; margin-bottom: 8px; background: var(--grad-btn); color: #fff; box-shadow: var(--glow); }
.result--failed .result__ico { background: linear-gradient(135deg, #fb7185, #e11d48); box-shadow: none; }
.result--pending .result__ico .ico { animation: spin 2.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.result__card h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.result__card p { color: var(--ink-2); max-width: 48ch; }
.result__meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 6px 0 18px; }
.result__meta div { padding: 10px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--field); }
.result__meta dt { font-size: 12px; color: var(--ink-3); }
.result__meta dd { margin: 0; font-weight: 700; }
.nf { padding: clamp(60px, 10vw, 140px) 0; text-align: center; }
.nf .wrap { display: grid; justify-items: center; }
.nf__gem { width: min(70vw, 320px); margin-bottom: 24px; filter: drop-shadow(0 30px 50px rgba(116, 37, 255, 0.5)); animation: float 6s ease-in-out infinite; }
.nf h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); margin-bottom: 12px; }
.nf p { color: var(--ink-2); margin-bottom: 28px; }

/* footer */
.ftr { margin-top: clamp(16px, 3vw, 40px); border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--bg-2) 90%, transparent)); }
.ftr__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-block: clamp(48px, 6vw, 72px) 36px; }
.ftr__brand img { width: 260px; margin-bottom: 16px; }
.ftr__brand p { color: var(--ink-2); max-width: 36ch; }
.ftr__col { display: grid; align-content: start; gap: 10px; }
.ftr__col h2 { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.ftr__col a, .ftr__link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); text-decoration: none; font-size: 15px; }
.ftr__col a:hover { color: var(--ink); }
.ftr__link .ico { color: var(--acc); }
.social { display: flex; flex-wrap: wrap; gap: 8px; }
.social__a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); transition: color 0.2s, border-color 0.2s, transform 0.2s; }
.social__a:hover { color: var(--ink); border-color: var(--acc); transform: translateY(-2px); }
.ftr__base { display: grid; gap: 8px; padding-block: 24px 36px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13.5px; }
.ftr__base p { margin: 0; }
.ftr__credit a { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 6px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); text-decoration: none; vertical-align: middle; transition: border-color 0.2s; }
[dir="rtl"] .ftr__credit a { padding: 4px 6px 4px 12px; }
.ftr__credit a:hover { border-color: var(--acc); }
.ftr__credit img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.ftr__legal { font-size: 12.5px; opacity: 0.85; }

.toast { position: fixed; inset-inline: 0; bottom: 24px; z-index: 60; width: max-content; max-width: calc(100% - 32px); margin-inline: auto; padding: 12px 20px; border-radius: 999px; background: var(--solid); border: 1px solid var(--line-2); box-shadow: var(--shadow); font-weight: 600; opacity: 0; transform: translateY(16px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); pointer-events: none; }
.toast.is-on { opacity: 1; transform: none; }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease) var(--d, 0ms), transform 0.8s var(--ease) var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.is-paused, .is-paused *, .is-paused *::before, .is-paused *::after { animation-play-state: paused !important; }

/* ---------- admin ---------- */
.adm-body { background: var(--bg); }
.adm-body::before { display: none; }
.adm-login { min-height: 100dvh; display: grid; place-items: center; padding: 20px; }
.adm-login .form { width: min(420px, 100%); justify-items: stretch; }
.adm-login img { width: 64px; }
.adm-login h1 { font-size: 1.8rem; }
.adm { display: grid; grid-template-columns: 250px 1fr; min-height: 100dvh; }
.adm__side { position: sticky; top: 0; height: 100dvh; display: flex; flex-direction: column; gap: 24px; padding: 24px 16px; border-inline-end: 1px solid var(--line); background: var(--bg-2); }
.adm__brand { flex-direction: column; align-items: flex-start; gap: 8px; }
.adm__brand .brand__logo { height: auto; width: 100%; max-width: 200px; }
.adm__side nav { display: grid; gap: 2px; }
.adm__side nav a { display: flex; align-items: center; justify-content: space-between; padding: 11px 14px; border-radius: 12px; color: var(--ink-2); text-decoration: none; font-weight: 500; }
.adm__side nav a:hover { background: var(--surface); color: var(--ink); }
.adm__side nav a[aria-current="page"] { background: var(--grad-btn); color: #fff; }
.adm__badge { min-width: 22px; padding: 2px 7px; border-radius: 999px; background: var(--err); color: #fff; font-size: 12px; font-weight: 700; text-align: center; }
.adm__foot { margin-top: auto; display: flex; gap: 8px; align-items: center; }
.adm__main { padding: clamp(20px, 3vw, 40px); display: grid; gap: 20px; align-content: start; min-width: 0; }
.adm__h { font-size: 2rem; }
.adm-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.adm-stat { display: grid; gap: 4px; padding: 20px; }
.adm-stat span { color: var(--acc); }
.adm-stat b { font-size: 2rem; font-weight: 900; }
.adm-stat small { color: var(--ink-3); }
.adm-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.adm-cols h2, .adm-detail h2, .adm-settings h2, .adm-news h2, .card > h2 { font-size: 1.2rem; margin-bottom: 12px; }
.adm-list { display: grid; padding: 0; margin: 0; list-style: none; }
.adm-list li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.adm-list li:first-child { border-top: 0; }
.adm-list span { color: var(--ink-3); }
.adm-list a { text-decoration: none; font-weight: 600; }
.adm-list small { color: var(--ink-3); font-weight: 400; }
.adm-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; color: var(--ink-2); }
.adm-bar .tabs { margin: 0; }
.adm-table { padding: 0; overflow-x: auto; }
.adm-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.adm-table th, .adm-table td { padding: 12px 16px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: middle; }
.adm-table th { color: var(--ink-3); font-weight: 600; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.adm-table tr:last-child td { border-bottom: 0; }
.adm-table small { color: var(--ink-3); }
.adm-table select, .adm-num { min-height: 38px !important; padding: 6px 10px !important; width: auto !important; min-width: 80px; font-size: 14px !important; }
.adm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.adm-actions form { margin: 0; }
.linkbtn { padding: 0; border: 0; background: none; color: var(--acc-ink); font-weight: 600; font-size: 14px; cursor: pointer; text-decoration: none; }
.linkbtn:hover { text-decoration: underline; }
.st { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: rgba(143, 77, 255, 0.16); color: var(--acc-ink); }
.st--approved, .st--paid { background: rgba(52, 211, 153, 0.16); color: var(--ok); }
.st--rejected, .st--failed { background: rgba(251, 113, 133, 0.16); color: var(--err); }
.st--pending, .st--created { background: rgba(251, 191, 36, 0.16); color: var(--warn); }
.adm-dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin: 0 0 20px; }
.adm-dl dt { font-size: 12px; color: var(--ink-3); }
.adm-dl dd { margin: 0; font-weight: 600; }
.adm-detail h3 { font-size: 1rem; margin: 18px 0 6px; color: var(--ink-3); }
.adm-text { white-space: normal; color: var(--ink-2); }
.adm-inline { margin-top: 20px; }
.adm-msgs { display: grid; gap: 12px; }
.adm-msg header { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 10px; }
.adm-msg header a { color: var(--acc-ink); }
.adm-msg time { margin-inline-start: auto; color: var(--ink-3); font-size: 13px; }
.adm-msg.is-read { opacity: 0.65; }
.adm-lang { display: grid; gap: 12px; padding: 16px; border-radius: var(--r); border: 1px solid var(--line); }
.adm-lang legend { padding: 0 8px; font-weight: 700; color: var(--acc-ink); }
.adm-road { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.check--box { align-self: end; padding: 14px; border-radius: 14px; border: 1px solid var(--line-2); }
.adm-hint { color: var(--ink-3); margin: 0; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .nav + .hdr__act { margin-inline-start: auto; }
  .burger { display: inline-grid; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento .tile--wide:nth-child(5), .bento .tile--wide:nth-child(7) { grid-column: auto; }
  .jsteps { grid-template-columns: repeat(2, 1fr); }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
  .ftr__brand { grid-column: 1 / -1; }
  .map__panel { grid-template-columns: 1fr 1fr; }
  .map__roads { grid-column: 1 / -1; }
  .tips, .day { grid-template-columns: repeat(2, 1fr); }
  .ars__grid, .shuk { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  :root { --hdr: 64px; }
  .hero__grid { grid-template-columns: 1fr; min-height: 0; text-align: start; }
  .hero__stage { min-height: 0; padding-top: 16px; }
  .hero__bg i, [dir="rtl"] .hero__bg i { background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 55%, transparent) 0%, color-mix(in srgb, var(--bg) 82%, transparent) 40%, color-mix(in srgb, var(--bg) 70%, transparent) 70%, var(--bg) 100%); }
  .stack { width: min(88vw, 440px); }
  .status { position: relative; inset: auto; margin: -36px auto 0; max-width: 100%; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .slang { grid-template-columns: repeat(2, 1fr); }
  .road, .faq, .apply, .rules, .cta-card, .teaser, .chapter { grid-template-columns: 1fr; }
  .chapter:nth-child(even) .chapter__art { order: 0; }
  .road .sec__head, .rules__side, .apply__side { position: static; }
  .pgrid, .ngrid { grid-template-columns: 1fr; }
  .pgrid--store { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .sec__head--row { flex-direction: column; align-items: flex-start; }
  .cta-card__art { order: -1; }
  .idcard { width: min(100%, 320px); }
  .adm { grid-template-columns: 1fr; }
  .adm__side { position: static; height: auto; }
  .adm__side nav { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
  .adm-cols, .adm-road { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .wrap, .wrap--narrow { width: calc(100% - 32px); }
  .banner { font-size: 12.5px; padding: 8px 14px; gap: 8px; }
  .banner__text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-align: start; }
  .hdr__cta { display: none; }
  .hdr__in { gap: 10px; }
  .hero__logo { width: min(320px, 86%); margin-bottom: 18px; }
  .stack { width: min(82vw, 400px); margin-inline: auto; }
  .f3d { width: 56px; }
  .f3d--b { left: 1%; bottom: 20%; }
  .f3d--c { right: 1%; top: 46%; }
  .f3d--d { width: 48px; left: 4%; }
  .stat { padding: 18px; }
  .map__stage { margin-inline: -16px; padding: 4px 16px 14px; overflow-x: auto; scrollbar-width: thin; overscroll-behavior-x: contain; }
  .map__plane { width: 680px; transform: none; }
  .map__hint { display: block; }
  .map__st { font-size: 20px; }
  .map__dl { font-size: 17px; }
  .pin { width: 40px; height: 40px; }
  .pin__head img { width: 28px; height: 28px; }
  .map__panel { padding: 18px; grid-template-columns: 1fr; }
  .map__places { grid-template-columns: 1fr 1fr; }
  .lives { grid-auto-columns: 76%; }
  .rail-nav { display: none; }
  .tips, .day { grid-template-columns: 1fr; }
  .spec { grid-template-columns: 1fr; }
  .spec__art { aspect-ratio: 4 / 3; }
  .slang { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .flip { min-height: 220px; }
  .flip__face { padding: 16px; }
  .flip__front b { font-size: 2rem; }
  .flip__back span { font-size: 13.5px; }
  .board li { grid-template-columns: 26px minmax(0, 1fr) auto auto; gap: 8px; padding: 10px 12px; }
  .board__emoji { font-size: 20px; }
  .board__chg { padding: 3px 6px; font-size: 11.5px; }
  .board__name { font-size: 14px; }
  .board__price { font-size: 15px; }
  .lang summary > span:not(.flag) { display: none; }
  .lang summary { padding: 0; width: 44px; justify-content: center; }
  .hero { padding-top: calc(var(--hdr) + 16px); }
  .status { padding: 10px 14px; gap: 10px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .bento, .jsteps { grid-template-columns: 1fr; }
  .tile--wide { grid-column: auto; }
  .form__row { grid-template-columns: 1fr; }
  .notify__form { grid-template-columns: 1fr; }
  .ftr__grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .paystrip__vat { margin-inline-start: 0; }
  .milestone { grid-template-columns: 36px 1fr; gap: 12px; padding-inline-end: 0 !important; }
  .milestone__dot { width: 36px; height: 36px; }
  .steps-road::before { inset-inline-start: 17px; }
  .tabs { display: flex; width: 100%; }
  .tabs button, .tabs a { flex: 1; justify-content: center; padding: 0 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .meter__bar i { transform: none; }
}
@media print {
  .banner, .hdr, .ftr, .hero__stage, .ticker { display: none; }
  body { background: #fff; color: #000; }
}
