/* =====================================================================
   الشرائح المصمَّمة (Designed slides) — HTML/SVG حادة على كل الشاشات.
   الثيمات: midnight (كحلي وذهبي) · royal (أزرق الهوية وبرتقالي) · sunset (برتقالي) · pearl (فاتح)
   ===================================================================== */

.ds {
    --ds-bg1: #040c20; --ds-bg2: #0b2556; --ds-ink: #fff; --ds-ink2: #c9d5ee; --ds-accent: #f2b544; --ds-accent-2: #ffd98a;
    --ds-glass-1: rgba(255, 255, 255, .14); --ds-glass-2: rgba(255, 255, 255, .04); --ds-line: rgba(255, 255, 255, .16);
    --ds-dot: rgba(160, 190, 240, .9); --ds-card: rgba(12, 32, 72, .62); --ds-card-ink: #fff;
    --duo-a: #fff; --duo-b: rgba(255, 255, 255, .18); --duo-c: var(--ds-accent); --duo-bg: #0b2556;
    position: relative; overflow: hidden; height: 100%; display: flex; align-items: center; color: var(--ds-ink);
    background: radial-gradient(900px 520px at 85% 15%, rgba(56, 116, 230, .35), transparent 60%), linear-gradient(140deg, var(--ds-bg1), var(--ds-bg2));
    padding-block: 40px 104px; isolation: isolate;
}
.ds-royal {
    --ds-bg1: #06306f; --ds-bg2: #0a57bd; --ds-accent: #ff9a1f; --ds-accent-2: #ffc06b; --ds-ink2: #d6e4ff;
    --ds-dot: rgba(200, 220, 255, .85); --ds-card: rgba(6, 44, 108, .6); --duo-bg: #0a4ea8;
    background: radial-gradient(800px 500px at 15% 10%, rgba(80, 170, 255, .45), transparent 60%), linear-gradient(140deg, var(--ds-bg1), var(--ds-bg2));
}
.ds-sunset {
    --ds-bg1: #ff9d1c; --ds-bg2: #f05f00; --ds-accent: #0b2b5e; --ds-accent-2: #13407f; --ds-ink2: #fff3e3;
    --ds-dot: rgba(255, 255, 255, .78); --ds-card: rgba(255, 255, 255, .94); --ds-card-ink: #0b2b5e; --ds-line: rgba(255, 255, 255, .35);
    --duo-b: rgba(255, 255, 255, .26); --duo-c: #0b2b5e; --duo-bg: #f27a0a;
    background: radial-gradient(800px 500px at 80% 0%, rgba(255, 220, 140, .55), transparent 60%), linear-gradient(140deg, var(--ds-bg1), var(--ds-bg2));
}
.ds-pearl {
    --ds-bg1: #f7f9ff; --ds-bg2: #e6ecfb; --ds-ink: #0b2350; --ds-ink2: #4a5a78; --ds-accent: #ff8c00; --ds-accent-2: #ffb24d;
    --ds-glass-1: rgba(255, 255, 255, .95); --ds-glass-2: rgba(230, 238, 252, .9); --ds-line: rgba(11, 35, 80, .12);
    --ds-dot: rgba(10, 78, 168, .55); --ds-card: rgba(255, 255, 255, .92); --ds-card-ink: #0b2350;
    --duo-a: #0a4ea8; --duo-b: rgba(10, 78, 168, .14); --duo-c: #ff8c00; --duo-bg: #fff;
    background: radial-gradient(800px 500px at 85% 10%, rgba(120, 160, 255, .35), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(255, 170, 60, .18), transparent 60%), linear-gradient(140deg, var(--ds-bg1), var(--ds-bg2));
}

