/* =========================================================
   DUNES — التصميم
   الألوان والخطوط كلها في :root تحت، غيّرها من هنا
   ========================================================= */

:root {
  /* الخلفيات */
  --bg: #0a0a0b;
  --surface: #121214;
  --surface-2: #19191c;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);

  /* النص */
  --text: #f4f1ec;
  --muted: #a39e96;
  --dim: #99938b;

  /* الذهبي (من شعار الفريق) */
  --gold: #e0a945;
  --gold-2: #f0c46b;
  --gold-deep: #a8741f;
  --sand: #e8d3ae;
  --ink: #1a1206;

  /* كيك */
  --kick: #53fc18;

  /* الخطوط */
  --f-display: "Alexandria", "Cairo", "Segoe UI", Tahoma, sans-serif;
  --f-body: "Cairo", "Segoe UI", Tahoma, system-ui, sans-serif;
  --f-latin: "Anton", "Alexandria", Impact, sans-serif;

  /* المقاسات والحركة */
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --nav-h: 72px;
  --r: 8px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- الأساسيات ---------- */

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html[lang="en"] body { line-height: 1.65; }
body.is-locked { overflow: hidden; }
[hidden] { display: none !important; }

img,
svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, dd { margin: 0; }
em { font-style: normal; }

::selection { background: var(--gold); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

/* حبيبات خفيفة فوق كل شي */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 150;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- الشريط العلوي ---------- */

.nav {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-inline: var(--gutter);
  background: rgba(10, 10, 11, 0.55);
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}
.nav.is-scrolled {
  background: rgba(10, 10, 11, 0.85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.brand { display: flex; align-items: center; gap: 12px; direction: ltr; }
.brand__mark { height: 30px; width: auto; }
.brand__word {
  font-family: var(--f-latin);
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--text);
}

.nav__links { display: flex; gap: 2px; }
.nav__links a {
  position: relative;
  padding: 8px 14px;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--muted);
  transition: color 0.25s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  inset-inline: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.35s var(--ease-out);
}
.nav__links a:hover,
.nav__links a.is-active { color: var(--text); }
.nav__links a:hover::after,
.nav__links a.is-active::after { transform: scaleX(1); }
html[lang="en"] .nav__links a { text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.9rem; }

.nav__actions { display: flex; align-items: center; gap: 10px; }

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  height: 40px;
  padding-inline: 12px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  font-family: var(--f-latin);
  font-size: 1rem;
  letter-spacing: 0.06em;
  transition: border-color 0.25s, color 0.25s;
}
html[lang="en"] .lang-btn { font-family: var(--f-display); font-weight: 700; letter-spacing: 0; }
.lang-btn:hover { border-color: var(--gold); color: var(--gold-2); }

.menu-btn {
  display: none;
  position: relative;
  width: 44px;
  height: 40px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
}
.menu-btn span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s var(--ease-out), top 0.3s var(--ease-out);
}
.menu-btn span:nth-child(1) { top: 14px; }
.menu-btn span:nth-child(2) { top: 23px; }
.nav.is-open .menu-btn span:nth-child(1) { top: 18px; transform: rotate(45deg); }
.nav.is-open .menu-btn span:nth-child(2) { top: 18px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav__links {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: rgba(10, 10, 11, 0.97);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s;
  }
  .nav.is-open { background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; }
  .nav__links a { font-family: var(--f-display); font-weight: 800; font-size: 2rem; color: var(--text); }
  html[lang="en"] .nav__links a { font-family: var(--f-latin); font-weight: 400; font-size: 2.4rem; }
}

