@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg: #08040d;
  --bg-soft: #110719;
  --purple: #9d35ff;
  --purple-light: #d35cff;
  --gold: #f6a623;
  --gold-light: #ffd36a;
  --text: #fff8ea;
  --muted: #c9b9d4;
  --card: rgba(26, 11, 37, 0.78);
  --border: rgba(196, 85, 255, 0.22);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cairo', sans-serif;
  direction: rtl;
  color: var(--text);
  background:
    radial-gradient(
      circle at 50% 15%,
      rgba(106, 22, 160, 0.16),
      transparent 35%
    ),
    #08040d;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}


/* =========================
   شريط الأخبار
========================= */

.news-bar {
  position: relative;
  z-index: 50;
  width: 100%;
  overflow: hidden;
  padding: 9px 0;
  color: #16051e;
  font-weight: 800;
  font-size: 14px;
  background:
    linear-gradient(
      90deg,
      #ffb32c,
      #ffe088,
      #f39b19
    );
  box-shadow:
    0 0 25px rgba(246, 166, 35, 0.28);
}

.news-track {
  width: max-content;
  display: flex;
  gap: 100px;
  white-space: nowrap;
  animation: newsMove 20s linear infinite;
}

.news-track span {
  display: inline-block;
}

@keyframes newsMove {
  from {
    transform: translateX(-20%);
  }

  to {
    transform: translateX(50%);
  }
}


/* =========================
   HERO
========================= */

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  grid-template-columns:
    minmax(320px, 0.85fr)
    minmax(500px, 1.3fr);
  align-items: center;
  max-width: 1450px;
  margin: auto;
  padding: 50px 6% 80px;
  isolation: isolate;
}

.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 180px;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(
      to bottom,
      transparent,
      #08040d
    );
}

.hero-glow {
  position: absolute;
  width: 550px;
  height: 550px;
  right: -180px;
  top: 60px;
  z-index: -1;
  border-radius: 50%;
  background:
    rgba(156, 45, 255, 0.17);
  filter: blur(100px);
}

.hero-content {
  position: relative;
  z-index: 5;
  text-align: right;
}

.logo {
  width: 260px;
  max-height: 160px;
  object-fit: contain;
  object-position: right center;
  margin-bottom: 10px;
  filter:
    drop-shadow(
      0 0 20px
      rgba(173, 58, 255, 0.28)
    );
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 15px;
  border: 1px solid
    rgba(244, 174, 62, 0.28);
  border-radius: 999px;
  color: var(--gold-light);
  background:
    rgba(246, 166, 35, 0.07);
  font-size: 13px;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(
    42px,
    5vw,
    74px
  );
  line-height: 1.16;
  font-weight: 900;
  letter-spacing: -2px;
}

.hero h1 span {
  display: block;
  color: var(--gold);
  text-shadow:
    0 0 30px
    rgba(246, 166, 35, 0.15);
}

.hero-description {
  max-width: 510px;
  margin: 22px 0 30px;
  color: var(--muted);
  font-size: 18px;
  line-height: 2;
}

.primary-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 220px;
  padding: 14px 30px;
  border: 1px solid
    rgba(255, 219, 125, 0.55);
  border-radius: 12px;
  color: #211006;
  background:
    linear-gradient(
      135deg,
      #ffe17e,
      #f4a322 55%,
      #c56a0b
    );
  box-shadow:
    0 8px 35px
      rgba(241, 151, 27, 0.22),
    inset 0 1px
      rgba(255,255,255,0.5);
  font-weight: 900;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.primary-cta:hover {
  transform:
    translateY(-3px)
    scale(1.02);
  box-shadow:
    0 12px 45px
      rgba(241, 151, 27, 0.34);
}

.hero-art {
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-height: 570px;
  border-radius: 30px;
  mask-image:
    linear-gradient(
      to bottom,
      black 75%,
      transparent
    );
}

.hero-art::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      #08040d 0%,
      transparent 20%,
      transparent 80%,
      rgba(8,4,13,0.2)
    );
}

