/* url(home.css) */
  .cinema-preview {
    text-align: center;
    margin: 40px auto;
    max-width: 900px;
  }

  .cinema-title {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: var(--highlight-color);
  }

  .cinema-frame {
    position: relative;
    max-width: 1000px;
    height: 70vh;
    margin: 0 auto 20px auto;
    border-radius: 18px;
    overflow: hidden;

    /* الشادو السينمائي الحقيقي */
    box-shadow: 
      0 0 60px rgba(0,0,0,0.45),
      0 0 120px rgba(0,0,0,0.35),
      0 0 200px rgba(0,0,0,0.25);
  }

  .iframe-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 5;

    /* السطرين اللي بيخلّوك تسحب بدون ضغط */
    pointer-events: auto;
    touch-action: pan-y;
  }

  /* لما المستخدم يفعل التفاعل */
  .cinema-frame.active .iframe-overlay {
    display: none;  /* خلاص شيل الحماية */
  }

  .cinema-frame iframe {
    width: 100%;
    height: 70vh;
    border: 0;
    display: block;

    /* تأثير خفيف يخليها شبه شاشة عرض */
    filter: brightness(1) contrast(1.06);
    transition: 0.3s ease;
  }

  .cinema-buttons {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
  }

  .cinema-buttons button {
    padding: 10px 18px;
    border-radius: 10px;
    border: 0;
    font-size: 1rem;
    cursor: pointer;
    color: #fff;

    background: linear-gradient(to bottom,#222,#111);
    box-shadow: 0 3px 10px rgba(0,0,0,0.4);

    transition: 0.2s ease;
  }

  .cinema-buttons button:hover {
    background: linear-gradient(to bottom,#333,#111);
    transform: translateY(-2px);
  }

  .cinema-buttons button.active {
    background: #b400ff;
    box-shadow: 0 0 15px rgba(180,0,255,0.8);
  }

  /* الكمبيوتر */
  .hero-version iframe {
    height: 70vh;
  }

  /* الموبايل */
  /* @media (max-width: 768px) {
    .hero-version iframe {
      height: 40vh;
    }
  }

  @media (max-width: 480px) {
    .hero-version iframe {
      height: 40vh;
    }
  } */

  /* ============================
   الخلفية
   ============================ */
  .hero {
    position: relative;
    padding: 120px 20px;
    text-align: center;
    overflow: hidden;
  }

  .bg-shape {
    position: absolute;
    width: 350px;   /* الموبايل */
    height: 350px;
    border-radius: 50%;
    mask-image: radial-gradient(circle, #000 60%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle, #000 60%, transparent 100%);
    opacity: 0.12;
  }

  /* الكومبيوتر (شاشات أكبر من 768px) */
  @media (min-width: 768px) {
    .bg-shape {
      width: 500px;
      height: 500px;
    }
  }

  .s1 {
    background: var(--shape-1);
    top: -80px;
    left: -100px;
  }
  .s2 {
    background: var(--shape-2);
    bottom: -80px;
    right: -120px;
    animation-delay: 3s;
  }
  .s3 {
    background: var(--shape-3);
    top: 200px;
    right: -150px;
    animation-delay: 6s;
  }

  @keyframes float {
    0%,
    100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(30px);
    }
  }

  /* ============================
   الهيرو
   ============================ */
  .title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 12px;
  }

  .subtitle {
    font-size: 1.1rem;
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto 28px;
  }

  /* ============================
   الزرار
   ============================ */
  .btn {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s ease;
  }

  .main-btn {
    background: var(--main-bg);
    color: var(--highlight-color);
    box-shadow: 0 1px 2px var(--highlight-color);
  }

  .main-btn:hover {
    transform: scale(1.05);
    opacity: 0.9;
  }

  /* ============================
   المزايا
   ============================ */
  .features {
    max-width: 1100px;
    margin: 80px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    justify-content: center;
  }

  .feature-card {
    background: var(--main-bg);
    padding: 28px;
    border-radius: 16px;
    width: 300px;
    text-align: center;
    /* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); */
    box-shadow: 0 10px 20px -20px var(--highlight-color);
    transition: 0.2s ease;
  }

  .feature-card:hover {
    transform: translateY(-6px);
    /* box-shadow: 0 10px 26px rgba(0, 0, 0, 0.15); */
    box-shadow: 0 10px 26px -10px var(--highlight-color);
  }

  /* ============================
   الديمو
   ============================ */
  .demo {
    text-align: center;
    padding: 30px 0;
  }

  .demo-box {
    margin: 20px auto 32px;
    max-width: 420px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.2);
  }

  /* ============================
   الانيميشن
   ============================ */
  /* .fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1.2s ease forwards;
  }

  .delay-1 {
    animation-delay: 0.2s;
  }
  .delay-2 {
    animation-delay: 0.4s;
  }
  .delay-3 {
    animation-delay: 0.6s;
  }

  @keyframes fadeUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  } */

  .floating-btn {
    /* position: fixed; */
    /* bottom: 5px; */
    /* right: 20px; */
    padding: 10px 20px;
    font-size: 14px;
    background: var(--main-bg);
    color: var(--highlight-color);
    box-shadow: 0 1px 2px var(--highlight-color);
    border: none;
    border-radius: 12px;
    font-weight: bold;
    text-decoration: none;
    z-index: 1000;

    /* خلي بالك من التحريك من المركز */
    transform-origin: top center;

    /* animation: pulse-glow 2.5s infinite, pendulum-swing 2.5s infinite ease-in-out; */
    animation: breathe 3.8s ease-in-out infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .floating-btn:hover {
    transform: translateY(-2px);
  }
  @keyframes breathe {
    0%,100% { transform: scale(1); }
    50% { transform: scale(1.04); 
      box-shadow: 0 1px 6px var(--highlight-color);}
  }
/* ====================== روابط للبايو المعاينة ========================= */
.bio-circle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
  margin-top: 30px;
  justify-items: center;
}

