:root {
  --bg: #050402;
  --bg-2: #0e0a05;
  --panel: rgba(22, 16, 8, .78);
  --panel-soft: rgba(255, 255, 255, .045);
  --line: rgba(220, 171, 75, .24);
  --line-strong: rgba(242, 207, 127, .52);
  --gold: #d2a44b;
  --gold-2: #f2cf7f;
  --text: #f8edd5;
  --muted: #bba983;
  --danger: #e0a46f;
  --radius: 8px;
  --shadow: 0 28px 80px rgba(0, 0, 0, .45);
  color-scheme: dark;
  font-family: Tahoma, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 8%, rgba(210, 164, 75, .15), transparent 34rem),
    radial-gradient(circle at 86% 72%, rgba(124, 82, 28, .22), transparent 34rem),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 46%, #050402 100%);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  background-image:
    linear-gradient(90deg, rgba(242, 207, 127, .28) 1px, transparent 1px),
    linear-gradient(0deg, rgba(242, 207, 127, .18) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9), rgba(0,0,0,.22) 62%, transparent);
}

a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { width: min(1140px, calc(100% - 40px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 4, 2, .86);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 30px rgba(210, 164, 75, .18);
}

.brand strong {
  display: block;
  color: var(--gold-2);
  font-weight: 900;
  line-height: 1.1;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: .76rem;
  line-height: 1.25;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
}

nav a,
.lang button,
.icon-button {
  border: 0;
  background: transparent;
  color: #eadfc6;
  text-decoration: none;
  font: inherit;
  font-size: .9rem;
  padding: 8px 9px;
  border-radius: 6px;
  cursor: pointer;
}

nav a:hover,
.lang button:hover,
.icon-button:hover {
  background: rgba(210, 164, 75, .14);
  color: var(--gold-2);
}

.nav-actions { display: flex; align-items: center; gap: 10px; min-width: 0; }
.lang { display: flex; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.045); }
.lang button.active { background: linear-gradient(145deg, var(--gold-2), var(--gold)); color: #140d04; font-weight: 900; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 10px 15px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

.btn.primary {
  background: linear-gradient(145deg, var(--gold-2), var(--gold) 55%, #b9812f);
  color: #120d05;
  box-shadow: 0 16px 42px rgba(210, 164, 75, .2);
}

.btn.ghost { border-color: var(--line-strong); background: rgba(255,255,255,.045); color: var(--text); }
.btn.dark { background: #120d06; border-color: var(--line); color: var(--text); }

main { position: relative; z-index: 1; }

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(5,4,2,.98));
}

.hero-grid {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 52px;
  align-items: center;
  padding: 58px 0 78px;
  position: relative;
  z-index: 2;
}

.kicker {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 6px 10px;
  color: var(--gold-2);
  background: rgba(210, 164, 75, .08);
  font-weight: 900;
  font-size: .86rem;
  max-width: 100%;
  white-space: normal;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  margin: 18px 0 14px;
  color: #fff6df;
  font-size: clamp(2.15rem, 5vw, 4.3rem);
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

h2 {
  margin-bottom: 0;
  color: #fff3d8;
  font-size: clamp(1.6rem, 3vw, 2.65rem);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  color: #fff4d8;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.gold-text { color: var(--gold-2); text-shadow: 0 0 28px rgba(210, 164, 75, .18); }
.title-line { display: block; }
.latin-title { direction: ltr; unicode-bidi: isolate; }
.lead {
  max-width: 720px;
  color: #dfcfad;
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  margin-bottom: 25px;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.trust-row {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 700px;
}

.trust {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  background: rgba(255,255,255,.04);
  color: var(--muted);
  min-height: 78px;
  font-size: .92rem;
}

.trust strong { display: block; color: var(--gold-2); font-size: 1.02rem; line-height: 1.2; margin-bottom: 4px; }

.emblem-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 480px;
}

.emblem-stage:before,
.emblem-stage:after {
  content: "";
  position: absolute;
  border: 1px solid rgba(242, 207, 127, .2);
  border-radius: 50%;
}

.emblem-stage:before { width: 103%; aspect-ratio: 1; max-width: 540px; background: radial-gradient(circle, rgba(210,164,75,.13), transparent 58%); }
.emblem-stage:after { width: 75%; aspect-ratio: 1; max-width: 420px; border-style: dashed; opacity: .65; }

.emblem {
  position: relative;
  z-index: 2;
  width: min(410px, 82vw);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: #050402;
  box-shadow: 0 40px 95px rgba(0,0,0,.52), 0 0 78px rgba(210,164,75,.18), inset 0 0 55px rgba(210,164,75,.07);
  overflow: hidden;
}

.emblem img { width: 100%; height: 100%; object-fit: cover; }

section { padding: 76px 0; border-bottom: 1px solid rgba(210, 164, 75, .12); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 25px; }
.section-head p { color: var(--muted); max-width: 540px; margin-bottom: 0; }

.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.two-col { display: grid; grid-template-columns: .95fr 1.05fr; gap: 18px; align-items: start; }

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025)), var(--panel);
  padding: 21px;
  box-shadow: 0 18px 55px rgba(0,0,0,.18);
}

.card p, .card li { color: var(--muted); font-size: .98rem; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }

.buy-panel { display: grid; grid-template-columns: .92fr 1.08fr; gap: 18px; align-items: stretch; }
.contract-box { display: grid; gap: 14px; }