/* ---------- الأزرار ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 30px;
  font-weight: 700;
  font-size: 1.02rem;
  white-space: nowrap;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  transition: transform 0.3s var(--ease-out), background 0.25s var(--ease), color 0.25s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.3s var(--ease-out); }
html[dir="rtl"] .btn svg { transform: scaleX(-1); }
.btn:hover svg { transform: translateX(4px); }
html[dir="rtl"] .btn:hover svg { transform: scaleX(-1) translateX(4px); }
.btn:active { transform: scale(0.97); }

.btn--primary { background: var(--gold); color: var(--ink); }
.btn--primary:hover { background: var(--gold-2); transform: translateY(-2px); }

.btn--ghost { background: rgba(255, 255, 255, 0.07); color: var(--text); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.13); transform: translateY(-2px); }

/* زر دونز ستوديو: ذهبي، تمر عليه لمعة، وسهمه يتحرك عشان يبين إنه ينضغط */
.btn--studio {
  position: relative;
  overflow: hidden;
  min-height: 58px;
  padding: 0 34px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, #c98f2e);
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 800;
}
.btn--studio::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.55) 50%, transparent 65%);
  transform: translateX(-130%);
  animation: shine 3.2s var(--ease) infinite;
}
.btn--studio svg { animation: nudge 1.6s var(--ease) infinite; }
html[dir="rtl"] .btn--studio svg { animation-name: nudge-rtl; }
.btn--studio:hover { background: linear-gradient(135deg, #f7d58e, var(--gold-2) 55%, var(--gold)); transform: translateY(-2px); }

.kick-mark {
  display: inline-block;
  padding: 2px 6px 1px;
  border-radius: 3px;
  background: var(--kick);
  color: #0a0a0b;
  font-family: var(--f-latin);
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.06em;
}

.kick-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 6px 12px;
  border: 1px solid rgba(83, 252, 24, 0.4);
  border-radius: 6px;
  background: rgba(83, 252, 24, 0.07);
  color: #dcffcf;
  font-weight: 700;
  font-size: 0.92rem;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
a.kick-btn:hover { background: rgba(83, 252, 24, 0.16); border-color: var(--kick); }
.kick-btn.is-off { border-color: var(--line); background: transparent; color: var(--dim); cursor: default; }
.kick-btn.is-off .kick-mark { background: var(--dim); }

/* ---------- الواجهة ---------- */

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: var(--nav-h) 0 96px;
  overflow: hidden;
}

/* البنر يصغر لحاله في الشاشات القصيرة عشان النص والأزرار تبان بأول شاشة */
.hero__banner {
  position: relative;
  z-index: -2;
  width: 100%;
  aspect-ratio: 3 / 1;
  max-height: max(220px, calc(100svh - var(--nav-h) - 400px));
  overflow: hidden;
  /* يصير شفاف من تحت عشان يذوب في توهج الخلفية بدون خط */
  -webkit-mask-image: linear-gradient(180deg, #000 45%, rgba(0, 0, 0, 0.6) 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 45%, rgba(0, 0, 0, 0.6) 72%, transparent 100%);
}
.hero__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform-origin: 50% 40%;
  will-change: transform;
}
/* الجوانب تذوب في الخلفية على الشاشات العريضة */
.hero__banner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, var(--bg) 0, transparent 7%, transparent 93%, var(--bg) 100%);
}

.hero__glow {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(ellipse 55% 35% at 50% 62%, rgba(224, 169, 69, 0.16), transparent 70%),
    radial-gradient(ellipse 70% 40% at 50% 112%, rgba(224, 169, 69, 0.16), transparent 70%);
}

.hero__sand {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: -20px;
  padding-top: 8px;
  text-align: center;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(10, 10, 11, 0.55);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--sand);
}
.chip__dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.chip__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  animation: ping 2s var(--ease-out) infinite;
}

.hero__title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2.8rem, 6.6vw, 5.8rem);
  line-height: 1.1;
  color: var(--text);
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.6);
}
.hero__title em { color: var(--gold); }
html[lang="en"] .hero__title {
  font-family: var(--f-latin);
  font-weight: 400;
  font-size: clamp(2.8rem, 6.4vw, 5.6rem);
  line-height: 1;
  text-transform: uppercase;
}

.hero__lead {
  max-width: 560px;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 600;
  color: var(--muted);
}

.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 4px; }

/* سهم "انزل" تحت الأزرار، ما يركب عليها */
.hero__scroll {
  position: relative;
  z-index: 1;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--muted);
  transition: color 0.25s;
}
.hero__scroll:hover { color: var(--text); }
.hero__scroll i {
  position: relative;
  width: 2px;
  height: 34px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}
.hero__scroll i::after {
  content: "";
  position: absolute;
  left: 0;
  top: -40%;
  width: 100%;
  height: 40%;
  background: var(--gold);
  animation: drip 2.2s var(--ease) infinite;
}

@media (max-height: 760px) { .hero__scroll { display: none; } }

/* دخول عناصر الواجهة */

/* ---------- الشرائط المتقاطعة ---------- */