/* ---------- Background layers ---------- */
.ds-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ds-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: luminosity; }
.ds-glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.ds-glow-1 { width: 420px; height: 420px; background: var(--ds-accent); opacity: .18; inset-inline-end: 8%; top: 18%; }
.ds-glow-2 { width: 520px; height: 520px; background: #3d7bff; opacity: .2; inset-inline-start: -8%; bottom: -30%; }
.ds-sunset .ds-glow-2 { background: #ffd36b; opacity: .35; }
.ds-pearl .ds-glow-1 { opacity: .12; }
.ds-grid { position: absolute; inset: 0; background-image: radial-gradient(var(--ds-line) 1.2px, transparent 1.2px); background-size: 28px 28px; mask-image: radial-gradient(70% 70% at 70% 40%, #000 20%, transparent 75%); }
.ds-sweep { position: absolute; inset-inline: 0; bottom: 0; width: 100%; height: 60%; }
[dir="rtl"] .ds-sweep { transform: scaleX(-1); }
.ds-motion .ds-glow-1 { animation: dsFloat 9s ease-in-out infinite alternate; }

/* ---------- Layout ---------- */
.ds-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.ds-copy { max-width: 620px; }
.ds-logo { height: clamp(46px, 4.2vw, 62px); width: auto; margin-bottom: 18px; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .25)); }
.ds-pearl .ds-logo { filter: none; }
.ds-sunset .ds-logo { background: #fff; padding: 8px 14px; border-radius: 16px; box-sizing: content-box; filter: drop-shadow(0 10px 24px rgba(120, 50, 0, .25)); }
.ds-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 16px; border-radius: 999px; background: var(--ds-glass-1); border: 1px solid var(--ds-line); color: var(--ds-ink); font-weight: 600; font-size: 14px; margin-bottom: 18px; backdrop-filter: blur(10px); }
.ds-eyebrow .duo { width: 20px; height: 20px; }
.ds-title { color: var(--ds-ink); font-size: clamp(32px, 4.3vw, 60px); line-height: 1.12; margin: 0 0 18px; letter-spacing: -.01em; text-wrap: balance; }
.ds-hl { display: block; padding-block: .06em; background: linear-gradient(100deg, var(--ds-accent-2), var(--ds-accent) 45%, color-mix(in srgb, var(--ds-accent) 70%, #000)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ds-sunset .ds-hl { background: none; color: #0b2b5e; -webkit-text-fill-color: #0b2b5e; }
.ds-lead { color: var(--ds-ink2); font-size: clamp(16px, 1.35vw, 19px); max-width: 540px; margin-bottom: 26px; }
.ds-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ds .btn-primary { box-shadow: 0 14px 30px -12px rgba(255, 140, 0, .7); }
.ds-sunset .btn-primary { background: #0b2b5e; box-shadow: 0 14px 30px -12px rgba(11, 43, 94, .6); }
.ds-sunset .btn-primary:hover { background: #071e43; }
.ds-btn-ghost { background: var(--ds-glass-1); color: var(--ds-ink); border: 1px solid var(--ds-line); backdrop-filter: blur(8px); }
.ds-btn-ghost:hover { background: rgba(255, 255, 255, .22); }
.ds-pearl .ds-btn-ghost { background: #fff; border-color: rgba(11, 35, 80, .15); }
.ds-phone { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; padding: 8px 20px 8px 8px; border-radius: 999px; background: var(--ds-glass-1); border: 1px solid var(--ds-line); backdrop-filter: blur(10px); color: var(--ds-ink); }
[dir="rtl"] .ds-phone { padding: 8px 8px 8px 20px; }
.ds-phone-ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--ds-accent); }
.ds-phone-ic .duo { width: 26px; height: 26px; --duo-a: #fff; --duo-b: rgba(255, 255, 255, .25); --duo-c: #fff; }
.ds-sunset .ds-phone-ic { background: #0b2b5e; }
.ds-phone small { display: block; font-size: 12.5px; color: var(--ds-ink2); line-height: 1.2; }
.ds-phone b { display: block; font-size: 24px; letter-spacing: .06em; line-height: 1.2; }
.ds-chips { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.ds-chips li { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; font-weight: 600; color: var(--ds-ink2); }
.ds-chips .duo { width: 20px; height: 20px; }
.ds-stores { display: flex; gap: 12px; flex-wrap: wrap; }
.ds-store { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 14px; background: #050b18; color: #fff; border: 1px solid rgba(255, 255, 255, .18); transition: transform .2s; }
.ds-store:hover { transform: translateY(-2px); }
.ds-store small { display: block; font-size: 11px; opacity: .75; line-height: 1.1; }
.ds-store span { font-weight: 700; line-height: 1.25; }

.ds-art { position: relative; width: min(100%, 540px, 64svh); aspect-ratio: 1 / 1; justify-self: center; }
.art { position: absolute; inset: 0; }

/* entry animation (only on the active slide) */
.swiper-slide-active .ds-in, .ds-preview .ds-in { animation: dsRise .9s var(--ease, cubic-bezier(.2, .8, .2, 1)) both; }
.swiper-slide-active .ds-in:nth-child(2), .ds-preview .ds-in:nth-child(2) { animation-delay: .08s; }
.swiper-slide-active .ds-in:nth-child(3), .ds-preview .ds-in:nth-child(3) { animation-delay: .16s; }
.swiper-slide-active .ds-in:nth-child(4), .ds-preview .ds-in:nth-child(4) { animation-delay: .24s; }
.swiper-slide-active .ds-in:nth-child(5), .ds-preview .ds-in:nth-child(5) { animation-delay: .32s; }
.swiper-slide-active .ds-in:nth-child(n+6), .ds-preview .ds-in:nth-child(n+6) { animation-delay: .4s; }
.swiper-slide-active .ds-art, .ds-preview .ds-art { animation: dsZoom 1.2s var(--ease, cubic-bezier(.2, .8, .2, 1)) both; }

/* ---------- Centered layout (brand) ---------- */
.ds-center .ds-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 8px; }
.ds-center .ds-copy { margin-inline: auto; display: flex; flex-direction: column; align-items: center; }
.ds-center .ds-lead { margin-inline: auto; }
.ds-center .ds-actions, .ds-center .ds-chips { justify-content: center; }
.ds-center .ds-art { order: -1; width: min(100%, 340px, 34svh); aspect-ratio: 16 / 10; }
.ds-center:not(.ds-t-brand) .ds-art { display: none; }

/* ---------- Shared art pieces ---------- */
.art-rings { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--ds-line); stroke-width: 1.2; }
.art-rings .dash { stroke-dasharray: 3 9; stroke: color-mix(in srgb, var(--ds-accent) 60%, transparent); }
.ds-motion .art-rings { animation: dsSpin 80s linear infinite; }
.art-badge { position: absolute; display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px 10px 12px; border-radius: 16px; background: var(--ds-card); color: var(--ds-card-ink); font-weight: 700; font-size: 14.5px; border: 1px solid var(--ds-line); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .55); backdrop-filter: blur(14px); white-space: nowrap; z-index: 3; }
[dir="rtl"] .art-badge { padding: 10px 12px 10px 16px; }
.art-badge .duo { width: 26px; height: 26px; }
.ds-sunset .art-badge, .ds-pearl .art-badge { --duo-a: #0a4ea8; --duo-b: rgba(10, 78, 168, .14); --duo-c: #ff8c00; }
.spark { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--ds-accent-2); box-shadow: 0 0 14px 4px color-mix(in srgb, var(--ds-accent) 70%, transparent); opacity: .8; }
.ds-motion .spark { animation: dsTwinkle 3.4s ease-in-out infinite; }
.spark.s1 { top: 12%; inset-inline-start: 18%; } .spark.s2 { top: 72%; inset-inline-end: 8%; animation-delay: 1.1s !important; } .spark.s3 { bottom: 6%; inset-inline-start: 36%; animation-delay: 2s !important; }
.spark.s4 { top: 30%; inset-inline-end: 12%; animation-delay: .6s !important; } .spark.s5 { top: 55%; inset-inline-start: 6%; animation-delay: 1.6s !important; }

/* ---------- secure: currency cards ---------- */
.cur-card { position: absolute; width: 56%; padding: 18px 20px; border-radius: 22px; color: var(--ds-card-ink); background: linear-gradient(150deg, var(--ds-glass-1), var(--ds-glass-2)), var(--ds-card); border: 1px solid var(--ds-line); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .65), inset 0 1px 0 rgba(255, 255, 255, .25); backdrop-filter: blur(16px); }
.cur-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .16) 45%, transparent 60%); pointer-events: none; }
.cc-1 { top: 3%; inset-inline-start: 2%; transform: rotate(-7deg); z-index: 1; }
.cc-2 { top: 35%; inset-inline-end: 0; transform: rotate(5deg); z-index: 2; }
.cc-3 { top: 66%; inset-inline-start: 10%; transform: rotate(-3deg); z-index: 3; }
.ds-motion .cc-1 { animation: dsBob1 7s ease-in-out infinite; } .ds-motion .cc-2 { animation: dsBob2 8s ease-in-out infinite; } .ds-motion .cc-3 { animation: dsBob3 6.5s ease-in-out infinite; }
.cc-top { display: flex; align-items: center; gap: 10px; }
.cc-top img { width: 36px; height: 27px; border-radius: 6px; object-fit: cover; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
.cc-code { font-weight: 700; font-size: 20px; letter-spacing: .06em; }
.cc-chip { margin-inline-start: auto; width: 38px; height: 28px; border-radius: 7px; background: linear-gradient(135deg, var(--ds-accent-2), var(--ds-accent)); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.cc-name { margin-top: 10px; font-size: 14px; opacity: .8; }
.cc-vals { display: flex; gap: 18px; margin-top: 8px; }
.cc-vals > span { min-width: 0; }
.cc-vals small { display: block; font-size: 11.5px; opacity: .7; }
.cc-vals b { font-size: clamp(18px, 2vw, 24px); font-variant-numeric: tabular-nums; }
.cc-lines { margin-top: 14px; display: grid; gap: 8px; } .cc-lines i { display: block; height: 8px; border-radius: 6px; background: var(--ds-line); } .cc-lines i:last-child { width: 60%; }
.art-secure .ab-1 { top: 6%; inset-inline-end: 4%; } .art-secure .ab-2 { bottom: 0; inset-inline-end: 6%; }
.ds-motion .art-secure .ab-1, .ds-motion .art-trust .tb-1, .ds-motion .art-reach .rb-1 { animation: dsBob2 6s ease-in-out infinite; }
.ds-motion .art-secure .ab-2, .ds-motion .art-trust .tb-3, .ds-motion .art-reach .rb-2 { animation: dsBob1 7s ease-in-out infinite; }

/* ---------- trust ---------- */
.trust-shield { position: absolute; width: 56%; left: 22%; top: 16%; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .5)); }
.trust-shield .draw { stroke-dasharray: 220; stroke-dashoffset: 0; }
.swiper-slide-active .trust-shield .draw, .ds-preview .trust-shield .draw { animation: dsDraw 1.6s .4s var(--ease, ease) both; }
.ds-motion .trust-shield { animation: dsBob3 8s ease-in-out infinite; }
.art-trust .tb-1 { top: 10%; inset-inline-start: 0; } .art-trust .tb-2 { top: 18%; inset-inline-end: -2%; }
.art-trust .tb-3 { bottom: 16%; inset-inline-start: -2%; } .art-trust .tb-4 { bottom: 6%; inset-inline-end: 6%; }
.ds-motion .art-trust .tb-2, .ds-motion .art-trust .tb-4 { animation: dsBob3 7.5s ease-in-out infinite; }

/* ---------- global ---------- */
.globe { position: absolute; inset: 6%; border-radius: 50%; }
.globe-sphere { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(120, 170, 255, .45), rgba(20, 60, 140, .35) 45%, rgba(4, 14, 36, .1) 72%); box-shadow: inset -30px -40px 80px rgba(0, 0, 0, .45), inset 20px 20px 60px rgba(150, 200, 255, .15), 0 0 90px rgba(80, 140, 255, .35); }
.ds-sunset .globe-sphere { background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .45), rgba(255, 255, 255, .12) 60%); box-shadow: inset -30px -40px 80px rgba(160, 60, 0, .35), 0 0 80px rgba(255, 220, 160, .55); }
.ds-pearl .globe-sphere { background: radial-gradient(circle at 35% 30%, #fff, #dbe6ff 55%, #c3d4fb); box-shadow: inset -30px -40px 80px rgba(10, 78, 168, .18), 0 30px 80px -20px rgba(10, 78, 168, .35); }
.globe-dots { position: absolute; inset: 0; background: var(--ds-dot); -webkit-mask: url("/v2/art/globe-dots.svg") center / contain no-repeat; mask: url("/v2/art/globe-dots.svg") center / contain no-repeat; }
.globe-arcs { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.globe-arcs .arc, .reach-pins .arc, .ex-arcs .arc { fill: none; stroke: var(--ds-accent); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 6 7; opacity: .9; }
.ds-motion .globe-arcs .arc, .ds-motion .reach-pins .arc, .ds-motion .ex-arcs .arc { animation: dsDash 2.4s linear infinite; }
.arc-dot { fill: #fff; filter: drop-shadow(0 0 6px var(--ds-accent)); }
.arc-end { fill: var(--ds-accent); stroke: rgba(255, 255, 255, .8); stroke-width: 2; }
.home { fill: var(--ds-accent); stroke: #fff; stroke-width: 3; }
.home-pulse { fill: var(--ds-accent); opacity: .5; transform-origin: 296px 298px; }
.ds-motion .home-pulse { animation: dsPulse 2s ease-out infinite; }
.flag-bubble { position: absolute; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--ds-card); border: 1px solid var(--ds-line); box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .6); backdrop-filter: blur(10px); z-index: 3; }
.flag-bubble img { width: 34px; height: 25px; border-radius: 5px; object-fit: cover; }
.fb-1 { top: 2%; inset-inline-start: 22%; } .fb-2 { top: 10%; inset-inline-end: 10%; } .fb-3 { top: 46%; inset-inline-end: -2%; }
.fb-4 { bottom: 8%; inset-inline-end: 18%; } .fb-5 { bottom: 4%; inset-inline-start: 18%; } .fb-6 { top: 42%; inset-inline-start: -2%; }
.ds-motion .flag-bubble:nth-child(odd) { animation: dsBob1 6s ease-in-out infinite; } .ds-motion .flag-bubble:nth-child(even) { animation: dsBob2 7s ease-in-out infinite; }

/* ---------- reach ---------- */
.reach-map, .ex-map { position: absolute; inset: 8% -12%; overflow: hidden; opacity: .6; -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000 40%, transparent 80%); mask-image: radial-gradient(60% 60% at 50% 50%, #000 40%, transparent 80%); }
/* خريطة العالم مكبّرة ومتمركزة على الشرق الأوسط */
.reach-map span, .ex-map span { position: absolute; width: 260%; aspect-ratio: 1440 / 544; left: -95%; top: -10%; background: var(--ds-dot); -webkit-mask: url("/v2/art/world-dots.svg") center / 100% 100% no-repeat; mask: url("/v2/art/world-dots.svg") center / 100% 100% no-repeat; }
.reach-pins { position: absolute; inset: 0; width: 100%; height: 100%; }
.pin-halo { fill: var(--ds-accent); opacity: .25; } .pin-dot { fill: var(--ds-accent); stroke: #fff; stroke-width: 2.5; }
.ds-motion .pin-halo { animation: dsPulse 2.2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.phone { position: absolute; width: 44%; aspect-ratio: 9 / 18.5; left: 28%; top: 6%; border-radius: 34px; padding: 10px; background: linear-gradient(160deg, #1d2a44, #05070d); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), inset 0 0 0 2px rgba(255, 255, 255, .12); z-index: 2; }
.ds-motion .phone { animation: dsBob3 8s ease-in-out infinite; }
.phone-notch { position: absolute; top: 14px; left: 50%; width: 32%; height: 16px; transform: translateX(-50%); border-radius: 10px; background: #05070d; z-index: 2; }
.phone-screen { position: relative; height: 100%; border-radius: 26px; overflow: hidden; background: linear-gradient(180deg, #0a3a86, #071e43 46%, #f4f7fd 46.2%); padding: 34px 12px 12px; display: flex; flex-direction: column; gap: 9px; font-size: clamp(9px, 1vw, 12px); color: #0b2350; }
.ps-head { display: flex; align-items: center; gap: 8px; color: #fff; }
.ps-head img { height: 22px; width: auto; }
.ps-head b { font-size: 1.05em; }
.ps-head.light { justify-content: center; padding-block: 2px 6px; }
.ps-head.light img { height: 26px; filter: brightness(0) invert(1); }
.ps-search { display: flex; align-items: center; gap: 6px; background: #fff; border-radius: 12px; padding: 8px 10px; color: #7a879b; margin-bottom: 20%; box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .4); }
.ps-search .icon { width: 1.2em; height: 1.2em; }
.ps-item { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 12px; padding: 8px; box-shadow: 0 6px 16px -10px rgba(7, 30, 67, .35); }
.ps-item b { display: block; font-size: 1em; line-height: 1.3; }
.ps-item small { display: block; font-size: .85em; color: #12805c; }
.ps-pin { width: 2.4em; height: 2.4em; border-radius: 10px; display: grid; place-items: center; background: #eef3fd; flex: none; }
.ps-pin .duo { width: 1.7em; height: 1.7em; --duo-a: #0a4ea8; --duo-b: rgba(10, 78, 168, .15); --duo-c: #ff8c00; }
.art-reach .rb-1 { top: 8%; inset-inline-start: -6%; } .art-reach .rb-2 { bottom: 10%; inset-inline-end: -4%; }

/* ---------- brand ---------- */
.art-brand .art-rings { inset: -20% 10%; width: 80%; height: 140%; }
.brand-orb { position: absolute; inset: 0; display: grid; place-items: center; }
.brand-orb img { width: 74%; height: auto; filter: drop-shadow(0 16px 40px rgba(0, 0, 0, .35)); }
.ds-motion .brand-orb img { animation: dsBob3 7s ease-in-out infinite; }
.ds-t-brand .ds-title { font-size: clamp(28px, 3.4vw, 46px); }
.ds-t-brand .ds-phone { margin-top: 10px; transform: scale(1.06); }

/* ---------- express ---------- */
.ex-map { inset: 0 -20%; opacity: .7; }
.ex-arcs { position: absolute; inset: 6% 0; width: 100%; height: 88%; overflow: visible; }
.ds-sunset .ex-arcs .arc { stroke: #fff; }
.ds-sunset .arc-dot { fill: #0b2b5e; filter: drop-shadow(0 0 6px #fff); }
.ex-logo { position: absolute; top: 4%; inset-inline-end: 6%; width: 30%; padding: 12px; border-radius: 20px; background: #fff; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .45); z-index: 3; }
.ex-logo img { width: 100%; height: auto; }
.ds-motion .ex-logo { animation: dsBob2 7s ease-in-out infinite; }
.tx-card { position: absolute; display: flex; align-items: center; gap: 12px; min-width: 56%; padding: 14px 16px; border-radius: 20px; background: var(--ds-card); color: var(--ds-card-ink); box-shadow: 0 26px 50px -22px rgba(0, 0, 0, .55); z-index: 3; }
.tx-card small { display: block; font-size: 13px; opacity: .7; }
.tx-card b { font-size: 16px; }
.tx-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.tx-ic .duo { width: 28px; height: 28px; --duo-a: #fff; --duo-b: rgba(255, 255, 255, .25); --duo-c: #fff; }
.tx-ic.out { background: linear-gradient(135deg, #0a4ea8, #0b2b5e); } .tx-ic.in { background: linear-gradient(135deg, #ff9a1f, #f05f00); }
.tx-ok { margin-inline-start: auto; width: 26px; height: 26px; --duo-a: #12805c; --duo-b: rgba(18, 128, 92, .15); --duo-c: #12805c; }
.tx-1 { top: 44%; inset-inline-start: 0; } .tx-2 { bottom: 6%; inset-inline-end: 4%; }
.ds-motion .tx-1 { animation: dsBob1 6.5s ease-in-out infinite; } .ds-motion .tx-2 { animation: dsBob3 7.5s ease-in-out infinite; }

/* ---------- app ---------- */
.app-screen { background: linear-gradient(180deg, #0f6d73, #0b4f63 40%, #f4f7fd 40.2%); }
.app-balance { color: #fff; text-align: center; padding-block: 2px 8%; }
.app-balance small { display: block; opacity: .8; }
.app-balance b { display: block; font-size: 2em; letter-spacing: .1em; line-height: 1.3; }
.app-balance span { font-size: .8em; opacity: .75; }
.app-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; background: #fff; border-radius: 14px; padding: 10px 6px; box-shadow: 0 10px 24px -12px rgba(7, 30, 67, .4); margin-top: -4%; }
.app-actions span { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: .82em; font-weight: 600; text-align: center; }
.app-actions i { width: 2.6em; height: 2.6em; border-radius: 10px; display: grid; place-items: center; background: #eef6f6; }
.app-actions .duo { width: 1.8em; height: 1.8em; --duo-a: #0f6d73; --duo-b: rgba(15, 109, 115, .16); --duo-c: #ff8c00; }
.app-list { display: grid; gap: 7px; margin-top: 4px; }
.app-list i { display: block; height: 2.6em; border-radius: 10px; background: #fff; box-shadow: 0 6px 14px -10px rgba(7, 30, 67, .35); }
.art-app .app-ex { top: auto; bottom: 8%; inset-inline-end: 2%; width: 27%; }
.art-app .phone { left: 26%; }

/* ---------- rates board ---------- */
.board { position: absolute; inset: 8% 2%; padding: 20px; border-radius: 26px; background: linear-gradient(160deg, var(--ds-glass-1), var(--ds-glass-2)), var(--ds-card); color: var(--ds-card-ink); border: 1px solid var(--ds-line); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); backdrop-filter: blur(18px); display: flex; flex-direction: column; }
.board-head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--ds-line); }
.board-head b { font-size: 18px; }
.board-head small { margin-inline-start: auto; opacity: .7; font-size: 13px; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: #2fe39a; box-shadow: 0 0 0 0 rgba(47, 227, 154, .7); animation: pulse 1.8s infinite; }
.board-row { flex: 1; display: grid; grid-template-columns: 1.6fr 1fr 1fr; align-items: center; gap: 8px; border-bottom: 1px solid var(--ds-line); font-variant-numeric: tabular-nums; }
.board-row:last-child { border-bottom: 0; }
.board-labels { flex: none; padding-block: 8px; font-size: 12.5px; opacity: .65; }
.board-row > span:not(:first-child) { text-align: center; }
.br-cur { display: flex; align-items: center; gap: 8px; min-width: 0; }
.br-cur img { width: 28px; height: 21px; border-radius: 4px; object-fit: cover; }
.br-cur b { font-size: 16px; }
.br-cur small { opacity: .65; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.br-buy, .br-sell { font-weight: 700; font-size: clamp(15px, 1.6vw, 20px); }
.br-buy { color: #34d399; } .br-sell { color: #fb7185; }
.ds-pearl .br-buy, .ds-sunset .br-buy { color: #12805c; } .ds-pearl .br-sell, .ds-sunset .br-sell { color: #c42b38; }
.board-empty { flex: 1; display: grid; place-items: center; opacity: .7; }
.art-rates .xb-1 { top: 0; inset-inline-end: 8%; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .ds { padding-block: 26px 74px; height: auto; min-height: 0; }
    .ds-inner { grid-template-columns: 1fr; gap: 6px; text-align: center; }
    .ds-copy { margin-inline: auto; display: flex; flex-direction: column; align-items: center; }
    .ds-art { order: -1; width: min(100%, 330px); }
    .ds-t-rates .ds-art { aspect-ratio: 1 / .95; width: min(100%, 360px); }
    .ds-center .ds-art { width: min(100%, 240px); }
    .ds-logo { display: none; }
    .ds-title { font-size: clamp(28px, 8vw, 40px); margin-bottom: 12px; }
    .ds-lead { font-size: 15.5px; margin-bottom: 18px; }
    .ds-actions, .ds-chips, .ds-stores { justify-content: center; }
    .ds-chips { gap: 6px 14px; margin-top: 16px; }
    .ds-chips li { font-size: 13px; }
    .ds-phone { margin-top: 16px; }
    .ds-phone b { font-size: 20px; }
    .art-badge { font-size: 12px; padding: 7px 12px 7px 9px; border-radius: 12px; }
    .art-badge .duo { width: 20px; height: 20px; }
    .cur-card { padding: 12px 14px; border-radius: 16px; }
    .cur-card { width: 62%; }
    .cc-vals { gap: 10px; }
    .cc-code { font-size: 15px; } .cc-name { font-size: 11.5px; margin-top: 6px; } .cc-vals b { font-size: 13.5px; letter-spacing: -.01em; } .cc-top img { width: 28px; height: 21px; } .cc-chip { width: 28px; height: 20px; }
    .flag-bubble { width: 42px; height: 42px; } .flag-bubble img { width: 24px; height: 18px; }
    .tx-card { padding: 9px 11px; gap: 8px; border-radius: 14px; } .tx-ic { width: 34px; height: 34px; border-radius: 10px; } .tx-ic .duo { width: 20px; height: 20px; } .tx-card b { font-size: 13px; } .tx-card small { font-size: 11px; }
    .board { padding: 12px; border-radius: 18px; } .board-head b { font-size: 15px; } .br-cur small { display: none; }
}
@media (max-width: 420px) {
    .ds-actions .btn { padding-inline: 16px; }
    .ds-art { width: min(100%, 290px); }
}

/* ---------- Keyframes ---------- */
@keyframes dsRise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes dsZoom { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes dsFloat { from { transform: translate(0, 0); } to { transform: translate(-40px, 30px); } }
@keyframes dsSpin { to { transform: rotate(360deg); } }
@keyframes dsTwinkle { 0%, 100% { opacity: .2; transform: scale(.6); } 50% { opacity: 1; transform: scale(1.2); } }
@keyframes dsBob1 { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes dsBob2 { 0%, 100% { translate: 0 0; } 50% { translate: 0 10px; } }
@keyframes dsBob3 { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes dsDash { to { stroke-dashoffset: -26; } }
@keyframes dsPulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(3); opacity: 0; } }
@keyframes dsDraw { from { stroke-dashoffset: 220; } to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
    .ds *, .ds *::before, .ds *::after { animation: none !important; }
}
