/* ============================================================
   7ANTERA — molten-gold / cognac-ember streamer portfolio
   Dark-locked theme · one gold accent · Anton + Sora + Cairo
   ============================================================ */

:root {
  /* surfaces (warm near-black) */
  --bg: #0a0704;
  --bg-2: #120c06;
  --bg-3: #1c1209;
  --panel: #140d06;
  --line: rgba(245, 177, 61, .14);
  --line-2: rgba(245, 177, 61, .28);

  /* ink */
  --text: #fff6e6;
  --dim: #c4ad87;
  --faint: #82704f;

  /* the ONE accent — molten gold (+ within-family partners) */
  --ac: #f5b13d;
  --ac-2: #c9842a;
  --ac-hi: #ffe6a8;
  --ember: #ff7a1a;
  --ac-soft: rgba(245, 177, 61, .13);
  --ac-deep: #1b1308;
  --glow: 0 0 60px rgba(245, 177, 61, .28);
  --gold-grad: linear-gradient(135deg, #ffe6a8, #f5b13d 44%, #c9842a);
  --fire-grad: linear-gradient(140deg, #ffe9b0 2%, #f5b13d 36%, #ff7a1a 76%, #c9842a);

  /* type */
  --f-hero: 'Anton', Impact, sans-serif;
  --f-head: 'Sora', system-ui, sans-serif;
  --f-body: 'Sora', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;
  --f-ar: 'Cairo', 'Tajawal', sans-serif;

  /* shape — one radius system */
  --r: 18px;
  --r-lg: 28px;
  --r-sm: 12px;

  --pad: clamp(20px, 5vw, 64px);
  --maxw: 1240px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
/* NOTE: no `scroll-behavior: smooth` here — it conflicts with GSAP ScrollTrigger
   pinning (the gallery deck) and causes jump artifacts. Anchor links jump
   instantly; the footer "back to top" does its own smooth scroll in JS. */
html { -webkit-text-size-adjust: 100%; }
body {
  background:
    radial-gradient(130% 80% at 50% -8%, rgba(245, 177, 61, .10), transparent 52%),
    radial-gradient(90% 60% at 88% 6%, rgba(255, 122, 26, .07), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
:lang(ar), [dir="rtl"] { font-family: var(--f-ar); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
::selection { background: var(--ac); color: #1a1206; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--ac-2), var(--ac)); border-radius: 9px; border: 2px solid var(--bg); }

#fx { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
#app { position: relative; z-index: 2; }

/* gold glow that trails the cursor (transform-only = cheap, behind content) */
#cursor-glow {
  position: fixed; top: 0; left: 0; width: 620px; height: 620px;
  margin: -310px 0 0 -310px; border-radius: 50%;
  pointer-events: none; z-index: 1; opacity: 0; transition: opacity .6s ease;
  background: radial-gradient(circle,
    color-mix(in oklab, var(--ac) 28%, transparent),
    color-mix(in oklab, var(--ember) 13%, transparent) 40%, transparent 68%);
  will-change: transform;
}
#cursor-glow.on { opacity: .9; }
[data-fx="low"] #cursor-glow { display: none; }

/* magnetic elements spring back smoothly when the cursor leaves */
[data-magnet] { transition: transform .35s cubic-bezier(.16, 1, .3, 1); will-change: transform; }
@media (prefers-reduced-motion: reduce) { #cursor-glow { display: none; } }
@media (hover: none) { #cursor-glow { display: none; } }

.grain::after {
  content: ''; position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .4;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='150' height='150'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2'/><feColorMatrix values='0 0 0 0 .96 0 0 0 0 .76 0 0 0 0 .34 0 0 0 .05 0'/></filter><rect width='150' height='150' filter='url(%23n)'/></svg>");
}
[data-fx="low"] #fx { display: none; }
[data-fx="low"] .grain::after { display: none; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse-dot { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(245, 177, 61, .55); } 50% { opacity: .6; box-shadow: 0 0 0 7px rgba(245, 177, 61, 0); } }
@keyframes sheen { 0% { transform: translateX(-120%) skewX(-18deg); } 60%, 100% { transform: translateX(220%) skewX(-18deg); } }

/* ---------------- reveal + tilt ---------------- */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1); }
.rv.in { opacity: 1; transform: none; }
.rv-s { transform: translateY(32px) scale(.96); }
.rv-l { transform: translateX(-34px); }
.rv-r { transform: translateX(34px); }
[data-tilt] { transition: transform .45s cubic-bezier(.16, 1, .3, 1); transform-style: preserve-3d; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1 !important; transform: none !important; } }

/* ---------------- layout helpers ---------------- */
.app-pad { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.sec { position: relative; padding-block: clamp(64px, 10vw, 132px); }
.sec__head { margin-bottom: clamp(28px, 5vw, 52px); }
.h-sec {
  font-family: var(--f-head); font-weight: 800;
  font-size: clamp(2rem, 5.6vw, 3.7rem); line-height: 1.02; letter-spacing: -.02em;
}
.lead { color: var(--dim); font-size: clamp(1rem, 1.7vw, 1.18rem); max-width: 62ch; }

.tag {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--f-mono); font-size: .72rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--ac);
  padding: 7px 14px; border-radius: 999px;
  background: var(--ac-soft); border: 1px solid var(--line-2);
}
.tag__star { width: 14px; height: 14px; display: grid; place-items: center; color: var(--ac); }
.tag__star svg { width: 14px; height: 14px; }
:lang(ar) .tag, [dir="rtl"] .tag { letter-spacing: 0; font-family: var(--f-ar); font-weight: 700; }

/* ---------------- buttons ---------------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-head); font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  padding: 14px 24px; border-radius: 14px; overflow: hidden; white-space: nowrap;
  transition: transform .18s ease, box-shadow .3s ease, filter .3s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px) scale(.985); }
.btn-primary { color: #1c1206; background: var(--fire-grad); box-shadow: 0 10px 30px -10px rgba(245, 177, 61, .6), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn-primary::after { content: ''; position: absolute; inset: 0; width: 40%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); transform: translateX(-120%) skewX(-18deg); }
.btn-primary:hover { box-shadow: 0 16px 40px -12px rgba(245, 177, 61, .8), inset 0 1px 0 rgba(255, 255, 255, .5); filter: brightness(1.04); }
.btn-primary:hover::after { animation: sheen 1.1s ease; }
.btn-ghost { color: var(--text); border: 1px solid var(--line-2); background: rgba(255, 255, 255, .015); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--ac); color: var(--ac); box-shadow: var(--glow); }
:lang(ar) .btn, [dir="rtl"] .btn { font-family: var(--f-ar); }

/* ============================================================
   LOADER
   ============================================================ */
.loader { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: var(--bg); transition: opacity .6s ease, visibility .6s; }
.loader.is-out { opacity: 0; visibility: hidden; }
.loader__halo { position: absolute; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 177, 61, .22), transparent 62%); filter: blur(20px); animation: floaty 5s ease-in-out infinite; }
.loader__box { position: relative; text-align: center; }
.loader__name { font-family: var(--f-hero); font-size: clamp(3.4rem, 13vw, 7rem); line-height: .9; letter-spacing: .02em; background: var(--fire-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.loader__sub { margin-top: 8px; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .42em; color: var(--faint); text-transform: uppercase; }
.loader__bar { margin: 22px auto 0; width: 220px; height: 3px; border-radius: 9px; background: rgba(245, 177, 61, .14); overflow: hidden; }
.loader__fill { height: 100%; width: 0; background: var(--fire-grad); box-shadow: var(--glow); }
.loader__pct { margin-top: 12px; font-family: var(--f-mono); font-size: .74rem; color: var(--ac); letter-spacing: .2em; }

/* ============================================================
   NAV
   ============================================================ */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .35s, border-color .35s, backdrop-filter .35s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(10, 7, 4, .72); backdrop-filter: blur(16px) saturate(140%); border-bottom-color: var(--line); }
.nav__bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 72px; width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mk { width: 38px; height: 38px; border-radius: 11px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: var(--glow); flex: none; }
.brand__mk img { width: 100%; height: 100%; object-fit: cover; }
.brand__wm { font-family: var(--f-hero); font-size: 1.42rem; letter-spacing: .04em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
:lang(ar) .brand__wm, [dir="rtl"] .brand__wm { font-family: var(--f-ar); font-weight: 900; }
.nav__links { display: flex; gap: 30px; font-family: var(--f-mono); font-size: .8rem; letter-spacing: .06em; }
.nav__links a { color: var(--dim); position: relative; padding: 4px 0; transition: color .25s; }
.nav__links a::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--ac); transition: width .3s; }
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }
:lang(ar) .nav__links, [dir="rtl"] .nav__links { font-family: var(--f-ar); }
.nav__right { display: flex; align-items: center; gap: 12px; }

.livepill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-family: var(--f-mono); font-size: .72rem; font-weight: 600; letter-spacing: .12em; border: 1px solid var(--line-2); color: var(--dim); background: rgba(255, 255, 255, .02); transition: .25s; }
.livepill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); }
.livepill[data-live="true"] { color: #ffdca6; border-color: var(--ac); background: var(--ac-soft); }
.livepill[data-live="true"] .dot { background: var(--ac); animation: pulse-dot 1.6s infinite; }
.livepill:hover { color: var(--text); border-color: var(--ac); }
:lang(ar) .livepill, [dir="rtl"] .livepill { font-family: var(--f-ar); letter-spacing: 0; }

.langtog { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; overflow: hidden; }
.langtog button { padding: 7px 11px; font-family: var(--f-mono); font-size: .72rem; font-weight: 600; color: var(--faint); transition: .2s; }
.langtog button.on { background: var(--ac); color: #1a1206; }
.iconbtn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; border: 1px solid var(--line-2); color: var(--dim); transition: .25s; }
.iconbtn svg { width: 18px; height: 18px; }
.iconbtn:hover { color: var(--ac); border-color: var(--ac); box-shadow: var(--glow); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: center; padding-top: 92px; padding-bottom: 56px; overflow: hidden; }
/* hero-only luxe background render (the gold crest emblem + ember + crystals) */
.hero::before {
  content: ''; position: absolute; inset: -3%; z-index: 0; pointer-events: none;
  background: url('../assets/hero-bg.png') center center / cover no-repeat;
  animation: floaty 14s ease-in-out infinite;
}
/* darken just enough so the name + copy stay crisp, and fade into the page below */
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(95% 85% at 72% 42%, transparent 35%, rgba(10, 7, 4, .42) 96%),
    linear-gradient(to bottom, rgba(10, 7, 4, .55) 0%, rgba(10, 7, 4, .1) 16%, transparent 56%, rgba(10, 7, 4, .97) 100%);
}
[data-fx="low"] .hero::before { animation: none; }
.hero__in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.hero .scrollcue { z-index: 1; }
/* Hero is above the fold: drive its entrance with a self-contained load animation
   so it never waits on (or stalls with) the JS scroll-reveal on this heavy page. */