.bio-circle-card {
  text-align: center;
  max-width: 260px;
  margin-bottom: 10px;
}

.bio-circle-card img {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--highlight-color);
  transition: transform .3s ease;
}

.bio-circle-card img:hover {
  transform: scale(1.06);
  box-shadow: 0 5px 20px 0px var(--highlight-color);
}

.bio-circle-card h3 {
  margin: 12px 0 8px;
  color: var(--main-color);
  font-size: 18px;
  font-weight: 600;
}

/* .view-btn {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 8px;
  background: var(--main-bg);
  color: var(--highlight-color);
  box-shadow: 0 10px 20px -10px var(--highlight-color);
  border: 1px solid #ffffff30;
  text-decoration: none;
  font-size: 14px;
  transition: background .2s ease, transform .2s ease;
}

.view-btn:hover {
  background: #ffffff30;
  transform: scale(1.04);
} */

/* الموبايل */
@media (max-width: 480px) {
  .bio-circle-grid {
    grid-template-columns: 1fr !important; /* 👑 فوق بعض */
  }

  .bio-circle-card img {
    width: 260px;
    height: 260px;
  }

  .bio-circle-card h3 {
    font-size: 16px;
  }

  .view-btn {
    font-size: 13px;
  }
}

/* ====== poster-cards styling (matches your theme variables) ====== */
.poster-cards-section { padding: 30px 20px; background: transparent; }
.poster-cards-section .wrap { max-width: 1200px; margin: 0 auto; text-align: center; }
.pc-title { font-size: 2rem; margin-bottom: 6px; color: var(--main-color); }
.pc-sub { opacity: .8; margin-bottom: 26px; }

/* grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
}
/* card */
.card {
  background: var(--main-bg);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.04);
  padding: 18px;
  border-radius: 12px;
  /* box-shadow: 0 8px 26px rgba(0,0,0,0.12); */
  box-shadow: 0 10px 20px -20px var(--highlight-color);
  text-align: right;
  transform-origin: center;
  transition: transform .28s ease, box-shadow .28s ease;
  will-change: transform;
  overflow: hidden;
}
.card:focus,
.card:hover { transform: translateY(-8px) scale(1.01); box-shadow: 0 10px 20px -10px var(--highlight-color); outline: none; }

.card.big { grid-column: span 2; min-height: 230px; display:flex; flex-direction:column; justify-content:space-between; }

