@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@500;700;900&family=Space+Grotesk:wght@500;700&family=Cairo:wght@400;600;700;800;900&display=swap');

/* OLD — أولد · THE OLD MAN
   «باتمان الأبيض»: ورق أوف وايت + حبر أسود + رمادي فولاذي بلمسة زرقا باردة
   (أسماء المتغيرات القديمة باقية من موقع BUZZ: gold = اللون الأساسي، cream = لون النص، night = لون الخلفية) */
:root {
  --wood: #d9dcd8;
  --wood-hot: #5e6e74;
  --wood-deep: #2a3134;
  --night: #f2f1ec;
  --gold: #46555b;
  --gold-hi: #121416;
  --gold-deep: #2a3134;
  --cream: #16191b;
  --muted: #4b565a;
  --dim: #646e72;
  --paper: #f2f1ec;
  --ink: #121416;
  --steel: #5e6e74;
  --card: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(238, 239, 235, .92));
  --line: rgba(24, 30, 33, .16);
  --line-hot: rgba(24, 30, 33, .5);
  --font-en: 'Unbounded', 'Segoe UI', sans-serif;
  --font-it: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-ar: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  --radius: 6px;
  --nav-h: 70px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--night); }
body {
  min-height: 100vh;
  background: var(--night);
  color: var(--cream);
  font-family: var(--font-ar);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
img { display: block; max-width: 100%; }
.hidden { display: none !important; }
::selection { background: rgba(18, 20, 22, .85); color: #f2f1ec; }

/* ================================================================ الخلفية: ورق + بقع حبر + ظل المدينة + مطر */
.wood {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 60% at var(--wx, 62%) 38%, rgba(255, 255, 255, .95), transparent 70%),
    radial-gradient(ellipse 45% 40% at 10% 92%, rgba(94, 110, 116, .16), transparent 70%),
    radial-gradient(ellipse 40% 35% at 88% 6%, rgba(120, 140, 152, .14), transparent 70%),
    linear-gradient(180deg, #f4f3ee, #e9eae6);
}
/* ظل مدينة (أفق مباني) بالحبر الخفيف تحت */
.wood::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 34%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='160' viewBox='0 0 480 160'%3E%3Cpath fill='%235e6e74' d='M0 160V96h18V70h14v-22h6v22h12v30h20V58h26v40h10V84h16V40l10-14 10 14v120zM142 160V74h22V50h18v24h12v86zM204 160V88h16V30h4V18h4v12h4v58h18v72zM270 160V64h28v-14h12v14h14v96zM336 160V92h14V56h22v36h12V76h18v84zM412 160V60h10V44h16v16h10v36h14V80h18v80z'/%3E%3C/svg%3E") 0 100% / 480px 160px repeat-x;
  opacity: .13;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 45%); mask-image: linear-gradient(180deg, transparent, #000 45%);
}
.blinds {
  position: absolute; inset: -30%; pointer-events: none;
  background: repeating-linear-gradient(115deg, transparent 0 140px, rgba(40, 50, 55, .5) 140px 142px, transparent 142px 170px, rgba(94, 110, 116, .4) 170px 171px, transparent 171px 420px);
  filter: blur(2px); opacity: .07; mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(90deg, transparent 5%, #000 40%, #000 70%, transparent 95%);
  mask-image: linear-gradient(90deg, transparent 5%, #000 40%, #000 70%, transparent 95%);
  animation: blindsDrift 26s ease-in-out infinite alternate;
}
@keyframes blindsDrift { from { transform: translateX(0); } to { transform: translateX(170px); } }
.vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, transparent 45%, rgba(60, 72, 78, .32) 100%); }
.grain { position: absolute; inset: 0; pointer-events: none; opacity: .55; mix-blend-mode: multiply; background: repeating-radial-gradient(circle at 30% 40%, rgba(0, 0, 0, .035) 0 1px, transparent 1px 3px); }

.backdrop { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; background: var(--night); }
.backdrop .bg-img {
  position: absolute; inset: -60px;
  background: var(--bg-url, none) 70% 25% / cover no-repeat;
  filter: blur(16px) grayscale(1) contrast(1.1);
  opacity: .16; mix-blend-mode: multiply;
}
.backdrop .shade {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(255, 255, 255, .5), transparent 70%),
    radial-gradient(ellipse 90% 80% at 50% 50%, transparent 40%, rgba(94, 110, 116, .16) 100%),
    linear-gradient(180deg, rgba(242, 241, 236, .15), rgba(242, 241, 236, .55));
}
.backdrop canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.backdrop .flash, .intro-flash {
  position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: radial-gradient(ellipse at 40% 0%, rgba(70, 90, 104, .2), transparent 65%);
}