.hero .rv { animation: heroRise .9s cubic-bezier(.16, 1, .3, 1) both; }
.hero .hero__name { animation-delay: .06s; }
.hero .hero__sub { animation-delay: .14s; }
.hero .hero__rotate { animation-delay: .2s; }
.hero .hero__cta { animation-delay: .28s; }
.hero .crest { animation-delay: .12s; }
@keyframes heroRise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
[data-fx="low"] .hero .rv { animation: none; opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .hero .rv { animation: none; opacity: 1; transform: none; } }
.hero__copy { max-width: 600px; }
.hero__kick { margin-bottom: 22px; }
.hero__name {
  font-family: var(--f-hero); font-weight: 400;
  font-size: clamp(4.2rem, 16vw, 11rem); line-height: .86; letter-spacing: .01em;
  background: var(--fire-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 60px rgba(245, 177, 61, .18);
}
[dir="rtl"] .hero__name { font-family: var(--f-ar); font-weight: 900; line-height: 1.12; letter-spacing: 0; padding-bottom: .06em; }
/* Arabic is cursive — any letter-spacing breaks the joins, so zero it on display text */
[dir="rtl"] .brand__wm, [dir="rtl"] .h-sec, [dir="rtl"] .about__title, [dir="rtl"] .liveband__title,
[dir="rtl"] .footer__ghost, [dir="rtl"] .footer__tag, [dir="rtl"] .stat__v, [dir="rtl"] .cred__v,
[dir="rtl"] .panel h3, [dir="rtl"] .mq__track i span, [dir="rtl"] .cz__title, [dir="rtl"] .plaque__name {
  letter-spacing: 0;
}
.hero__sub { margin-top: 22px; color: var(--dim); font-size: clamp(1rem, 1.7vw, 1.2rem); max-width: 48ch; }
.hero__rotate { margin-top: 18px; height: 30px; display: flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: .92rem; letter-spacing: .14em; color: var(--ac); }
.hero__rotate::before { content: ''; width: 26px; height: 2px; background: var(--ac); }
.hero__rotate-i { opacity: 0; transform: translateY(8px); transition: .4s; text-transform: uppercase; }
.hero__rotate-i.show { opacity: 1; transform: none; }
:lang(ar) .hero__rotate, [dir="rtl"] .hero__rotate { font-family: var(--f-ar); letter-spacing: 0; }
.hero__cta { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }

/* --- 3D crest --- */
.crest { position: relative; aspect-ratio: 1; width: 100%; max-width: 600px; margin-inline: auto; display: grid; place-items: center; }
.crest__rays { position: absolute; inset: -6%; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 8deg, rgba(245, 177, 61, .12) 9deg 11deg, transparent 12deg 20deg); animation: spin 38s linear infinite; opacity: .6; mask: radial-gradient(circle, transparent 38%, #000 39% 70%, transparent 71%); }
.crest__halo { position: absolute; width: 78%; height: 78%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 122, 26, .26), rgba(245, 177, 61, .14) 45%, transparent 66%); filter: blur(8px); animation: floaty 6s ease-in-out infinite; }
.crest__ring { position: absolute; width: 92%; height: 92%; border-radius: 50%; border: 1px solid var(--line-2); box-shadow: inset 0 0 60px rgba(245, 177, 61, .12); }
.crest__ring::before { content: ''; position: absolute; inset: -7px; border-radius: 50%; border: 1px dashed rgba(245, 177, 61, .25); animation: spin 60s linear infinite reverse; }
.crest3d { position: relative; width: 84%; height: 84%; display: grid; place-items: center; z-index: 2; transition: transform .4s; }
.crest3d canvas { width: 100% !important; height: 100% !important; display: block; }
.crest3d__fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; border-radius: 50%; filter: drop-shadow(0 20px 50px rgba(0, 0, 0, .6)); animation: floaty 6s ease-in-out infinite; transition: opacity .6s; }
.crest3d.is-3d .crest3d__fallback { opacity: 0; pointer-events: none; }
.crest__live { position: absolute; bottom: 4%; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px; border-radius: 999px; font-family: var(--f-mono); font-size: .74rem; font-weight: 600; letter-spacing: .14em; z-index: 4; background: rgba(10, 7, 4, .82); backdrop-filter: blur(8px); border: 1px solid var(--line-2); color: var(--dim); white-space: nowrap; }
.crest__live .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); }
.crest__live[data-live="true"] { color: #ffdca6; border-color: var(--ac); box-shadow: var(--glow); }
.crest__live[data-live="true"] .dot { background: var(--ac); animation: pulse-dot 1.5s infinite; }
:lang(ar) .crest__live, [dir="rtl"] .crest__live { font-family: var(--f-ar); letter-spacing: 0; }

.scrollcue { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--faint); font-family: var(--f-mono); font-size: .64rem; letter-spacing: .3em; }
.scrollcue__mouse { width: 22px; height: 34px; border: 1.5px solid var(--line-2); border-radius: 12px; display: flex; justify-content: center; padding-top: 6px; }
.scrollcue__mouse i { width: 3px; height: 7px; border-radius: 2px; background: var(--ac); animation: floaty 1.6s ease-in-out infinite; }
:lang(ar) .scrollcue, [dir="rtl"] .scrollcue { font-family: var(--f-ar); letter-spacing: .1em; }