.card-emoji {
  font-size: 28px;
  margin-bottom: 8px;
}
.card h3 { margin: 6px 0; font-size: 1.05rem; color: var(--highlight-color); }
.card p { font-size: 0.95rem; opacity: .9; margin-bottom: 10px; }

/* CTA */
.card-cta { display:flex; gap: 10px; justify-content:center; margin-top:10px; }
.btn { display:inline-block; padding:8px 14px; border-radius:10px; background:var(--main-bg); color:var(--highlight-color); text-decoration:none; font-weight:700; }
.btn.small { padding:7px 12px; font-size:0.9rem; }
.btn.ghost { background:transparent; border:1px solid rgba(255,255,255,0.06); color:var(--main-color); }

/* examples row */
.examples-row { display:flex; gap:12px; margin-top:22px; justify-content:center; flex-wrap:wrap; }
.examples-row img { width: 180px; height:100px; object-fit:cover; border-radius:10px; box-shadow:0 8px 24px rgba(0,0,0,0.12); }

/* mover animation base (subtle) */
.mover { position: relative; }

/* reveal animation */
.card.reveal { opacity: 1; transform: translateY(0) scale(1); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.9,.2,1); }
.card:not(.reveal) { opacity: 0; transform: translateY(40px) scale(.97); }

/* responsive — موبايل */
@media (max-width: 720px) {
  .cards-grid {
    grid-template-columns: 1fr; /* عرض كامل */
  }

  .card.big {
    grid-column: 1; /* يشيل الـ span */
    min-height: auto; /* يفتح المساحة براحة */
  }

  .card {
    padding: 16px 16px 22px; /* مساحة أريح للنص */
  }
}
/* Mini Tips Section */
.mini-tips-section {
  padding: 30px 20px;
  /* margin-top: 20px; */
}

.tips-wrap {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.tips-title {
  font-size: 1.8rem;
  color: var(--highlight-color);
  margin-bottom: 6px;
}

.tips-sub {
  opacity: .8;
  margin-bottom: 28px;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* Responsive */
@media (max-width: 480px) {
  .tips-grid { grid-template-columns: 1fr; }
}

.tip-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.05);
  padding: 18px;
  border-radius: 14px;
  text-align: right;
  /* box-shadow: 0 8px 26px rgba(0,0,0,0.12); */
  box-shadow: 0 10px 20px -20px var(--highlight-color);
  transition: .25s;
}

.tip-card:hover {
  transform: translateY(-4px);
  /* box-shadow: 0 12px 28px rgba(0,0,0,0.18); */
  box-shadow: 0 10px 20px -10px var(--highlight-color);
}

.tip-card .emoji {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.poster-tip-box {
  /* margin-top: 50px; */
  padding: 22px 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  box-shadow: 0 8px 26px rgba(0,0,0,0.15);
  text-align: center;
  line-height: 1.6;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  backdrop-filter: blur(6px);
}

.poster-tip-box p {
  margin: 0 0 18px;
  font-size: 0.9rem;
  opacity: .9;
}

.poster-tip-box strong {
  color: var(--highlight-color);
}

.poster-tip-box .floating-btn {
  display: inline-block;
  /* margin-top: 10px; */
}

/* شبكة المستطيلات */
.bio-rect-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 35px;
  margin-top: 30px;
  justify-items: center;
}

/* كارت المستطيل */
.bio-rect-card {
  width: 350px;
}

/* الصورة نفسها */
.bio-rect-card img {
  width: 100%;
  height: 777px; /* مستطيل نضيف */
  object-fit: cover;
  border-radius: 14px;
  /* box-shadow: 0 8px 28px rgba(0,0,0,0.22); */
  box-shadow: 0 10px 20px -20px var(--highlight-color);
  transition: transform .25s ease, box-shadow .25s ease;
}

/* حركة hover بسيطة */
.bio-rect-card img:hover {
  transform: translateY(-6px);
  /* box-shadow: 0 12px 32px rgba(0,0,0,0.28); */
  box-shadow: 0 10px 20px -10px var(--highlight-color);
}

#previewFrame {
  opacity: 0;
  transition: opacity .3s ease;
}

