/* ==========================================
   FLLD SPACE — فلذ في الفضاء
   ========================================== */

:root {
  --flld-bg: #030304;
  --flld-surface: #0c0c10;
  --flld-red: #d0001c;
  --flld-red-light: #ff2946;
  --flld-white: #f7f7f8;
  --flld-muted: #aaaab2;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--flld-bg) !important;
  color: var(--flld-white);
  overflow-x: hidden;
}

#flld-space-hero,
#flld-space-hero * {
  box-sizing: border-box;
}

#flld-space-hero {
  position: relative;
  width: 100%;
  min-height: 820px;
  overflow: hidden;
  direction: rtl;
  isolation: isolate;
  display: flex;
  align-items: center;
  padding: 110px 6% 80px;

  background:
    radial-gradient(circle at 72% 45%, rgba(208, 0, 28, 0.2), transparent 30%),
    radial-gradient(circle at 18% 20%, rgba(70, 35, 190, 0.13), transparent 28%),
    linear-gradient(180deg, #060608 0%, #020203 100%);
}

#flld-space-hero::before {
  content: "";
  position: absolute;
  width: 650px;
  height: 650px;
  left: 54%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;

  background:
    radial-gradient(circle at 35% 28%, #ff405a 0%, #a90018 23%, #290006 58%, #050506 76%);

  box-shadow:
    0 0 120px rgba(208, 0, 28, 0.25),
    inset -70px -45px 100px rgba(0, 0, 0, 0.75);

  z-index: -2;
}

#flld-space-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: 0.35;

  background-image:
    radial-gradient(circle, white 0 1px, transparent 1.3px),
    radial-gradient(circle, white 0 1px, transparent 1.3px);

  background-size: 130px 130px, 190px 190px;
  background-position: 15px 35px, 75px 90px;
}

.flld-space-container {
  width: min(1400px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: minmax(350px, 0.85fr) minmax(420px, 1.15fr);
  align-items: center;
  gap: 80px;
}

.flld-space-content {
  position: relative;
  z-index: 5;
  max-width: 620px;
}

.flld-space-tag {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
}

.flld-space-tag::before {
  content: "";
  width: 35px;
  height: 2px;
  background: var(--flld-red-light);
}

.flld-space-title {
  margin: 0;
  color: var(--flld-white) !important;
  font-size: clamp(55px, 7vw, 105px);
  font-weight: 900;
  line-height: 0.94;
  letter-spacing: -4px;
}

.flld-space-title span {
  display: inline-block;
  color: var(--flld-red-light);
  text-shadow: 0 0 35px rgba(255, 41, 70, 0.28);
}

.flld-space-text {
  max-width: 570px;
  margin: 28px 0 0;
  color: var(--flld-muted);
  font-size: 18px;
  line-height: 1.9;
}

.flld-space-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 35px;
}

