/* ===== «تابعنا ليصلك كل جديد» v2 — كرات المنصات + الاشتراك بالكوبون — Claude 2026-11-21 ===== */
.sbt-social-hub {
	--mx: 0; --my: 0; --px: 50%; --py: 40%;
	position: relative; overflow: hidden; isolation: isolate; color: #002367;
	padding: 64px 0 150px;
	background:
		radial-gradient(circle at 12% 18%, rgba(255, 193, 0, .28), transparent 38%),
		radial-gradient(circle at 88% 26%, rgba(230, 0, 126, .16), transparent 40%),
		radial-gradient(circle at 70% 95%, rgba(0, 148, 206, .18), transparent 45%),
		linear-gradient(180deg, #FFFBF2 0%, #F2F8FF 55%, #FFF1F7 100%);
}
/* بقعة ضوء بتلحق الماوس */
.sh-spot { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .4s;
	background: radial-gradient(420px circle at var(--px) var(--py), rgba(255, 193, 0, .28), rgba(0, 148, 206, .10) 45%, transparent 70%); }
.sbt-social-hub.is-hover .sh-spot { opacity: 1; }
/* أشكال ملوّنة بتتحرك بعمق مختلف مع الماوس */
.sh-deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sh-deco span {
	position: absolute; left: var(--x); top: var(--y); color: var(--c); font-size: 22px; opacity: .55;
	transform: translate(calc(var(--mx) * var(--d) * 1px * 2.4), calc(var(--my) * var(--d) * 1px * 2.4));
	transition: transform .35s cubic-bezier(.2, .8, .2, 1);
	animation: shTwirl 9s ease-in-out infinite; text-shadow: 0 4px 10px rgba(0,0,0,.08);
}
.sh-deco span:nth-child(odd) { font-size: 16px; animation-duration: 12s; animation-direction: reverse; }
@keyframes shTwirl { 0%, 100% { rotate: 0deg; scale: 1; } 50% { rotate: 25deg; scale: 1.25; } }
.sh-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sh-bg i { position: absolute; bottom: -60px; width: var(--s, 18px); height: var(--s, 18px); border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fff, rgba(0,148,206,.18)); border: 1px solid rgba(0,148,206,.25); animation: shBubble var(--t, 12s) linear infinite; }
.sh-bg i:nth-child(1) { left: 6%; --s: 26px; --t: 13s; }
.sh-bg i:nth-child(2) { left: 22%; --s: 14px; --t: 10s; animation-delay: -4s; }
.sh-bg i:nth-child(3) { left: 44%; --s: 34px; --t: 16s; animation-delay: -8s; }
.sh-bg i:nth-child(4) { left: 63%; --s: 18px; --t: 11s; animation-delay: -2s; }
.sh-bg i:nth-child(5) { left: 80%; --s: 28px; --t: 14s; animation-delay: -6s; }
.sh-bg i:nth-child(6) { left: 93%; --s: 12px; --t: 9s; animation-delay: -3s; }

