:root {
  --bg: #0a0a0f;
  --bg-soft: #12121a;
  --card: #16161f;
  --line: #262633;
  --text: #f2f0ea;
  --muted: #9a97a3;
  --accent: #f0b429;
  --accent-soft: rgba(240, 180, 41, 0.14);
  --radius: 18px;
}

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

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Cairo", "Space Grotesk", system-ui, sans-serif;
  line-height: 1.7;
  overflow-x: clip;
}

html[dir="ltr"] body { font-family: "Space Grotesk", "Cairo", system-ui, sans-serif; }

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

/* ---- Nav ---- */
.nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(10, 10, 15, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1100px; margin: auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { font-weight: 900; font-size: 1.1rem; color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 0.95rem; }
.nav-links a { color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.lang-btn {
  background: var(--accent-soft); color: var(--accent);
  border: 1px solid var(--accent); border-radius: 999px;
  padding: 3px 14px; cursor: pointer; font: inherit; font-size: 0.85rem;
}

/* ---- Hero ---- */
.hero {
  position: relative; min-height: clamp(560px, 96svh, 900px);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 96px 24px 40px;
  overflow: clip;
}
.hero-content { width: 100%; }
.hero-fan {
  position: relative; height: 190px; margin-top: 46px;
  display: flex; justify-content: center;
}
.fan-card {
  position: absolute; width: 300px; aspect-ratio: 16/9;
  border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(0,0,0,0.55);
  background: var(--card);
}
.fan-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fan-m { transform: translateY(6px) scale(1.06); z-index: 2; }
.fan-r { transform: translate(185px, 26px) rotate(7deg); }
.fan-l { transform: translate(-185px, 26px) rotate(-7deg); }
html[dir="rtl"] .fan-r { transform: translate(-185px, 26px) rotate(-7deg); }
html[dir="rtl"] .fan-l { transform: translate(185px, 26px) rotate(7deg); }
@media (max-width: 560px) {
  .hero-fan { height: 130px; margin-top: 36px; }
  .fan-card { width: 210px; }
  .fan-r { transform: translate(120px, 18px) rotate(7deg); }
  .fan-l { transform: translate(-120px, 18px) rotate(-7deg); }
  html[dir="rtl"] .fan-r { transform: translate(-120px, 18px) rotate(-7deg); }
  html[dir="rtl"] .fan-l { transform: translate(120px, 18px) rotate(7deg); }
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0.35;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,10,15,0.55), rgba(10,10,15,0.85) 78%, var(--bg)),
    radial-gradient(ellipse 60% 45% at 50% 0%, rgba(240, 180, 41, 0.13), transparent 70%),
    radial-gradient(ellipse 45% 40% at 85% 85%, rgba(120, 70, 220, 0.10), transparent 70%);
}
.hero-content { position: relative; max-width: 760px; }
.hero-kicker {
  color: var(--accent); font-weight: 600; letter-spacing: 0.5px;
  margin-bottom: 14px; font-size: 1.05rem;
}
.hero-name {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  font-weight: 900; line-height: 1.15; margin-bottom: 18px;
}
.hero-tagline {
  color: var(--muted); font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  max-width: 560px; margin: 0 auto 34px;
}
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  padding: 13px 32px; border-radius: 999px; font-weight: 700;
  font-size: 1rem; transition: transform .18s, box-shadow .18s;
  display: inline-block;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #14100a; box-shadow: 0 8px 30px rgba(240, 180, 41, 0.25); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); background: rgba(255,255,255,0.03); }
.scroll-hint {
  position: absolute; bottom: 14px; inset-inline: 0; text-align: center;
  color: var(--muted); font-size: 1.4rem; animation: bob 1.8s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(8px); } }

/* ---- Sections ---- */
.section { max-width: 1100px; margin: auto; padding: 64px 24px 20px; }
.section-title {
  font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 900; margin-bottom: 30px;
}
.section-title span {
  background: linear-gradient(120deg, var(--text) 60%, var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---- Works grid ---- */
.works-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.work-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; cursor: pointer;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.work-card:hover {
  transform: translateY(-5px); border-color: var(--accent);
  box-shadow: 0 16px 44px rgba(0,0,0,0.45);
}
.work-thumb {
  position: relative; aspect-ratio: 16/9; overflow: hidden;
  background: linear-gradient(135deg, #1c1c28, #141420);
  display: flex; align-items: center; justify-content: center;
}
.work-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.work-thumb .placeholder-icon { font-size: 2.6rem; opacity: 0.35; }
.placeholder-ribbon {
  position: absolute; top: 10px; inset-inline-start: 10px;
  background: rgba(10,10,15,0.72); color: var(--text);
  border: 1px dashed var(--accent);
  font-size: 0.72rem; font-weight: 600;
  padding: 2px 12px; border-radius: 999px; backdrop-filter: blur(6px);
}
.play-badge {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(10,10,15,0.25); opacity: 0; transition: opacity .2s;
}
.work-card:hover .play-badge { opacity: 1; }
.play-badge span {
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--accent); color: #14100a;
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
  padding-inline-start: 4px;
}
.work-meta { padding: 16px 18px 18px; }
.work-type {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  color: var(--accent); background: var(--accent-soft);
  padding: 2px 12px; border-radius: 999px; margin-bottom: 8px;
}
.work-title { font-weight: 700; font-size: 1.08rem; }
.work-desc { color: var(--muted); font-size: 0.9rem; margin-top: 4px; }

/* ---- About / Contact ---- */
.section-about { border-top: 1px solid var(--line); }
.about-text { color: var(--muted); font-size: 1.1rem; max-width: 640px; }
.contact-lead { color: var(--muted); font-size: 1.1rem; margin-bottom: 26px; }
.contact-links { display: flex; gap: 14px; flex-wrap: wrap; }
.contact-chip {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 11px 24px; font-weight: 600;
  background: var(--bg-soft); transition: border-color .2s, transform .18s;
}
.contact-chip:hover { border-color: var(--accent); transform: translateY(-2px); }

/* ---- Footer ---- */
.footer {
  margin-top: 80px; padding: 30px 24px; text-align: center;
  color: var(--muted); font-size: 0.85rem; border-top: 1px solid var(--line);
}

/* ---- Lightbox ---- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(5, 5, 9, 0.92); backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox-body {
  width: min(920px, 100%); aspect-ratio: 16/9;
  border-radius: var(--radius); overflow: hidden; background: #000;
}
.lightbox-body iframe, .lightbox-body video { width: 100%; height: 100%; border: 0; }
.lightbox-close {
  position: absolute; top: 20px; inset-inline-end: 22px;
  background: var(--card); color: var(--text); border: 1px solid var(--line);
  width: 44px; height: 44px; border-radius: 50%; font-size: 1.1rem; cursor: pointer;
}

@media (max-width: 560px) {
  .nav-links { gap: 14px; font-size: 0.85rem; }
  .section { padding: 70px 18px 20px; }
}

/* ---- Intro reel ---- */
.section-reel { padding-top: 34px; }
.reel-wrap {
  max-width: 860px; margin: 0 auto;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(240, 180, 41, 0.08);
}
.reel-wrap video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