/* ================================================================ الخفاش الطاير (زينة) */
.drifter { position: fixed; z-index: 60; pointer-events: none; left: 0; top: 0; opacity: 0; will-change: transform, opacity; filter: drop-shadow(0 10px 12px rgba(30, 38, 42, .28)); }
.drifter .seal { transform-origin: 50% -30%; animation: sway var(--sway, 3200ms) ease-in-out infinite alternate; }
.drifter svg, .drifter img, .drifter video { width: 100%; height: auto; display: block; }
@keyframes sway { from { transform: rotate(-9deg); } to { transform: rotate(9deg); } }

/* ================================================================ الشاشة الافتتاحية */
.intro {
  position: fixed; inset: 0; z-index: 200; overflow: hidden;
  display: grid; place-items: center; text-align: center; padding: 20px;
  background: var(--night);
  transition: opacity .8s ease, transform .8s ease;
}
.intro:empty { background: var(--night); }
.intro .wood { --wx: 50%; }
.intro .blinds { opacity: .1; animation-duration: 14s; }
.intro canvas.intro-rain { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.intro.out { opacity: 0; transform: scale(1.05); pointer-events: none; }
.intro-in { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.intro .emblem { width: clamp(130px, 19vw, 190px); height: clamp(130px, 19vw, 190px); animation: introSeal 1.1s cubic-bezier(.2, .9, .3, 1.15) both; }
.intro h1 { margin-top: 26px; font-size: clamp(58px, 12vw, 128px); opacity: 0; transform: scale(1.4); filter: blur(10px); }
.intro .rule { width: min(320px, 70vw); margin-top: 22px; opacity: 0; }
.intro-tag { margin-top: 18px; font-family: var(--font-en); font-style: normal; font-weight: 700; color: var(--gold); letter-spacing: .3em; font-size: clamp(18px, 2.4vw, 26px); opacity: 0; direction: ltr; }
.intro-tag-ar { margin-top: 4px; color: var(--cream); font-weight: 800; font-size: clamp(16px, 2vw, 20px); opacity: 0; }
.intro-court { margin-top: 14px; font-family: var(--font-en); font-weight: 700; letter-spacing: .3em; font-size: 13px; color: var(--gold-hi); opacity: 0; }
html[lang="ar"] .intro-court { font-family: var(--font-ar); letter-spacing: .02em; font-size: 15px; }
.intro-court { pointer-events: none; }
.intro-enter + .intro-court { margin-top: -36px; }
.intro-enter { margin-top: 34px; padding: 15px 40px; font-size: 18px; animation: enterPulse 1.8s ease-in-out infinite; }
@keyframes introSeal { from { opacity: 0; transform: scale(.5) rotate(-30deg); } to { opacity: 1; transform: none; } }
@keyframes enterPulse { 0%, 100% { box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .08), 0 6px 18px rgba(18, 20, 22, .16); } 50% { box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .08), 0 8px 34px rgba(18, 20, 22, .38); } }
.intro.wait h1 { opacity: .3; transform: none; filter: blur(2px); transition: opacity .9s .4s; }
.intro.wait .intro-tag, .intro.wait .intro-tag-ar { opacity: .6; transition: opacity .9s .6s; }
.intro.wait .rule { opacity: .5; transition: opacity .9s .5s; }
.intro.strike .intro-flash { animation: introFlash 1.1s ease-out both; }
.intro.strike .emblem { animation: stamp .5s cubic-bezier(.3, 1.4, .5, 1) both; }
.intro.strike h1 { animation: logoIn .6s cubic-bezier(.2, .9, .2, 1) both; }
.intro.strike .rule { animation: fadeUp .5s .2s ease both; }
.intro.strike .intro-tag, .intro.strike .intro-tag-ar { animation: fadeUp .6s .3s ease both; }
.intro.strike .intro-court { animation: fadeUp .6s .5s ease both; }
.intro.strike .intro-enter { opacity: 0; pointer-events: none; transition: opacity .2s; animation: none; }
.intro.strike .intro-in { animation: shake .4s ease both; }
.intro.strike .blinds { opacity: .18; transition: opacity .3s; }
@keyframes stamp { 0% { transform: scale(1.35); } 60% { transform: scale(.94); } 100% { transform: none; } }
@keyframes introFlash { 0% { opacity: 0; } 8% { opacity: 1; } 20% { opacity: .3; } 30% { opacity: .7; } 100% { opacity: 0; } }
@keyframes logoIn { from { opacity: 0; transform: scale(1.4); filter: blur(12px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes shake { 0%, 100% { transform: none; } 20% { transform: translate(-5px, 3px); } 40% { transform: translate(4px, -3px); } 60% { transform: translate(-2px, 2px); } 80% { transform: translate(1px, -1px); } }

/* ================================================================ الهيدر */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; gap: 20px;
  padding: 0 clamp(16px, 3vw, 36px);
  background: linear-gradient(180deg, rgba(246, 245, 241, .96), rgba(242, 241, 236, .88));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .8), 0 6px 20px rgba(30, 38, 42, .06);
}
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand .emblem-sm { width: 44px; height: 44px; }
.brand b { font-family: var(--font-en); font-weight: 900; font-size: 22px; letter-spacing: .08em; color: var(--gold-hi); }
.links { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.links a {
  position: relative;
  padding: 8px 12px; border-radius: 4px;
  font-family: var(--font-en); font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); transition: color .2s, background .2s;
  white-space: nowrap;
}
html[lang="ar"] .links a { font-family: var(--font-ar); font-size: 14px; font-weight: 700; letter-spacing: 0; }
.links a:hover { color: var(--gold-hi); background: rgba(18, 20, 22, .04); }
.links a.active { color: var(--gold-hi); background: rgba(18, 20, 22, .06); box-shadow: inset 0 -2px 0 var(--gold-hi); }
.lang { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 4px; color: var(--muted); font-size: 13px; font-weight: 700; flex: none; }
.lang:hover { color: var(--gold-hi); background: rgba(18, 20, 22, .05); }
.lang svg { width: 16px; height: 16px; }
.burger { display: none; width: 42px; height: 42px; border-radius: 6px; border: 1px solid var(--line-hot); margin-inline-start: auto; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 2px; background: var(--gold-hi); margin: auto; position: relative; transition: .25s; }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.nav.open .burger span { background: transparent; }
.nav.open .burger span::before { top: 0; transform: rotate(45deg); }
.nav.open .burger span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .burger { display: block; }
  .lang { margin-inline-start: 0; }
  .links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px 16px 20px;
    background: rgba(244, 243, 238, .98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(30, 38, 42, .12);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .22s;
  }
  .nav.open .links { transform: none; opacity: 1; pointer-events: auto; }
  .links a { padding: 13px 14px; font-size: 14px; }
}
@media (max-width: 420px) { .brand b { font-size: 19px; } .lang span { display: none; } }

