:root {
  --night: #0a0c12;
  --ink: #12151e;
  --ink-2: #1a1e2a;
  --line: rgba(232, 201, 138, 0.16);
  --sand: #e8c98a;
  --gold: #d6a24a;
  --dune: #c98a4b;
  --teal: #45d6cf;
  --cream: #f6ecd9;
  --muted: #b7ab95;
  --radius: 18px;
  --max: 1160px;
  --head: "Cinzel", Georgia, serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}
html[lang="ar"] {
  --head: "Cairo", sans-serif;
  --body: "Cairo", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }

/* top bar */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 40px);
  transition: background .3s, backdrop-filter .3s;
}
.bar.solid { background: rgba(10, 12, 18, .82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 700; letter-spacing: .06em; }
.brand img { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--gold); }
.brand small { color: var(--gold); font-family: var(--body); font-weight: 600; letter-spacing: .02em; }
.bar nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.bar nav a.lnk { color: var(--muted); }
.bar nav a.lnk:hover { color: var(--cream); }
.lang {
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px;
  font-weight: 600; font-size: 14px; color: var(--sand);
}
.lang:hover { border-color: var(--gold); }

/* intro: the video, front and centre */
.intro {
  position: relative; height: 100svh; min-height: 520px; overflow: hidden;
  display: grid; place-items: center; background: #000;
}
.intro .blur {
  position: absolute; inset: -40px; background: center / cover no-repeat;
  filter: blur(28px) brightness(.45); transform: scale(1.1);
}
.intro video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-aspect-ratio: 5/4) { .intro video { object-fit: contain; } }
.intro::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,12,18,.55) 0%, transparent 18%, transparent 70%, var(--night) 100%);
}
.intro-ui {
  position: absolute; z-index: 2; inset: auto clamp(16px, 4vw, 40px) clamp(20px, 4vh, 40px);
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
@media (max-aspect-ratio: 5/4) { .intro-ui { flex-direction: column; justify-content: flex-end; } }
.intro-ui .row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 15px;
  background: rgba(10,12,18,.6); border: 1px solid var(--line); color: var(--cream);
  backdrop-filter: blur(8px); cursor: pointer; font-family: var(--body);
}
.chip:hover { border-color: var(--gold); }
.chip svg { width: 18px; height: 18px; }
.enter {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px; font-weight: 700; letter-spacing: .04em;
  background: linear-gradient(135deg, var(--sand), var(--gold)); color: #1b1305;
  box-shadow: 0 10px 40px rgba(214, 162, 74, .35); border: 0; cursor: pointer; font-family: var(--body); font-size: 16px;
}
.enter.pulse { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 10px 60px rgba(214,162,74,.7); transform: translateY(-2px); } }
.progress { position: absolute; z-index: 2; inset: auto 0 0 0; height: 3px; background: rgba(255,255,255,.08); }
.progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--teal)); }

