@font-face {
  font-family: Kozhir Sans;
  src: url(arabic-regular.woff) format("woff");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Kozhir Sans;
  src: url(arabic-bold.woff) format("woff");
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --ice: #f3fff9;
  --mint: #9efbde;
  --muted: #9cb7bd;
  --hairline: rgba(154, 219, 214, .20);
  background: #060c12;
  color: var(--ice);
  font-family: "Kozhir Sans", "Noto Sans Arabic", Tahoma, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; }
button { font: inherit; }
.shell {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 28px clamp(22px, 5vw, 86px) 24px;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 79%, #0f3036, transparent 65%), #060c12;
}
.sky, .landscape, .vignette, .map-art, .scan {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.sky {
  z-index: -4;
  background:
    radial-gradient(ellipse at 50% 62%, #225c5766, transparent 39%),
    repeating-linear-gradient(90deg, #9bd9dc08 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, #9bd9dc07 0 1px, transparent 1px 72px);
  mask-image: linear-gradient(transparent, black 43%, black 82%, transparent);
}
.landscape { z-index: -3; }
.vignette {
  z-index: -2;
  background:
    linear-gradient(0deg, #060c12 1%, #060c12e0 6%, transparent 25%),
    radial-gradient(ellipse at 50% 37%, #060c12 0%, #060c12ce 18%, #060c1230 39%, transparent 54%);
}
.map-art { z-index: -1; }
.scan {
  z-index: -1;
  opacity: .16;
  background: repeating-linear-gradient(0deg, transparent 0 3px, #8bd9d119 4px);
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
header {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--hairline);
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { width: 42px; height: 42px; }
.brand b { font-size: 1.32rem; line-height: 1.45; }
.latin {
  font: 500 .85rem/1.4 system-ui, sans-serif;
  letter-spacing: .10em;
  unicode-bidi: isolate;
  color: var(--muted);
}
main {
  display: grid;
  place-items: start center;
  padding: clamp(38px, 6.5vh, 98px) 0 clamp(140px, 20vh, 245px);
  text-align: center;
}
.intro { position: relative; width: min(100%, 920px); }
.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 4px 14px 5px;
  border: 1px solid #7df9d34d;
  border-radius: 100px;
  color: var(--mint);
  background: #1126209c;
  font-size: .9rem;
  line-height: 1.7;
}
.status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 11px #6affa8;
  animation: signal 3s ease-in-out infinite;
}
h1 {
  margin: 15px 0 0;
  font-weight: 700;
  line-height: 1.32;
  font-size: clamp(4.85rem, min(13vw, 16vh), 9.5rem);
  color: #f0fff7;
  text-shadow: 0 10px 90px #6bf8d63b, 0 2px 14px #020806;
}
h1 span { display: block; }
h1 .message {
  font-size: clamp(1.32rem, 3.5vw, 3rem);
  line-height: 1.65;
  color: var(--mint);
  text-shadow: 0 0 35px #6af9d743;
}
.tagline {
  margin: 12px auto 0;
  color: #d0ece5;
  font-size: clamp(.96rem, 2.1vw, 1.3rem);
  line-height: 1.9;
  text-shadow: 0 2px 18px #020907, 0 0 35px #102c2b;
}
.accent {
  display: block;
  margin: 25px auto 0;
  width: 77px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #a7ffe6, transparent);
  box-shadow: 0 0 25px #76fedf70;
}
.intro > * { animation: appear .85s cubic-bezier(.2,.75,.22,1) both; }
.intro h1 { animation-delay: .12s; }
.intro .tagline { animation-delay: .28s; }
.intro .accent { animation-delay: .4s; }
footer {
  border-top: 1px solid var(--hairline);
  padding-top: 14px;
}
.motion {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: #061018a8;
  width: 44px;
  height: 44px;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.motion:hover { background: #163533; border-color: #77d6c1a5; }
.motion:focus-visible { outline: 2px solid var(--mint); outline-offset: 5px; }
.motion[hidden] { display: none; }
.motion-icon {
  width: 11px;
  height: 11px;
  border-inline: 2px solid var(--mint);
}
.paused .motion-icon {
  border: 0;
  background: var(--mint);
  clip-path: polygon(15% 0, 100% 50%, 15% 100%);
}
.paused .status i { animation-play-state: paused; }
.paused .intro > * { animation: none; }
.signature {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: .88rem;
}
.signature i {
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  border: 1px solid #72b6ad;
}
@keyframes signal {
  50% { box-shadow: 0 0 17px #6affa8; opacity: .58; }
}
@keyframes appear {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 620px) {
  .shell { padding: 18px 20px 16px; }
  header { padding-bottom: 14px; }
  .brand img { width: 38px; height: 38px; }
  main { padding-top: clamp(54px, 11vh, 115px); }
  h1 { margin-top: 22px; }
  .accent { margin-top: 18px; }
}
@media (max-height: 620px) and (min-width: 621px) {
  main { padding-top: 29px; padding-bottom: 145px; }
  h1 { font-size: clamp(4.6rem, 15vh, 7.2rem); }
  h1 .message { font-size: clamp(1.55rem, 6vh, 2.25rem); }
}
@media (prefers-reduced-motion: reduce) {
  .intro > *, .status i { animation: none; }
  .motion { transition: none; }
}

.opening {
  position: fixed;
  inset: 0;
  z-index: 10;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 47%, #123030 0%, #091720 36%, transparent 74%),
    #050a11;
}
.opening[hidden] { display: none; }
.opening canvas { width: 100%; height: 100%; display: block; }
.opening-progress {
  position: absolute;
  bottom: clamp(34px, 9vh, 90px);
  left: 50%;
  width: min(138px, 31vw);
  height: 2px;
  background: #a0e9dc26;
  transform: translateX(-50%);
}
.opening-progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: #affce9;
  transform: scaleX(0);
  transform-origin: right;
  box-shadow: 0 0 15px #7ff7daad;
}