/* ============================================================
   LIVE CONSOLE (the 55s sync feature)
   ============================================================ */
.live { padding-block: clamp(20px, 4vw, 40px); }
.liveband { position: relative; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: linear-gradient(180deg, var(--bg-2), var(--bg)); padding: clamp(18px, 3vw, 30px); overflow: hidden; box-shadow: 0 30px 80px -40px rgba(0, 0, 0, .8); }
.liveband__bg { position: absolute; inset: 0; opacity: .5; background: radial-gradient(80% 120% at 100% 0%, var(--ac-soft), transparent 55%); pointer-events: none; }
.liveband.is-live { border-color: var(--ac); box-shadow: 0 0 0 1px var(--ac-soft), 0 40px 90px -40px rgba(245, 177, 61, .35); }
.liveband__top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.livestat { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: .82rem; font-weight: 600; letter-spacing: .14em; color: var(--dim); text-transform: uppercase; }
.livestat__dots { position: relative; width: 12px; height: 12px; }
.livestat__dots i { position: absolute; inset: 0; margin: auto; width: 9px; height: 9px; border-radius: 50%; background: var(--faint); }
.livestat.on .livestat__dots i { background: var(--ac); }
.livestat.on .livestat__dots i:first-child { animation: pulse-dot 1.5s infinite; }
.liveband__url { font-family: var(--f-mono); font-size: .78rem; color: var(--faint); transition: color .2s; }
.liveband__url:hover { color: var(--ac); }
:lang(ar) .livestat, [dir="rtl"] .livestat { font-family: var(--f-ar); letter-spacing: 0; }

