:root {
  --bg: #0b0b0c;
  --surface: #151517;
  --line: #2a2a2d;
  --text: #ede9df;
  --muted: #a8a498;
  --gold: #c9a24b;
  --gold2: #e2c77f;
  --r: 14px;
  --fh: "Fraunces", Georgia, serif;
  --fb: "Inter", system-ui, "Segoe UI", Arial, sans-serif;
}
html[lang="ar"] {
  --fh: "Amiri", "Noto Naskh Arabic", Georgia, serif;
  --fb: "Cairo", "Segoe UI", Tahoma, sans-serif;
}
/* keep all numerals in one font so ٬ and ٫ render with one consistent style */
html[lang="ar"] .kpi b,
html[lang="ar"] .dc b {
  font-family: var(--fb);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scrollbar-color: var(--gold) var(--surface);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.05rem/1.65 var(--fb);
}
html[lang="ar"] body {
  line-height: 1.9;
}
html[lang="ar"] * {
  letter-spacing: 0 !important;
  text-transform: none !important;
}
a {
  color: var(--gold);
}
:focus-visible {
  outline: 3px solid var(--gold2);
  outline-offset: 3px;
  border-radius: 6px;
}
.wrap {
  max-width: none;
  margin: 0 auto;
  padding: 0 clamp(24px, 3.2vw, 96px);
}
#pg {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  z-index: 60;
}
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 12, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  height: 66px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font: 700 1.1rem var(--fh);
}
.logo b {
  color: var(--gold);
}
svg.sax {
  width: 26px;
  height: 30px;
  color: var(--gold);
}
.acts {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 99px;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  background: transparent;
  font: 600 0.92rem var(--fb);
  cursor: pointer;
  text-decoration: none;
  transition: 0.25s;
}
.btn:hover {
  background: rgba(201, 162, 75, 0.14);
}
.btn.pri {
  background: var(--gold);
  color: #0b0b0c;
}
.btn.pri:hover {
  background: var(--gold2);
}
.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 30px;
}
.glow {
  position: absolute;
  width: 560px;
  height: 560px;
  right: -140px;
  top: -200px;
  background: radial-gradient(
    circle,
    rgba(201, 162, 75, 0.26),
    transparent 65%
  );
  animation: drift 12s ease-in-out infinite alternate;
}
@keyframes drift {
  to {
    transform: translate(-60px, 50px) scale(1.12);
  }
}
.eyebrow {
  color: var(--gold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 600;
  margin: 0 0 12px;
}
h1,
h2 {
  font-family: var(--fh);
  line-height: 1.12;
  margin: 0;
}
h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
}
h1 em {
  color: var(--gold);
  font-style: italic;
}
h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  margin-bottom: 6px;
}
html[lang="ar"] h1,
html[lang="ar"] h2 {
  line-height: 1.35;
}
.sub {
  color: var(--muted);
  max-width: 44em;
  margin: 8px 0 0;
}
.up {
  opacity: 0;
  transform: translateY(22px);
  animation: up 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
@keyframes up {
  to {
    opacity: 1;
    transform: none;
  }
}
.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 34px 0 18px;
}
.kpi {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  padding: 22px 20px;
  transition: 0.3s;
}
.kpi:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
.kpi b {
  display: block;
  font: 700 clamp(1.7rem, 3vw, 2.5rem)/1.1 var(--fh);
  color: var(--gold);
}
.kpi span {
  color: var(--muted);
  font-size: 0.88rem;
}
.plain {
  border-inline-start: 4px solid var(--gold);
  background: linear-gradient(90deg, rgba(201, 162, 75, 0.1), transparent);
  border-radius: 8px;
  padding: 18px 22px;
  font-size: 1.12rem;
  max-width: 60em;
}
section.s {
  padding: 56px 0 8px;
}
.rv {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.rv.in {
  opacity: 1;
  transform: none;
}
.bars {
  margin-top: 18px;
}
.bar {
  display: grid;
  grid-template-columns: minmax(150px, 260px) 1fr 100px;
  gap: 16px;
  align-items: center;
  padding: 11px 4px;
  border-bottom: 1px solid var(--line);
}
.bar small {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}
.track {
  height: 14px;
  background: var(--surface);
  border-radius: 99px;
  overflow: hidden;
}
.fill {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
  border-radius: 99px;
  transition: width 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.bar .v {
  text-align: end;
  font-weight: 700;
  color: var(--gold);
}
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
  margin-top: 22px;
}
.donut {
  position: relative;
  max-width: 340px;
  margin: auto;
  width: 100%;
}
.donut svg {
  width: 100%;
  transform: rotate(-90deg);
}
.donut circle {
  fill: none;
  stroke-width: 26;
  transition: stroke-dasharray 1.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.dc {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
}
.dc b {
  font: 700 1.6rem var(--fh);
  color: var(--gold);
  display: block;
}
.dc span {
  color: var(--muted);
  font-size: 0.8rem;
}
.leg {
  display: grid;
  gap: 8px;
}
.lg {
  display: grid;
  grid-template-columns: 16px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  transition: 0.25s;
}
.lg:hover {
  border-color: var(--gold);
}
.lg i {
  width: 14px;
  height: 14px;
  border-radius: 4px;
}
.lg small {
  display: block;
  color: var(--muted);
}
.lg b {
  color: var(--gold);
  white-space: nowrap;
}
.tools {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin: 20px 0 14px;
}
.tools input,
.tools select {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 10px 16px;
  font: 500 0.95rem var(--fb);
  min-width: 220px;
}
.tools input:focus,
.tools select:focus {
  border-color: var(--gold);
  outline: none;
}
.chip {
  background: none;
  border: 1px solid var(--line);
  color: var(--muted);
  border-radius: 99px;
  padding: 8px 16px;
  font: 600 0.88rem var(--fb);
  cursor: pointer;
  transition: 0.2s;
}
.chip[aria-pressed="true"] {
  background: var(--gold);
  color: #0b0b0c;
  border-color: var(--gold);
}
.chip:hover {
  border-color: var(--gold);
}
.cnt {
  color: var(--muted);
  font-size: 0.9rem;
  margin-inline-start: auto;
}
.tw {
  max-height: 72vh;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--r);
  scrollbar-color: var(--gold) var(--surface);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 860px;
}
th {
  position: sticky;
  top: 0;
  background: #1c1c1f;
  text-align: start;
  padding: 13px 12px;
  font-weight: 600;
  color: var(--gold);
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
  border-bottom: 1px solid var(--line);
}
th:hover {
  color: var(--gold2);
}
th[aria-sort="ascending"]::after {
  content: " ▲";
}
th[aria-sort="descending"]::after {
  content: " ▼";
}
td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
}
td.n {
  font-weight: 600;
  max-width: 300px;
}
td.r {
  text-align: end;
  white-space: nowrap;
}
tr.row {
  animation: rowin 0.5s ease both;
  animation-delay: calc(var(--i) * 18ms);
}
tr.row:hover td {
  background: rgba(201, 162, 75, 0.07);
}
@keyframes rowin {
  from {
    opacity: 0;
    transform: translateX(-14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.tag {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 99px;
  padding: 2px 10px;
  font-size: 0.78rem;
  color: var(--muted);
}
.good {
  color: var(--gold);
  font-weight: 700;
}
.mid {
  color: var(--text);
}
.high {
  color: #d99a7c;
}
.mb {
  display: block;
  height: 4px;
  background: var(--surface);
  border-radius: 9px;
  margin-top: 5px;
  overflow: hidden;
}
.mb i {
  display: block;
  height: 100%;
  background: var(--gold);
}
.gl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}
.gl div {
  border-top: 2px solid var(--gold);
  padding-top: 12px;
}
.gl b {
  display: block;
  margin-bottom: 4px;
}
.gl p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}
.note {
  color: var(--muted);
  font-size: 0.88rem;
  border-top: 1px solid var(--line);
  margin-top: 34px;
  padding: 16px 0 50px;
}
@media (max-width: 700px) {
  header {
    position: static;
  }
  header .wrap {
    height: auto;
    flex-wrap: wrap;
    padding-block: 12px;
    gap: 10px;
  }
  .acts {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
  }
  .acts .btn {
    padding: 10px 6px;
    font-size: 0.82rem;
    text-align: center;
    white-space: nowrap;
  }
  .hero {
    padding-top: 34px;
  }
}
@media (max-width: 860px) {
  .kpis {
    grid-template-columns: 1fr 1fr;
  }
  .split,
  .gl {
    grid-template-columns: 1fr;
  }
  .bar {
    grid-template-columns: 1fr 84px;
  }
  .bar .track {
    grid-column: 1/-1;
    order: 3;
  }
  .hero {
    padding-top: 44px;
  }
  .cnt {
    margin-inline-start: 0;
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  .up,
  .rv {
    opacity: 1 !important;
    transform: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}
#spot {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  background: radial-gradient(
    520px circle at var(--sx, 50%) var(--sy, 35%),
    rgba(201, 162, 75, 0.2),
    transparent 62%
  );
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.7s;
}
#spot.on {
  opacity: 1;
}
@media (hover: none), (prefers-reduced-motion: reduce) {
  #spot {
    display: none;
  }
}
/* ---- music button ---- */
.musicbtn {
  display: none;
  position: fixed;
  bottom: 22px;
  inset-inline-start: 22px;
  z-index: 80;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: rgba(11, 11, 12, 0.88);
  backdrop-filter: blur(8px);
  place-items: center;
  cursor: pointer;
  padding: 0;
  transition:
    transform 0.25s,
    background 0.25s;
}
body.go .musicbtn {
  display: grid;
}
.musicbtn:hover {
  transform: scale(1.08);
  background: rgba(201, 162, 75, 0.16);
}
.musicbtn .eqs {
  display: flex;
  gap: 3px;
  align-items: flex-end;
  height: 20px;
}
.musicbtn .eqs i {
  width: 3px;
  height: 7px;
  background: var(--gold);
  border-radius: 2px;
}
.musicbtn.playing .eqs i {
  animation: eq2 0.9s ease-in-out infinite alternate;
}
.musicbtn.playing .eqs i:nth-child(2) {
  animation-duration: 0.6s;
}
.musicbtn.playing .eqs i:nth-child(3) {
  animation-duration: 1.1s;
}
.musicbtn.playing .eqs i:nth-child(4) {
  animation-duration: 0.75s;
}
.musicbtn:not(.playing)::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 2px;
  background: var(--gold);
  transform: rotate(-45deg);
  border-radius: 2px;
}
@keyframes eq2 {
  from {
    height: 5px;
  }
  to {
    height: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  #spot {
    display: none;
  }
  .musicbtn.playing .eqs i {
    animation: none;
    height: 14px;
  }
}
.musicbtn.wait {
  animation: mpulse 2s ease-out infinite;
}
@keyframes mpulse {
  0% {
    box-shadow: 0 0 0 0 rgba(201, 162, 75, 0.55);
  }
  100% {
    box-shadow: 0 0 0 16px rgba(201, 162, 75, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .musicbtn.wait {
    animation: none;
  }
}
.musicbtn {
  display: grid;
}
:root {
  --radius: 14px;
}

.pf { margin-top: 26px; border-top: 1px solid var(--line); }
.pfh { margin: 26px 0 4px; font: 600 12px/1.4 Inter, Cairo, sans-serif; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.pfr { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.pfr b { display: block; font-weight: 600; }
.pfr span { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.pfr-r { text-align: end; color: var(--gold2); font-weight: 600; max-width: 46%; }
.pft { margin: 14px 0 4px; padding: 14px 16px; border: 1px solid var(--gold); border-radius: 12px; color: var(--gold2); font-weight: 700; }

.knote { color: var(--muted); font-size: 12.5px; margin-top: 16px; max-width: 760px; }
