/* AYNOO home — "one universe": deep space, each service a world with its own colour */
:root {
  --bg: #07080c;
  --bg2: #0c0e15;
  --card: #11141d;
  --line: rgba(255, 255, 255, .08);
  --line2: rgba(255, 255, 255, .15);
  --text: #eef0f6;
  --muted: #99a1b3;
  --violet: #9b8cff;
  --gold: #f5b301;
  --green: #3df5a0;
  --amber: #ff9a3c;
  --blue: #4cc3ff;
  --wrap: 1200px;
  --display: 'Sora', system-ui, sans-serif;
  --body: 'Geist', system-ui, sans-serif;
  color-scheme: dark;
}
.is-ar { --display: 'Alexandria', 'IBM Plex Sans Arabic', system-ui, sans-serif; --body: 'IBM Plex Sans Arabic', system-ui, sans-serif; }
.hm-c-violet { --c: var(--violet); }
.hm-c-gold { --c: var(--gold); }
.hm-c-green { --c: var(--green); }
.hm-c-amber { --c: var(--amber); }
.hm-c-blue { --c: var(--blue); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.hm { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.65 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -.025em; line-height: 1.08; }
.is-ar h1, .is-ar h2, .is-ar h3 { letter-spacing: 0; line-height: 1.3; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 8px; }
.hm-wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.hm-skip { position: absolute; top: -60px; inset-inline-start: 12px; z-index: 100; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 10px; }
.hm-skip:focus { top: 12px; }

/* star field (drawn by home.js) */
.hm-stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

/* buttons */
.hm-btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 22px; border-radius: 14px; font: 600 15px/1 var(--body); white-space: nowrap; transition: transform .2s, background .2s, box-shadow .2s, border-color .2s; }
.hm-btn--main { background: var(--c, var(--text)); color: #07080c; box-shadow: 0 10px 30px -12px var(--c, rgba(255, 255, 255, .5)); }
.hm-btn--main:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -14px var(--c, rgba(255, 255, 255, .6)); }
.hm-btn--ghost { border: 1px solid var(--line2); color: var(--text); background: rgba(255, 255, 255, .02); }
.hm-btn--ghost:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .28); }
.hm-nav .hm-btn { height: 38px; padding: 0 16px; font-size: 14px; border-radius: 11px; }