.tapes {
  position: relative;
  z-index: 2;
  height: clamp(120px, 13vw, 170px);
  margin-top: -70px;
  overflow: hidden;
  direction: ltr;
  pointer-events: none;
}
.tape {
  position: absolute;
  left: -5%;
  right: -5%;
  top: 50%;
  padding: 14px 0;
}
.tape--front {
  z-index: 2;
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-50%) rotate(-2.5deg);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}
.tape--back {
  z-index: 1;
  background: #151517;
  border-block: 1px solid var(--line-2);
  color: var(--sand);
  transform: translateY(-50%) rotate(2deg);
}
.tape__track {
  display: flex;
  width: max-content;
  animation: tape 45s linear infinite;
}
.tape--back .tape__track { animation-duration: 60s; animation-direction: reverse; }
.tape__item {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding-inline-end: 26px;
  white-space: nowrap;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.05rem, 2vw, 1.5rem);
  line-height: 1.4;
}
.tape__item--latin {
  font-family: var(--f-latin);
  font-weight: 400;
  font-size: clamp(1.2rem, 2.3vw, 1.8rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tape__star { font-size: 0.8em; opacity: 0.7; }

/* ---------- الأقسام ---------- */

.section { position: relative; padding-block: clamp(90px, 12vw, 150px); }

.head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 40px;
  margin-bottom: clamp(36px, 5vw, 60px);
}
.head__sub { max-width: 430px; font-size: 1.06rem; color: var(--muted); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--gold);
}
.eyebrow__num { font-family: var(--f-latin); font-size: 1.05rem; letter-spacing: 0.06em; direction: ltr; }
.eyebrow__slash { width: 26px; height: 2px; background: currentColor; transform: skewX(-30deg); }
.eyebrow__label { font-weight: 700; font-size: 0.98rem; color: var(--muted); }
html[lang="en"] .eyebrow__label { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.85rem; }

.title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2.4rem, 5.8vw, 4.8rem);
  line-height: 1.15;
  color: var(--text);
  text-wrap: balance;
}
.title em,
.footer__title em { color: var(--gold); }
html[lang="en"] .title {
  font-family: var(--f-latin);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.6vw, 5.6rem);
  line-height: 1;
  text-transform: uppercase;
}

/* ظهور العناصر مع السكرول */
.js .reveal { opacity: 0; }
.js .reveal.is-in {
  opacity: 1;
  animation: rise 0.9s var(--ease-out) backwards;
  animation-delay: calc(var(--i, 0) * 80ms);
}
.js .reveal.is-shown { opacity: 1; animation: none; }

/* ---------- من نحن ---------- */

.about__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: clamp(40px, 7vw, 100px);
}
.about__text p { margin-top: 18px; font-size: 1.1rem; color: var(--muted); }
.about__text .lead { margin-top: 26px; font-size: clamp(1.2rem, 1.8vw, 1.4rem); font-weight: 700; line-height: 1.7; color: var(--text); }

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0;
}
.stat {
  position: relative;
  display: flex;
  flex-direction: column-reverse;
  padding: 26px 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  overflow: hidden;
}
.stat::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: 24px;
  width: 36px;
  height: 3px;
  background: var(--gold);
}
.stat--wide { grid-column: 1 / -1; }
.stat dd {
  direction: ltr;
  font-family: var(--f-latin);
  font-size: clamp(2.8rem, 5vw, 3.8rem);
  line-height: 1;
  color: var(--text);
}
html[dir="rtl"] .stat dd { text-align: right; }
.stat dd em { color: var(--gold); }
.stat dt { margin-top: 10px; font-weight: 700; color: var(--muted); }

/* ---------- الستريمرز ---------- */

.members { background: linear-gradient(180deg, transparent, rgba(129, 99, 0, 0) 30%, transparent); }

.cards {
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
  gap: 18px;
}

.card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), border-color 0.3s var(--ease), box-shadow 0.5s var(--ease);
  will-change: transform;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.09) 45%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.9s var(--ease-out);
}
.card:hover {
  transform: translateY(-8px);
  border-color: rgba(224, 169, 69, 0.6);
  box-shadow: 0 30px 60px -30px rgba(200, 140, 40, 0.5);
}
.card:hover::after { transform: translateX(120%); }

.card__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 6 / 5;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(224, 169, 69, 0.22), transparent 62%),
    linear-gradient(180deg, #1d1d21, #0e0e10);
}
.card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 12px);
}
.card__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  z-index: 1;
  background: linear-gradient(transparent, var(--surface));
}

/* خلفية مموّهة من نفس الصورة */
.card__backdrop {
  position: absolute;
  inset: -15%;
  width: 130%;
  height: 130%;
  object-fit: cover;
  filter: blur(26px) saturate(1.3);
  opacity: 0.4;
}