.hero-art img {
  width: 100%;
  height: 610px;
  object-fit: cover;
  object-position: center;
  border-radius: 30px;
  filter:
    saturate(1.08)
    contrast(1.04);
}


/* =========================
   الأقسام العامة
========================= */

.section {
  position: relative;
  max-width: 1280px;
  margin: auto;
  padding: 95px 5%;
}

.section-heading {
  text-align: center;
  margin-bottom: 50px;
}

.section-heading span {
  display: block;
  margin-bottom: 8px;
  color: var(--purple-light);
  font-size: 14px;
  font-weight: 700;
}

.section-heading h2 {
  color: var(--gold);
  font-size: clamp(
    34px,
    4vw,
    50px
  );
  font-weight: 900;
}


/* =========================
   كيف تلعب
========================= */

.how-to-play::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 400px;
  left: 50%;
  top: 45%;
  transform:
    translate(-50%, -50%);
  z-index: -1;
  border-radius: 50%;
  background:
    rgba(124, 32, 192, 0.08);
  filter: blur(90px);
}

.steps {
  display: grid;
  grid-template-columns:
    repeat(5, 1fr);
  gap: 14px;
  direction: rtl;
}

.step-card,
.feature-card {
  position: relative;
  overflow: hidden;
  padding: 28px 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  text-align: center;
  background:
    linear-gradient(
      145deg,
      rgba(39, 17, 52, 0.9),
      rgba(15, 7, 23, 0.92)
    );
  box-shadow:
    0 18px 50px
      rgba(0,0,0,0.22);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.step-card:hover,
.feature-card:hover {
  transform: translateY(-7px);
  border-color:
    rgba(207, 95, 255, 0.55);
}

.step-card.featured {
  border-color:
    rgba(246, 166, 35, 0.5);
  transform: translateY(-10px);
  box-shadow:
    0 18px 50px
      rgba(246,166,35,0.08);
}

.step-card.featured:hover {
  transform: translateY(-15px);
}

.step-number {
  position: absolute;
  top: 12px;
  left: 14px;
  color:
    rgba(255,255,255,0.12);
  font-size: 24px;
  font-weight: 900;
}

.step-icon,
.feature-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin: 5px auto 18px;
  border: 1px solid
    rgba(201, 82, 255, 0.25);
  border-radius: 18px;
  background:
    rgba(142, 39, 204, 0.1);
  box-shadow:
    inset 0 0 20px
      rgba(160, 43, 230, 0.08);
  font-size: 29px;
}

.step-card h3,
.feature-card h3 {
  margin-bottom: 9px;
  color: #fff3d5;
  font-size: 17px;
  font-weight: 800;
}

.step-card p,
.feature-card p {
  color: #aa9bb6;
  font-size: 13px;
  line-height: 1.8;
}


/* =========================
   ليش لعبشة
========================= */

.why-laabsha {
  max-width: 1120px;
}

.features {
  display: grid;
  grid-template-columns:
    repeat(4, 1fr);
  gap: 18px;
}

.feature-card {
  padding: 35px 20px;
}

.feature-card:nth-child(1) {
  border-color:
    rgba(246, 166, 35, 0.25);
}

.feature-card:nth-child(1)
.feature-icon {
  border-color:
    rgba(246, 166, 35, 0.28);
  background:
    rgba(246, 166, 35, 0.07);
}


/* =========================
   قسم التحميل
========================= */

.download-section {
  position: relative;
  max-width: 1280px;
  min-height: 520px;
  display: grid;
  grid-template-columns:
    1.15fr 0.85fr;
  align-items: center;
  gap: 35px;
  margin: 70px auto 100px;
  padding: 40px 5%;
}

.download-art {
  position: relative;
  overflow: hidden;
  height: 430px;
  border-radius: 28px;
}

.download-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      transparent 55%,
      #08040d
    );
  pointer-events: none;
}

.download-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
}