.liveband__grid { position: relative; display: grid; grid-template-columns: 1.5fr 1fr; gap: 22px; }
.livestage { position: relative; aspect-ratio: 16/9; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-2); background: #000; }
.livestage iframe { width: 100%; height: 100%; border: 0; display: block; }
.livestage__badge { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 7px; background: #e8332f; color: #fff; font-family: var(--f-mono); font-size: .66rem; font-weight: 700; letter-spacing: .1em; }
.livestage__badge .dot2 { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse-dot 1.4s infinite; }
.livestage__vc { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 7px; background: rgba(0, 0, 0, .7); backdrop-filter: blur(6px); color: #fff; font-family: var(--f-mono); font-size: .72rem; font-weight: 600; }
.livestage__vc svg { width: 14px; height: 14px; color: var(--ac); }

.liveband__info { display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.liveband__lab { display: inline-flex; align-items: center; gap: 9px; font-family: var(--f-mono); font-size: .74rem; letter-spacing: .16em; color: var(--ac); text-transform: uppercase; }
.liveband__lab .livedot { width: 8px; height: 8px; border-radius: 50%; background: var(--ac); animation: pulse-dot 1.5s infinite; }
.liveband__title { font-family: var(--f-head); font-weight: 700; font-size: clamp(1.2rem, 2.4vw, 1.7rem); line-height: 1.18; }
.liveband__title--off { color: var(--dim); }
.liveband__meta { display: flex; flex-wrap: wrap; gap: 10px; }
.livepill2 { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 10px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .02); font-family: var(--f-mono); font-size: .8rem; color: var(--dim); }
.livepill2 svg { width: 15px; height: 15px; color: var(--ac); }
.livepill2 b { color: var(--text); font-weight: 700; }
.liveband__cta { align-self: flex-start; margin-top: 4px; }
:lang(ar) .liveband__lab, [dir="rtl"] .liveband__lab, :lang(ar) .livepill2, [dir="rtl"] .livepill2 { font-family: var(--f-ar); letter-spacing: 0; }

.liveband__off { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: clamp(26px, 6vw, 60px) 16px; }
.liveband__offic { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 16px; border: 1px solid var(--line-2); color: var(--ac); background: var(--ac-soft); }
.liveband__offic svg { width: 28px; height: 28px; }
.liveband__off .liveband__title { font-size: clamp(1.3rem, 3vw, 2rem); }
.liveband__sub { color: var(--dim); max-width: 46ch; }

.liveband__foot { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.liveband__auto { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: .76rem; color: var(--faint); }
.sync-ring { --p: 0; position: relative; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--ac) calc(var(--p) * 360deg), rgba(245, 177, 61, .14) 0); flex: none; }
.sync-ring::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--bg-2); }
.sync-ring span { position: relative; z-index: 1; font-family: var(--f-mono); font-size: .6rem; color: var(--ac); }
:lang(ar) .liveband__auto, [dir="rtl"] .liveband__auto { font-family: var(--f-ar); }
.refreshbtn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 11px; border: 1px solid var(--line-2); color: var(--dim); font-family: var(--f-mono); font-size: .78rem; font-weight: 600; transition: .25s; }
.refreshbtn svg { width: 15px; height: 15px; }
.refreshbtn:hover { color: var(--ac); border-color: var(--ac); }
.refreshbtn.spin svg { animation: spin 1s linear infinite; }
:lang(ar) .refreshbtn, [dir="rtl"] .refreshbtn { font-family: var(--f-ar); }