/* الصورة دائرة بإطار ذهبي */
.card__avatar {
  position: relative;
  z-index: 2;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from 200deg, var(--gold-2), var(--gold-deep), var(--gold-2), var(--gold-deep), var(--gold-2));
  box-shadow: 0 0 0 6px rgba(224, 169, 69, 0.1), 0 22px 44px -14px rgba(0, 0, 0, 0.85);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease);
}
.card__avatar img {
  position: absolute;
  inset: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  border-radius: 50%;
  object-fit: cover;
  background: #121214;
}
.card__avatar .card__logo { padding: 20%; object-fit: contain; }
.card__avatar .card__photo { background: transparent; }
.card:hover .card__avatar {
  transform: scale(1.05);
  box-shadow: 0 0 0 8px rgba(224, 169, 69, 0.16), 0 0 40px rgba(224, 169, 69, 0.35), 0 22px 44px -14px rgba(0, 0, 0, 0.85);
}
.card__tag {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  z-index: 2;
  padding: 2px 10px;
  border-radius: 4px;
  background: rgba(10, 10, 11, 0.75);
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--sand);
}
.card__num {
  position: absolute;
  top: 10px;
  inset-inline-end: 12px;
  z-index: 2;
  font-family: var(--f-latin);
  font-size: 1.3rem;
  line-height: 1;
  color: var(--gold);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.card__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: center;
  gap: 4px;
  margin-top: -8px;
  padding: 0 18px 20px;
  text-align: center;
}
.card__name {
  direction: ltr;
  font-family: var(--f-latin);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: var(--text);
}
.card__handle { direction: ltr; font-size: 0.88rem; color: var(--gold-2); }
.card__streams { font-size: 0.92rem; color: var(--muted); }
.card__streams b { color: var(--dim); font-weight: 600; }
.card__bio {
  margin-top: 4px;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--sand);
}
.card__bio::before,
.card__bio::after { content: "\""; color: var(--gold); }
.card__foot { align-self: stretch; margin-top: auto; padding-top: 14px; }

/* ---------- دونز ستوديو ---------- */

.studio {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  margin-top: clamp(40px, 6vw, 70px);
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(224, 169, 69, 0.35);
  border-radius: 12px;
  overflow: hidden;
  background: #0f0d0a;
  transition: border-color 0.3s var(--ease);
}
.studio:hover { border-color: rgba(224, 169, 69, 0.7); }
.studio::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../assets/brand/dn-dark.webp") center 45% / cover no-repeat;
  opacity: 0.5;
}
.studio::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(12, 10, 8, 0.5), rgba(12, 10, 8, 0.95) 65%);
}
html[dir="ltr"] .studio::after { background: linear-gradient(270deg, rgba(12, 10, 8, 0.5), rgba(12, 10, 8, 0.95) 65%); }
.studio[hidden] { display: none; }
.studio__copy { display: flex; flex-direction: column; gap: 6px; max-width: 560px; }
.studio__kicker {
  font-family: var(--f-latin);
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  color: var(--gold-2);
  direction: ltr;
}
html[dir="rtl"] .studio__kicker { text-align: right; }
.studio__title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  line-height: 1.25;
}
html[lang="en"] .studio__title { font-family: var(--f-latin); font-weight: 400; text-transform: uppercase; }
.studio__text { font-size: 1.05rem; color: var(--muted); }

/* نافذة الأعضاء */
.modal {
  width: min(560px, calc(100% - 32px));
  max-height: min(82vh, 720px);
  padding: 0;
  border: 1px solid rgba(224, 169, 69, 0.35);
  border-radius: 14px;
  background: #13120f;
  color: var(--text);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);
  overflow: auto;
}
.modal::backdrop { background: rgba(0, 0, 0, 0.72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal[open] { animation: modal-in 0.35s var(--ease-out); }
.modal__head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
  background: #13120f;
}
.modal__head h3 { font-family: var(--f-display); font-weight: 800; font-size: 1.45rem; line-height: 1.3; }
.modal__close {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  transition: border-color 0.25s, color 0.25s;
}
.modal__close svg { width: 18px; height: 18px; }
.modal__close:hover { border-color: var(--gold); color: var(--gold-2); }

.studio-list { display: grid; gap: 12px; margin: 0; padding: 18px 22px 24px; list-style: none; }
.studio-item {
  display: flex;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #1a1814;
}
.studio-item__avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-deep));
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--ink);
}
.studio-item h4 { font-family: var(--f-display); font-weight: 800; font-size: 1.12rem; line-height: 1.4; }
.studio-item__role { font-weight: 700; font-size: 0.92rem; color: var(--gold-2); }
.studio-item ul { margin: 6px 0 0; padding-inline-start: 18px; font-size: 0.95rem; color: var(--muted); }