/* nav */
.hm-nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.hm-nav.is-scrolled { background: rgba(7, 8, 12, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.hm-nav__in { height: 68px; display: flex; align-items: center; gap: 28px; }
.hm-brand { display: flex; align-items: center; gap: 10px; font: 800 19px/1 'Sora', sans-serif; letter-spacing: .06em; }
.hm-brand img { width: 34px; height: 34px; border-radius: 10px; }
.hm-links { display: flex; gap: 4px; }
.hm-links a { padding: 8px 12px; border-radius: 10px; color: var(--muted); font-size: 14.5px; font-weight: 500; transition: color .2s, background .2s; }
.hm-links a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.hm-nav__end { margin-inline-start: auto; display: flex; gap: 10px; align-items: center; }
.hm-lang { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; border: 1px solid var(--line2); color: var(--muted); font: 600 13px/1 var(--body); }
.hm-lang:hover { color: var(--text); }

/* ================= hero ================= */
.hm-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 100px 0 70px; overflow: hidden; }
.hm-hero__in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.hm-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 7px 14px; border-radius: 99px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .03); color: var(--muted); font-size: 13.5px; font-weight: 500; }
.hm-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(61, 245, 160, .6); animation: hm-pulse 2.2s infinite; display: inline-block; }
.hm-dot.is-off { background: #ff6b6b; animation: none; }
@keyframes hm-pulse { 70% { box-shadow: 0 0 0 10px rgba(61, 245, 160, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 245, 160, 0); } }
.hm-title { font-size: clamp(44px, 7.4vw, 96px); font-weight: 800; }
.hm-line { display: block; }
.hm-grad { background: linear-gradient(100deg, var(--violet), var(--blue) 35%, var(--green) 65%, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: hm-shine 9s linear infinite; padding-bottom: .06em; }
@keyframes hm-shine { to { background-position: -200% 0; } }
.hm-sub { margin: 22px 0 32px; max-width: 540px; color: var(--muted); font-size: clamp(16px, 1.7vw, 19px); }
.hm-num-inline { color: var(--text); font-family: var(--display); font-weight: 700; font-variant-numeric: tabular-nums; }
.hm-cta { display: flex; gap: 10px; flex-wrap: wrap; }

/* orbit */
.hm-orbit { position: relative; width: min(560px, 100%); aspect-ratio: 1; margin-inline: auto; will-change: transform; }
.hm-orbit__glow { position: absolute; inset: 18%; border-radius: 50%; background: radial-gradient(circle, rgba(155, 140, 255, .35), rgba(76, 195, 255, .12) 45%, transparent 70%); filter: blur(30px); }
.hm-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .08); }
.hm-ring--1 { inset: 30%; }
.hm-ring--2 { inset: 6%; border-style: dashed; border-color: rgba(255, 255, 255, .1); }
.hm-ring--3 { inset: -6%; border-color: rgba(255, 255, 255, .04); }
.hm-core { position: absolute; inset: 36%; border-radius: 30%; display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, #1d2133, #0b0d14); border: 1px solid var(--line2); box-shadow: 0 30px 80px -30px rgba(155, 140, 255, .7), inset 0 1px 0 rgba(255, 255, 255, .08); }
.hm-core img { width: 72%; height: 72%; object-fit: contain; }
.hm-spin { position: absolute; inset: 0; }
.hm-planet { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--a)) translate(0, calc(-1 * var(--rr, 220px))) rotate(calc(-1 * var(--a))); }
.hm-planet__in { position: absolute; left: -38px; top: -38px; width: 76px; height: 76px; border-radius: 24px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 14%, #0d1018); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); color: var(--c); box-shadow: 0 0 40px -8px color-mix(in srgb, var(--c) 60%, transparent); }
.hm-planet__in img { width: 54px; height: 54px; object-fit: contain; border-radius: 14px; }
.hm-scroll { position: absolute; bottom: 26px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid var(--line2); }
.hm-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--text); animation: hm-wheel 1.8s infinite; }
@keyframes hm-wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ================= live numbers ================= */
.hm-live { padding: 40px 0 70px; }
.hm-eyebrow { text-align: center; color: var(--muted); font-size: 14px; letter-spacing: .04em; margin: 0 0 22px; }
.hm-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.hm-stat { padding: 26px 24px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01)); }
.hm-stat b { display: block; font: 800 clamp(34px, 4.2vw, 52px)/1.05 'Sora', sans-serif; font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.hm-stat span { color: var(--muted); font-size: 14.5px; }

/* ================= worlds ================= */
.hm-worlds { padding: 50px 0 40px; }
.hm-h2 { font-size: clamp(32px, 5vw, 60px); font-weight: 800; text-align: center; margin-bottom: 20px; }
.hm-lead { text-align: center; color: var(--muted); margin: -6px auto 34px; max-width: 560px; }
.hm-world { position: relative; padding: 90px 0; }
.hm-world::before { content: ""; position: absolute; inset: 10% 0; z-index: -1; pointer-events: none; background: radial-gradient(520px 340px at 75% 50%, color-mix(in srgb, var(--c) 16%, transparent), transparent 70%); }
.hm-world--flip::before { background: radial-gradient(520px 340px at 25% 50%, color-mix(in srgb, var(--c) 16%, transparent), transparent 70%); }
.is-ar .hm-world::before { transform: scaleX(-1); }
.hm-world__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; }
.hm-world--flip .hm-world__copy { order: 2; }
.hm-tag { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 6px 12px 6px 8px; border-radius: 99px; background: color-mix(in srgb, var(--c) 12%, transparent); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); color: var(--c); font-weight: 600; font-size: 14px; }
.is-ar .hm-tag { padding: 6px 8px 6px 12px; }
.hm-tag img { width: 22px; height: 22px; border-radius: 6px; object-fit: contain; }
.hm-world h3 { font-size: clamp(30px, 4vw, 50px); font-weight: 800; }
.hm-world__copy > p:not(.hm-tag) { color: var(--muted); font-size: 17px; margin: 18px 0 22px; max-width: 520px; }
.hm-facts { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.hm-facts li { display: flex; align-items: baseline; gap: 7px; padding: 10px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); color: var(--muted); font-size: 14px; }
.hm-facts b { color: var(--text); font: 700 20px/1 'Sora', sans-serif; font-variant-numeric: tabular-nums; }
.hm-world__art { position: relative; will-change: transform; }