.flld-space-btn {
  min-height: 55px;
  padding: 13px 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  text-decoration: none !important;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.flld-space-btn:hover {
  transform: translateY(-3px);
}

.flld-space-btn-primary {
  color: #fff !important;
  border: 0;
  background: linear-gradient(135deg, var(--flld-red-light), var(--flld-red));
  box-shadow: 0 16px 40px rgba(208, 0, 28, 0.3);
}

.flld-space-btn-primary:hover {
  box-shadow: 0 22px 55px rgba(208, 0, 28, 0.45);
}

.flld-space-btn-secondary {
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

.flld-space-features {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.flld-space-feature {
  padding: 7px 13px;
  color: rgba(255, 255, 255, 0.63);
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.035);
}

.flld-space-visual {
  position: relative;
  min-height: 580px;
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.flld-space-stage {
  position: relative;
  width: min(540px, 90vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
}

.flld-space-orbit {
  position: absolute;
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  transform: rotateX(68deg) rotateZ(-18deg);
}

.flld-space-orbit:nth-child(2) {
  width: 78%;
  opacity: 0.55;
  transform: rotateY(64deg) rotateZ(14deg);
}

.flld-space-orbit:nth-child(3) {
  width: 120%;
  opacity: 0.35;
  transform: rotateX(72deg) rotateZ(37deg);
}

.flld-space-poster-wrap {
  position: relative;
  width: 50%;
  z-index: 5;
  transform: rotateY(-8deg) rotateZ(3deg) translateZ(70px);
  animation: flldFloat 5.5s ease-in-out infinite;
}

.flld-space-poster-wrap::before {
  content: "";
  position: absolute;
  inset: -15%;
  z-index: -1;
  background: radial-gradient(circle, rgba(208, 0, 28, 0.5), transparent 65%);
  filter: blur(30px);
}

.flld-space-poster-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 0.7 / 1;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.23);
  background: #111116;

  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.65),
    0 0 0 6px rgba(255, 255, 255, 0.025);
}

.flld-space-poster {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.flld-space-poster-frame:hover .flld-space-poster {
  transform: scale(1.05);
}

.flld-space-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  background:
    radial-gradient(circle, rgba(208, 0, 28, 0.25), transparent 50%),
    #0d0d11;
}

.flld-space-placeholder strong {
  display: block;
  color: #fff;
  font-size: 38px;
}

.flld-space-card {
  position: absolute;
  z-index: 8;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 15px;
  color: #fff;
  background: rgba(10, 10, 14, 0.75);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.flld-space-card small {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 9px;
  letter-spacing: 1px;
}

.flld-space-card strong {
  font-size: 13px;
}

.flld-space-card-one {
  left: 2%;
  top: 17%;
  animation: flldCardOne 5s ease-in-out infinite;
}

.flld-space-card-two {
  right: 0;
  bottom: 17%;
  animation: flldCardTwo 6s ease-in-out infinite;
}

.flld-space-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.flld-space-star {
  position: absolute;
  width: var(--size);
  height: var(--size);
  left: var(--x);
  top: var(--y);
  border-radius: 50%;
  background: white;
  opacity: var(--opacity);
  animation: flldTwinkle var(--duration) ease-in-out infinite;
}

.flld-old-hero-hidden {
  display: none !important;
}

@keyframes flldFloat {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -14px;
  }
}

@keyframes flldCardOne {
  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }

  50% {
    transform: translateY(-12px) rotate(-3deg);
  }
}

@keyframes flldCardTwo {
  0%,
  100% {
    transform: translateY(0) rotate(3deg);
  }

  50% {
    transform: translateY(10px) rotate(3deg);
  }
}

@keyframes flldTwinkle {
  0%,
  100% {
    opacity: 0.2;
    transform: scale(0.7);
  }

  50% {
    opacity: 1;
    transform: scale(1.35);
  }
}

@media (max-width: 950px) {
  #flld-space-hero {
    min-height: auto;
    padding-top: 100px;
  }

  .flld-space-container {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .flld-space-content {
    margin: auto;
    text-align: center;
  }

  .flld-space-actions,
  .flld-space-features {
    justify-content: center;
  }

  .flld-space-visual {
    min-height: 520px;
  }

  #flld-space-hero::before {
    left: 50%;
    top: 68%;
  }
}

@media (max-width: 600px) {
  #flld-space-hero {
    padding: 85px 17px 55px;
  }

  .flld-space-title {
    font-size: 55px;
    letter-spacing: -2px;
  }

  .flld-space-text {
    font-size: 15px;
  }

  .flld-space-btn {
    width: 100%;
  }

  .flld-space-visual {
    min-height: 410px;
  }

  .flld-space-stage {
    width: 390px;
    max-width: 100%;
  }

  .flld-space-poster-wrap {
    width: 54%;
  }

  .flld-space-card {
    padding: 10px 12px;
  }

  .flld-space-card strong {
    font-size: 11px;
  }
}
.flld-space-features-single {
  display: flex;
  justify-content: flex-start;
}

.flld-space-feature-main {
  padding: 14px 25px;
  font-size: clamp(15px, 1.3vw, 19px);
  font-weight: 700;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

@media (max-width: 950px) {
  .flld-space-features-single {
    justify-content: center;
  }
}