/* ---------- أيقونات الحسابات ---------- */

.icon-link {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--sand);
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.3s var(--ease-out);
}
.icon-link svg { width: 18px; height: 18px; }
.icon-link:hover { color: var(--ink); border-color: var(--gold); background: var(--gold); transform: translateY(-2px); }
.icon-link--lg { width: 46px; height: 46px; border-radius: 12px; }
.icon-link--lg svg { width: 21px; height: 21px; }
.card__socials { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }

/* ---------- المجتمع ---------- */

.community__grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.community__grid.has-socials { grid-template-columns: 1.4fr 1fr; align-items: stretch; }

.discord {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  min-height: 240px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(224, 169, 69, 0.35);
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 90% at 85% 50%, rgba(224, 169, 69, 0.16), transparent 70%),
    linear-gradient(135deg, #17140f, #0e0d0c);
}
html[dir="rtl"] .discord { background:
    radial-gradient(ellipse 60% 90% at 15% 50%, rgba(224, 169, 69, 0.16), transparent 70%),
    linear-gradient(225deg, #17140f, #0e0d0c); }
.discord__mark {
  position: absolute;
  z-index: -1;
  top: 50%;
  inset-inline-end: -2%;
  width: clamp(180px, 22vw, 300px);
  color: rgba(224, 169, 69, 0.1);
  transform: translateY(-50%) rotate(-12deg);
  pointer-events: none;
}
.discord__mark svg { width: 100%; height: auto; }
.discord__copy { display: flex; flex-direction: column; gap: 6px; max-width: 520px; }
.discord__kicker {
  direction: ltr;
  font-family: var(--f-latin);
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  color: var(--gold-2);
}
html[dir="rtl"] .discord__kicker { text-align: right; }
.discord h3 {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  line-height: 1.25;
}
html[lang="en"] .discord h3 { font-family: var(--f-latin); font-weight: 400; text-transform: uppercase; }
.discord p { font-size: 1.05rem; color: var(--muted); }
.discord__btn.is-off {
  border: 1px dashed var(--line-2);
  clip-path: none;
  border-radius: 10px;
  color: var(--muted);
  cursor: default;
}

.socials { display: grid; gap: 12px; align-content: start; }
.socials[hidden] { display: none; }
.social {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  transition: border-color 0.25s var(--ease), transform 0.3s var(--ease-out), background 0.25s var(--ease);
}
.social:hover { border-color: rgba(224, 169, 69, 0.6); background: var(--surface-2); transform: translateY(-2px); }
.social__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(224, 169, 69, 0.12);
  color: var(--gold-2);
}
.social__icon svg { width: 22px; height: 22px; }
.social__text { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.4; }
.social__text strong { font-weight: 700; font-size: 1.02rem; }
.social__text small { direction: ltr; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 0.88rem; color: var(--muted); }
html[dir="rtl"] .social__text small { text-align: right; }
.social__arrow { color: var(--dim); transition: color 0.25s, transform 0.3s var(--ease-out); }
.social__arrow svg { width: 18px; height: 18px; }
html[dir="rtl"] .social__arrow svg { transform: scaleX(-1); }
.social:hover .social__arrow { color: var(--gold); transform: translateX(3px); }
html[dir="rtl"] .social:hover .social__arrow { transform: translateX(-3px); }

/* ---------- الطموحات ---------- */

.goals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.goal {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 200px;
  padding: 22px 22px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), border-color 0.3s var(--ease);
}
.goal:hover { transform: translateY(-4px); border-color: var(--line-2); }
.goal__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.goal__num {
  direction: ltr;
  font-family: var(--f-latin);
  font-size: 2.6rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.12);
}
.goal__status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--dim);
  white-space: nowrap;
}
.goal__status svg { width: 14px; height: 14px; }
.goal h3 { font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; line-height: 1.45; color: var(--text); }
html[lang="en"] .goal h3 { font-size: 1.2rem; }
.goal p { font-size: 0.96rem; color: var(--muted); }