/* ================================================================ الشعار (الخفاش) */
.emblem { position: relative; display: grid; place-items: center; flex: none; }
.emblem svg { width: 100%; height: 100%; display: block; overflow: visible; filter: drop-shadow(0 4px 8px rgba(30, 38, 42, .25)); }
.emblem img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--gold-hi), 0 0 0 5px var(--night), 0 0 0 6px rgba(18, 20, 22, .35), 0 8px 18px rgba(30, 38, 42, .18); }

/* نص حبر محفور (الاسم الكبير) */
.gold-text {
  position: relative; display: inline-block; line-height: 1; direction: ltr; unicode-bidi: isolate;
  font-family: var(--font-en); font-weight: 900; letter-spacing: .02em; margin-right: -.02em;
  color: #9aa5a9;
  text-shadow: 0 1px 0 #8e999d, 0 2px 0 #839094, 0 3px 0 #77858a, 0 4px 0 #6b7a80, 0 14px 22px rgba(30, 38, 42, .28);
}
.gold-text::after {
  content: attr(data-text); position: absolute; left: 0; top: 0;
  background: linear-gradient(180deg, #3a4549 0%, #121416 38%, #0b0c0d 52%, #46555b 60%, #1a1e20 82%, #2a3134 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  text-shadow: none;
}

.rule { height: 2px; background: linear-gradient(90deg, transparent, var(--gold-hi), transparent); position: relative; }
.rule::after { content: ''; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; background: var(--gold-hi); transform: translate(-50%, -50%) rotate(45deg); box-shadow: 0 0 0 3px var(--night); }

/* ================================================================ الصفحات */
main { position: relative; z-index: 2; min-height: calc(100vh - var(--nav-h)); }
.page { display: none; animation: pageIn .45s ease both; }
.page.on { display: block; }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.wrap { width: min(1240px, 100% - 32px); margin: 0 auto; }
section { padding: clamp(48px, 7vw, 84px) 0; }

/* الهيرو: الصورة يمين والنص يسار */
.hero {
  position: relative; isolation: isolate; min-height: calc(100vh - var(--nav-h));
  display: flex; align-items: center;
  padding: 60px clamp(16px, 6vw, 96px) 100px; overflow: hidden;
}
.hero .banner {
  position: absolute; top: 0; bottom: 0; right: 0; width: min(64%, 1050px); z-index: -1;
  background: var(--banner, none) center 30% / cover no-repeat;
  filter: contrast(1.05);
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 38%), linear-gradient(180deg, #000 74%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 38%), linear-gradient(180deg, #000 74%, transparent 100%);
  mask-composite: intersect;
  animation: breathe 12s ease-in-out infinite alternate;
}
/* خطوط مطر خفيفة فوق الصورة */
.hero .banner::after {
  content: ''; position: absolute; inset: -45%;
  background: repeating-linear-gradient(100deg, rgba(18, 20, 22, .05) 0 1px, transparent 1px 9px);
}
@keyframes breathe { from { transform: scale(1); } to { transform: scale(1.03); } }
.hero-txt { position: relative; width: min(600px, 100%); margin-right: auto; text-align: center; }
.hero .emblem { width: clamp(130px, 15vw, 180px); height: clamp(130px, 15vw, 180px); margin: 0 auto; animation: sealFloat 6s ease-in-out infinite; }
@keyframes sealFloat { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-8px) rotate(2deg); } }
.hero h1 { margin-top: 26px; font-size: clamp(70px, 10.5vw, 150px); }
.tagline-en { margin-top: 18px; font-family: var(--font-en); font-style: normal; font-weight: 700; color: var(--gold); letter-spacing: .32em; font-size: clamp(18px, 2.2vw, 26px); direction: ltr; }
.hero .rule { width: min(340px, 80%); margin: 22px auto 0; }
.hero .tagline { margin-top: 16px; font-size: clamp(17px, 2vw, 22px); font-weight: 800; color: var(--cream); text-shadow: 0 1px 0 rgba(255, 255, 255, .9); }
.hero .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 24px; height: 38px; border: 2px solid rgba(18, 20, 22, .4); border-radius: 14px; }
.scroll-hint::after { content: ''; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold-hi); animation: hint 1.8s ease-in-out infinite; }
@keyframes hint { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@media (max-width: 860px) {
  .hero { align-items: flex-end; padding-top: 0; padding-bottom: 84px; min-height: calc(100svh - var(--nav-h)); }
  .hero .banner {
    width: 100%; height: 50%; bottom: auto; background-position: 58% 40%;
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  }
  .hero-txt { margin: 0 auto; padding-top: 40vh; }
  .hero .emblem { width: 96px; height: 96px; }
  .hero h1 { margin-top: 12px; }
}

.sec-title {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  font-family: var(--font-en); font-weight: 700;
  font-size: clamp(22px, 3vw, 34px); letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-hi); text-shadow: 0 2px 0 rgba(255, 255, 255, .9);
  margin-bottom: 40px; text-align: center;
}
html[lang="ar"] .sec-title { font-family: var(--font-ar); font-weight: 900; letter-spacing: 0; }
.sec-title svg { width: 22px; height: 22px; flex: none; color: var(--gold); }
.sec-title.sm { font-size: clamp(19px, 2.4vw, 26px); color: var(--gold); margin: 56px 0 28px; }

