:root {
  --night: #0c0719;
  --plum: #1a0f33;
  --plum-2: #241445;
  --line: rgba(220, 200, 255, .1);
  --line-2: rgba(220, 200, 255, .18);
  --text: #f4f0ff;
  --muted: #a99ccc;
  --magenta: #ff3ec8;
  --violet: #7c4dff;
  --ice: #5ee7ff;
  --red: #e8322e;
  --ok: #22c55e;
  --warn: #f5b83d;
  --grad: linear-gradient(100deg, #ff3ec8 0%, #a05bff 45%, #5ee7ff 100%);
  --grad-btn: linear-gradient(100deg, #e43ad0, #7c4dff);
  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 12px;
  --display: 'Audiowide', 'Sora', system-ui, sans-serif;
  --body: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-h: 68px;
  --tab-h: 0px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: dark;
}
html[lang="ar"] { --body: 'Tajawal', 'Sora', system-ui, sans-serif; --display: 'Tajawal', 'Audiowide', sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; min-height: 100dvh; background: var(--night); color: var(--text);
  font: 400 16px/1.6 var(--body); overflow-x: clip;
  -webkit-tap-highlight-color: transparent; -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px));
}
html[lang="ar"] body { font-size: 17px; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- ambient background ---------- */
.ambient { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(60vmax 50vmax at 85% -10%, rgba(124, 77, 255, .35), transparent 60%),
    radial-gradient(50vmax 45vmax at -10% 30%, rgba(255, 62, 200, .22), transparent 60%),
    radial-gradient(60vmax 40vmax at 50% 120%, rgba(94, 231, 255, .12), transparent 60%),
    var(--night); }
.ambient::after { content: ""; position: absolute; inset: -50%; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
#particles { position: fixed; inset: 0; z-index: -1; pointer-events: none; }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 4px; font: 800 22px/1 'Sora', sans-serif; letter-spacing: -.02em; direction: ltr; }
.logo-store { color: #fff; }
.logo-tv { background: var(--red); color: #fff; padding: 4px 7px 5px; border-radius: 4px; box-shadow: 0 0 22px rgba(232, 50, 46, .55); }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 40; padding-top: env(safe-area-inset-top, 0px);
  background: rgba(12, 7, 25, .62); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid transparent; transition: border-color .3s; }
.header.scrolled { border-bottom-color: var(--line); }
.header-in { height: var(--header-h); max-width: 1240px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 28px; }
.nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav a { padding: 9px 14px; border-radius: 999px; color: var(--muted); font-size: 14px; transition: color .2s, background .2s; }
.nav a:hover { color: var(--text); }
.nav a.on { color: var(--text); background: rgba(255, 255, 255, .07); }
.h-actions { display: flex; gap: 8px; align-items: center; }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.03); position: relative; transition: transform .2s var(--spring), border-color .2s; }
.icon-btn:hover { border-color: var(--line-2); }
.icon-btn:active { transform: scale(.9); }
.icon-btn svg { width: 20px; height: 20px; }
.lang-btn { height: 42px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: 14px; display: inline-flex; gap: 8px; align-items: center; background: rgba(255,255,255,.03); }
.lang-btn svg { width: 17px; height: 17px; }
.badge-count { position: absolute; top: -4px; inset-inline-end: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; transform: scale(0); transition: transform .35s var(--spring); }
.badge-count.show { transform: scale(1); }
.badge-count.bump { animation: bump .5s var(--spring); }
@keyframes bump { 40% { transform: scale(1.5); } }

/* ---------- bottom tab bar (mobile app feel) ---------- */
.tabbar { display: none; }
@media (max-width: 860px) {
  :root { --header-h: 58px; --tab-h: 68px; }
  .nav, .h-cart, .desk-only { display: none !important; }
  .header-in { padding: 0 16px; }
  .h-actions { margin-inline-start: auto; }
  .tabbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; z-index: 45; left: 10px; right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px)); height: 62px; border-radius: 22px;
    background: rgba(26, 15, 51, .78); backdrop-filter: blur(22px) saturate(1.5); -webkit-backdrop-filter: blur(22px) saturate(1.5);
    border: 1px solid var(--line-2); box-shadow: 0 18px 40px rgba(0,0,0,.45); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; color: var(--muted); position: relative; transition: color .2s; }
  .tabbar a svg { width: 22px; height: 22px; transition: transform .35s var(--spring); }
  .tabbar a.on { color: #fff; }
  .tabbar a.on svg { transform: translateY(-2px) scale(1.08); color: var(--magenta); }
  .tabbar a.on::before { content: ""; position: absolute; top: 6px; width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle, rgba(255,62,200,.35), transparent 70%); }
  .tabbar .badge-count { top: 6px; inset-inline-end: calc(50% - 22px); }
}