.download-card {
  position: relative;
  z-index: 2;
  margin-right: -80px;
  padding: 45px;
  border: 1px solid
    rgba(192, 72, 255, 0.25);
  border-radius: 24px;
  background:
    rgba(24, 10, 35, 0.88);
  box-shadow:
    0 30px 70px
      rgba(0,0,0,0.4),
    0 0 50px
      rgba(139, 38, 210, 0.08);
  backdrop-filter: blur(18px);
}

.small-title {
  color: var(--purple-light);
  font-size: 14px;
  font-weight: 700;
}

.download-card h2 {
  margin: 8px 0 12px;
  color: var(--gold);
  font-size: 36px;
  font-weight: 900;
}

.download-card p {
  margin-bottom: 25px;
  color: var(--muted);
  line-height: 1.9;
}

.download-card small {
  display: block;
  margin-top: 14px;
  color: #8f819a;
}


/* =========================
   Footer
========================= */

footer {
  padding: 55px 20px 25px;
  border-top: 1px solid
    rgba(255,255,255,0.06);
  text-align: center;
  background:
    linear-gradient(
      to bottom,
      #0c0611,
      #050307
    );
}

.footer-logo {
  width: 125px;
  max-height: 85px;
  object-fit: contain;
  margin: auto;
}

footer > p {
  margin: 6px 0 22px;
  color: var(--gold);
  font-weight: 700;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-bottom: 30px;
}

.footer-links a {
  color: #a999b5;
  font-size: 13px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold);
}

.copyright {
  padding-top: 20px;
  border-top: 1px solid
    rgba(255,255,255,0.05);
  color: #665b6d;
  font-size: 12px;
}


/* =========================
   الموبايل
========================= */

@media (max-width: 1050px) {

  .hero {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns:
      repeat(3, 1fr);
  }

  .features {
    grid-template-columns:
      repeat(2, 1fr);
  }
}


@media (max-width: 760px) {

  .news-bar {
    font-size: 12px;
  }

  .hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
    padding:
      35px 20px
      55px;
  }

  .hero-content {
    width: 100%;
    text-align: center;
  }

  .logo {
    width: 190px;
    margin:
      0 auto 10px;
    object-position: center;
  }

  .hero h1 {
    font-size: 39px;
    letter-spacing: -1px;
  }

  .hero-description {
    margin:
      18px auto 25px;
    font-size: 15px;
  }

  .hero-art {
    width: 100%;
    min-height: 0;
    margin-top: 38px;
  }

  .hero-art img {
    height: 380px;
  }

  .section {
    padding:
      70px 18px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .step-card.featured {
    transform: none;
  }

  .step-card.featured:hover {
    transform:
      translateY(-7px);
  }

  .features {
    grid-template-columns: 1fr;
  }

  .download-section {
    display: flex;
    flex-direction: column;
    margin:
      20px auto 70px;
    padding: 20px;
  }

  .download-art {
    width: 100%;
    height: 340px;
  }

  .download-art::after {
    background:
      linear-gradient(
        to bottom,
        transparent 55%,
        #08040d
      );
  }

  .download-card {
    width: calc(100% - 20px);
    margin:
      -70px 0 0;
    padding: 30px 22px;
    text-align: center;
  }

  .download-card h2 {
    font-size: 29px;
  }

  .footer-links {
    gap: 15px;
  }
}
/* =========================================
   MOBILE POLISH - LAABSHA
   لا يؤثر على نسخة الكمبيوتر
========================================= */

