:root {
  color-scheme: dark;
  --gold: #d8af58;
  --deep: #08090d;
  --blue: #163d72;
  --sand: #c9a968;
  --ink: #f7efd9;
  --muted: #cdbf9d;
  --stone: #2c2925;
  --panel: rgba(12, 12, 14, .78);
  font-family: Inter, "Segoe UI", Tahoma, Arial, sans-serif;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: radial-gradient(circle at 50% 0%, #1b2130 0, var(--deep) 48%, #020203 100%);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
  font-size: clamp(.95rem, .9rem + .2vw, 1.08rem);
}
[dir="rtl"] body, [dir="rtl"] input, [dir="rtl"] textarea, [dir="rtl"] button { font-family: Tahoma, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
.opening-scene {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background: #000;
  overflow: hidden;
  animation: sceneExit 1.2s ease 3.8s forwards;
}
.opening-scene p {
  position: relative;
  z-index: 3;
  margin-top: 40vh;
  color: #f7dc8a;
  font-size: clamp(2.3rem, 9vw, 8rem);
  font-weight: 900;
  text-shadow: 0 0 2rem rgba(216,175,88,.9);
  opacity: 0;
  animation: royalReveal 2s ease 1.8s forwards;
}
.opening-dust {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(247,220,138,.8) 0 .08rem, transparent .1rem),
    radial-gradient(circle, rgba(216,175,88,.55) 0 .06rem, transparent .08rem);
  background-size: 3.2rem 3.2rem, 5rem 5rem;
  opacity: 0;
  transform: scale(1.25);
  animation: dustWake 3.6s ease forwards;
}
.stone-gate {
  position: absolute;
  inset: 8vh max(8vw, 1rem);
  perspective: 80rem;
  display: flex;
  justify-content: center;
  filter: drop-shadow(0 0 3rem rgba(216,175,88,.18));
}
.gate-slab {
  width: min(28rem, 44vw);
  height: min(70vh, 44rem);
  align-self: center;
  background:
    repeating-linear-gradient(90deg, transparent 0 1.7rem, rgba(255,255,255,.035) 1.75rem 1.82rem),
    linear-gradient(135deg, #14110e, #4d3c26 46%, #17130f);
  border: .08rem solid rgba(216,175,88,.22);
}
.gate-left {
  border-radius: 45% 0 0 .5rem;
  transform-origin: left center;
  animation: openLeft 2.6s cubic-bezier(.2,.8,.2,1) .9s forwards;
}
.gate-right {
  border-radius: 0 45% .5rem 0;
  transform-origin: right center;
  animation: openRight 2.6s cubic-bezier(.2,.8,.2,1) .9s forwards;
}
.experience-controls {
  position: fixed;
  z-index: 50;
  inset: auto clamp(.75rem, 2vw, 1.5rem) clamp(.75rem, 2vw, 1.5rem) auto;
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.control-button {
  border: .06rem solid rgba(216,175,88,.35);
  border-radius: .5rem;
  background: rgba(5,5,6,.74);
  color: var(--ink);
  min-height: 2.65rem;
  padding: .65rem .85rem;
  font: inherit;
  font-weight: 800;
  backdrop-filter: blur(.6rem);
  cursor: pointer;
}
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: 4.5rem;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1rem, 4vw, 3.5rem);
  background: linear-gradient(180deg, rgba(0,0,0,.72), rgba(0,0,0,0));
}
.brand {
  color: var(--gold);
  font-weight: 800;
  font-size: clamp(1rem, .9rem + .45vw, 1.25rem);
  display: inline-flex;
  align-items: center;
  gap: .65rem;
}
.brand img {
  width: clamp(2rem, 3vw, 2.8rem);
  height: clamp(2rem, 3vw, 2.8rem);
  object-fit: contain;
  border-radius: .55rem;
  filter: drop-shadow(0 0 .8rem rgba(216,175,88,.35));
}
.brand-monogram {
  width: clamp(2rem, 3vw, 2.8rem);
  height: clamp(2rem, 3vw, 2.8rem);
  display: grid;
  place-items: center;
  border-radius: .55rem;
  background: linear-gradient(135deg, #f7dc8a, #9a6a18);
  color: #1b1306;
  font-weight: 900;
  box-shadow: 0 0 1rem rgba(216,175,88,.24);
}
.language-switch { display: flex; gap: .5rem; }
.language-switch a {
  min-width: 2.625rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(216,175,88,.35);
  border-radius: .5rem;
  color: var(--muted);
}
.language-switch a.active, .language-switch a:hover { background: var(--gold); color: #171006; }
.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  place-items: center;
  padding: clamp(6rem, 10vh, 8rem) clamp(1rem, 3vw, 2rem) clamp(4rem, 8vh, 6rem);
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,9,13,.8), rgba(8,9,13,.25), rgba(8,9,13,.8)),
    repeating-linear-gradient(90deg, transparent 0 58px, rgba(216,175,88,.06) 60px 62px);
}
.pyramid-experience {
  perspective: 90rem;
  transform-style: preserve-3d;
}
.cinematic-room {
  position: relative;
  isolation: isolate;
}
.cinematic-room::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(circle at 50% var(--light-y, 45%), rgba(216,175,88,.14), transparent 34rem);
  opacity: var(--room-glow, .9);
}
.room-label {
  position: absolute;
  z-index: 5;
  top: clamp(5rem, 10vh, 7rem);
  inset-inline-start: clamp(1rem, 4vw, 3.5rem);
  color: rgba(247,220,138,.72);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(.72rem, .66rem + .22vw, .92rem);
  letter-spacing: .12em;
}
.hero-content {
  position: relative;
  z-index: 4;
  width: min(900px, 100%);
  text-align: center;
  animation: rise .9s ease-out both;
}
.domain-logo-mark {
  width: clamp(4rem, 10vw, 7rem);
  height: clamp(4rem, 10vw, 7rem);
  object-fit: contain;
  margin: 0 auto 1rem;
  display: block;
  filter: drop-shadow(0 0 1.5rem rgba(216,175,88,.5));
}
.logo-fallback {
  display: grid;
  place-items: center;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(247,220,138,.95), rgba(154,106,24,.92));
  color: #1b1306;
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 900;
}
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 7vw, 6.5rem); line-height: 1.02; margin: 16px 0; letter-spacing: 0; }
.summary { font-size: clamp(1.05rem, 2vw, 1.4rem); color: var(--muted); max-width: 760px; margin: 0 auto 28px; }
.hero-actions { display: flex; gap: 18px; justify-content: center; align-items: center; flex-wrap: wrap; }
.button {
  border: 0;
  border-radius: 8px;
  padding: 14px 22px;
  font-weight: 800;
  cursor: pointer;
}
.button.primary {
  color: #1b1306;
  background: linear-gradient(135deg, #f7dc8a, var(--gold));
  box-shadow: 0 12px 36px rgba(216,175,88,.25);
}
.price { color: #fff; border-bottom: 1px solid var(--gold); padding-bottom: 6px; }
.pyramid-door {
  position: absolute;
  z-index: 2;
  top: 14%;
  width: min(31vw, 26rem);
  height: min(68vh, 44rem);
  background: linear-gradient(135deg, #171109, #4e3b18 48%, #121012);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  opacity: .78;
  filter: drop-shadow(0 0 32px rgba(216,175,88,.15));
  animation: doorOpen 2.4s cubic-bezier(.2,.8,.2,1) both;
}
.pyramid-door.left { left: 11vw; transform-origin: left bottom; }
.pyramid-door.right { right: 11vw; transform-origin: right bottom; animation-name: doorOpenRight; }
.torch {
  position: absolute;
  z-index: 3;
  bottom: 18%;
  width: 1.1rem;
  height: 5.6rem;
  background: #4c2d14;
}
.torch::before {
  content: "";
  position: absolute;
  top: -2.75rem;
  left: 50%;
  width: 2.9rem;
  height: 3.6rem;
  transform: translateX(-50%);
  border-radius: 50% 50% 44% 44%;
  background: radial-gradient(circle, #fff3a3 0 12%, #f49d22 38%, #b63516 72%, transparent 73%);
  animation: flame .18s infinite alternate;
}
.torch-a { left: 17vw; }
.torch-b { right: 17vw; }
.sand {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 30;
  opacity: .18;
  background-image: radial-gradient(circle, rgba(242,220,161,.55) 1px, transparent 1px);
  background-size: 2.375rem 2.375rem;
  animation: drift 18s linear infinite;
}
.corridor {
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(216,175,88,.16), transparent 25rem),
    linear-gradient(90deg, #080807, #191410 38%, #050505 50%, #191410 62%, #080807);
}
.corridor::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.86), transparent 28%, transparent 72%, rgba(0,0,0,.86)),
    repeating-linear-gradient(0deg, transparent 0 4.4rem, rgba(216,175,88,.06) 4.45rem 4.52rem);
}
.corridor-wall {
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(34vw, 28rem);
  display: grid;
  place-items: center;
  color: rgba(216,175,88,.26);
  font-size: clamp(2.4rem, 6vw, 5rem);
  writing-mode: vertical-rl;
  transform-style: preserve-3d;
}
.corridor-wall span { animation: glyphFloat 14s linear infinite; }
.wall-left { left: 0; transform: rotateY(48deg) translateX(-8%); background: linear-gradient(90deg, #11100e, transparent); }
.wall-right { right: 0; transform: rotateY(-48deg) translateX(8%); background: linear-gradient(270deg, #11100e, transparent); }
.corridor-core {
  position: relative;
  z-index: 2;
  width: min(46rem, calc(100% - 2rem));
  text-align: center;
  padding: clamp(1.25rem, 4vw, 3rem);
  border: .06rem solid rgba(216,175,88,.24);
  border-radius: .5rem;
  background: rgba(0,0,0,.42);
  backdrop-filter: blur(.5rem);
}
.corridor-core h2 {
  color: var(--gold);
  font-size: clamp(2rem, 6vw, 5rem);
  margin: .5rem 0;
}
.corridor-core p { color: var(--muted); line-height: 1.8; }
.corridor-torch { bottom: 18%; z-index: 3; }
.torch-left { left: clamp(1.5rem, 10vw, 11rem); }
.torch-right { right: clamp(1.5rem, 10vw, 11rem); }
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(.75rem, 2vw, 1.25rem);
  padding: clamp(4rem, 8vw, 8rem) clamp(1rem, 4vw, 4rem);
  background:
    radial-gradient(circle at 50% 0, rgba(216,175,88,.16), transparent 30rem),
    #08090d;
}
.content-grid article {
  padding: clamp(1.25rem, 4vw, 3.5rem);
  background: linear-gradient(180deg, rgba(26,23,18,.92), rgba(9,10,13,.92));
  border: .06rem solid rgba(216,175,88,.2);
  border-radius: .5rem;
  min-height: 17.5rem;
  box-shadow: 0 1rem 3rem rgba(0,0,0,.28);
}
.content-grid h2, .lead-section h2 { color: var(--gold); font-size: clamp(1.35rem, 2.4vw, 2rem); }
.content-grid p { color: var(--muted); line-height: 1.8; }
.lead-section { padding: clamp(3rem, 8vw, 7rem) clamp(1rem, 4vw, 3rem); background: radial-gradient(circle at 50% 0, rgba(216,175,88,.18), transparent 32rem), #06070a; }
.builder-section, .media-section { padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 4vw, 3rem); background: #0d0f15; border-top: 1px solid rgba(216,175,88,.18); }
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.stats-row span { border: 1px solid rgba(216,175,88,.28); border-radius: 8px; padding: 18px; color: var(--gold); font-weight: 800; text-align: center; }
.video-frame { aspect-ratio: 16 / 9; background: #000; border: 1px solid rgba(216,175,88,.28); border-radius: 8px; overflow: hidden; }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.maintenance { min-height: 100vh; display: grid; place-content: center; text-align: center; padding: 24px; }
.form-shell { width: min(61rem, 100%); margin: auto; padding: clamp(1.25rem, 4vw, 2.5rem); border: .06rem solid rgba(216,175,88,.22); border-radius: .5rem; background: rgba(7,7,9,.72); backdrop-filter: blur(.5rem); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.85rem, 2vw, 1.125rem); }
label { display: grid; gap: .5rem; color: var(--muted); margin-bottom: 1.125rem; }
input, textarea {
  width: 100%;
  border: 1px solid rgba(216,175,88,.26);
  background: #11141c;
  color: #fff;
  border-radius: .5rem;
  padding: .85rem .9rem;
  font: inherit;
  min-height: 3rem;
}
.hp { position: fixed; width: .0625rem; height: .0625rem; opacity: 0; pointer-events: none; inset: auto auto 0 0; }
.alert { padding: 14px 16px; border-radius: 8px; margin-bottom: 20px; }
.alert.success { background: rgba(64,166,95,.16); color: #a9efbd; }
.alert.error { background: rgba(198,66,66,.16); color: #ffc2c2; }

@keyframes rise { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
@keyframes flame { from { transform: translateX(-50%) scale(.92) rotate(-3deg); } to { transform: translateX(-50%) scale(1.1) rotate(4deg); } }
@keyframes drift { from { transform: translate3d(0,0,0); } to { transform: translate3d(-38px,38px,0); } }
@keyframes doorOpen { from { transform: rotateY(0); } to { transform: rotateY(-20deg) translateX(-4vw); } }
@keyframes doorOpenRight { from { transform: rotateY(0); } to { transform: rotateY(20deg) translateX(4vw); } }
@keyframes dustWake { 0% { opacity: 0; transform: translate3d(0,8%,0) scale(1.08); } 45% { opacity: .28; } 100% { opacity: .12; transform: translate3d(-4%, -4%, 0) scale(1); } }
@keyframes openLeft { from { transform: rotateY(0); } to { transform: rotateY(-72deg) translateX(-8vw); } }
@keyframes openRight { from { transform: rotateY(0); } to { transform: rotateY(72deg) translateX(8vw); } }
@keyframes royalReveal { from { opacity: 0; transform: translateY(1rem) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes sceneExit { to { opacity: 0; visibility: hidden; pointer-events: none; } }
@keyframes glyphFloat { from { transform: translateY(18%); } to { transform: translateY(-18%); } }

@media (max-width: 64rem) {
  .corridor-wall { width: 30vw; opacity: .75; }
  .content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 48rem) {
  body {
    background:
      radial-gradient(circle at 50% 10%, rgba(216,175,88,.2), transparent 18rem),
      linear-gradient(180deg, #050507, #11100d 42%, #050506);
  }
  .opening-scene p {
    margin-top: 30vh;
    font-size: clamp(2.1rem, 11vw, 3.6rem);
  }
  .stone-gate {
    inset: 11vh .75rem 14vh;
  }
  .gate-slab {
    width: 46vw;
    height: 58vh;
  }
  .topbar {
    height: auto;
    padding: .9rem 1rem 0;
    flex-direction: column-reverse;
    align-items: center;
    gap: .55rem;
    background: linear-gradient(180deg, rgba(0,0,0,.86), rgba(0,0,0,.18), transparent);
  }
  .brand {
    font-size: 1.05rem;
    text-shadow: 0 0 1rem rgba(216,175,88,.7);
  }
  .brand img {
    width: 2.25rem;
    height: 2.25rem;
  }
  .language-switch {
    padding: .28rem;
    border: .06rem solid rgba(216,175,88,.18);
    border-radius: .7rem;
    background: rgba(0,0,0,.46);
    backdrop-filter: blur(.5rem);
  }
  .language-switch a {
    min-width: 2.65rem;
    height: 2.35rem;
    font-size: .86rem;
  }
  .room-label {
    top: 5.9rem;
    inset-inline: 0;
    text-align: center;
  }
  .hero {
    min-height: 100svh;
    align-items: center;
    padding: 8.2rem 1rem 7.4rem;
  }
  .hero::before {
    background:
      radial-gradient(ellipse at 50% 42%, rgba(216,175,88,.18), transparent 18rem),
      linear-gradient(180deg, rgba(3,3,5,.62), rgba(4,4,5,.12) 42%, rgba(3,3,5,.86)),
      repeating-linear-gradient(90deg, transparent 0 3.1rem, rgba(216,175,88,.055) 3.14rem 3.2rem);
  }
  .hero-content {
    width: min(100%, 27rem);
    padding: 1.2rem 1rem 1rem;
    border: .06rem solid rgba(216,175,88,.24);
    border-radius: .85rem;
    background:
      linear-gradient(180deg, rgba(8,8,10,.38), rgba(8,8,10,.74)),
      radial-gradient(circle at 50% 0, rgba(216,175,88,.13), transparent 14rem);
    box-shadow: 0 1.3rem 3rem rgba(0,0,0,.38), inset 0 0 2rem rgba(216,175,88,.08);
    backdrop-filter: blur(.18rem);
  }
  .eyebrow {
    margin: 0 0 .55rem;
    font-size: .78rem;
    letter-spacing: .16em;
  }
  .domain-logo-mark {
    width: 4.4rem;
    height: 4.4rem;
    margin-bottom: .65rem;
  }
  h1 {
    font-size: clamp(2rem, 10.4vw, 3.15rem);
    line-height: 1.08;
    margin: .45rem 0 .8rem;
    text-shadow: 0 .35rem 1.1rem rgba(0,0,0,.68);
  }
  .summary {
    font-size: clamp(.95rem, 3.9vw, 1.08rem);
    line-height: 1.75;
    margin-bottom: 1rem;
    color: #f2e6ca;
  }
  .hero-actions {
    gap: .7rem;
    flex-direction: column;
  }
  .button {
    width: 100%;
    min-height: 3.25rem;
    border-radius: .75rem;
    font-size: 1rem;
  }
  .price {
    width: 100%;
    display: block;
    border: .06rem solid rgba(216,175,88,.22);
    border-radius: .75rem;
    padding: .85rem;
    background: rgba(0,0,0,.38);
    color: #fff4d7;
  }
  .pyramid-door {
    top: 18%;
    width: 54vw;
    height: 50vh;
    opacity: .28;
    filter: blur(.2px) drop-shadow(0 0 1.4rem rgba(216,175,88,.12));
  }
  .pyramid-door.left { left: -4vw; }
  .pyramid-door.right { right: -4vw; }
  .torch { opacity: .8; transform: scale(.72); bottom: 14%; }
  .torch-a { left: .35rem; }
  .torch-b { right: .35rem; }
  .corridor { min-height: 82svh; }
  .corridor-wall { opacity: .28; font-size: 2.4rem; }
  .corridor-torch { display: none; }
  .content-grid, .form-grid { grid-template-columns: 1fr; }
  .content-grid article { min-height: auto; }
  .experience-controls {
    inset: auto .75rem .75rem .75rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    z-index: 60;
  }
  .control-button {
    min-height: 2.9rem;
    border-radius: .7rem;
    font-size: .9rem;
    background: rgba(2,2,3,.7);
  }
  .sand {
    opacity: .11;
    background-size: 1.7rem 1.7rem;
  }
}

@media (max-width: 26.875rem) {
  .topbar { gap: .5rem; }
  .language-switch a { min-width: 2.45rem; }
  .hero { padding-inline: .75rem; }
  .hero-content { padding-inline: .85rem; }
  .opening-scene p { margin-top: 30vh; }
}

@media (max-width: 23rem) {
  .brand { font-size: .95rem; }
  h1 { font-size: 1.92rem; }
  .summary { font-size: .92rem; }
  .control-button { font-size: .82rem; padding-inline: .55rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
  .opening-scene { display: none; }
}

body.reduce-motion .opening-scene { display: none; }
body.reduce-motion *, body.reduce-motion *::before, body.reduce-motion *::after {
  animation-duration: .001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: .001ms !important;
}
