/* =====================================================================
   VXCZ — Styles (Mobile First, RTL)
   الهوية: أسود + ذهبي، خط Cairo، أقسام فاتحة وداكنة بالتناوب
   ===================================================================== */
:root {
  --black: #080b0e;
  --dark: #10161b;
  --dark-2: #141b21;
  --dark-3: #1b232a;
  --line-d: #303941;
  --gold: #f4c62d;
  --gold-ink: #111;
  --gold-deep: #ad8900;
  --bg: #f5f6f7;
  --white: #fff;
  --ink: #151a1f;
  --muted: #6c757d;
  --muted-d: #9ba5ac;
  --line: #e1e5e8;

  --r-sm: 12px;
  --r: 15px;
  --r-lg: 22px;
  --pill: 28px;
  --shadow: 0 8px 25px rgba(23, 33, 43, .06);
  --shadow-lg: 0 24px 50px -18px rgba(8, 11, 14, .45);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 64px;
  --gutter: 16px;

  --font: "Cairo", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --font-latin: "Space Grotesk", "Cairo", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 16px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
  padding-bottom: calc(84px + env(safe-area-inset-bottom));
  overflow-x: hidden;
}
body.lock { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, h5, p { margin: 0; }
img, svg { display: block; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 10px; }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.kicker { display: block; color: var(--gold); font-style: normal; font-size: 13px; font-weight: 800; }
.light .kicker, .white .kicker { color: var(--gold-deep); }

/* ---------------- Logo ---------------- */
.logo { display: inline-flex; flex-direction: column; line-height: 1; color: #fff; }
.logo b { font-size: 26px; font-weight: 900; }
.logo small { color: #b9c0c5; font-size: 9px; font-weight: 600; margin-top: 3px; letter-spacing: .02em; }

/* ---------------- Header ---------------- */
.header { position: sticky; top: 0; z-index: 40; height: var(--header-h); background: var(--black); color: #fff; border-bottom: 1px solid #242a30; }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.topnav { display: none; }

.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid #4a535b; color: #e5e9eb; transition: border-color .2s, color .2s, transform .15s; }
.icon-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.icon-btn:hover { border-color: var(--gold); color: var(--gold); }
.icon-btn:active { transform: scale(.94); }
.icon-btn--sm { width: 38px; height: 38px; }
.dark .icon-btn--sm { border-color: var(--line-d); }
.light .icon-btn--sm, .white .icon-btn--sm { border-color: #cfd5d9; color: var(--ink); }

/* ---------------- Bottom nav ---------------- */
.bottom-nav {
  position: fixed; z-index: 45; inset-inline: 12px; bottom: calc(10px + env(safe-area-inset-bottom));
  height: 64px; border-radius: 22px;
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
  background: rgba(8, 11, 14, .94); border: 1px solid #242a30;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .55);
}
.bottom-nav a { display: flex; flex-direction: column; align-items: center; gap: 1px; font-size: 11px; color: #8d979e; font-weight: 700; transition: color .2s; }
.bottom-nav a svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.bottom-nav a.is-active { color: var(--gold); }
.bottom-nav__search { justify-self: center; width: 50px; height: 50px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); display: grid; place-items: center; box-shadow: 0 8px 22px -6px rgba(244, 198, 45, .55); transition: transform .15s; }
.bottom-nav__search:active { transform: scale(.92); }
.bottom-nav__search svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: var(--pill);
  font-weight: 800; font-size: 14px; white-space: nowrap;
  transition: transform .15s var(--ease), background .2s, border-color .2s, color .2s, box-shadow .2s;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--gold); color: var(--gold-ink); }
.btn--primary:hover { box-shadow: 0 10px 24px -10px rgba(244, 198, 45, .8); }
.btn--ghost { border: 1px solid #69737b; color: #fff; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.empty .btn--ghost { color: var(--ink); border-color: #cfd5d9; }
.btn--soft { background: var(--bg); border: 1px solid var(--line); color: var(--ink); }
.btn--soft:hover { border-color: var(--ink); }
.btn--lg { min-height: 52px; font-size: 15px; padding: 0 26px; }
.btn--block { width: 100%; }
.btn--visit { width: 100%; min-height: 42px; font-size: 13px; background: var(--bg); border: 1px solid var(--line); color: var(--ink); }
.btn--visit:hover { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.dark .btn--visit { background: transparent; border-color: var(--line-d); color: #fff; }
.dark .btn--visit:hover { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }

/* ---------------- Badges ---------------- */
.badge {
  display: inline-flex; align-items: center; gap: 4px; padding: 4px 11px; border-radius: 999px;
  font-size: 11.5px; font-weight: 800; line-height: 1.3; white-space: nowrap;
  background: rgba(8, 11, 14, .78); color: #fff; border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.badge--fire   { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.badge--blue   { color: #9CC8FF; }
.badge--green  { color: #8EF0B4; }
.badge--violet { color: #C9B1FF; }
.badge--gold   { color: var(--gold); border-color: rgba(244, 198, 45, .45); }
.badge--teal   { color: #7DEBE1; }
.pill-ad { display: inline-flex; padding: 3px 9px; border-radius: 8px; font-size: 11px; font-weight: 700; color: #e5e9eb; background: rgba(8, 11, 14, .7); border: 1px solid rgba(255, 255, 255, .12); }

/* ---------------- Sections ---------------- */
.app { min-height: 70vh; outline: none; }
.app.enter { animation: pageIn .45s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } }
.section { padding-block: 52px; }
.section--tight { padding-top: 6px; padding-bottom: 48px; }
.dark { background: #0b1014; color: #fff; }
.light { background: var(--bg); }
.white { background: var(--white); }

.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.sec-head h2 { font-size: 26px; font-weight: 800; line-height: 1.35; margin: 2px 0; }
.sec-head p { color: var(--muted); font-size: 14px; }
.dark .sec-head p { color: var(--muted-d); }
.sec-head__side { display: flex; align-items: center; gap: 10px; }
.sec-link { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 800; white-space: nowrap; padding: 8px 0; transition: color .2s; }
.sec-link:hover { color: var(--gold); }
.light .sec-link:hover, .white .sec-link:hover { color: var(--gold-deep); }
.sec-link .ico { width: 16px; height: 16px; }
.sl-arrows { display: none; gap: 8px; }

/* ---------------- Hero ---------------- */
.hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(circle at 25% 50%, #283037, #10151a 45%, #07090b); }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; min-height: 500px; padding-block: 44px 40px; }
.hero__copy { min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.hero__title { font-size: 66px; font-weight: 900; line-height: 1; margin-top: 4px; }
.hero__tag { font-size: 22px; font-weight: 800; color: var(--gold); line-height: 1.4; }
.hero__sub { color: #d0d5d9; font-size: 14px; max-width: 560px; }

.searchbar {
  width: 100%; max-width: 540px; height: 54px; margin-top: 10px;
  display: flex; align-items: center; gap: 10px; padding: 0 20px;
  border-radius: var(--pill); background: rgba(255, 255, 255, .06); border: 1px solid #3a434a;
  color: #9ba5ac; font-size: 15px; text-align: start; transition: border-color .2s, background .2s;
}
.searchbar:hover { border-color: var(--gold); }
.searchbar .ico { width: 20px; height: 20px; color: var(--gold); }
.searchbar span { flex: 1; }
.searchbar kbd { display: none; font-family: var(--font-latin); font-size: 12px; padding: 1px 8px; border-radius: 6px; border: 1px solid #4a535b; }

.quick { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; max-width: calc(100% + var(--gutter) * 2); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
.quick::-webkit-scrollbar { display: none; }
.quick a { flex: none; font-size: 12.5px; font-weight: 700; padding: 5px 14px; border-radius: 999px; color: #e5e9eb; border: 1px solid #4a535b; transition: color .2s, border-color .2s; }
.quick a:hover { color: var(--gold); border-color: var(--gold); }
.hero__cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }

/* Hero visual (desktop) */
.hero__visual { display: none; position: relative; height: 420px; }
.hv-ring { position: absolute; inset: 50% auto auto 50%; width: 400px; height: 400px; transform: translate(-50%, -50%); border-radius: 50%; border: 1px dashed rgba(244, 198, 45, .25); }
.hv-word { position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%); font-family: var(--font-latin); font-weight: 700; font-size: 170px; letter-spacing: .06em; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .07); direction: ltr; user-select: none; }
.hv-card { position: absolute; border-radius: var(--r); overflow: hidden; background: var(--dark-2); border: 1px solid var(--line-d); box-shadow: var(--shadow-lg); animation: float 7s ease-in-out infinite; }
.hv-card .art { width: 100%; height: 100%; }
.hv-card > span { position: absolute; bottom: 8px; inset-inline-start: 8px; font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 8px; background: rgba(8, 11, 14, .75); }
.hv-card--a { width: 170px; height: 170px; top: 20px; inset-inline-start: 4%; --r: 8deg; }
.hv-card--b { width: 160px; height: 160px; bottom: 20px; inset-inline-end: 4%; --r: -7deg; animation-delay: -3s; }
.hv-card--main { width: 280px; height: 270px; top: 50%; left: 50%; margin: -135px 0 0 -140px; --r: -3deg; animation-delay: -1.5s; z-index: 2; }
.hv-card--main .art { height: 192px; }
.hv-card__body { padding: 10px 14px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.hv-card__body b { font-size: 16px; }
@keyframes float { 0%, 100% { transform: rotate(var(--r)) translateY(0); } 50% { transform: rotate(var(--r)) translateY(-8px); } }

/* ---------------- Stats ---------------- */
.stats { background: #0e1419; color: #fff; }
.statgrid { display: grid; grid-template-columns: repeat(2, 1fr); padding-block: 8px; }
.statgrid > div { text-align: center; padding: 14px 6px; border-bottom: 1px solid #30373d; }
.statgrid > div:nth-child(odd) { border-left: 1px solid #30373d; }
.statgrid > div:nth-last-child(-n+2) { border-bottom: 0; }
.statgrid b { color: var(--gold); font-size: 22px; display: block; line-height: 1.4; }
.statgrid strong { display: block; font-size: 13px; }
.statgrid small { color: #909aa1; font-size: 11px; }

/* ---------------- Slider ---------------- */
.slider { display: flex; gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding-bottom: 8px; scrollbar-width: none; }
.slider::-webkit-scrollbar { display: none; }
.slider > * { scroll-snap-align: start; }
.swap { animation: swapIn .4s var(--ease) both; }
@keyframes swapIn { from { opacity: 0; transform: translateY(6px); } }

/* ---------------- Card ---------------- */
.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; cursor: pointer; box-shadow: var(--shadow);
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.dark .card { background: var(--dark-2); border-color: var(--line-d); box-shadow: none; }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(135deg, #333b42, #0c1014); }
.card__media .art, .card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card__tags { position: absolute; top: 10px; inset-inline: 10px; display: flex; justify-content: space-between; align-items: flex-start; gap: 6px; flex-wrap: wrap; }
.card__city { position: absolute; bottom: 10px; inset-inline-start: 10px; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: #fff; padding: 3px 10px; border-radius: 999px; background: rgba(8, 11, 14, .75); }
.card__city .ico { width: 14px; height: 14px; color: var(--gold); }
.card__body { padding: 16px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.card__cat { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); font-weight: 700; }
.dark .card__cat { color: var(--muted-d); }
.card__star { display: inline-flex; align-items: center; gap: 3px; font-style: normal; color: var(--gold-deep); font-size: 11px; font-weight: 800; }
.dark .card__star { color: var(--gold); }
.card__star .ico { width: 12px; height: 12px; }
.card__title { font-size: 17px; font-weight: 800; line-height: 1.45; }
.card__desc { font-size: 13px; color: #737c84; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dark .card__desc { color: #a2abb1; }
.card__foot { margin-top: auto; padding-top: 12px; }
.card__more { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; font-weight: 800; }
.dark .card__more { color: var(--gold); }
.card__more .ico { width: 16px; height: 16px; }
.card__actions { margin-top: auto; padding-top: 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.act { min-height: 42px; border-radius: var(--pill); display: inline-flex; align-items: center; justify-content: center; gap: 5px; font-size: 12.5px; font-weight: 700; background: var(--bg); border: 1px solid var(--line); transition: background .2s, color .2s, border-color .2s; }
.act .ico { width: 15px; height: 15px; }
.act:hover { border-color: var(--ink); }
.dark .act { background: transparent; border-color: var(--line-d); color: #fff; }
.dark .act:hover { border-color: #fff; }
.act--main, .dark .act--main { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.act--main:hover, .dark .act--main:hover { border-color: var(--gold); box-shadow: 0 8px 18px -8px rgba(244, 198, 45, .8); }

.card--slide { flex: 0 0 78%; max-width: 300px; }
.card--slide-wide { flex-basis: 86%; max-width: 360px; }
.card--slide .card__media { aspect-ratio: 5 / 4; }
.card--slide-wide .card__media { aspect-ratio: 16 / 10; }

/* ---------------- Grids ---------------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.grid .card__body { padding: 12px; }
.grid .card__title { font-size: 15px; }
.grid .card__desc { font-size: 12.5px; }
.grid .btn--visit { font-size: 12.5px; min-height: 40px; padding: 0 10px; }
.grid .card__tags .pill-ad { display: none; }
.grid--places { grid-template-columns: 1fr; gap: 14px; }
.grid--places .card__media { aspect-ratio: 16 / 9; }
.grid--places .card__title { font-size: 17px; }
.grid--places .card__tags .pill-ad { display: inline-flex; }

/* ---------------- Categories (service-card style) ---------------- */
.cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cat {
  position: relative; display: flex; flex-direction: column; gap: 10px; padding: 18px 16px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow);
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.cat__art { display: none; }
.cat__emoji { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: var(--dark); margin-bottom: 6px; }
.cat__txt { display: flex; flex-direction: column; }
.cat__name { font-weight: 800; font-size: 15.5px; line-height: 1.45; }
.cat__meta { font-size: 12px; color: #737c84; line-height: 1.6; }
.cat__go { position: absolute; top: 18px; inset-inline-end: 16px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--ink); transition: background .2s, color .2s, border-color .2s; }
.cat__go .ico { width: 15px; height: 15px; }
.cat:first-child { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 14px; }
.cat:first-child .cat__emoji { margin-bottom: 0; }

/* Categories page */
.cat-list { display: grid; gap: 14px; }
.cat-block { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.cat-block__top { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px; }
.cat-block__art { display: none; }
.cat-block__emoji { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; font-size: 24px; background: var(--dark); flex: none; }
.cat-block__txt { display: flex; flex-direction: column; line-height: 1.5; }
.cat-block__txt b { font-size: 17px; font-weight: 800; }
.cat-block__txt small { color: var(--muted); font-size: 12.5px; }
.cat-block .cat__go { top: 50%; transform: translateY(-50%); }
.cat-block__subs { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.cat-block__subs a { font-size: 12.5px; font-weight: 700; padding: 6px 14px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); transition: border-color .2s, background .2s; }
.cat-block__subs a:hover { border-color: var(--gold); background: #fffbea; }

/* ---------------- Trending ---------------- */
.trend-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.trend { position: relative; border-radius: var(--r); overflow: hidden; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s; }
.trend__media { aspect-ratio: 1 / 1; overflow: hidden; }
.trend__media .art, .trend__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.trend__rank { position: absolute; top: 10px; inset-inline-start: 10px; min-width: 38px; height: 30px; padding: 0 8px; border-radius: 999px; display: grid; place-items: center; font-family: var(--font-latin); font-weight: 700; font-size: 14px; background: rgba(8, 11, 14, .8); color: #fff; }
.trend:first-child .trend__rank { background: var(--gold); color: var(--gold-ink); }
.trend__body { padding: 10px 12px 14px; }
.trend__body h3 { font-size: 14.5px; font-weight: 800; line-height: 1.45; }

/* ---------------- Weekly ad ---------------- */
.ad-section { padding-block: 36px; background: #151b20; color: #fff; }
.weekly { position: relative; display: grid; border-radius: var(--r); overflow: hidden; cursor: pointer; border: 1px solid #3a434a; background: linear-gradient(90deg, #11171c, #242b30); transition: transform .25s var(--ease), border-color .3s; }
.weekly__media { aspect-ratio: 16 / 10; overflow: hidden; }
.weekly__media .art, .weekly__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.weekly__body { padding: 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.weekly__label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; color: var(--gold); }
.weekly__body h3 { font-size: 28px; font-weight: 900; line-height: 1.3; }
.weekly__body p { color: #aeb6bb; font-size: 14px; margin-bottom: 8px; }

/* ---------------- Segmented ---------------- */
.seg { display: flex; gap: 6px; padding: 4px; margin-bottom: 18px; border-radius: var(--pill); border: 1px solid var(--line-d); width: fit-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.seg__btn { flex: none; min-height: 40px; padding: 0 16px; border-radius: var(--pill); font-size: 13.5px; font-weight: 700; color: #c5cbd0; transition: background .25s var(--ease), color .25s; }
.seg__btn.is-on { background: var(--gold); color: var(--gold-ink); }

/* ---------------- Why ---------------- */
.why-grid { display: grid; gap: 14px; }
.why-grid > div { background: #f6f7f8; padding: 24px; border-top: 3px solid var(--gold); }
.why-grid b { color: var(--gold-deep); font-family: var(--font-latin); }
.why-grid h3 { font-size: 18px; font-weight: 800; margin: 4px 0; }
.why-grid p { color: var(--muted); font-size: 13.5px; }

/* ---------------- Follow ---------------- */
.follow__head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 2px; margin-bottom: 26px; }
.follow__head h2 { font-size: 30px; font-weight: 900; }
.follow__head p { color: var(--muted); font-size: 14px; }
.soc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.soc {
  --c: #000; position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; gap: 14px; padding: 18px 16px;
  border-radius: var(--r); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.soc::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--c); }
.soc__icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--c); color: #fff; }
.soc__icon svg { width: 26px; height: 26px; }
.soc__txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.45; }
.soc__platform { font-size: 12px; color: var(--muted); font-family: var(--font-latin); }
.soc__title { font-weight: 800; font-size: 17px; font-family: var(--font-latin); }
.soc__handle { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.soc__cta { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px; border-radius: var(--pill); font-size: 13px; font-weight: 800; background: var(--dark); color: #fff; transition: background .2s, color .2s; }
.soc__cta .ico { width: 15px; height: 15px; }

.soc--youtube { --c: #FF0033; }
.soc--youtube .soc__icon { --glyph-cut: #FF0033; }
.soc--snapchat { --c: #FFFC00; }
.soc--snapchat .soc__icon { --glyph-line: #111; }
.soc--instagram { --c: #E1306C; }
.soc--instagram .soc__icon { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.soc--tiktok { --c: #000; }
.soc--tiktok .soc__icon svg { filter: drop-shadow(-1.5px -1px 0 #25F4EE) drop-shadow(1.5px 1px 0 #FE2C55); }

.soc--main { grid-column: 1 / -1; flex-direction: row; align-items: center; background: var(--dark); border-color: var(--dark); color: #fff; }
.soc--main .soc__icon { width: 56px; height: 56px; }
.soc--main .soc__icon svg { width: 32px; height: 32px; }
.soc--main .soc__title { font-size: 22px; }
.soc--main .soc__platform, .soc--main .soc__handle { color: var(--muted-d); }
.soc--main .soc__cta { margin: 0; margin-inline-start: auto; padding: 0 18px; background: var(--gold); color: var(--gold-ink); }

.contact { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact span { display: flex; flex-direction: column; }
.contact b { font-weight: 800; }
.contact small { color: var(--muted); }

/* ---------------- Page head & chips ---------------- */
.page-head { color: #fff; background: radial-gradient(circle at 25% 50%, #283037, #10151a 45%, #07090b); padding-block: 22px 26px; }
.back { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: #b9c0c5; margin-bottom: 12px; padding: 4px 0; }
.back:hover { color: var(--gold); }
.back .ico { width: 16px; height: 16px; }
.page-head__row { display: flex; align-items: center; gap: 14px; }
.page-emoji { width: 60px; height: 60px; flex: none; border-radius: 14px; display: grid; place-items: center; font-size: 28px; background: rgba(255, 255, 255, .06); border: 1px solid #3a434a; }
.page-head h1 { font-size: 28px; font-weight: 900; line-height: 1.3; }
.page-head p { color: #b9c0c5; font-size: 13.5px; }
.note { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13px; color: #d0d5d9; padding: 10px 14px; border-radius: 12px; border: 1px solid #3a434a; }

.chips-wrap { position: sticky; top: var(--header-h); z-index: 30; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-block: 12px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 18px; border-radius: 999px; font-size: 13.5px; font-weight: 700; color: var(--ink); background: var(--white); border: 1px solid var(--line); transition: background .25s var(--ease), color .25s, border-color .25s; }
.chip small { font-size: 11px; opacity: .55; font-family: var(--font-latin); }
.chip.is-on { background: var(--dark); color: var(--gold); border-color: var(--dark); }

.empty { grid-column: 1 / -1; text-align: center; padding: 48px 20px; border-radius: var(--r); border: 1px dashed #cfd5d9; background: var(--white); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.empty > span { font-size: 34px; }
.empty h3 { font-size: 18px; font-weight: 800; }
.empty p { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.empty--sm { border: 0; padding: 40px 10px; background: transparent; }

/* ---------------- Sheet (details) ---------------- */
.sheet { position: fixed; inset: 0; z-index: 60; }
.sheet__backdrop { position: absolute; inset: 0; background: rgba(8, 11, 14, .65); opacity: 0; transition: opacity .35s var(--ease); }
.sheet__panel { position: absolute; inset-inline: 0; bottom: 0; max-height: 92vh; max-height: 92dvh; display: flex; flex-direction: column; background: var(--white); border-radius: 22px 22px 0 0; overflow: hidden; transform: translateY(100%); transition: transform .42s var(--ease); box-shadow: 0 -20px 60px -20px rgba(0, 0, 0, .5); }
.sheet.open .sheet__backdrop { opacity: 1; }
.sheet.open .sheet__panel { transform: none; }
.sheet__handle { position: absolute; top: 8px; left: 50%; width: 40px; height: 5px; margin-left: -20px; border-radius: 3px; background: rgba(255, 255, 255, .5); z-index: 3; }
.sheet__close { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 3; background: rgba(8, 11, 14, .7); border-color: rgba(255, 255, 255, .2); color: #fff; }
.sheet__scroll { overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; }
.sheet__media { position: relative; flex: none; }
.gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery__item { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 4 / 3; max-height: 44vh; }
.gallery__item .art, .gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .45); transition: width .3s var(--ease), background .3s; }
.dots i.on { width: 18px; background: var(--gold); }
.sheet__body { padding: 20px 18px 8px; display: flex; flex-direction: column; gap: 12px; }
.sheet__tags { display: flex; gap: 6px; flex-wrap: wrap; }
.sheet__tags .badge, .sheet__tags .pill-ad { background: var(--dark); }
.sheet__tags .badge--fire { background: var(--gold); }
.sheet__body h2 { font-size: 26px; font-weight: 900; line-height: 1.3; }
.crumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); font-weight: 600; margin-top: -6px; }
.crumb__sep { opacity: .5; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.facts div { padding: 12px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); display: flex; flex-direction: column; }
.facts small { font-size: 12px; color: var(--muted); }
.facts b { display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 800; }
.facts .ico { width: 15px; height: 15px; color: var(--gold-deep); }
.lead { font-size: 15px; color: #39424a; line-height: 1.85; }
.why { padding: 14px 16px; background: #fffbea; border-inline-start: 3px solid var(--gold); border-radius: 4px 12px 12px 4px; }
.why h4 { font-size: 14px; font-weight: 800; color: var(--gold-deep); margin-bottom: 2px; }
.why p { font-size: 14px; color: #39424a; }
.h4 { font-size: 15px; font-weight: 800; margin-top: 6px; }
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.features li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; padding: 10px 12px; border-radius: 12px; background: var(--bg); }
.features .ico { width: 16px; height: 16px; padding: 2px; border-radius: 50%; background: var(--gold); color: var(--gold-ink); stroke-width: 3; }
.brand-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-radius: var(--r); background: var(--dark); color: #fff; text-align: start; transition: background .2s; }
.brand-row:hover { background: #1b232a; }
.brand-row span { display: flex; flex-direction: column; line-height: 1.5; }
.brand-row small { font-size: 12px; color: var(--muted-d); }
.brand-row b { font-weight: 800; }
.brand-row .ico { color: var(--gold); }
.related { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin-inline: -18px; padding-inline: 18px; }
.related::-webkit-scrollbar { display: none; }
.rel { flex: 0 0 140px; text-align: start; display: flex; flex-direction: column; line-height: 1.45; }
.rel__media { display: block; border-radius: 12px; overflow: hidden; aspect-ratio: 1; margin-bottom: 6px; }
.rel__media .art, .rel__media img { width: 100%; height: 100%; object-fit: cover; }
.rel b { font-size: 13px; font-weight: 800; }
.rel small { font-size: 12px; color: var(--muted); }
.disclosure { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #8d979e; padding: 6px 0 10px; }
.disclosure .ico { width: 14px; height: 14px; }
.sheet__cta { position: sticky; bottom: 0; padding: 12px 18px calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(0deg, #fff 72%, rgba(255, 255, 255, 0)); }
.sheet__cta--grid { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px; }
.sheet__cta--grid .btn { padding: 0 8px; font-size: 13.5px; }

/* ---------------- Search ---------------- */
.search { position: fixed; inset: 0; z-index: 70; background: rgba(8, 11, 14, .6); opacity: 0; transition: opacity .22s; }
.search.open { opacity: 1; }
.search__panel { position: absolute; inset: 0; background: var(--bg); display: flex; flex-direction: column; transform: translateY(12px); transition: transform .3s var(--ease); }
.search.open .search__panel { transform: none; }
.search__bar { display: flex; align-items: center; gap: 10px; padding: 10px var(--gutter); background: var(--black); }
.search__bar > svg { width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; flex: none; }
.search__bar input { flex: 1; min-width: 0; height: 48px; background: transparent; border: 0; outline: 0; color: #fff; font: inherit; font-size: 17px; }
.search__bar input::placeholder { color: #8d979e; }
.search__bar input::-webkit-search-cancel-button { filter: invert(1); }
.search__close { font-size: 14px; font-weight: 700; color: #e5e9eb; padding: 8px 4px; }
.search__results { flex: 1; overflow-y: auto; padding: 8px var(--gutter) 40px; max-width: 760px; width: 100%; margin-inline: auto; }
.res-group { padding-block: 14px; }
.res-group h5 { font-size: 13px; color: var(--gold-deep); font-weight: 800; margin-bottom: 10px; display: flex; gap: 6px; align-items: center; }
.res-group h5 small { font-family: var(--font-latin); color: var(--muted); }
.res-chips, .res-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.res-cats a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); font-size: 13.5px; font-weight: 700; }
.res-cats a span { display: flex; flex-direction: column; line-height: 1.35; }
.res-cats small { font-size: 11px; color: var(--muted); font-weight: 600; }
.res { width: 100%; display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 14px; text-align: start; transition: background .15s; }
.res:hover, .res:active { background: var(--white); }
.res__media { width: 56px; height: 56px; flex: none; border-radius: 12px; overflow: hidden; }
.res__media .art, .res__media img { width: 100%; height: 100%; object-fit: cover; }
.res__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.5; }
.res__txt b { font-size: 15px; font-weight: 800; }
.res__txt small { font-size: 12.5px; color: var(--muted); }
.res .badge { display: none; }

/* ---------------- Toast ---------------- */
.toast { position: fixed; z-index: 90; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; max-width: calc(100% - 32px); padding: 12px 20px; border-radius: var(--pill); background: var(--dark); color: #fff; border: 1px solid var(--line-d); font-size: 13.5px; font-weight: 700; text-align: center; box-shadow: var(--shadow-lg); transition: opacity .25s, transform .35s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------------- Footer ---------------- */
.footer { background: var(--black); color: #fff; }
.footer__inner { display: grid; gap: 30px; padding-block: 44px 34px; }
.footer__brand p { color: #89939a; font-size: 13px; margin-top: 10px; }
.footer__social { display: flex; gap: 8px; margin-top: 16px; }
.soc-mini { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid #3a434a; color: #fff; transition: border-color .2s, color .2s; --glyph-cut: var(--black); }
.soc-mini svg { width: 18px; height: 18px; }
.soc-mini:hover { border-color: var(--gold); color: var(--gold); }
.footer__col h3 { font-size: 14px; font-weight: 800; color: var(--gold); margin-bottom: 8px; }
.footer__col a { display: block; color: #cbd0d4; font-size: 13px; margin: 6px 0; transition: color .2s; }
.footer__col a:hover { color: var(--gold); }
.copy { text-align: center; border-top: 1px solid #252b31; padding: 18px var(--gutter) 22px; color: #707a82; font-size: 12px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.footer__disc { font-size: 11.5px; max-width: 640px; line-height: 1.8; }
.demo-tag { font-size: 11px; padding: 2px 10px; border-radius: 999px; border: 1px dashed #3a434a; }

/* ---------------- Reveal ---------------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.card.reveal.in:active, .trend.reveal.in:active, .cat.reveal.in:active, .soc.reveal.in:active, .weekly.reveal.in:active { transform: scale(.98); transition-delay: 0ms; transition-duration: .15s; }

/* ---------------- Hover (pointer devices) ---------------- */
@media (hover: hover) and (pointer: fine) {
  .card.reveal.in:hover, .trend.reveal.in:hover, .cat.reveal.in:hover, .soc.reveal.in:hover { transform: translateY(-4px); transition-delay: 0ms; }
  .card:hover, .trend:hover, .cat:hover, .soc:hover { box-shadow: 0 18px 40px -18px rgba(23, 33, 43, .3); }
  .dark .card:hover { border-color: #4a535b; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .7); }
  .card:hover .card__media .art, .card:hover .card__media img, .trend:hover .trend__media .art, .weekly:hover .weekly__media .art { transform: scale(1.05); }
  .cat:hover .cat__go { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
  .soc:hover .soc__cta { background: var(--gold); color: var(--gold-ink); }
  .soc--main:hover .soc__cta { background: #fff; }
  .weekly:hover { border-color: var(--gold); }
  .chip:not(.is-on):hover { border-color: var(--ink); }
}

/* ---------------- Tablet ---------------- */
@media (min-width: 640px) {
  :root { --gutter: 24px; }
  .hero__title { font-size: 80px; }
  .hero__tag { font-size: 26px; }
  .statgrid { grid-template-columns: repeat(4, 1fr); padding-block: 18px; }
  .statgrid > div, .statgrid > div:nth-child(odd) { border: 0; border-left: 1px solid #30373d; }
  .statgrid > div:last-child { border-left: 0; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .grid--places { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trend-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cat:first-child { grid-column: auto; flex-direction: column; align-items: stretch; gap: 10px; }
  .cat:first-child .cat__emoji { margin-bottom: 6px; }
  .card--slide { flex-basis: 280px; }
  .card--slide-wide { flex-basis: 340px; }
  .weekly { grid-template-columns: 1fr 1.1fr; align-items: center; }
  .weekly__media { aspect-ratio: auto; height: 100%; min-height: 260px; order: 2; }
  .weekly__body { padding: 32px 40px; }
  .weekly__body h3 { font-size: 34px; }
  .why-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .soc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cat-list { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 2fr 1fr 1fr; gap: 35px; }

  .sheet__panel { inset: auto; left: 50%; top: 50%; bottom: auto; width: min(760px, calc(100% - 48px)); max-height: 88vh; border-radius: 18px; transform: translate(-50%, -46%) scale(.97); opacity: 0; transition: transform .38s var(--ease), opacity .3s; }
  .sheet.open .sheet__panel { transform: translate(-50%, -50%); opacity: 1; }
  .sheet__handle { display: none; }
  .gallery__item { aspect-ratio: 16 / 9; }
  .sheet__body { padding: 24px 28px 8px; }
  .sheet__cta { padding: 14px 28px 20px; }
  .related { margin-inline: -28px; padding-inline: 28px; }
}

/* ---------------- Desktop ---------------- */
@media (min-width: 1024px) {
  :root { --header-h: 72px; }
  body { padding-bottom: 0; }
  .bottom-nav { display: none; }
  .toast { bottom: 28px; }
  .logo b { font-size: 30px; }
  .topnav { display: flex; gap: 26px; margin-inline-start: auto; }
  .topnav a { font-size: 14px; font-weight: 700; color: #e5e9eb; padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
  .topnav a:hover { color: var(--gold); }
  .topnav a.is-active { color: var(--gold); border-bottom-color: var(--gold); }

  .section { padding-block: 72px; }
  .sec-head { margin-bottom: 30px; }
  .sec-head h2 { font-size: 34px; }
  .sl-arrows { display: flex; }

  .hero__grid { grid-template-columns: 1.05fr 1fr; gap: 40px; min-height: 570px; padding-block: 40px; }
  .hero__copy { align-items: flex-start; text-align: start; }
  .hero__title { font-size: 86px; }
  .hero__tag { font-size: 29px; }
  .hero__sub { font-size: 15px; }
  .hero__visual { display: block; }
  .hero__cta { justify-content: flex-start; }
  .searchbar kbd { display: inline-block; }
  .quick { margin-inline: 0; padding-inline: 0; flex-wrap: wrap; }

  .slider { scroll-padding-inline: max(var(--gutter), calc((100vw - 1180px) / 2 + var(--gutter))); }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .grid--places { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cat-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
  .cat { min-height: 220px; padding: 23px; }
  .cat__go { top: 23px; inset-inline-end: 23px; }
  .soc-grid { grid-template-columns: 1.4fr repeat(4, 1fr); gap: 16px; }
  .soc--main { grid-column: auto; flex-direction: column; align-items: flex-start; }
  .soc--main .soc__cta { margin: auto 0 0; width: 100%; }
  .cat-list { grid-template-columns: repeat(3, 1fr); }
  .page-head { padding-block: 44px 48px; }
  .page-head h1 { font-size: 40px; }
  .ad-section { padding-block: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* واتساب الإعلانات */
.contact--wa { border-color: rgba(37, 211, 102, .35); }
.contact__ico { width: 46px; height: 46px; flex: none; border-radius: 12px; display: grid; place-items: center; background: #25D366; color: #fff; }
.contact__ico .ico { width: 24px; height: 24px; }
.contact--wa > span:nth-child(2) { flex: 1; }
.contact--wa small { font-family: var(--font-latin); text-align: right; }
.wa-btn { margin-top: 14px; background: #25D366; color: #fff; }
.wa-btn .ico, .islide__cta .ico { width: 18px; height: 18px; }