@media (max-width: 760px) {

  body {
    background:
      radial-gradient(
        circle at 50% 15%,
        rgba(116, 25, 170, 0.20),
        transparent 34%
      ),
      #08040d;
  }

  /* شريط الخبر */
  .news-bar {
    padding: 7px 0;
    font-size: 11px;
  }

  .news-track {
    gap: 55px;
  }


  /* HERO */
  .hero {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding: 34px 18px 0;
    overflow: hidden;
  }

  .hero-content {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
  }

  .logo {
    width: 155px;
    max-height: 155px;
    margin: 0 auto 18px;
    object-fit: contain;
    object-position: center;
  }

  .eyebrow {
    margin-bottom: 14px;
    padding: 6px 16px;
    font-size: 11px;
  }

  .hero h1 {
    max-width: 380px;
    margin: auto;
    font-size: clamp(34px, 10vw, 45px);
    line-height: 1.25;
    letter-spacing: -1px;
  }

  .hero h1 span {
    margin-top: 2px;
  }

  .hero-description {
    max-width: 360px;
    margin: 20px auto 24px;
    font-size: 14px;
    line-height: 1.9;
  }

  .primary-cta {
    width: min(100%, 310px);
    min-width: 0;
    padding: 13px 20px;
    border-radius: 12px;
    font-size: 16px;
  }


  /* صورة الـHero */
  .hero-art {
    width: calc(100% + 36px);
    min-height: 0;
    height: 330px;
    margin:
      32px -18px 0;
    border-radius: 0;
    overflow: hidden;

    -webkit-mask-image:
      linear-gradient(
        to bottom,
        transparent 0%,
        black 13%,
        black 70%,
        transparent 100%
      );

    mask-image:
      linear-gradient(
        to bottom,
        transparent 0%,
        black 13%,
        black 70%,
        transparent 100%
      );
  }

  .hero-art img {
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
    object-position: center 35%;
  }

  .hero-art::after {
    background:
      linear-gradient(
        to bottom,
        rgba(8, 4, 13, 0.05),
        transparent 45%,
        #08040d 100%
      );
  }

  .hero::after {
    height: 90px;
  }


  /* العناوين */
  .section {
    padding: 58px 18px;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .section-heading span {
    margin-bottom: 5px;
    font-size: 12px;
  }

  .section-heading h2 {
    font-size: 32px;
  }


  /* كيف تلعب */
  .steps {
    gap: 12px;
  }

  .step-card {
    min-height: 0;
    padding: 22px 18px;
  }

  .step-icon,
  .feature-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 13px;
    font-size: 25px;
  }

  .step-card h3,
  .feature-card h3 {
    font-size: 16px;
  }

  .step-card p,
  .feature-card p {
    font-size: 12px;
  }


  /* ليش لعبشة */
  .features {
    gap: 12px;
  }

  .feature-card {
    padding: 25px 18px;
  }


  /* قسم التحميل */
  .download-section {
    width: 100%;
    margin: 10px auto 55px;
    padding: 0 15px;
  }

  .download-art {
    width: 100%;
    height: 300px;
    border-radius: 22px;
  }

  .download-art img {
    border-radius: 22px;
  }

  .download-card {
    width: calc(100% - 20px);
    margin: -55px auto 0;
    padding: 27px 18px;
    border-radius: 20px;
  }

  .download-card h2 {
    font-size: 27px;
  }

  .download-card p {
    font-size: 13px;
  }


  /* Footer */
  footer {
    padding-top: 40px;
  }

  .footer-logo {
    width: 105px;
  }
}


/* للموبايلات الصغيرة جداً */
@media (max-width: 390px) {

  .hero {
    padding-right: 15px;
    padding-left: 15px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-description {
    font-size: 13px;
  }

  .hero-art {
    width: calc(100% + 30px);
    margin-right: -15px;
    margin-left: -15px;
    height: 300px;
  }

  .section-heading h2 {
    font-size: 29px;
  }
}
/* FIX MOBILE LEFT GAP */
@media (max-width: 760px) {

  html,
  body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }

  .news-bar,
  main,
  footer {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  main {
    display: block;
  }

  .hero {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .hero-art {
    width: calc(100% + 36px);
  }
}
/* FINAL MOBILE HERO POLISH */
@media (max-width: 760px) {

  .hero-art {
    height: 360px;
    margin-top: 18px;

    -webkit-mask-image:
      linear-gradient(
        to bottom,
        transparent 0%,
        black 8%,
        black 82%,
        transparent 100%
      );

    mask-image:
      linear-gradient(
        to bottom,
        transparent 0%,
        black 8%,
        black 82%,
        transparent 100%
      );
  }

  .hero-art img {
    object-position: center 42%;
  }

  .hero-description {
    padding: 0 8px;
  }

  .hero .primary-cta {
    margin-bottom: 8px;
  }
}