.page-head { text-align: center; padding: clamp(40px, 6vw, 70px) 0 10px; }
.page-head h1 {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-en); font-weight: 900; letter-spacing: .1em; font-size: clamp(36px, 5.6vw, 60px);
  color: var(--gold-hi);
  text-shadow: 0 3px 0 rgba(94, 110, 116, .25);
  line-height: 1.25;
}
html[lang="ar"] .page-head h1 { font-family: var(--font-ar); font-weight: 900; letter-spacing: 0; }
.page-head h1 svg { width: .55em; height: .55em; color: var(--gold); }
.page-head p { margin-top: 10px; color: var(--muted); font-size: 16px; }
.page-head .btn { margin-top: 22px; }

/* ================================================================ أزرار */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 24px; border-radius: 4px;
  font-weight: 800; font-size: 15px; color: var(--cream);
  background: linear-gradient(180deg, #ffffff, #ebece8);
  border: 1px solid rgba(18, 20, 22, .55);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .9), inset 0 0 0 4px rgba(18, 20, 22, .1), 0 3px 10px rgba(30, 38, 42, .08);
  transition: transform .15s, background .2s, box-shadow .2s, color .2s;
}
.btn:hover { color: var(--gold-hi); border-color: var(--gold-hi); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .9), inset 0 0 0 4px rgba(18, 20, 22, .2), 0 8px 20px rgba(30, 38, 42, .14); transform: translateY(-1px); }
.btn svg { width: 17px; height: 17px; color: var(--gold-hi); }
.intro-enter svg { width: 30px; height: 30px; }
.btn.primary {
  background: linear-gradient(180deg, #2a3134, #121416); border-color: #121416; color: #f2f1ec;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .06), inset 0 0 0 4px rgba(242, 241, 236, .18), 0 6px 18px rgba(18, 20, 22, .22);
}
.btn.primary svg { color: #f2f1ec; }
.btn.primary:hover { color: #fff; background: linear-gradient(180deg, #46555b, #1a1e20); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .06), inset 0 0 0 4px rgba(242, 241, 236, .3), 0 10px 26px rgba(18, 20, 22, .3); }
.btn:disabled { opacity: .5; pointer-events: none; }

/* ================================================================ البطاقات (ورق بإطار حبر) */
.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .7), inset 0 0 0 4px rgba(18, 20, 22, .05), 0 6px 20px rgba(30, 38, 42, .07);
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.card:hover { border-color: var(--line-hot); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .7), inset 0 0 0 4px rgba(18, 20, 22, .08), 0 14px 34px rgba(30, 38, 42, .14); }

/* حالة البث */
.live-card { display: flex; align-items: center; gap: 22px; max-width: 820px; margin: 0 auto; padding: 24px 28px; }
.live-card .emblem { width: 92px; height: 92px; }
.live-card.is-live .emblem { filter: drop-shadow(0 0 14px rgba(224, 48, 42, .35)); }
.live-info { flex: 1; min-width: 0; }
.live-info .who { font-family: var(--font-en); font-size: 22px; font-weight: 900; letter-spacing: .08em; color: var(--gold-hi); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.live-info .meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 6px; color: var(--muted); font-size: 14px; }
.live-info .meta span { display: inline-flex; align-items: center; gap: 6px; }
.live-info .meta svg { width: 15px; height: 15px; }
.live-info .stitle { margin-top: 8px; color: var(--cream); font-weight: 600; font-size: 14px; }
.live-btns { display: flex; flex-direction: column; gap: 8px; flex: none; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--dim); display: inline-block; }
.is-live .dot { background: #d0281f; animation: livePing 1.6s infinite; }
@keyframes livePing { 0% { box-shadow: 0 0 0 0 rgba(208, 40, 31, .6); } 100% { box-shadow: 0 0 0 10px rgba(208, 40, 31, 0); } }
.live-badge { padding: 3px 10px; border-radius: 3px; background: #121416; border: 1px solid #121416; color: #f2f1ec; font-family: var(--font-en); font-size: 11px; letter-spacing: .12em; }
html[lang="ar"] .live-badge { font-family: var(--font-ar); letter-spacing: 0; font-size: 12px; }

/* شخصيات */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.char { overflow: hidden; }
.char .pic { aspect-ratio: 4 / 3.4; background: radial-gradient(ellipse at 50% 30%, #ffffff, #e4e6e2 75%); overflow: hidden; }
.char .pic img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s; filter: contrast(1.04); }
.char:hover .pic img { transform: scale(1.05); }
.char .pic.empty { display: grid; place-items: center; }
.char .pic.empty svg { width: 46%; opacity: .25; }
.char .body { padding: 16px 20px 20px; }
.char h3 { font-size: 20px; font-weight: 800; color: var(--cream); }
.chip { display: inline-block; margin-top: 8px; padding: 3px 12px; border-radius: 3px; font-size: 12px; font-weight: 700; color: var(--gold-hi); background: rgba(94, 110, 116, .1); border: 1px solid rgba(18, 20, 22, .25); }
.char p { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.7; }

/* أعضاء الفريق */
.members { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.member { padding: 26px 18px 22px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.member .av { width: 92px; height: 92px; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 40%, #ffffff, #e2e4e0); box-shadow: 0 0 0 2px var(--gold-hi), 0 0 0 5px #fff, 0 0 0 6px rgba(18, 20, 22, .25); display: grid; place-items: center; }
.member .av img { width: 100%; height: 100%; object-fit: cover; }
.member .av svg { width: 72%; opacity: .75; }
.member h3 { margin-top: 16px; font-size: 18px; font-weight: 800; color: var(--cream); }
.member p { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.member .visit { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--gold); }
.member .visit:hover { color: var(--gold-hi); }
.member .visit svg { width: 14px; height: 14px; }

/* الحسابات */
.socials { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); max-width: 1000px; margin: 0 auto; }
.social { display: flex; align-items: center; gap: 16px; padding: 16px 20px; }
.social:hover { transform: translateY(-2px); }
.social .ic { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; flex: none; color: #f2f1ec; background: radial-gradient(circle at 50% 35%, #3a4549, #121416); box-shadow: 0 0 0 1px #121416, 0 0 0 4px #fff, 0 0 0 5px rgba(18, 20, 22, .2); }
.social .ic svg { width: 24px; height: 24px; }
.social .txt { flex: 1; min-width: 0; }
.social .txt b { display: block; font-family: var(--font-en); font-weight: 700; font-size: 13px; letter-spacing: .2em; color: var(--muted); text-transform: uppercase; }
.social .txt span { display: block; margin-top: 2px; font-family: var(--font-en); font-weight: 700; color: var(--cream); font-size: 18px; letter-spacing: .04em; direction: ltr; text-align: start; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html[dir="rtl"] .social .txt span { text-align: right; }
.social .ext { width: 18px; height: 18px; color: var(--dim); flex: none; }
.social:hover .ext { color: var(--gold-hi); }
.social:hover .ic { background: radial-gradient(circle at 50% 35%, #5e6e74, #1a1e20); }

/* الفريق */
.team-card { overflow: hidden; display: block; }
.team-card .pic { aspect-ratio: 16 / 10; overflow: hidden; background: #e4e6e2; }
.team-card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.team-card:hover .pic img { transform: scale(1.06); }
.team-card .body { padding: 16px 20px 20px; display: flex; gap: 10px; }
.team-card .body div { flex: 1; }
.team-card h3 { font-size: 18px; font-weight: 800; color: var(--cream); }
.team-card p { margin-top: 6px; color: var(--muted); font-size: 14px; }
.team-card .ext { width: 18px; height: 18px; color: var(--dim); }

/* لعبة: بطاقة دعوة */
.game-teaser-sec { padding-top: 0; }
.game-teaser { display: flex; align-items: center; gap: 20px; max-width: 820px; margin: 0 auto; padding: 22px 26px; }
.gt-ic { width: 60px; height: 60px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #f2f1ec; background: radial-gradient(circle at 50% 35%, #3a4549, #0e1011); box-shadow: 0 0 0 2px #121416, 0 0 0 6px #fff, 0 0 0 7px rgba(18, 20, 22, .2), 0 8px 20px rgba(30, 38, 42, .2); }
.gt-ic svg { width: 38px; height: 38px; }
.gt-txt { flex: 1; min-width: 0; }
.gt-txt b { display: block; font-size: 20px; font-weight: 900; color: var(--gold-hi); }
.gt-txt small { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* المعرض */
.uploader { max-width: 900px; margin: 34px auto 0; padding: 22px; }
.uploader .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.uploader .btn { width: 100%; margin-top: 12px; padding: 14px; }
.uploader .note { margin-top: 10px; text-align: center; font-size: 13px; color: var(--muted); min-height: 1.2em; }
.uploader .note.ok { color: #1f7a45; } .uploader .note.err { color: #b3261e; }
.preview-img { display: none; margin-top: 12px; max-height: 220px; border-radius: 4px; margin-inline: auto; border: 1px solid var(--line); }
.input {
  width: 100%; padding: 13px 15px; border-radius: 4px;
  background: rgba(255, 255, 255, .85); border: 1px solid rgba(18, 20, 22, .25); color: var(--cream);
  font: inherit; font-size: 15px; outline: none; transition: border-color .2s, box-shadow .2s;
}
.input:focus { border-color: var(--gold-hi); box-shadow: 0 0 0 3px rgba(94, 110, 116, .2); }
.input::placeholder { color: #7a8487; }
.shots { margin-top: 40px; columns: 3 300px; column-gap: 18px; }
.shot { break-inside: avoid; margin-bottom: 18px; overflow: hidden; }
video.preview-img { max-width: 100%; background: #121416; }
.up-bar { display: none; height: 6px; margin-top: 12px; border-radius: 4px; background: rgba(18, 20, 22, .08); overflow: hidden; }
.up-bar.on { display: block; }
.up-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #5e6e74, #121416); transition: width .2s; }
.shot video { display: block; width: 100%; max-height: 520px; background: #121416; }
.shot img { width: 100%; cursor: zoom-in; }
.shot .foot { display: flex; align-items: center; gap: 10px; padding: 12px 16px; }
.shot .foot .n { flex: 1; min-width: 0; }
.shot .foot b { display: block; font-size: 14px; color: var(--cream); }
.shot .foot small { display: block; color: var(--muted); font-size: 12px; }
.like { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 4px; color: var(--muted); font-weight: 700; font-size: 14px; }
.like svg { width: 18px; height: 18px; transition: transform .2s; }
.like:hover { color: var(--gold-hi); background: rgba(18, 20, 22, .05); }
.like.on { color: #b3261e; }
.like.on svg { fill: currentColor; transform: scale(1.12); }
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(236, 237, 233, .96); cursor: zoom-out; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 4px; box-shadow: 0 0 0 1px var(--gold-hi), 0 20px 60px rgba(30, 38, 42, .3); }

.empty-state { padding: 44px 20px; text-align: center; color: var(--dim); grid-column: 1 / -1; font-weight: 700; }
.empty-state svg { width: 110px; margin: 0 auto 14px; opacity: .3; }

/* ================================================================ الفوتر */
footer { position: relative; z-index: 2; padding: 50px 16px 36px; text-align: center; border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(222, 225, 221, .9)); }
footer .emblem { width: 64px; height: 64px; margin: 0 auto; }
footer .foot-tag { margin-top: 14px; font-family: var(--font-en); font-style: normal; font-size: 14px !important; color: var(--gold); letter-spacing: .14em; direction: ltr; }
footer p { margin-top: 4px; color: var(--muted); font-size: 14px; }
footer .mini { display: flex; justify-content: center; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
footer .mini a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-hot); color: var(--gold-hi); transition: .2s; background: rgba(255, 255, 255, .7); }
footer .mini a:hover { color: #f2f1ec; border-color: #121416; background: #121416; }
footer .mini svg { width: 17px; height: 17px; fill: currentColor; }
footer small { display: block; margin-top: 18px; color: var(--dim); font-size: 12px; direction: ltr; }

@media (max-width: 640px) {
  .live-card { flex-direction: column; text-align: center; padding: 24px 18px; }
  .live-info .who, .live-info .meta { justify-content: center; text-align: center; }
  .live-btns { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .game-teaser { flex-direction: column; text-align: center; }
  .uploader .row { grid-template-columns: 1fr; }
  .shots { columns: 1; }
}
/* عداد الزيارات — تحت يسار */
.online {
  position: fixed; left: 16px; bottom: 16px; z-index: 90; display: flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 12px; border-radius: 999px; direction: ltr;
  background: rgba(255, 255, 255, .9); border: 1px solid var(--line-hot); backdrop-filter: blur(10px);
  box-shadow: 0 8px 18px rgba(30, 38, 42, .14);
  color: var(--cream); font: 600 13px/1 var(--font-ar); pointer-events: none;
  opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .4s;
}
.online.on { opacity: 1; transform: none; }
.online .dot { width: 8px; height: 8px; border-radius: 50%; background: #1f9d55; box-shadow: 0 0 6px #1f9d55; animation: onlinePulse 1.6s ease-in-out infinite; }
.online svg { width: 16px; height: 16px; color: var(--gold-hi); }
.online b { font: 700 14px/1 var(--font-en); color: var(--gold-hi); letter-spacing: .02em; }
.online span { color: var(--muted); }
@keyframes onlinePulse { 50% { opacity: .35; box-shadow: 0 0 2px #1f9d55; } }
@media (max-width: 640px) { .online { left: 10px; bottom: 10px; padding: 6px 11px 6px 10px; font-size: 12px; } }

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