/* ============================================================
   STATS RAIL
   ============================================================ */
.stats { border-block: 1px solid var(--line); }
.stats__rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.stat { background: var(--bg); padding: clamp(22px, 4vw, 40px) clamp(16px, 3vw, 30px); display: flex; flex-direction: column; gap: 6px; transition: background .3s; }
.stat:hover { background: var(--bg-2); }
.stat__v { font-family: var(--f-hero); font-size: clamp(2.2rem, 6vw, 3.4rem); line-height: 1; letter-spacing: .01em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
[dir="rtl"] .stat__v { font-family: var(--f-head); font-weight: 800; }
.stat__l { font-family: var(--f-mono); font-size: .76rem; letter-spacing: .08em; color: var(--faint); text-transform: uppercase; }
:lang(ar) .stat__l, [dir="rtl"] .stat__l { font-family: var(--f-ar); letter-spacing: 0; }

/* ============================================================
   CHANNELS HUB
   ============================================================ */
.hub { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.hub > :first-child { grid-column: 1 / -1; }
.plaque { position: relative; display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: var(--r); border: 1px solid var(--line-2); background: linear-gradient(120deg, var(--bg-2), var(--bg)); overflow: hidden; transition: border-color .3s, box-shadow .3s, transform .45s; }
.plaque::before { content: ''; position: absolute; inset: 0; opacity: 0; background: radial-gradient(60% 120% at var(--mx, 50%) var(--my, 0%), color-mix(in oklab, var(--pc) 20%, transparent), transparent 60%); transition: opacity .3s; }
.plaque:hover { border-color: var(--pc); box-shadow: 0 20px 50px -28px var(--pc); }
.plaque:hover::before { opacity: .7; }
.plaque__tok { position: relative; width: 54px; height: 54px; flex: none; display: grid; place-items: center; border-radius: 14px; border: 1px solid var(--line-2); color: var(--pc); background: rgba(0, 0, 0, .25); }
.plaque__tok svg { width: 26px; height: 26px; }
.plaque__mid { position: relative; flex: 1; min-width: 0; }
.plaque__name { display: block; font-family: var(--f-head); font-weight: 700; font-size: 1.12rem; letter-spacing: .02em; }
.plaque__handle { display: block; font-family: var(--f-mono); font-size: .8rem; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.plaque__act { position: relative; display: inline-flex; align-items: center; gap: 9px; font-family: var(--f-mono); font-size: .76rem; color: var(--dim); }
.plaque__arrow { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); color: var(--pc); transition: .3s; }
.plaque__arrow svg { width: 15px; height: 15px; }
.plaque:hover .plaque__arrow { background: var(--pc); color: #0a0704; border-color: var(--pc); transform: translateX(3px); }
.plaque__act-txt { color: var(--faint); }
:lang(ar) .plaque__handle, [dir="rtl"] .plaque__handle, :lang(ar) .plaque__act, [dir="rtl"] .plaque__act { font-family: var(--f-ar); }
[dir="rtl"] .plaque:hover .plaque__arrow { transform: translateX(-3px) scaleX(-1); }

/* ============================================================
   ABOUT
   ============================================================ */
.about__grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.about__art { position: relative; aspect-ratio: 4/5; border-radius: var(--r-lg); }
.about__halo { position: absolute; inset: -8%; border-radius: 50%; background: radial-gradient(circle, rgba(245, 177, 61, .2), transparent 64%); filter: blur(12px); }
.about__frame { position: relative; height: 100%; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 40px 90px -50px rgba(0, 0, 0, .9); }
.about__frame img { width: 100%; height: 100%; object-fit: cover; }
.about__frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10, 7, 4, .55)); }
.about__frame .cn { position: absolute; width: 26px; height: 26px; border: 2px solid var(--ac); z-index: 2; }
.about__frame .cn.tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.about__frame .cn.br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }
.about__copy .about__title { font-family: var(--f-head); font-weight: 800; font-size: clamp(1.9rem, 4.6vw, 3rem); line-height: 1.02; letter-spacing: -.02em; margin: 14px 0 16px; }
.creds { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0; }
.cred { flex: 1; min-width: 110px; padding: 16px 18px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--bg-2); }
.cred__v { font-family: var(--f-hero); font-size: 1.8rem; line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
[dir="rtl"] .cred__v { font-family: var(--f-head); font-weight: 800; }
.cred__l { margin-top: 6px; font-family: var(--f-mono); font-size: .72rem; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; }
:lang(ar) .cred__l, [dir="rtl"] .cred__l { font-family: var(--f-ar); letter-spacing: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 9px; }
.tags span { padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-2); font-family: var(--f-mono); font-size: .74rem; color: var(--dim); letter-spacing: .06em; transition: .25s; }
.tags span:hover { border-color: var(--ac); color: var(--ac); }
:lang(ar) .tags span, [dir="rtl"] .tags span { font-family: var(--f-ar); }