/* sections */
section { padding: clamp(72px, 11vw, 130px) 0; position: relative; }
.eyebrow { color: var(--teal); font-weight: 700; letter-spacing: .18em; text-transform: uppercase; font-size: 13px; margin: 0 0 12px; }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 15px; }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; margin: 0 0 18px; font-weight: 700; }
h2 { font-size: clamp(32px, 5vw, 54px); }
h2 em { font-style: normal; color: var(--sand); }
h3 { font-size: 21px; }
p { margin: 0 0 16px; color: #e4dac6; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--cream); }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.shot { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.pillar { background: var(--ink); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.pillar b { display: block; font-family: var(--head); color: var(--sand); font-size: 19px; margin-bottom: 4px; }
.pillar span { color: var(--muted); font-size: 15px; line-height: 1.5; display: block; }

/* live strip */
.live { padding: 28px 0 0; z-index: 3; }
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(180deg, var(--ink-2), var(--ink)); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.stat { padding: 22px 24px; border-inline-end: 1px solid var(--line); }
.stat:last-child { border-inline-end: 0; }
.stat small { display: block; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
html[lang="ar"] .stat small { letter-spacing: 0; font-size: 14px; }
.stat strong { display: block; font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; margin-top: 4px; font-variant-numeric: tabular-nums; }
.curve { height: 8px; border-radius: 99px; background: rgba(255,255,255,.08); margin-top: 10px; overflow: hidden; }
.curve i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--gold), var(--teal)); transition: width 1.2s ease; }
.live-note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 10px; }
.live-note .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); margin-inline-end: 6px; animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* tokenomics */
.toko { background: radial-gradient(1200px 500px at 50% 0%, rgba(214,162,74,.10), transparent 70%); }
.head-c { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.supply {
  text-align: center; margin: 0 auto 34px; padding: 30px 20px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--ink); max-width: 760px;
}
.supply small { color: var(--muted); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; }
html[lang="ar"] .supply small { letter-spacing: 0; font-size: 15px; }
.supply strong { display: block; font-family: var(--head); font-size: clamp(36px, 7vw, 72px); color: var(--sand); line-height: 1.1; margin: 6px 0; direction: ltr; }
.supply span { color: var(--muted); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(214,162,74,.12); color: var(--gold); margin-bottom: 14px; }
.card .ico svg { width: 22px; height: 22px; }
.card p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* journey */
.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.leg { background: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.leg img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.leg .in { padding: 20px; flex: 1; }
.leg .n { color: var(--teal); font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
html[lang="ar"] .leg .n { letter-spacing: 0; font-size: 14px; }
html[lang="ar"] .leg.now .n::after { content: "الآن"; }
.leg h3 { margin: 6px 0 8px; }
.leg p { color: var(--muted); font-size: 15px; margin: 0; }
.leg.now { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; }
.leg.now .n::after { content: "Now"; margin-inline-start: 8px; background: var(--gold); color: #1b1305; padding: 2px 8px; border-radius: 99px; letter-spacing: 0; }

/* buy */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 30px; }
.step { padding: 22px; border-radius: var(--radius); border: 1px dashed var(--line); }
.step b { font-family: var(--head); color: var(--gold); font-size: 30px; display: block; line-height: 1; margin-bottom: 10px; }
.step p { margin: 0; color: #e4dac6; font-size: 15.5px; }
.ca {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: var(--ink); border: 1px solid var(--gold); border-radius: var(--radius); padding: 16px 18px;
}
.ca label { color: var(--gold); font-weight: 700; font-size: 14px; }
.ca code {
  flex: 1; min-width: 0; direction: ltr; text-align: left; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: clamp(12px, 1.6vw, 16px); color: var(--cream); overflow-wrap: anywhere;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; cursor: pointer; border: 1px solid var(--line);
  background: var(--ink-2); color: var(--cream); font-family: var(--body);
}
.btn:hover { border-color: var(--gold); }
.btn.gold { background: linear-gradient(135deg, var(--sand), var(--gold)); color: #1b1305; border: 0; }
.btn svg { width: 18px; height: 18px; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

/* community */
.together { text-align: center; overflow: hidden; }
.together .bg { position: absolute; inset: 0; background: center / cover no-repeat; opacity: .28; }
.together .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--night), transparent 30%, transparent 70%, var(--night)); }
.together .wrap { position: relative; }
.together h2 { font-size: clamp(36px, 6.5vw, 76px); }
.together .btns { justify-content: center; }

footer { border-top: 1px solid var(--line); padding: 34px 0 44px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: center; }
footer a:hover { color: var(--cream); }

/* reveal */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.rv.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .enter.pulse, .live-note .dot { animation: none; } }

@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .journey, .steps { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-inline-end: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .bar nav a.lnk { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .pillars, .grid3, .journey, .steps { grid-template-columns: 1fr; }
  .stat { padding: 16px; }
  .brand small { display: none; }
  .ca .btn { width: 100%; }
}
.nav-buy { padding: 7px 16px; font-size: 14px; }
.inl { color: var(--sand); text-decoration: underline; text-underline-offset: 3px; }
.inl:hover { color: var(--gold); }
.based { display: inline-flex; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--gold); overflow: hidden; flex: none; transition: box-shadow .2s, transform .2s; }
.based img { width: 100%; height: 100%; object-fit: cover; }
.based:hover { box-shadow: 0 0 18px rgba(214,162,74,.55); transform: translateY(-1px); }
.btns { align-items: center; }
.xlogo { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #000; color: #fff; border: 2px solid var(--gold); flex: none; transition: box-shadow .2s; }
.xlogo svg { width: 16px; height: 16px; }
.xlogo:hover { box-shadow: 0 0 14px rgba(214,162,74,.55); }

/* floating buy dock */
.dock {
  position: fixed; z-index: 40; left: 50%; bottom: max(16px, env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 8px; padding: 7px;
  background: rgba(18, 21, 30, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(214, 162, 74, .35); border-radius: 999px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .55);
  transform: translate(-50%, 160%); opacity: 0; transition: transform .4s ease, opacity .4s ease;
}
.dock.show { transform: translate(-50%, 0); opacity: 1; }
.dock .btn { padding: 11px 22px; white-space: nowrap; }
.dock .based { width: 42px; height: 42px; }
.dk {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px;
  font-weight: 700; font-size: 14.5px; color: var(--cream); border: 1px solid var(--line); white-space: nowrap;
}
.dk:hover { border-color: var(--gold); }
.dk svg { width: 17px; height: 17px; color: var(--sand); }
.ca-x { font-size: 14px; font-weight: 600; }
footer { padding-bottom: 110px; }
@media (max-width: 600px) {
  .dock { gap: 6px; padding: 6px; }
  .dock .btn { padding: 11px 18px; }
  .dk { width: 42px; padding: 0; justify-content: center; }
  .dk span { display: none; }
  .ca-x { width: 100%; text-align: center; }
}

html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] .pillar b { font-weight: 800; line-height: 1.35; }
.dock .xlogo { width: 42px; height: 42px; } .dock .xlogo svg { width: 18px; height: 18px; }

.chartbox { margin-top: 18px; background: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.chartbar { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--ink-2), var(--ink)); font-size: 13px; color: var(--muted); }
.chartbar a { color: var(--sand); text-decoration: none; font-weight: 700; }
.chartbar .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); margin-inline-end: 8px; animation: blink 2s infinite; }
.chartbox iframe { display: block; width: 100%; height: 440px; border: 0; background: var(--night); }
@media (max-width: 640px) { .chartbox iframe { height: 340px; } }
.bondline { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.bondline .curve { flex: 1; margin: 0; }
.bondline strong { color: var(--sand); min-width: 48px; text-align: end; }

html[lang="zh"] { --head: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif; --body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; }
.langs { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.langs .lang { padding: 5px 11px; font-size: 13px; }
