/* rb-home3b.css – v3.1: ملصقات فيكتور، أرقام حقيقية، شعارات 3D، خطوات، أدوات تفاعلية، متجر */
svg.st, svg.dec, svg.plat-arrow, svg.close-eyes, svg.close-spark { overflow: visible; filter: drop-shadow(0 10px 18px rgba(0,0,0,.45)); }
svg.st-headset { aspect-ratio: 220 / 200; height: auto; }
svg.st-mic { aspect-ratio: 180 / 220; height: auto; }
svg.st-badge { aspect-ratio: 1; height: auto; }
svg.plat-arrow { aspect-ratio: 150 / 280; height: auto; }
svg.close-eyes { aspect-ratio: 1; height: auto; }
svg.close-eyes .blink { transform-origin: 100px 100px; animation: blink 6s ease-in-out infinite; }
@keyframes blink { 0%, 46%, 50%, 100% { transform: scaleY(1); } 48% { transform: scaleY(.1); } }
svg.close-spark { aspect-ratio: 1; height: auto; }
svg.d1 { aspect-ratio: 200 / 80; height: auto; width: clamp(90px, 10vw, 150px); }
svg.d2 { aspect-ratio: 1; height: auto; }
svg.d3 { aspect-ratio: 140 / 90; height: auto; }
svg.inl { height: .8em; width: .96em; }

/* أرقام حقيقية */
.stats { max-width: 1180px; margin: clamp(56px, 7vw, 88px) auto 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 24px; background: var(--panel); overflow: hidden; }
.stat { padding: 26px 18px; text-align: center; display: flex; flex-direction: column; gap: 6px; }
.stat + .stat { border-inline-start: 1px solid var(--line); }
.stat b { font: 800 clamp(30px, 3.6vw, 46px)/1 var(--f-num); direction: ltr; color: #fff; }
.stat:nth-child(odd) b { color: var(--lime); }
.stat span { color: var(--muted); font-size: 14px; }

/* شعارات المنصات 3D ثابتة */
.p3d { width: clamp(88px, 9vw, 120px); height: auto; aspect-ratio: 1; filter: drop-shadow(0 18px 24px rgba(0,0,0,.55)); transition: transform var(--t-3) var(--ease); }
.pcard:hover .p3d { transform: translateY(-4px) rotate(-3deg); }

/* كيف تبدأ */
.srow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 22px); }
.step { padding: 26px; gap: 8px; }
.step .n { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font: 800 20px var(--f-num); color: #0B0B0F; background: var(--c); margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }
.apps { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.apps span { height: 32px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; border: 1px solid var(--line-2); background: var(--panel-2); font: 600 12px var(--f-num); color: #ddd; direction: ltr; }
.apps span:first-child { border-color: rgba(203, 242, 116, .5); color: var(--lime); }

/* الأدوات التفاعلية */
.tl { display: grid; grid-template-columns: minmax(280px, .8fr) 1.4fr; gap: clamp(16px, 2.4vw, 28px); align-items: stretch; }
.tl-list { display: flex; flex-direction: column; gap: 10px; }
.tl-b { display: flex; align-items: center; gap: 14px; text-align: start; padding: 14px 16px; border-radius: 18px; border: 1px solid var(--line); background: var(--panel); color: #fff; font: inherit; cursor: pointer; position: relative; overflow: hidden; transition: border-color var(--t-2) var(--ease), background-color var(--t-2) var(--ease); }
.tl-b > span:last-child { display: flex; flex-direction: column; }
.tl-b b { font: 700 17px/1.3 var(--f-title); }
.tl-b small { color: var(--muted); font-size: 13px; }
.tl-b:hover { border-color: rgba(255, 255, 255, .16); }
.tl-b.on { border-color: color-mix(in srgb, var(--c) 60%, transparent); background: color-mix(in srgb, var(--c) 7%, var(--panel)); }
.tl-b.on::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; height: 2px; width: 100%; background: var(--c); transform-origin: right; animation: tlbar 5s linear forwards; }
.tl.manual .tl-b.on::after { animation: none; transform: scaleX(1); }
@keyframes tlbar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.tl-stage { position: relative; min-height: 440px; padding: 0; background: radial-gradient(70% 80% at 50% 40%, #191824, var(--panel)); transition: border-top-color var(--t-3) var(--ease); }
.tv { position: absolute; inset: 0; display: grid; place-items: center; padding: 36px; opacity: 0; transform: translateY(10px) scale(.985); transition: opacity var(--t-3) var(--ease), transform var(--t-3) var(--ease); pointer-events: none; }
.tv.on { opacity: 1; transform: none; }
.tv > img { max-width: 92%; max-height: 360px; object-fit: contain; }
.lbar.big { width: auto; height: 64px; padding: 0 22px; gap: 12px; font-size: 14px; }
.lbar.big b { font-size: 15px; }
.timer { text-align: center; display: flex; flex-direction: column; gap: 10px; }
.timer b { font: 800 clamp(54px, 7vw, 92px)/1 var(--f-num); color: var(--pur); direction: ltr; letter-spacing: 2px; text-shadow: 0 0 40px rgba(163, 118, 251, .4); }
.timer small { color: var(--muted); font-size: 15px; }
.song { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.song p { font: 600 20px var(--f-title); }
.song p b { color: var(--lime); font-family: var(--f-num); }
.song small { color: var(--muted); font-size: 14px; }
.wave { display: flex; align-items: center; gap: 7px; height: 110px; }
.wave i { width: 9px; height: 30%; border-radius: 9px; background: linear-gradient(var(--lime), var(--pur)); animation: wave 1.8s ease-in-out infinite; animation-delay: calc(var(--k) * -140ms); }
.wheel { width: 220px; aspect-ratio: 1; border-radius: 50%; position: relative; background: conic-gradient(var(--lime) 0 60deg, var(--pur) 0 120deg, #2a2933 0 180deg, var(--lime) 0 240deg, var(--pur) 0 300deg, #2a2933 0); border: 6px solid #0B0B0F; box-shadow: 0 0 0 2px var(--line-2), 0 30px 60px -30px rgba(163,118,251,.6); animation: spin var(--loop-spin) linear infinite; }
.wheel i { position: absolute; inset: 38%; border-radius: 50%; background: #0B0B0F; border: 2px solid var(--line-2); }
@keyframes spin { to { rotate: 360deg; } }
.tv[data-t="give"] { grid-template-rows: auto auto; align-content: center; gap: 18px; }
.win { font: 600 18px var(--f-title); }
.win b { color: var(--lime); font-family: var(--f-num); }
.paused .wave i, .paused .wheel, .paused .tl-b.on::after { animation-play-state: paused; }

/* المتجر */
.store { display: grid; grid-template-columns: .8fr 1.6fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.store-head p { color: var(--muted); font-size: clamp(16px, 1.6vw, 19px); margin: 14px 0 26px; }
.covers { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cover { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; background: #111; }
.cover img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
    .stats { grid-template-columns: 1fr 1fr; }
    .stat:nth-child(3) { border-inline-start: 0; }
    .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
    .srow, .tl, .store { grid-template-columns: 1fr; }
    .tl-list { flex-direction: row; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
    .tl-b { flex: none; }
    .tl-b small { display: none; }
    .tl-stage { min-height: 340px; }
}
@media (max-width: 640px) { .covers { gap: 10px; } .wheel { width: 170px; } }