/* marquee */
.mq { margin-top: clamp(40px, 7vw, 80px); border-block: 1px solid var(--line); overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq__track { display: flex; width: max-content; animation: mqscroll 26s linear infinite; }
.mq__track i { display: flex; align-items: center; }
.mq__track i span { display: inline-flex; align-items: center; gap: 26px; padding: 18px 26px; font-family: var(--f-hero); font-size: clamp(1.6rem, 4vw, 2.6rem); letter-spacing: .03em; color: transparent; -webkit-text-stroke: 1px var(--line-2); }
.mq__track i b { color: var(--ac); display: inline-flex; }
.mq__track i b svg { width: 20px; height: 20px; }
[dir="rtl"] .mq__track i span { font-family: var(--f-ar); -webkit-text-stroke: 1px var(--line-2); }
@keyframes mqscroll { to { transform: translateX(-50%); } }
.mq:hover .mq__track { animation-play-state: paused; }

/* ============================================================
   GALLERY — pinned right-to-left stacking deck
   ============================================================ */
.gal .lead { margin-bottom: 6px; }
.gal__stage { width: 100%; }
/* default (mobile / reduced-motion / no GSAP): a clean vertical list */
.gal__deck { width: min(86vw, 430px); margin-inline: auto; display: flex; flex-direction: column; gap: 18px; padding-block: 10px; }
.gcard { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line-2); background: var(--bg-2); box-shadow: 0 44px 90px -46px rgba(0, 0, 0, .92); }
.gcard img { width: 100%; height: 100%; object-fit: cover; }
.gcard::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(8, 5, 2, .85)); }
.gcard__cap { position: absolute; left: 20px; bottom: 18px; z-index: 2; display: inline-flex; align-items: center; gap: 9px; font-family: var(--f-mono); font-size: .9rem; color: var(--text); }
.gcard__cap svg { width: 16px; height: 16px; color: var(--ac); }
:lang(ar) .gcard__cap, [dir="rtl"] .gcard__cap { font-family: var(--f-ar); }
[dir="rtl"] .gcard__cap { left: auto; right: 20px; }
/* pinned mode (desktop, GSAP active): an absolutely-stacked deck */
.gal__stage.is-pinned { min-height: 100dvh; display: grid; place-items: center; }
.gal__stage.is-pinned .gal__deck { display: block; position: relative; width: min(78vw, 440px); aspect-ratio: 3 / 4; }
.gal__stage.is-pinned .gcard { position: absolute; inset: 0; transform-origin: 50% 100%; will-change: transform; }

