@font-face {
  font-family: "Noto Sans Arabic";
  src: url("fonts/IRANYekanXVF.woff") format("woff");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #090b15;
  --text: #f5f5fc;
  --muted: #b6b7cb;
  --accent: #a5f3e7;
  --pointer-x: 0px;
  --pointer-y: 0px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--background);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Noto Sans Arabic", Tahoma, "Segoe UI", Arial, sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  isolation: isolate;
}

::selection { background: #a5f3e7; color: #090b15; }

.scene {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 47%, #111528 0%, transparent 65%),
    var(--background);
}

.scene__light {
  position: absolute;
  inset: -12%;
  opacity: .8;
  background:
    radial-gradient(ellipse at 28% 36%, #7742bd30 0%, transparent 34%),
    radial-gradient(ellipse at 74% 61%, #24bdbd20 0%, transparent 32%);
  transform: translate(var(--pointer-x), var(--pointer-y));
}

.scene__glow {
  position: absolute;
  inset: 12% 8%;
  opacity: .65;
  background: radial-gradient(ellipse at center, #7772e51b, transparent 65%);
  animation: breathe 14s ease-in-out infinite alternate;
}

.scene::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image: radial-gradient(#a7aecb 0.65px, transparent 0.65px);
  background-size: 38px 38px;
  mask-image: radial-gradient(ellipse at center, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 70%);
}

.landing {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 64px 24px;
  padding-block-start: max(64px, env(safe-area-inset-top));
  padding-block-end: max(64px, env(safe-area-inset-bottom));
  padding-inline-start: max(24px, env(safe-area-inset-right));
  padding-inline-end: max(24px, env(safe-area-inset-left));
}

.hero {
  width: 100%;
  max-width: 1120px;
  min-width: 0;
  text-align: center;
}

.sale-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 100%;
  margin: 0 0 clamp(-18px, -1vw, -4px);
  color: #b6bfd4;
  font-size: clamp(.8125rem, 1.2vw, .9375rem);
  font-weight: 400;
  line-height: 1.9;
}

.sale-note span { min-width: 0; }
.sale-note strong { color: var(--accent); font-weight: 600; }

.sale-note::before,
.sale-note::after {
  content: "";
  width: clamp(16px, 3vw, 34px);
  height: 1px;
  flex: 0 1 34px;
  background: linear-gradient(90deg, transparent, #a5f3e780);
}

.sale-note::before { transform: scaleX(-1); }

.domain-wrap { position: relative; isolation: isolate; }

.domain {
  position: relative;
  margin: 0;
  direction: ltr;
  unicode-bidi: isolate;
  white-space: nowrap;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: min(clamp(3.75rem, 15vw, 11.25rem), 19vw);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.065em;
  color: #f3f1ff;
  text-shadow: 0 0 70px #baacff14;
}

.domain__dot { color: #98e3da; }
.domain__suffix { color: #b6b3d6; }

.orbit {
  position: absolute;
  z-index: -1;
  inset-inline: 0;
  top: 15%;
  width: 100%;
  height: 142%;
  overflow: visible;
  pointer-events: none;
  opacity: .7;
}

.headline {
  margin: clamp(32px, 4vw, 48px) 0 12px;
  font-size: clamp(1.125rem, 2.2vw, 1.65rem);
  font-weight: 600;
  line-height: 1.9;
  text-wrap: balance;
}

.description {
  max-width: 480px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(.875rem, 1.3vw, .9375rem);
  line-height: 2.1;
  text-wrap: pretty;
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-block-start: 32px;
}

a { -webkit-tap-highlight-color: #a5f3e733; }

.purchase {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 100%;
  min-height: 58px;
  padding: 14px 26px;
  border: 1px solid #cefff080;
  border-radius: 14px;
  background: linear-gradient(110deg, #a9ece3, #c3f8ec);
  box-shadow: 0 6px 30px #7ae3d214, inset 0 1px 0 #ffffff66;
  color: #102e31;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.9;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.purchase svg { width: 22px; height: 22px; flex: 0 0 22px; }
.purchase span { min-width: 0; }

.telegram-id {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 4px 12px;
  border-radius: 8px;
  color: #bec7dd;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: .9375rem;
  line-height: 1.8;
  letter-spacing: .025em;
  direction: ltr;
  unicode-bidi: isolate;
  text-decoration: underline;
  text-decoration-color: #bec7dd55;
  text-underline-offset: 5px;
  transition: color .2s ease;
}

a:focus-visible {
  outline: 3px solid #c2b5ff;
  outline-offset: 6px;
}

.purchase:active { transform: translateY(1px); }

@media (hover: hover) and (pointer: fine) {
  .purchase:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px #7ae3d22b, inset 0 1px 0 #ffffff88;
  }
  .telegram-id:hover { color: #e1fff8; }
}

.reveal { animation: enter .8s ease-out both; }
.identity.reveal { animation-delay: .04s; }
.copy.reveal { animation-delay: .16s; }
.contact.reveal { animation-delay: .24s; }
body.is-away .scene__glow { animation-play-state: paused; }

@keyframes enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes breathe {
  from { opacity: .45; transform: translate(-2%, 1%) scale(.98); }
  to { opacity: .85; transform: translate(2%, -2%) scale(1.06); }
}

@media (max-width: 480px) {
  .landing {
    padding-block-start: max(48px, env(safe-area-inset-top));
    padding-block-end: max(48px, env(safe-area-inset-bottom));
  }
  .sale-note { gap: 8px; }
  .purchase { padding-inline: 18px; font-size: .875rem; gap: 10px; }
  .contact { gap: 14px; }
  .orbit { top: 28%; height: 130%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .scene__light { transform: none; }
  .purchase:hover, .purchase:active { transform: none; }
}

@media (forced-colors: active) {
  .scene, .orbit { display: none; }
  .purchase { border: 1px solid ButtonText; }
  .sale-note::before, .sale-note::after { background: CanvasText; }
  .domain, .domain__dot, .domain__suffix { color: CanvasText; }
  a:focus-visible { outline-color: Highlight; }
}