.sh-wrap { position: relative; }
.sh-head { text-align: center; max-width: 680px; margin: 0 auto 34px; }
.sh-bell { display: inline-block; filter: drop-shadow(0 6px 14px rgba(255,193,0,.6)); font-size: 46px; transform-origin: 50% 8%; animation: shRing 2.8s ease-in-out infinite; filter: drop-shadow(0 6px 14px rgba(255,193,0,.5)); cursor: pointer; }
.sh-head h2 { margin: 8px 0 10px; color: #002367; font-size: clamp(28px, 3.6vw, 44px); font-weight: 900; letter-spacing: -.5px; }
.sh-head h2::after { content: ""; display: block; width: 90px; height: 6px; margin: 12px auto 0; border-radius: 99px; background: linear-gradient(90deg, #FFC100, #FF4E08, #E6007E); }
.sh-head p { margin: 0; color: #475569; font-size: 16px; }

/* ---------- كرات المنصات ---------- */
.sh-orbs { transform: perspective(900px) rotateX(calc(var(--my) * -8deg)) rotateY(calc(var(--mx) * 10deg)); transition: transform .4s cubic-bezier(.2,.8,.2,1); display: flex; justify-content: center; flex-wrap: wrap; gap: clamp(18px, 3.4vw, 46px); margin-bottom: 44px; }
.sh-orb {
	position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 120px;
	text-decoration: none !important; color: #002367 !important; outline: none;
	animation: shIn .8s cubic-bezier(.34,1.56,.64,1) calc(var(--i) * .1s) backwards;
}
.sh-orb__ball {
	position: relative; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center;
	background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.45), transparent 42%), linear-gradient(140deg, var(--c1), var(--c2) 55%, var(--c3));
	box-shadow: 0 14px 30px -12px var(--c2), inset 0 -6px 12px rgba(0,0,0,.18), inset 0 4px 8px rgba(255,255,255,.35);
	transition: transform .4s cubic-bezier(.34,1.56,.64,1), box-shadow .3s;
	animation: shFloat 4.2s ease-in-out calc(var(--i) * -.7s) infinite;
}
.sh-ic { font-size: 44px; line-height: 0; color: #fff; filter: drop-shadow(0 3px 4px rgba(0,0,0,.25)); transition: transform .45s cubic-bezier(.34,1.56,.64,1); }
.sh-ic svg { display: block; width: 1em; height: 1em; }
.sh-snapchat .sh-ic { color: #111; filter: none; }
.sh-snapchat .sh-ic svg path { stroke: #111; stroke-width: 0; }
.sh-ring { position: absolute; inset: -8px; border-radius: 50%; border: 3px solid var(--c2); opacity: 0; animation: shPulse 2.6s ease-out calc(var(--i) * .5s) infinite; }
.sh-name { font-weight: 900; font-size: 16px; margin-top: 8px; }
.sh-handle { font-size: 12px; color: #64748B; }
.sh-tip {
	position: absolute; top: -34px; left: 50%; transform: translate(-50%, 8px) scale(.8); opacity: 0; white-space: nowrap;
	background: #002367; color: #fff; font-weight: 900; font-size: 12px; padding: 5px 12px; border-radius: 999px;
	box-shadow: 0 8px 16px -6px rgba(0,0,0,.4); transition: all .3s cubic-bezier(.34,1.56,.64,1); pointer-events: none;
}
.sh-tip::after { content: ""; position: absolute; bottom: -5px; left: 50%; margin-left: -5px; border: 5px solid transparent; border-bottom: 0; border-top-color: #002367; }
.sh-orb:hover .sh-orb__ball, .sh-orb:focus-visible .sh-orb__ball { transform: translateY(-10px) scale(1.12); box-shadow: 0 24px 40px -12px var(--c2), 0 0 0 6px color-mix(in srgb, var(--c2) 18%, transparent), inset 0 -6px 12px rgba(0,0,0,.18); animation-play-state: paused; }
.sh-orb:hover .sh-ic, .sh-orb:focus-visible .sh-ic { transform: rotate(-12deg) scale(1.1); }
.sh-orb:hover .sh-tip, .sh-orb:focus-visible .sh-tip { opacity: 1; transform: translate(-50%, 0) scale(1); }
.sh-orb:focus-visible .sh-orb__ball { outline: 3px solid #FFC100; outline-offset: 6px; }
.sh-orb.is-boing .sh-orb__ball { animation: shBoing .7s cubic-bezier(.34,1.56,.64,1); }

/* ---------- نموذج الاشتراك ---------- */
.sh-form {
	position: relative; max-width: 860px; margin: 0 auto; background: #fff; color: #002367; border-radius: 28px;
	padding: 28px clamp(18px, 3vw, 34px); box-shadow: 0 30px 60px -30px rgba(0,35,103,.35), 0 0 0 1px rgba(0,35,103,.05);
}
.sh-form::before, .sh-form::after { /* ثقوب التذكرة */
	content: ""; position: absolute; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: #F4F8FD; box-shadow: inset 0 0 0 1px rgba(0,35,103,.06);
}
.sh-form::before { right: -15px; } .sh-form::after { left: -15px; }
.sh-form__head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.sh-ticket { font-size: 40px; flex: 0 0 auto; animation: shWiggle 3s ease-in-out infinite; }
.sh-form__head b { display: block; font-size: clamp(18px, 2vw, 23px); font-weight: 900; }
.sh-form__head small { display: block; color: #475569; font-size: 14px; margin-top: 3px; }
.sh-fields { display: grid; grid-template-columns: 1fr 1.2fr 1.2fr; gap: 12px; }
.sh-f {
	display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 14px; border-radius: 16px;
	background: #F1F5F9; border: 2px solid transparent; transition: border-color .2s, background .2s, box-shadow .2s; cursor: text;
}
.sh-f:focus-within { background: #fff; border-color: #0094CE; box-shadow: 0 0 0 4px rgba(0,148,206,.15); }
.sh-f.is-bad { border-color: #E11D48; background: #FFF1F2; animation: shShake .35s; }
.sh-f.is-ok { border-color: #03B244; }
.sh-f__ic { font-size: 18px; flex: 0 0 auto; line-height: 0; }
.sh-f__ic--wa { color: #25D366; font-size: 22px; }
.sh-f__ic svg { width: 1em; height: 1em; }
.sh-f input { flex: 1; min-width: 0; border: 0 !important; background: transparent !important; box-shadow: none !important; outline: none; height: 100%; padding: 0 !important; font: inherit; font-size: 15px; color: #002367; }
.sh-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.sh-consent { display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 16px; font-size: 13px; color: #475569; cursor: pointer; }
.sh-consent input { width: 18px; height: 18px; accent-color: #03B244; margin-top: 2px; flex: 0 0 auto; }
.sh-consent.is-bad span { color: #E11D48; font-weight: 700; }
.sh-submit {
	position: relative; overflow: hidden; width: 100%; height: 54px; border: 0 !important; border-radius: 999px !important; cursor: pointer;
	background: linear-gradient(135deg, #FF4E08, #E6007E) !important; color: #fff !important; font: inherit; font-size: 17px; font-weight: 900;
	box-shadow: 0 14px 26px -12px #E6007E !important; transition: transform .2s, filter .2s;
}
.sh-submit::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-120%); animation: shShine 3s ease-in-out infinite; }
.sh-submit:hover { transform: translateY(-2px); filter: brightness(1.06); }
.sh-submit[disabled] { opacity: .7; pointer-events: none; }
.sh-submit.is-busy span::after { content: " ⏳"; }
.sh-msg { min-height: 20px; margin: 10px 0 0; text-align: center; font-size: 14px; font-weight: 700; }
.sh-msg.is-err { color: #E11D48; }

/* حالة النجاح: تذكرة كوبون */
.sh-done { text-align: center; padding: 10px 0 4px; animation: shIn .7s cubic-bezier(.34,1.56,.64,1); }
.sh-done__burst { font-size: 54px; display: inline-block; animation: shBoing 1s cubic-bezier(.34,1.56,.64,1); }
.sh-done__title { display: block; font-size: 24px; font-weight: 900; margin-top: 6px; }
.sh-done__sub { color: #475569; margin: 6px 0 16px; }
.sh-coupon { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; padding: 14px 18px; border: 3px dashed #FF4E08; border-radius: 18px; background: #FFF7ED; }
.sh-coupon__lbl { font-weight: 800; color: #9A3412; }
.sh-coupon__code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 26px; font-weight: 900; letter-spacing: 3px; color: #002367; background: #fff; padding: 4px 14px; border-radius: 10px; direction: ltr; }
.sh-coupon__copy { border: 0 !important; border-radius: 999px !important; background: #002367 !important; color: #fff !important; padding: 8px 16px !important; font: inherit; font-weight: 800; cursor: pointer; min-height: 0 !important; }
.sh-coupon__note { flex-basis: 100%; color: #9A3412; font-weight: 700; }

/* قصاصات */
.sh-conf { position: fixed; z-index: 2147483000; pointer-events: none; width: 9px; height: 14px; border-radius: 2px; animation: shConf 1.1s cubic-bezier(.2,.7,.4,1) forwards; }

@keyframes shBubble { to { transform: translateY(-900px) translateX(30px); opacity: 0; } }
@keyframes shRing { 0%, 60%, 100% { transform: rotate(0); } 5%, 15%, 25% { transform: rotate(16deg); } 10%, 20%, 30% { transform: rotate(-16deg); } }
@keyframes shIn { from { opacity: 0; transform: translateY(26px) scale(.8); } }
@keyframes shFloat { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
@keyframes shPulse { 0% { transform: scale(.9); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes shBoing { 0% { transform: scale(1); } 30% { transform: scale(1.3, .8); } 55% { transform: scale(.85, 1.15); } 80% { transform: scale(1.08); } 100% { transform: scale(1); } }
@keyframes shWiggle { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg); } }
@keyframes shShake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
@keyframes shShine { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@keyframes shConf { to { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); opacity: 0; } }

@media (max-width: 900px) { .sh-fields { grid-template-columns: 1fr; } }
@media (max-width: 767px) {
	.sbt-social-hub { padding: 44px 0 120px; }
	.sh-head { margin-bottom: 24px; }
	.sh-head p { font-size: 14px; }
	.sh-orbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-bottom: 28px; }
	.sh-orb { width: auto; }
	.sh-orb__ball { width: 58px; height: 58px; }
	.sh-ic { font-size: 28px; }
	.sh-ring { inset: -5px; border-width: 2px; }
	.sh-name { font-size: 11.5px; margin-top: 4px; }
	.sh-handle, .sh-tip { display: none; }
	.sh-form { border-radius: 22px; padding: 20px 16px; }
	.sh-form::before, .sh-form::after { display: none; }
	.sh-ticket { font-size: 32px; }
	.sh-f { height: 48px; }
	.sh-submit { height: 50px; font-size: 16px; }
	.sh-coupon__code { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
	.sh-bg i, .sh-bell, .sh-orb, .sh-orb__ball, .sh-ring, .sh-ticket, .sh-submit::after, .sh-deco span { animation: none !important; }
	.sh-orbs, .sh-deco span { transform: none !important; }
}

/* ===== نافذة الترحيب v2 + التسجيل (Claude 2026-11-21) ===== */
.sbt-welcome-form--v2 { display: grid; gap: 10px; }
.sbt-welcome-form--v2 .sh-f { height: 50px; }
.sbt-welcome-form--v2 .sbt-btn { width: 100%; }
.sbt-welcome-err { margin: 0; min-height: 18px; color: #E11D48; font-size: 13px; font-weight: 700; text-align: center; }
.sbt-welcome-result { text-align: center; animation: shIn .6s cubic-bezier(.34,1.56,.64,1); }
.sbt-welcome-result .sbt-welcome-msg { font-weight: 900; font-size: 17px; color: #002367; margin: 4px 0 12px; }
.sbt-welcome-coupon { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border: 3px dashed #FF4E08; border-radius: 16px; background: #FFF7ED; }
.sbt-welcome-code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 24px; font-weight: 900; letter-spacing: 3px; color: #002367; background: #fff; padding: 2px 12px; border-radius: 10px; direction: ltr; }
.sbt-welcome-coupon .sbt-btn { min-height: 38px !important; padding: 0 14px !important; }
.sbt-welcome-next { margin-top: 16px; padding: 14px; border-radius: 18px; background: linear-gradient(135deg, #F0F7FF, #FDF2F8); display: grid; gap: 6px; }
.sbt-welcome-next b { font-size: 16px; color: #002367; }
.sbt-welcome-next small { color: #475569; }
.sbt-welcome-next .sbt-welcome-register { margin-top: 6px; width: 100%; justify-content: center; animation: shPulseBtn 2.4s ease-in-out infinite; }
.sbt-welcome-later { background: none !important; border: 0 !important; color: #64748B !important; font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; min-height: 0 !important; padding: 4px !important; box-shadow: none !important; }
@keyframes shPulseBtn { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,78,8,.45); } 50% { box-shadow: 0 0 0 10px rgba(255,78,8,0); } }

/* صفحة حسابي: إبراز نموذج التسجيل + شريط الهدية */
.sbt-reg-focus { position: relative; border-radius: 22px; box-shadow: 0 0 0 3px #FFC100, 0 20px 40px -24px rgba(255,78,8,.6); animation: shRegGlow 1.6s ease 2; }
@keyframes shRegGlow { 50% { box-shadow: 0 0 0 8px rgba(255,193,0,.45), 0 20px 40px -24px rgba(255,78,8,.6); } }
.sbt-reg-gift { margin: 0 0 14px; padding: 10px 14px; border-radius: 14px; background: #FFF7ED; border: 2px dashed #FF4E08; color: #9A3412; font-weight: 800; text-align: center; }
.sbt-reg-gift b { font-family: ui-monospace, Menlo, Consolas, monospace; color: #002367; letter-spacing: 1px; }
.sbt-reg-wa .optional { font-size: 12px; color: #64748B; font-weight: 600; }