.goal.is-done {
  border-color: rgba(224, 169, 69, 0.35);
  background: linear-gradient(180deg, rgba(224, 169, 69, 0.09), var(--surface) 65%);
}
.goal.is-done .goal__num { color: var(--gold); }
.goal.is-done .goal__status { border-color: transparent; background: rgba(224, 169, 69, 0.15); color: var(--gold-2); }

/* الهدف الحالي: إطار ذهبي يلف */
@property --spin {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.goal.is-current {
  border: 2px solid transparent;
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(224, 169, 69, 0.14), transparent 70%) padding-box,
    linear-gradient(var(--surface-2), var(--surface-2)) padding-box,
    conic-gradient(from var(--spin), var(--gold-2), rgba(224, 169, 69, 0.25) 30%, rgba(224, 169, 69, 0.25) 70%, var(--gold-2)) border-box;
  box-shadow: 0 24px 60px -30px rgba(224, 169, 69, 0.55);
  animation: spin-border 4s linear infinite;
}
.goal.is-current .goal__num { color: var(--text); }
.goal.is-current .goal__status { border-color: transparent; background: var(--gold); color: var(--ink); }
.goal.is-current .goal__status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
  animation: blink-soft 1.2s var(--ease) infinite;
}

/* هدف مخفي: مطموس بالكامل، ما ينكتب فيه شي لين يجي دوره */
.goal.is-secret {
  border-style: dashed;
  border-color: rgba(224, 169, 69, 0.22);
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.018) 0 10px, transparent 10px 20px),
    #0d0c0b;
}
.goal.is-secret:hover { border-color: rgba(224, 169, 69, 0.45); }
.goal.is-secret .goal__num { color: rgba(224, 169, 69, 0.4); filter: blur(5px); }
.goal.is-secret .goal__status {
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border-style: dashed;
  border-color: rgba(224, 169, 69, 0.35);
  color: var(--gold);
}
/* خطوط ذهبية مطموسة مكان العنوان والوصف */
.goal__blur { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.goal__blur i {
  display: block;
  height: 10px;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(224, 169, 69, 0.12), rgba(224, 169, 69, 0.5), rgba(224, 169, 69, 0.12));
  background-size: 200% 100%;
  filter: blur(3px);
  animation: secret-shimmer 3.2s linear infinite;
}
.goal__blur i:nth-child(1) { width: 70%; height: 20px; margin-bottom: 6px; filter: blur(5px); }
.goal__blur i:nth-child(2) { width: 92%; animation-delay: -1s; }
.goal__blur i:nth-child(3) { width: 56%; animation-delay: -2s; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.goal.is-summit {
  border-color: transparent;
  background: linear-gradient(135deg, var(--gold-2), var(--gold-deep));
  box-shadow: 0 24px 60px -30px rgba(224, 169, 69, 0.6);
}
.goal.is-summit h3 { color: var(--ink); font-size: 1.5rem; }
.goal.is-summit p { color: rgba(26, 18, 6, 0.8); }
.goal.is-summit .goal__num { color: rgba(26, 18, 6, 0.3); }
.goal.is-summit .goal__status { border-color: rgba(26, 18, 6, 0.25); background: transparent; color: var(--ink); }
.goal__mark {
  position: absolute;
  z-index: -1;
  bottom: 12px;
  inset-inline-end: 14px;
  width: 42%;
  opacity: 0.22;
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* ---------- المقاطع ---------- */

/* بطاقات كبيرة: عمودين، وتصير ثلاثة لما تزيد المقاطع عن أربعة */
.clips__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.clips__grid:has(> .clip:nth-child(5)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.clip {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  overflow: hidden;
  transition: transform 0.45s var(--ease-out), border-color 0.3s var(--ease), box-shadow 0.45s var(--ease);
}
.clip:hover {
  transform: translateY(-4px);
  border-color: rgba(224, 169, 69, 0.55);
  box-shadow: 0 30px 70px -35px rgba(200, 140, 40, 0.55);
}
.clip:focus-within { border-color: var(--gold); }

.clip__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}
.clip__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  direction: ltr;
}

/* قبل التشغيل: صورة من المقطع، تظليل، وزر تشغيل ذهبي كبير */
.clip.is-enhanced:not(.is-started) .clip__frame { cursor: pointer; }
.clip.is-enhanced:not(.is-started) .clip__video { object-fit: cover; transition: transform 0.8s var(--ease-out); }
.clip.is-enhanced:not(.is-started) .clip__frame:hover .clip__video { transform: scale(1.04); }

.clip__shade,
.clip__play,
.clip__num { display: none; }
.clip.is-enhanced .clip__shade,
.clip.is-enhanced .clip__play,
.clip.is-enhanced .clip__num { display: grid; }

.clip__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 32%, transparent 58%, rgba(0, 0, 0, 0.75)),
    radial-gradient(circle at 50% 50%, transparent 30%, rgba(0, 0, 0, 0.35));
  transition: opacity 0.35s var(--ease);
}
.clip__play {
  position: absolute;
  inset: 0;
  place-items: center;
  width: 78px;
  height: 78px;
  margin: auto;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 60%, #c98f2e);
  color: var(--ink);
  box-shadow: 0 0 0 10px rgba(224, 169, 69, 0.16), 0 18px 40px rgba(0, 0, 0, 0.6);
  pointer-events: none;
  transition: transform 0.35s var(--ease-out), opacity 0.3s var(--ease);
}
.clip__play svg { width: 28px; height: 28px; margin-left: 4px; }
.clip__play::after {
  content: "";
  position: absolute;
  inset: -12px;
  border: 2px solid rgba(224, 169, 69, 0.55);
  border-radius: 50%;
  animation: ping 2.4s var(--ease-out) infinite;
}
.clip__frame:hover .clip__play,
.clip__frame:focus-visible .clip__play { transform: scale(1.1); }
.clip.is-preview .clip__play { transform: scale(0.82); opacity: 0.9; }
.clip.is-preview .clip__shade { opacity: 0.6; }
.clip__frame:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; border-radius: 0; }