/* ---------- layout ---------- */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
@media (max-width: 860px) { .wrap { padding: 0 16px; } }
main { min-height: 70vh; }
.view { animation: viewIn .55s var(--ease) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(14px) scale(.99); } }
.sec { padding: 72px 0 0; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
h1, h2, h3 { margin: 0; line-height: 1.12; font-weight: 400; }
.h2 { font-family: var(--display); font-size: clamp(26px, 3.4vw, 40px); letter-spacing: .01em; }
html[lang="ar"] .h2 { font-weight: 800; }
.link-more { color: var(--muted); font-size: 14px; display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.link-more:hover { color: var(--text); }
.link-more svg { width: 16px; height: 16px; }
html[dir="rtl"] .flip { transform: scaleX(-1); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: gradShift 6s ease-in-out infinite alternate; }
@keyframes gradShift { to { background-position: 100% 0; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 16px; font-weight: 600; font-size: 15px; transition: transform .25s var(--spring), box-shadow .3s, background .3s; position: relative; overflow: hidden; white-space: nowrap; }
.btn svg { width: 19px; height: 19px; }
.btn:active { transform: scale(.96); }
.btn-primary { background: var(--grad-btn); color: #fff; box-shadow: 0 10px 30px -8px rgba(228, 58, 208, .7), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary:hover { box-shadow: 0 14px 40px -6px rgba(228, 58, 208, .9), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { border: 1px solid var(--line-2); background: rgba(255,255,255,.04); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn .spin { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- HERO ---------- */
.hero { position: relative; padding-top: 48px; padding-bottom: 30px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 40px; align-items: center; min-height: min(640px, 78vh); }
.hero-title { font-family: var(--display); font-size: clamp(40px, 6.2vw, 82px); line-height: 1.02; letter-spacing: -.005em; }
html[lang="ar"] .hero-title { font-weight: 800; line-height: 1.2; font-size: clamp(40px, 6vw, 76px); }
.hero-title .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .ln > span { display: inline-block; animation: lineUp 1s var(--ease) both; }
.hero-title .ln:nth-child(2) > span { animation-delay: .12s; }
.hero-title .ln:nth-child(3) > span { animation-delay: .24s; }
@keyframes lineUp { from { transform: translateY(105%); } }
.hero-sub { color: var(--muted); font-size: 17px; max-width: 46ch; margin: 22px 0 32px; animation: fadeUp .9s .4s var(--ease) both; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; animation: fadeUp .9s .52s var(--ease) both; }
.hero-trust { display: flex; gap: 22px; margin-top: 34px; color: var(--muted); font-size: 13.5px; flex-wrap: wrap; animation: fadeUp .9s .64s var(--ease) both; }
.hero-trust span { display: inline-flex; gap: 8px; align-items: center; }
.hero-trust svg { width: 18px; height: 18px; color: var(--ice); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } }

/* --- the TV stage --- */
.stage { position: relative; aspect-ratio: 1 / .92; perspective: 1400px; animation: stageIn 1.4s .15s var(--ease) both; }
@keyframes stageIn { from { opacity: 0; transform: translateY(40px) scale(.94); } }
.orbit { position: absolute; left: 50%; top: 46%; width: 112%; aspect-ratio: 2.4; translate: -50% -50%; border-radius: 50%;
  border: 1.5px solid transparent; background: linear-gradient(var(--night), var(--night)) padding-box, var(--grad) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0);
  transform: rotateX(68deg) rotateZ(-14deg); opacity: .7; }
.orbit-dot { position: absolute; left: 50%; top: 46%; width: 112%; aspect-ratio: 2.4; translate: -50% -50%; transform: rotateX(68deg) rotateZ(-14deg); pointer-events: none; }
.orbit-dot i { position: absolute; inset: 0; animation: orbit 9s linear infinite; }
.orbit-dot i::before { content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 14px 4px var(--magenta), 0 0 40px 10px rgba(255,62,200,.5); }
@keyframes orbit { to { transform: rotate(360deg); } }
.glow-floor { position: absolute; left: 10%; right: 10%; bottom: 6%; height: 28%; background: radial-gradient(50% 50% at 50% 50%, rgba(124,77,255,.55), transparent 70%); filter: blur(20px); }

.tv { position: absolute; left: 6%; right: 6%; top: 8%; transform-style: preserve-3d; transform: rotateY(-13deg) rotateX(5deg); transition: transform .8s var(--ease); animation: floatTv 7s ease-in-out infinite; }
html[dir="rtl"] .tv { transform: rotateY(13deg) rotateX(5deg); }
@keyframes floatTv { 50% { translate: 0 -10px; } }
.tv-frame { position: relative; aspect-ratio: 16 / 9.4; border-radius: 16px; padding: 10px; background: linear-gradient(145deg, #2b2442, #0e0a1a 55%, #1f1833); box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 40px 80px -20px rgba(0,0,0,.8), 0 0 80px -10px rgba(124,77,255,.55); }
.tv-frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(115deg, rgba(255,255,255,.14), transparent 30%); pointer-events: none; }
.tv-screen { position: relative; width: 100%; height: 100%; border-radius: 8px; overflow: hidden; background: #000; isolation: isolate; }
.tv-screen::after { /* scanlines + glass glare */ content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.14) 0 1px, transparent 1px 3px), linear-gradient(120deg, rgba(255,255,255,.12), transparent 40%); }
.tv-stand { position: absolute; left: 50%; bottom: -26px; width: 30%; height: 26px; translate: -50% 0; background: linear-gradient(#2a2340, #120d20); clip-path: polygon(18% 0, 82% 0, 100% 100%, 0 100%); border-radius: 0 0 6px 6px; }
.tv-led { position: absolute; bottom: 3px; left: 50%; width: 4px; height: 4px; translate: -50% 0; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px var(--red); }

.ch { position: absolute; inset: 0; opacity: 0; transition: opacity .01s; }
.ch.on { opacity: 1; }
.osd { position: absolute; z-index: 6; top: 9%; inset-inline-end: 6%; font: 400 clamp(12px, 1.6vw, 20px)/1 'Audiowide', monospace; color: #7dff9b; text-shadow: 0 0 10px #4dff7c; opacity: 0; direction: ltr; }
.osd.show { animation: osd 2.2s ease both; }
@keyframes osd { 0%, 80% { opacity: 1; } 100% { opacity: 0; } }
#noise { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; opacity: 0; pointer-events: none; }
#noise.on { opacity: 1; }

/* channel 1 — aurora 4K */
.ch-aurora { background: #0a0420; }
.ch-aurora i { position: absolute; width: 80%; height: 120%; border-radius: 50%; filter: blur(30px); mix-blend-mode: screen; animation: aur 8s ease-in-out infinite alternate; }
.ch-aurora i:nth-child(1) { background: #ff3ec8; left: -20%; top: -30%; }
.ch-aurora i:nth-child(2) { background: #5ee7ff; right: -25%; top: -10%; animation-duration: 10s; animation-delay: -3s; }
.ch-aurora i:nth-child(3) { background: #7c4dff; left: 20%; bottom: -60%; animation-duration: 7s; }
@keyframes aur { to { transform: translate(18%, 12%) scale(1.2) rotate(30deg); } }
.ch-label { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; font: 400 clamp(26px, 6vw, 64px)/1 'Audiowide', sans-serif; color: #fff; letter-spacing: .04em; text-shadow: 0 0 30px rgba(255,255,255,.6); direction: ltr; }
.ch-label small { display: block; font-size: .28em; letter-spacing: .5em; text-align: center; opacity: .8; margin-top: .6em; }

/* channel 2 — match */
.ch-pitch { background: repeating-linear-gradient(90deg, #127a3a 0 9%, #16904a 9% 18%); }
.ch-pitch::before { content: ""; position: absolute; inset: 9% 6%; border: 2px solid rgba(255,255,255,.75); }
.ch-pitch::after { content: ""; position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: 1; translate: -50% -50%; border: 2px solid rgba(255,255,255,.75); border-radius: 50%; box-shadow: 0 0 0 0 transparent; background: linear-gradient(90deg, transparent calc(50% - 1px), rgba(255,255,255,.75) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)); }
.ball { position: absolute; width: 3.2%; aspect-ratio: 1; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0,0,0,.4); z-index: 2; animation: ball 3.4s ease-in-out infinite alternate; }
@keyframes ball { 0% { left: 12%; top: 60%; } 30% { left: 38%; top: 26%; } 60% { left: 60%; top: 66%; } 100% { left: 84%; top: 40%; } }
.score { position: absolute; z-index: 3; top: 7%; inset-inline-start: 5%; display: flex; font: 700 clamp(10px, 1.4vw, 15px)/1 'Sora', sans-serif; direction: ltr; border-radius: 4px; overflow: hidden; }
.score b { background: #fff; color: #0c0719; padding: 5px 8px; }
.score span { background: var(--red); color: #fff; padding: 5px 8px; }
.score em { background: #0c0719; color: #7dff9b; padding: 5px 8px; font-style: normal; }

/* channel 3 — cinema / space */
.ch-cine { background: radial-gradient(circle at 70% 60%, #3b1d7a, #090418 60%); }
.ch-cine::before, .ch-cine::after { content: ""; position: absolute; left: 0; right: 0; height: 11%; background: #000; z-index: 3; }
.ch-cine::before { top: 0; } .ch-cine::after { bottom: 0; }
.stars { position: absolute; inset: 0; background-image: radial-gradient(1.5px 1.5px at 10% 20%, #fff, transparent), radial-gradient(1px 1px at 30% 70%, #fff, transparent), radial-gradient(1.5px 1.5px at 55% 30%, #fff, transparent), radial-gradient(1px 1px at 80% 15%, #fff, transparent), radial-gradient(1px 1px at 90% 80%, #fff, transparent), radial-gradient(1.5px 1.5px at 45% 85%, #fff, transparent), radial-gradient(1px 1px at 20% 50%, #fff, transparent); animation: drift 12s linear infinite; }
@keyframes drift { to { transform: translateX(-12%) scale(1.15); } }
.planet { position: absolute; width: 38%; aspect-ratio: 1; right: 12%; top: 26%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffd2f3, #ff3ec8 35%, #5a17a8 70%, #1a0640); box-shadow: 0 0 60px rgba(255,62,200,.5), inset -18px -10px 40px rgba(0,0,0,.6); animation: planet 12s ease-in-out infinite alternate; }
.planet::after { content: ""; position: absolute; left: -30%; right: -30%; top: 44%; height: 14%; border-radius: 50%; border: 3px solid rgba(94,231,255,.7); transform: rotate(-16deg); }
@keyframes planet { to { transform: translate(-30%, 6%) scale(1.08); } }

/* channel 4 — test bars */
.ch-bars { display: grid; grid-template-columns: repeat(7, 1fr); }
.ch-bars i:nth-child(1) { background: #c0c0c0; } .ch-bars i:nth-child(2) { background: #c0c000; } .ch-bars i:nth-child(3) { background: #00c0c0; }
.ch-bars i:nth-child(4) { background: #00c000; } .ch-bars i:nth-child(5) { background: #c000c0; } .ch-bars i:nth-child(6) { background: #c00000; } .ch-bars i:nth-child(7) { background: #0000c0; }
.ch-bars .ch-label { text-shadow: 0 0 0 transparent; }
.ch-bars .ch-label span { background: #000; padding: .25em .6em; font-size: .6em; }

/* channel 5 — music equalizer */
.ch-eq { background: linear-gradient(160deg, #1b0638, #0b0417); display: flex; align-items: flex-end; justify-content: center; gap: 2%; padding: 0 8% 10%; }
.ch-eq i { flex: 1; height: 70%; border-radius: 4px 4px 0 0; background: var(--grad); background-size: 100% 300%; transform-origin: bottom; animation: eq 1.1s ease-in-out infinite alternate; }
.ch-eq i:nth-child(2n) { animation-duration: .8s; } .ch-eq i:nth-child(3n) { animation-duration: 1.4s; } .ch-eq i:nth-child(5n) { animation-duration: .6s; }
@keyframes eq { from { transform: scaleY(.12); } to { transform: scaleY(1); } }

/* TV box + remote */
.tvbox { position: absolute; left: 22%; bottom: 7%; width: 38%; aspect-ratio: 4 / 1; border-radius: 14px; background: linear-gradient(170deg, #2c2546, #0f0b1c); box-shadow: 0 0 0 1px rgba(255,255,255,.07), 0 26px 40px -12px rgba(0,0,0,.8); transform: rotateX(56deg) rotateZ(-6deg); animation: floatBox 6s ease-in-out infinite; }
.tvbox::before { content: "STORE TV"; position: absolute; inset: 0; display: grid; place-items: center; font: 800 clamp(9px, 1.1vw, 13px)/1 'Sora', sans-serif; letter-spacing: .3em; color: rgba(255,255,255,.18); }
.tvbox::after { content: ""; position: absolute; right: 10%; top: 50%; width: 6px; height: 6px; border-radius: 50%; translate: 0 -50%; background: #4dff7c; box-shadow: 0 0 10px #4dff7c; animation: led 2s ease-in-out infinite; }
@keyframes led { 50% { opacity: .3; } }
@keyframes floatBox { 50% { translate: 0 -6px; } }
.remote { position: absolute; inset-inline-end: 2%; bottom: 4%; width: 12%; aspect-ratio: 1 / 3.6; border-radius: 40px; background: linear-gradient(160deg, #332a52, #120e22); box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 30px 40px -10px rgba(0,0,0,.8), 0 0 40px -6px rgba(124,77,255,.6); transform: rotate(14deg); animation: floatRemote 5s ease-in-out infinite; display: flex; flex-direction: column; align-items: center; padding-top: 18%; gap: 8%; }
html[dir="rtl"] .remote { transform: rotate(-14deg); }
@keyframes floatRemote { 50% { translate: 0 -14px; } }
.remote .pw { width: 22%; aspect-ratio: 1; border-radius: 50%; background: var(--red); box-shadow: 0 0 8px var(--red); }
.remote .pad { width: 62%; aspect-ratio: 1; border-radius: 50%; background: #0b0816; border: 1px solid rgba(255,255,255,.12); display: grid; place-items: center; }
.remote .pad i { width: 36%; aspect-ratio: 1; border-radius: 50%; background: #2a2343; }
.remote .ch-btn { width: 56%; padding: 9% 0; border-radius: 10px; background: linear-gradient(var(--magenta), var(--violet)); color: #fff; font: 700 clamp(8px, .9vw, 11px)/1 'Sora', sans-serif; box-shadow: 0 0 16px rgba(255,62,200,.6); animation: pulseBtn 2.4s ease-in-out infinite; transition: transform .2s var(--spring); }
.remote .ch-btn:active { transform: scale(.85); }
@keyframes pulseBtn { 50% { box-shadow: 0 0 26px rgba(255,62,200,.95); } }
.remote .dots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; width: 56%; }
.remote .dots i { aspect-ratio: 1; border-radius: 50%; background: #2a2343; }
.ir { position: absolute; z-index: 3; pointer-events: none; width: 30%; height: 2px; background: linear-gradient(90deg, transparent, var(--ice)); opacity: 0; }
.ir.fire { animation: ir .45s ease-out; }
@keyframes ir { 0% { opacity: 1; transform: scaleX(.2); } 100% { opacity: 0; transform: scaleX(1); } }

/* ---------- tilted marquee band ---------- */
.band { position: relative; margin: 40px calc(50% - 52vw) 0; transform: rotate(-2.2deg); background: linear-gradient(90deg, rgba(255,62,200,.18), rgba(124,77,255,.28), rgba(94,231,255,.16)); border-block: 1px solid var(--line-2); backdrop-filter: blur(6px); overflow: hidden; direction: ltr; }
html[dir="rtl"] .band { transform: rotate(2.2deg); }
.band-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
html[dir="rtl"] .band-track { animation-direction: reverse; }
.band-track span { display: inline-flex; align-items: center; gap: 26px; padding: 15px 13px; font-family: var(--display); font-size: clamp(15px, 1.7vw, 21px); white-space: nowrap; }
html[lang="ar"] .band-track span { font-weight: 700; }
.band-track svg { width: 22px; height: 22px; color: var(--magenta); filter: drop-shadow(0 0 6px var(--magenta)); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- categories ---------- */
.cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cat { position: relative; padding: 22px 18px 18px; border-radius: var(--r-md); background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.015)); border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--spring), border-color .3s; }
.cat:hover { transform: translateY(-4px); border-color: rgba(255,62,200,.45); }
.cat::before { content: ""; position: absolute; width: 120px; height: 120px; inset-inline-end: -40px; top: -40px; border-radius: 50%; background: radial-gradient(circle, rgba(255,62,200,.35), transparent 70%); transition: transform .5s var(--ease); }
.cat:hover::before { transform: scale(1.6); }
.cat-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(124,77,255,.18); color: #d9c9ff; margin-bottom: 30px; }
.cat-ico svg { width: 26px; height: 26px; }
.cat b { display: block; font-weight: 600; font-size: 16px; }
.cat small { color: var(--muted); font-size: 13px; }
@media (max-width: 860px) {
  .cats { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 4px 16px 8px; scrollbar-width: none; }
  .cats::-webkit-scrollbar { display: none; }
  .cat { flex: 0 0 42%; scroll-snap-align: start; }
}

/* ---------- product grid & card ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1080px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.card { position: relative; border-radius: var(--r-md); background: linear-gradient(170deg, rgba(36,20,69,.75), rgba(20,12,40,.75)); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transform-style: preserve-3d; transition: border-color .3s, box-shadow .4s; --mx: 50%; --my: 50%; }
.card::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(240px circle at var(--mx) var(--my), rgba(255,62,200,.18), transparent 60%); }
.card:hover { border-color: rgba(255,62,200,.4); box-shadow: 0 24px 50px -20px rgba(124,77,255,.6); }
.card:hover::before { opacity: 1; }
.card-media { position: relative; aspect-ratio: 1; overflow: hidden; background: radial-gradient(circle at 50% 40%, #2d1a5a, #120a24 70%); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-badge { position: absolute; z-index: 3; top: 12px; inset-inline-start: 12px; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: #fff; }
.badge-promo { background: var(--red); } .badge-new { background: var(--violet); } .badge-hot { background: linear-gradient(90deg, #ff7a18, #ff3ec8); }
.card-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-cat { font-size: 12px; color: var(--muted); }
.card-name { font-size: 15px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { margin-top: auto; display: flex; align-items: end; justify-content: space-between; gap: 8px; }
.price { font-family: 'Audiowide', var(--body); font-size: 18px; white-space: nowrap; direction: ltr; unicode-bidi: isolate; }
.price small { font-size: .62em; opacity: .75; margin-inline-start: 3px; }
.old { display: block; white-space: nowrap; font-size: 12.5px; color: var(--muted); text-decoration: line-through; direction: ltr; unicode-bidi: isolate; }
.add-btn { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--grad-btn); color: #fff; box-shadow: 0 8px 20px -6px rgba(228,58,208,.8); transition: transform .3s var(--spring); position: relative; z-index: 3; }
.add-btn svg { width: 20px; height: 20px; }
.add-btn:hover { transform: rotate(90deg) scale(1.08); }
.add-btn:active { transform: scale(.85); }
.add-btn[disabled] { background: rgba(255,255,255,.08); box-shadow: none; }
.stock-tag { font-size: 12px; display: inline-flex; gap: 6px; align-items: center; color: var(--muted); }
.stock-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.stock-tag.low::before { background: var(--warn); box-shadow: 0 0 8px var(--warn); }
.stock-tag.out::before { background: var(--red); box-shadow: none; }
@media (max-width: 860px) { .card-body { padding: 11px 11px 13px; } .card-name { font-size: 14px; } .price { font-size: 16px; } .add-btn { width: 38px; height: 38px; border-radius: 12px; } }

/* skeleton */
.sk { position: relative; overflow: hidden; background: rgba(255,255,255,.05); border-radius: var(--r-md); }
.sk::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.07), transparent); animation: shimmer 1.3s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- why section with orb ---------- */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; }
.orb-wrap { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; margin: 0 auto; }
.orb { position: absolute; inset: 8%; border-radius: 50%;
  background: radial-gradient(circle at 50% 120%, rgba(94,231,255,.9), transparent 45%), radial-gradient(circle at 50% -10%, rgba(255,62,200,.95), transparent 55%), radial-gradient(circle at 50% 50%, #3a12a0, #12052e 70%);
  box-shadow: 0 0 80px rgba(255,62,200,.45), 0 0 140px rgba(124,77,255,.35), inset 0 0 50px rgba(255,255,255,.25);
  animation: orbBreath 5s ease-in-out infinite; }
.orb::before, .orb::after { content: ""; position: absolute; left: -2%; right: -2%; top: 50%; height: 7%; border-radius: 50%; translate: 0 -50%; border: 2px solid rgba(255,190,245,.9); box-shadow: 0 0 20px rgba(255,62,200,.8); }
.orb::after { top: 60%; height: 18%; border-color: rgba(94,231,255,.75); box-shadow: 0 0 20px rgba(94,231,255,.7); animation: ring 6s ease-in-out infinite; }
@keyframes orbBreath { 50% { transform: scale(1.03); box-shadow: 0 0 110px rgba(255,62,200,.6), 0 0 180px rgba(124,77,255,.45), inset 0 0 60px rgba(255,255,255,.3); } }
@keyframes ring { 50% { top: 40%; height: 26%; } }
.orb-num { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; z-index: 2; }
.orb-num b { display: block; font: 400 clamp(64px, 9vw, 110px)/1 'Audiowide', sans-serif; text-shadow: 0 0 30px rgba(255,255,255,.6); }
.orb-num span { font-size: 15px; color: #f0e6ff; }
.points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.point { padding: 20px; border-radius: var(--r-md); border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.point svg { width: 28px; height: 28px; color: var(--ice); margin-bottom: 14px; }
.point b { display: block; font-weight: 600; margin-bottom: 4px; }
.point p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.lead { color: var(--muted); max-width: 52ch; margin: 16px 0 0; }

/* contact strip */
.cta-strip { margin-top: 80px; padding: 44px; border-radius: var(--r-lg); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(110deg, rgba(255,62,200,.22), rgba(124,77,255,.3) 50%, rgba(94,231,255,.15)); border: 1px solid var(--line-2); }
.cta-strip::after { content: ""; position: absolute; width: 300px; height: 300px; right: -80px; top: -150px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.2), transparent 70%); }

/* footer */
.footer { margin-top: 90px; padding: 46px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.footer h4 { color: var(--text); margin: 0 0 12px; font-size: 15px; font-weight: 600; }
.footer a:hover { color: var(--text); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.copy { margin-top: 30px; font-size: 13px; }

/* ---------- shop page ---------- */
.shop-top { padding-top: 36px; }
.toolbar { display: flex; gap: 12px; margin: 24px 0 18px; flex-wrap: wrap; position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); z-index: 20; padding: 10px 0; background: linear-gradient(var(--night) 70%, transparent); }
.search { flex: 1; min-width: 220px; position: relative; }
.search svg { position: absolute; top: 50%; inset-inline-start: 16px; translate: 0 -50%; width: 19px; height: 19px; color: var(--muted); }
.search input { width: 100%; height: 50px; padding-inline: 46px 16px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(255,255,255,.05); outline: none; transition: border-color .2s, background .2s; }
.search input:focus { border-color: var(--magenta); background: rgba(255,255,255,.08); }
.select { height: 50px; padding: 0 16px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(26,15,51,.9); outline: none; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; margin-bottom: 20px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; white-space: nowrap; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; display: inline-flex; align-items: center; gap: 8px; transition: all .25s var(--ease); background: rgba(255,255,255,.03); }
.chip.on { background: var(--grad-btn); border-color: transparent; color: #fff; box-shadow: 0 8px 20px -8px rgba(228,58,208,.8); }
.chip small { opacity: .7; font-size: 12px; }
.empty { text-align: center; padding: 70px 20px; color: var(--muted); }
.empty svg { width: 56px; height: 56px; margin: 0 auto 16px; color: var(--violet); opacity: .8; }
.empty b { display: block; color: var(--text); font-size: 18px; margin-bottom: 6px; }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: 1.05fr 1fr; gap: 46px; padding-top: 34px; }
.crumbs { color: var(--muted); font-size: 13.5px; display: flex; gap: 8px; align-items: center; margin-bottom: 18px; }
.crumbs a:hover { color: var(--text); }
.gallery-main { position: relative; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; background: radial-gradient(circle at 50% 40%, #2d1a5a, #120a24 70%); border: 1px solid var(--line); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; animation: imgIn .5s var(--ease); }
@keyframes imgIn { from { opacity: 0; transform: scale(1.04); } }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; }
.thumbs button { flex: none; width: 72px; height: 72px; border-radius: 14px; overflow: hidden; border: 2px solid transparent; opacity: .6; transition: all .2s; }
.thumbs button.on { border-color: var(--magenta); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-name { font-family: var(--display); font-size: clamp(26px, 3.2vw, 38px); line-height: 1.15; }
html[lang="ar"] .pdp-name { font-weight: 800; }
.pdp-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 18px 0 8px; }
.pdp-price .price { font-size: 32px; }
.save { padding: 4px 10px; border-radius: 999px; background: rgba(232,50,46,.18); color: #ff8a86; font-size: 13px; font-weight: 600; }
.pdp-desc { color: #d4cbec; margin: 20px 0; white-space: pre-line; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 16px; height: 52px; }
.qty button { width: 46px; height: 100%; display: grid; place-items: center; }
.qty button svg { width: 18px; height: 18px; }
.qty output { min-width: 34px; text-align: center; font-weight: 700; }
.buy-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
.buy-row .btn { flex: 1; }
.specs { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; margin-top: 10px; }
.specs div { display: flex; justify-content: space-between; gap: 12px; padding: 13px 16px; font-size: 14.5px; }
.specs div:nth-child(odd) { background: rgba(255,255,255,.03); }
.specs dt { color: var(--muted); } .specs dd { margin: 0; font-weight: 600; text-align: end; }
.assure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; }
.assure span { padding: 14px 10px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid var(--line); font-size: 12.5px; text-align: center; color: var(--muted); }
.assure svg { width: 22px; height: 22px; color: var(--ice); margin: 0 auto 6px; display: block; }
.sticky-buy { display: none; }
@media (max-width: 860px) {
  .pdp { grid-template-columns: 1fr; gap: 20px; padding-top: 10px; }
  .gallery-main { margin: 0 -16px; border-radius: 0 0 28px 28px; border: 0; }
  .buy-row { display: none; }
  .sticky-buy { display: flex; gap: 10px; position: fixed; z-index: 44; left: 10px; right: 10px; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); padding: 10px; border-radius: 20px; background: rgba(26,15,51,.88); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid var(--line-2); animation: slideUp .5s var(--spring) both; }
  .sticky-buy .btn { flex: 1; min-width: 0; height: 48px; padding: 0 14px; }
  .sticky-buy .btn-ghost { flex: 0 0 52px; padding: 0; }
  .pdp-pad { height: 80px; }
}
@keyframes slideUp { from { transform: translateY(140%); } }

/* ---------- cart drawer / sheet ---------- */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(5,2,12,.6); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .35s; }
.scrim.on { opacity: 1; pointer-events: auto; }
.sheet { position: fixed; z-index: 61; top: 0; bottom: 0; inset-inline-end: 0; width: min(440px, 100%); background: linear-gradient(180deg, #1d1138, #110a22); border-inline-start: 1px solid var(--line-2); display: flex; flex-direction: column; transform: translateX(105%); transition: transform .5s var(--ease); padding-top: env(safe-area-inset-top, 0px); }
html[dir="rtl"] .sheet { transform: translateX(-105%); }
.sheet.on { transform: none !important; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.sheet-head h3 { font-family: var(--display); font-size: 20px; }
html[lang="ar"] .sheet-head h3 { font-weight: 800; }
.grab { display: none; }
.sheet-body { flex: 1; overflow-y: auto; padding: 14px 20px; overscroll-behavior: contain; }
.sheet-foot { padding: 16px 20px calc(18px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: rgba(0,0,0,.2); }
@media (max-width: 860px) {
  .sheet, html[dir="rtl"] .sheet { top: auto; left: 0; right: 0; width: 100%; max-height: 88dvh; border-radius: 26px 26px 0 0; border: 1px solid var(--line-2); border-bottom: 0; transform: translateY(105%); padding-top: 0; }
  .grab { display: block; width: 44px; height: 5px; border-radius: 9px; background: rgba(255,255,255,.25); margin: 10px auto 0; }
  .sheet-head { padding-top: 10px; }
}
.line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); animation: fadeUp .4s var(--ease) both; }
.line-img { width: 72px; height: 72px; border-radius: 14px; overflow: hidden; background: #1f1340; }
.line-img img { width: 100%; height: 100%; object-fit: cover; }
.line b { font-size: 14px; font-weight: 600; display: block; line-height: 1.35; }
.line .price { font-size: 14px; }
.mini-qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; border: 1px solid var(--line); border-radius: 10px; }
.mini-qty button { width: 30px; height: 30px; display: grid; place-items: center; }
.mini-qty svg { width: 15px; height: 15px; }
.mini-qty span { min-width: 20px; text-align: center; font-size: 14px; font-weight: 700; }
.rm { color: var(--muted); width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; }
.rm:hover { color: var(--red); background: rgba(232,50,46,.1); }
.rm svg { width: 18px; height: 18px; }
.sum { display: grid; gap: 8px; font-size: 14.5px; }
.sum div { display: flex; justify-content: space-between; }
.sum .tot { font-size: 18px; font-weight: 700; padding-top: 8px; border-top: 1px dashed var(--line-2); margin-top: 4px; }
.free-bar { margin: 4px 0 14px; font-size: 13px; color: var(--muted); }
.free-bar i { display: block; height: 6px; margin-top: 8px; border-radius: 9px; background: rgba(255,255,255,.08); overflow: hidden; }
.free-bar i::after { content: ""; display: block; height: 100%; width: var(--p, 0%); background: var(--grad); border-radius: 9px; transition: width .6s var(--ease); }

/* ---------- forms ---------- */
.co { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; padding-top: 34px; align-items: start; }
.panel { border-radius: var(--r-lg); border: 1px solid var(--line); background: rgba(26,15,51,.55); padding: 26px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; color: var(--muted); }
.field input, .field select, .field textarea { height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); outline: none; transition: border-color .2s, box-shadow .2s; width: 100%; }
.field select { background: rgba(26,15,51,.95); }
.field textarea { height: 90px; padding: 12px 16px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--magenta); box-shadow: 0 0 0 4px rgba(255,62,200,.15); }
.field.bad input, .field.bad select { border-color: var(--red); animation: shake .4s; }
.field .hint { font-size: 12.5px; color: #ff8a86; display: none; }
.field.bad .hint { display: block; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.hp { position: absolute; left: -9999px; }
.cod { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: rgba(94,231,255,.08); border: 1px solid rgba(94,231,255,.25); margin: 20px 0; font-size: 14px; }
.cod svg { width: 26px; height: 26px; color: var(--ice); flex: none; }
@media (max-width: 860px) {
  .co { grid-template-columns: 1fr; padding-top: 16px; }
  .co aside { order: -1; }
  .fgrid { grid-template-columns: 1fr; }
  .panel { padding: 18px; }
}

/* ---------- success ---------- */
.done { text-align: center; padding: 60px 0 20px; max-width: 520px; margin: 0 auto; }
.check-ring { width: 120px; height: 120px; margin: 0 auto 26px; position: relative; }
.check-ring svg { width: 100%; height: 100%; }
.check-ring circle { stroke-dasharray: 340; stroke-dashoffset: 340; animation: draw 1s .1s var(--ease) forwards; }
.check-ring path { stroke-dasharray: 80; stroke-dashoffset: 80; animation: draw .6s .8s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.code-box { display: inline-flex; gap: 10px; align-items: center; margin: 18px 0 26px; padding: 14px 22px; border-radius: 16px; border: 1px dashed var(--magenta); font: 400 26px/1 'Audiowide', monospace; letter-spacing: .08em; direction: ltr; background: rgba(255,62,200,.08); }
.code-box button { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: rgba(255,255,255,.08); }
.code-box svg { width: 17px; height: 17px; }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 80; }

/* ---------- tracking ---------- */
.track-box { max-width: 560px; margin: 0 auto; padding-top: 40px; }
.timeline { list-style: none; padding: 0; margin: 24px 0 0; position: relative; }
.timeline::before { content: ""; position: absolute; top: 8px; bottom: 8px; inset-inline-start: 11px; width: 2px; background: var(--line-2); }
.timeline li { position: relative; padding-inline-start: 40px; padding-bottom: 20px; animation: fadeUp .5s var(--ease) both; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: 4px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px var(--night), 0 0 14px var(--c); }
.timeline b { display: block; }
.timeline small { color: var(--muted); }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; background: color-mix(in srgb, var(--c) 18%, transparent); color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); }
.status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }

/* ---------- toast ---------- */
.toasts { position: fixed; z-index: 90; left: 50%; translate: -50% 0; top: calc(var(--header-h) + 12px + env(safe-area-inset-top, 0px)); display: grid; gap: 8px; width: min(420px, calc(100% - 24px)); pointer-events: none; }
.toast { pointer-events: auto; padding: 13px 16px; border-radius: 16px; background: rgba(36,20,69,.95); border: 1px solid var(--line-2); backdrop-filter: blur(16px); box-shadow: 0 20px 40px rgba(0,0,0,.5); display: flex; gap: 12px; align-items: center; font-size: 14px; animation: toastIn .45s var(--spring) both; }
.toast.out { animation: toastOut .3s ease forwards; }
.toast svg { width: 20px; height: 20px; flex: none; color: var(--ok); }
.toast.err svg { color: var(--red); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-16px) scale(.95); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(-10px); } }

/* fly-to-cart */
.fly { position: fixed; z-index: 95; border-radius: 16px; overflow: hidden; pointer-events: none; box-shadow: 0 0 30px rgba(255,62,200,.8); }
.fly img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- responsive hero ---------- */
@media (max-width: 960px) {
  .hero { padding-top: 18px; }
  .stage { overflow: visible; }
  .hero-grid { grid-template-columns: 1fr; gap: 6px; min-height: 0; }
  .stage { order: -1; max-width: 560px; width: 100%; margin: 0 auto; }
  .hero-sub { font-size: 15.5px; margin: 16px 0 24px; }
  .hero-ctas .btn { flex: 1; }
  .why { grid-template-columns: 1fr; gap: 20px; }
  .orb-wrap { max-width: 300px; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .hero-ctas { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-ctas .btn { padding: 0 12px; font-size: 14px; gap: 7px; }
  .hero-ctas .btn svg { width: 17px; height: 17px; }
  .points { grid-template-columns: 1fr; }
  .cta-strip { padding: 28px 22px; }
  .sec { padding-top: 54px; }
}

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