.address {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: rgba(0,0,0,.23);
  direction: ltr;
  overflow-wrap: anywhere;
  font-family: Consolas, Monaco, monospace;
  font-size: .86rem;
  color: #f4dfad;
}

.copy {
  border: 0;
  border-radius: 6px;
  background: var(--gold);
  color: #100b04;
  font-weight: 900;
  min-height: 34px;
  padding: 6px 10px;
  cursor: pointer;
}

.notice {
  border-inline-start: 4px solid var(--gold);
  background: rgba(210,164,75,.09);
  color: #f5ddaa;
  padding: 13px 14px;
  border-radius: var(--radius);
  font-size: .95rem;
}

.danger { border-color: rgba(224,164,111,.35); background: rgba(224,164,111,.08); color: #f2d0b5; }

.steps { counter-reset: step; display: grid; gap: 12px; }
.step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: start;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
}

.step:before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold-2), var(--gold));
  color: #120d05;
  font-weight: 900;
}

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fact {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.035);
  padding: 15px;
  min-height: 106px;
}
.fact span { display: block; color: var(--muted); font-size: .88rem; margin-bottom: 7px; }
.fact strong { color: var(--gold-2); font-size: 1.02rem; overflow-wrap: anywhere; }
.ltr { direction: ltr; unicode-bidi: isolate; font-family: Consolas, Monaco, monospace; font-size: .9rem; }

.roadmap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.road { border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); padding: 17px; background: rgba(255,255,255,.04); min-height: 170px; }
.road small { display: block; color: var(--gold-2); font-weight: 900; margin-bottom: 8px; }

.legal-page { padding-top: 56px; }
.legal-shell {
  max-width: 960px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
  padding: 28px;
}
.legal-shell h1 { font-size: clamp(2rem, 4vw, 3.3rem); margin-top: 0; }
.legal-shell h2 { font-size: 1.35rem; margin-top: 28px; margin-bottom: 12px; }
.legal-shell p, .legal-shell li { color: #dfcfad; font-size: .98rem; }
.legal-shell ul { padding-inline-start: 24px; }

.social-strip { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.social-icon {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: var(--gold);
  text-decoration: none;
  border: 1px solid transparent;
  background: rgba(255,255,255,.02);
}
.social-icon:hover { color: var(--gold-2); border-color: var(--line); background: rgba(210,164,75,.08); }
.social-icon svg { width: 27px; height: 27px; fill: currentColor; }

footer { padding: 36px 0; color: var(--muted); background: #030302; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); }
.footer-links { display: flex; gap: 12px; flex-wrap: wrap; font-size: .92rem; }
.footer-links a { color: #d7c79f; text-decoration: none; }
.footer-links a:hover { color: var(--gold-2); }

.cookie-banner {
  position: fixed;
  inset: auto 18px 18px 18px;
  z-index: 70;
  display: none;
  max-width: 760px;
  margin-inline: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(10, 7, 3, .95);
  box-shadow: var(--shadow);
  padding: 16px;
  gap: 16px;
  align-items: center;
}
.cookie-banner.show { display: flex; }
.cookie-banner p { margin: 0; color: #dfcfad; font-size: .93rem; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; min-width: max-content; }

[data-lang="en"] { display: none; }
html[lang="en"] { direction: ltr; }
html[lang="en"] [data-lang="ar"] { display: none; }
html[lang="en"] [data-lang="en"] { display: initial; }
html[lang="en"] h1[data-lang="en"],
html[lang="en"] h2[data-lang="en"],
html[lang="en"] h3[data-lang="en"],
html[lang="en"] p[data-lang="en"],
html[lang="en"] span[data-lang="en"],
html[lang="en"] small[data-lang="en"],
html[lang="en"] li[data-lang="en"],
html[lang="en"] summary[data-lang="en"] { display: block; }
html[lang="en"] nav[data-lang="en"],
html[lang="en"] .hero-actions[data-lang="en"],
html[lang="en"] .button-row[data-lang="en"] { display: flex; }

@media (max-width: 980px) {
  .nav { min-height: auto; padding: 13px 0; align-items: flex-start; flex-direction: column; }
  .nav-actions { width: 100%; justify-content: space-between; }
  nav { justify-content: flex-start; }
  .hero-grid, .buy-panel, .two-col { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; padding-top: 44px; }
  .emblem-stage { min-height: 410px; }
  .grid, .roadmap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .wrap { width: min(100% - 30px, 1140px); }
  section { padding: 54px 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 10px; }
  .grid, .roadmap, .facts, .trust-row { grid-template-columns: 1fr; }
  .nav { overflow: hidden; }
  .brand { width: 100%; justify-content: center; text-align: center; }
  nav { display: none; }
  .nav-actions { flex-wrap: wrap; width: 100%; }
  .lang { flex: 1; }
  .lang button { flex: 1; }
  .nav-actions .btn, .hero-actions .btn, .button-row .btn { width: 100%; }
  .address { grid-template-columns: 1fr; }
  h1 {
    font-size: clamp(1.55rem, 8vw, 2rem);
    line-height: 1.18;
  }
  .hero { text-align: center; }
  .hero-actions { justify-content: center; }
  .trust-row { text-align: center; }
  .lead { font-size: .98rem; }
  .hero-grid { padding-top: 34px; }
  .kicker { font-size: .78rem; }
  .emblem-stage { min-height: 330px; }
  .cookie-banner { align-items: stretch; flex-direction: column; }
  .cookie-actions .btn { flex: 1; }
}