/* ============================================================
   COMMUNITY
   ============================================================ */
.comm__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.panel { position: relative; padding: clamp(26px, 4vw, 40px); border-radius: var(--r-lg); border: 1px solid var(--line-2); background: linear-gradient(150deg, var(--bg-2), var(--bg)); overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; transition: border-color .3s, box-shadow .3s, transform .45s; }
.panel::before { content: ''; position: absolute; inset: 0; opacity: .5; background: radial-gradient(70% 90% at 100% 0%, var(--ac-soft), transparent 60%); }
.panel:hover { border-color: var(--ac); box-shadow: 0 30px 70px -40px rgba(245, 177, 61, .4); }
.panel__ic { position: relative; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; border: 1px solid var(--line-2); color: var(--ac); background: rgba(0, 0, 0, .3); }
.panel__ic svg { width: 28px; height: 28px; }
.panel h3 { position: relative; font-family: var(--f-head); font-weight: 800; font-size: 1.5rem; }
.panel p { position: relative; color: var(--dim); flex: 1; }
.panel__cta { position: relative; }
:lang(ar) .panel p, [dir="rtl"] .panel p { font-family: var(--f-ar); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { position: relative; padding-top: clamp(60px, 9vw, 110px); padding-bottom: 40px; overflow: hidden; border-top: 1px solid var(--line); }
.footer__ghost { position: absolute; left: 50%; top: 8px; transform: translateX(-50%); font-family: var(--f-hero); font-size: clamp(5rem, 24vw, 20rem); line-height: 1; letter-spacing: .02em; color: transparent; -webkit-text-stroke: 1px rgba(245, 177, 61, .08); pointer-events: none; white-space: nowrap; }
[dir="rtl"] .footer__ghost { font-family: var(--f-ar); font-weight: 900; }
.footer__in { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.footer__tag { font-family: var(--f-head); font-weight: 700; font-size: clamp(1.3rem, 3.2vw, 2rem); max-width: 22ch; }
:lang(ar) .footer__tag, [dir="rtl"] .footer__tag { font-family: var(--f-ar); }
.footer__soc { display: flex; gap: 12px; }
.footer__soc a { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; border: 1px solid var(--line-2); color: var(--dim); transition: .25s; }
.footer__soc a svg { width: 20px; height: 20px; }
.footer__soc a:hover { color: var(--ac); border-color: var(--ac); transform: translateY(-3px); box-shadow: var(--glow); }
.credit { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2); transition: .25s; }
.credit:hover { border-color: var(--ac); }
.credit__mk { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: var(--ac-soft); color: var(--ac); }
.credit__mk svg { width: 16px; height: 16px; }
.credit__txt { text-align: left; line-height: 1.2; }
.credit__txt b { display: block; font-family: var(--f-head); font-size: .9rem; }
.credit__txt small { color: var(--faint); font-family: var(--f-mono); font-size: .72rem; }
.credit__go { color: var(--ac); }
.credit__go svg { width: 16px; height: 16px; }
.footer__bottom { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; color: var(--faint); font-family: var(--f-mono); font-size: .76rem; }
.footer__bottom a:hover { color: var(--ac); }
:lang(ar) .footer__bottom, [dir="rtl"] .footer__bottom { font-family: var(--f-ar); }
[dir="rtl"] .credit__txt { text-align: right; }

/* ============================================================
   CUSTOMIZE PANEL
   ============================================================ */
.cz { position: fixed; top: 0; right: 0; z-index: 70; width: 300px; max-width: 88vw; height: 100dvh; background: rgba(14, 9, 4, .92); backdrop-filter: blur(18px); border-left: 1px solid var(--line-2); transform: translateX(100%); transition: transform .4s cubic-bezier(.16, 1, .3, 1); padding: 26px; display: flex; flex-direction: column; gap: 22px; }
.cz.open { transform: none; }
[dir="rtl"] .cz { right: auto; left: 0; border-left: 0; border-right: 1px solid var(--line-2); transform: translateX(-100%); }
[dir="rtl"] .cz.open { transform: none; }
.cz__head { display: flex; align-items: center; justify-content: space-between; }
.cz__title { font-family: var(--f-head); font-weight: 800; font-size: 1.2rem; }
.cz__row { display: flex; flex-direction: column; gap: 10px; }
.cz__lab { font-family: var(--f-mono); font-size: .74rem; letter-spacing: .1em; color: var(--faint); text-transform: uppercase; }
:lang(ar) .cz__lab, [dir="rtl"] .cz__lab { font-family: var(--f-ar); letter-spacing: 0; }
.cz__swatches { display: flex; gap: 10px; }
.cz__sw { width: 34px; height: 34px; border-radius: 10px; border: 2px solid transparent; transition: .2s; }
.cz__sw.on { border-color: #fff; transform: scale(1.08); }
.cz__seg { display: flex; border: 1px solid var(--line-2); border-radius: 11px; overflow: hidden; }
.cz__seg button { flex: 1; padding: 10px; font-family: var(--f-mono); font-size: .78rem; color: var(--dim); transition: .2s; }
.cz__seg button.on { background: var(--ac); color: #1a1206; }
:lang(ar) .cz__seg button, [dir="rtl"] .cz__seg button { font-family: var(--f-ar); }

/* ============================================================
   KICK HOVER PREVIEW
   ============================================================ */
.kpv { position: fixed; z-index: 80; width: 480px; max-width: 92vw; border-radius: var(--r); overflow: hidden; border: 1px solid var(--ac); background: #000; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9), var(--glow); opacity: 0; transform: translateY(8px) scale(.98); pointer-events: none; transition: opacity .2s, transform .2s; }
.kpv.show { opacity: 1; transform: none; pointer-events: auto; }
.kpv__v { aspect-ratio: 16/9; background: #000; }
.kpv__v iframe { width: 100%; height: 100%; border: 0; display: block; }
.kpv__ft { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: var(--bg-2); font-family: var(--f-mono); font-size: .72rem; color: var(--dim); }
.kpv__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ac); animation: pulse-dot 1.5s infinite; }
.kpv__au { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.kpv__mute { color: var(--dim); display: grid; place-items: center; }
.kpv__mute svg { width: 16px; height: 16px; }
.kpv__vol { width: 70px; accent-color: var(--ac); }
[dir="rtl"] .kpv__au { margin-left: 0; margin-right: auto; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero__in { grid-template-columns: 1fr; text-align: center; }
  .hero__copy { max-width: none; margin-inline: auto; }
  .hero__kick, .hero__rotate { justify-content: center; }
  .hero__cta { justify-content: center; }
  .crest { grid-row: 1; max-width: 460px; }
  .hero__rotate::before { display: none; }
  .liveband__grid { grid-template-columns: 1fr; }
  .about__grid { grid-template-columns: 1fr; }
  .about__art { max-width: 420px; margin-inline: auto; width: 100%; }
}
@media (max-width: 760px) {
  .nav__links { display: none; }
  .stats__rail { grid-template-columns: repeat(2, 1fr); }
  .hub { grid-template-columns: 1fr; }
  .hub > :first-child { grid-column: auto; }
  .comm__grid { grid-template-columns: 1fr; }
  .brand__wm { font-size: 1.2rem; }
  .liveband__foot { flex-direction: column; align-items: stretch; gap: 12px; }
  .refreshbtn { justify-content: center; }
}
@media (max-width: 460px) {
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .livepill span:not(.dot) { display: none; }
}