.clip__num {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  padding: 3px 10px 1px;
  border-radius: 6px;
  background: rgba(10, 10, 11, 0.72);
  font-family: var(--f-latin);
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--gold);
  pointer-events: none;
}

/* بعد ما يشتغل: نشيل الزر والتظليل وتبان أزرار التحكم */
.clip.is-started .clip__shade,
.clip.is-started .clip__play,
.clip.is-started .clip__num { opacity: 0; visibility: hidden; }

.clip__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px 16px;
}
.clip__meta::before {
  content: "";
  flex: none;
  width: 4px;
  height: 24px;
  border-radius: 2px;
  background: var(--gold);
  transform: skewX(-14deg);
}
.clip__meta h3 {
  direction: ltr;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-family: var(--f-latin);
  font-weight: 400;
  font-size: 1.55rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--text);
}

/* ---------- الجدول ---------- */

.days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}
.day {
  min-height: 150px;
  padding: 16px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}
.day.is-today { border-color: var(--gold); background: linear-gradient(180deg, rgba(224, 169, 69, 0.1), var(--surface)); }
.day h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 1rem;
}
.day__today { padding: 1px 8px; border-radius: 999px; background: var(--gold); color: var(--ink); font-size: 0.7rem; font-weight: 700; }
.slot { padding: 10px 0; border-top: 1px solid var(--line); }
.slot time { display: block; direction: ltr; font-family: var(--f-latin); font-size: 1.1rem; color: var(--gold-2); }
html[dir="rtl"] .slot time { text-align: right; }
.slot strong { display: block; font-size: 0.95rem; }
.slot span { font-size: 0.85rem; color: var(--muted); }
.day__off { color: var(--dim); }

/* ---------- آخر الصفحة ---------- */

.footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(90px, 12vw, 150px);
  text-align: center;
  border-top: 1px solid var(--line);
  background: radial-gradient(ellipse 60% 55% at 50% 100%, rgba(224, 169, 69, 0.16), transparent 72%);
}
.footer__cta { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.footer__mark { width: clamp(130px, 14vw, 180px); filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6)); }
.footer__title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(3rem, 9vw, 7rem);
  line-height: 1.1;
}
html[lang="en"] .footer__title {
  font-family: var(--f-latin);
  font-weight: 400;
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: 1;
  text-transform: uppercase;
}
.footer__sub { max-width: 540px; font-size: 1.1rem; color: var(--muted); }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.footer__links:empty { display: none; }
.contact { display: grid; justify-items: center; gap: 12px; margin-top: 14px; }
.contact h3 { font-family: var(--f-display); font-size: 1.1rem; }
.contact a { direction: ltr; overflow-wrap: anywhere; }
.card__content { color: var(--sand); font-size: 0.95rem; }
.card__content span { color: var(--muted); }
.footer__soon { color: var(--dim); }