/* aynoo cards */
.hm-stack { position: relative; aspect-ratio: 5 / 4; }
.hm-stack img { position: absolute; width: 82%; border-radius: 18px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .06); }
.hm-stack__a { top: 0; inset-inline-start: 0; transform: rotate(-4deg); }
.hm-stack__b { bottom: 0; inset-inline-end: 0; transform: rotate(3deg); }

/* bankbot pieces */
.hm-casino { position: relative; aspect-ratio: 1; max-width: 480px; margin-inline: auto; }
.hm-casino::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(245, 179, 1, .25), transparent 65%); }
.hm-casino__wheel { position: absolute; inset: 10%; width: 80%; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .7)); }
.hm-casino__coin { position: absolute; width: 30%; top: 0; inset-inline-end: 2%; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .7)); }
.hm-casino__die { position: absolute; width: 26%; bottom: 4%; inset-inline-start: 4%; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .7)); }

/* freegames offer */
.hm-offer { display: block; max-width: 520px; margin-inline: auto; border-radius: 24px; overflow: hidden; background: var(--card); border: 1px solid color-mix(in srgb, var(--c) 30%, var(--line)); box-shadow: 0 40px 90px -40px color-mix(in srgb, var(--c) 50%, #000); transition: transform .3s; }
.hm-offer:hover { transform: translateY(-4px); }
.hm-offer__img { display: block; aspect-ratio: 460 / 215; overflow: hidden; }
.hm-offer__img img { width: 100%; height: 100%; object-fit: cover; }
.hm-offer__body { display: grid; gap: 6px; padding: 18px 22px 22px; }
.hm-offer__kick { color: var(--c); font-size: 13.5px; font-weight: 600; }
.hm-timer { color: #ffcf5c; font-variant-numeric: tabular-nums; }
.hm-offer__title { font: 700 24px/1.2 var(--display); }
.hm-offer__price { display: flex; align-items: baseline; gap: 10px; }
.hm-offer__price s { color: var(--muted); }
.hm-offer__price b { color: var(--c); font: 800 24px/1 var(--display); }
.hm-offer--empty { display: grid; place-items: center; padding: 60px; }
.hm-offer--empty img { border-radius: 26px; }

/* ark radar */
.hm-radar { position: relative; border-radius: 26px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--c) 30%, var(--line)); aspect-ratio: 16 / 10; background: #0b0a08; }
.hm-radar img { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.hm-radar__sweep { position: absolute; inset: -50%; background: conic-gradient(from 0deg, transparent 0 300deg, color-mix(in srgb, var(--c) 45%, transparent) 360deg); animation: hm-sweep 5s linear infinite; mix-blend-mode: screen; }
@keyframes hm-sweep { to { transform: rotate(360deg); } }
.hm-radar__badge { position: absolute; bottom: 14px; inset-inline-start: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 99px; background: rgba(0, 0, 0, .6); backdrop-filter: blur(8px); font-size: 13.5px; font-weight: 600; }

/* realty iso city */
.hm-iso { display: grid; grid-template-columns: repeat(3, 70px); gap: 10px; transform: rotateX(58deg) rotateZ(-45deg); width: max-content; margin: 70px auto; transform-style: preserve-3d; }
.hm-iso__b { width: 70px; height: 70px; position: relative; border-radius: 6px; background: color-mix(in srgb, var(--c) 18%, #0e1420); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); transform-style: preserve-3d; }
.hm-iso__b::after { content: ""; position: absolute; inset: 8px; border-radius: 4px; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 85%, #fff), color-mix(in srgb, var(--c) 45%, #000)); transform: translateZ(calc(var(--h) * 9px)); box-shadow: 0 0 30px -6px var(--c); transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.hm-iso:hover .hm-iso__b::after { transform: translateZ(calc(var(--h) * 12px)); }

/* team */
.hm-team { padding: 80px 0 40px; }

/* final */
.hm-final { padding: 60px 0 100px; }
.hm-final__in { text-align: center; padding: 56px 24px; border-radius: 32px; border: 1px solid var(--line); background: radial-gradient(600px 260px at 50% 0%, rgba(155, 140, 255, .18), transparent 70%), var(--bg2); }
.hm-final h2 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 800; margin-bottom: 30px; }
.hm-final__bots { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hm-bot { display: inline-flex; align-items: center; gap: 12px; padding: 12px 22px 12px 14px; border-radius: 18px; border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); background: color-mix(in srgb, var(--c) 9%, transparent); font: 700 17px/1 var(--display); transition: transform .2s, background .2s; }
.is-ar .hm-bot { padding: 12px 14px 12px 22px; }
.hm-bot:hover { transform: translateY(-3px); background: color-mix(in srgb, var(--c) 18%, transparent); }
.hm-bot img { width: 40px; height: 40px; border-radius: 12px; object-fit: contain; }
.hm-support { display: inline-block; margin-top: 22px; color: var(--muted); font-size: 14.5px; }
.hm-support:hover { color: var(--text); }

/* footer */
.hm-foot { border-top: 1px solid var(--line); padding: 26px 0 36px; color: var(--muted); font-size: 14px; }
.hm-foot__in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.hm-foot p { margin: 0; }
.hm-foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.hm-foot a:hover { color: var(--text); }

/* reveal: content is visible by default; JS only adds the entrance */
.hm-js [data-in] { opacity: 0; transform: translateY(26px); }
.hm-js [data-in].is-in { opacity: 1; transform: none; transition: opacity .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), transform .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }

/* responsive */
@media (max-width: 980px) {
  .hm-hero__in { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .hm-sub { margin-inline: auto; }
  .hm-cta { justify-content: center; }
  .hm-hero__copy .hm-cta { justify-content: center; }
  .hm-orbit { width: min(420px, 92%); order: -1; margin-top: 10px; }
  .hm-world { padding: 60px 0; }
  .hm-world__in { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .hm-world--flip .hm-world__copy { order: 0; }
  .hm-world__copy { text-align: center; }
  .hm-world__copy > p:not(.hm-tag) { margin-inline: auto; }
  .hm-facts { justify-content: center; }
}
@media (max-width: 720px) {
  .hm-links { display: none; }
  .hm-hero { padding-top: 84px; }
  .hm-planet__in { width: 58px; height: 58px; left: -29px; top: -29px; border-radius: 18px; }
  .hm-planet__in img { width: 40px; height: 40px; }
  .hm-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hm-stat { padding: 18px 16px; border-radius: 18px; }
  .hm-iso { grid-template-columns: repeat(3, 52px); }
  .hm-iso__b { width: 52px; height: 52px; }
  .hm-final__in { padding: 40px 16px; }
  .hm-bot { flex: 1 1 100%; justify-content: center; }
  .hm-scroll { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hm-js [data-in] { opacity: 1; transform: none; }
}