.link-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-weight: 700;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.3s var(--ease-out);
}
html[dir="rtl"] .link-chip { padding: 8px 8px 8px 16px; }
.link-chip:hover { transform: translateY(-2px); border-color: var(--kick); background: rgba(83, 252, 24, 0.06); }
.link-chip img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: var(--surface-2); }
.link-chip span { direction: ltr; }

.footer__word {
  margin-top: clamp(40px, 6vw, 70px);
  direction: ltr;
  font-family: var(--f-latin);
  font-size: clamp(6rem, 25vw, 26rem);
  line-height: 0.8;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(224, 169, 69, 0.3);
  background: linear-gradient(180deg, rgba(224, 169, 69, 0.26), transparent 80%);
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
  /* الكلمة الكبيرة تطلع فوق الأيقونات اللي فوقها، فما تاخذ الضغطات */
  pointer-events: none;
}
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 20px;
  padding: 22px 0 calc(26px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}
.footer__bottom a:hover { color: var(--gold-2); }

/* ---------- شريط الخطأ (لو فيه غلطة في data.js) ---------- */

.data-error {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 400;
  padding: 14px var(--gutter);
  background: #a3121b;
  color: #fff;
  text-align: center;
  font-weight: 600;
}
.noscript { padding: 40px var(--gutter); text-align: center; }

/* ---------- الحركات ---------- */

@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes ping {
  from { transform: scale(0.6); opacity: 1; }
  to { transform: scale(1.8); opacity: 0; }
}
@keyframes drip { to { top: 100%; } }
@keyframes tape { to { transform: translateX(-50%); } }
@keyframes blink-soft { 50% { opacity: 0.25; } }
@keyframes shine { 0% { transform: translateX(-130%); } 45%, 100% { transform: translateX(130%); } }
@keyframes nudge { 50% { transform: translateX(5px); } }
@keyframes nudge-rtl { 50% { transform: scaleX(-1) translateX(5px); } }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } }
@keyframes spin-border { to { --spin: 360deg; } }
@keyframes secret-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ---------- الشاشات الأصغر ---------- */

@media (max-width: 1100px) {
  .clips__grid,
  .clips__grid:has(> .clip:nth-child(5)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .clips__grid,
  .clips__grid:has(> .clip:nth-child(5)) { grid-template-columns: 1fr; gap: 16px; }
  .clip__play { width: 64px; height: 64px; }
  .clip__play svg { width: 24px; height: 24px; }
  .clip__meta h3 { font-size: 1.35rem; }
}

@media (max-width: 1000px) {
  .cards { --cols: 2 !important; }
}

@media (max-width: 960px) {
  .community__grid.has-socials { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero__inner { flex: none; }
  .about__grid { grid-template-columns: 1fr; }
  .goals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .days { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .day { min-height: 0; }
}

@media (max-width: 600px) {
  :root { --nav-h: 64px; }
  .brand__mark { height: 26px; }
  .brand__word { font-size: 1.3rem; }
  .hero { min-height: 0; padding-bottom: 110px; }
  .hero__banner { aspect-ratio: 15 / 8; }
  .hero__inner { flex: none; margin-top: -12px; gap: 16px; }
  .hero__cta { flex-direction: column; align-items: stretch; width: min(100%, 320px); }
  .hero__scroll { display: none; }
  .tapes { margin-top: -40px; }
  .goals { grid-template-columns: 1fr; gap: 12px; }
  .goal { min-height: 0; padding: 18px 18px 20px; }
  .goal__num { font-size: 2.1rem; }
  .goal__mark { width: 30%; }
  .clips__grid { grid-template-columns: 1fr; }
  .stat { padding: 22px 18px 18px; }
  .cards {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 14px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) transparent;
  }
  .card { flex: 0 0 74vw; max-width: 280px; scroll-snap-align: start; }
  .studio .btn { width: 100%; padding: 0 18px; font-size: 0.95rem; white-space: normal; text-align: center; }
  .footer__bottom { justify-content: center; text-align: center; }
}

/* ---------- التصفح بدون JavaScript ---------- */
.no-js .menu-btn, .no-js #studioBtn { display: none; }
@media (max-width: 860px) {
  .no-js .nav { position: relative; height: auto; flex-wrap: wrap; padding-block: 12px; }
  .no-js .nav__links {
    position: static; order: 3; width: 100%; z-index: auto;
    opacity: 1; visibility: visible; flex-direction: row; flex-wrap: wrap;
  }
  .no-js .nav__links a { font-family: var(--f-body); font-size: 1rem; padding: 6px 10px; }
}

/* ---------- لمن يفضّل حركة أقل ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; }
}

