/* Blueside — PITO in small cards, arranged the way pito.games arranges its features.
   Each card: a small label, a short title, one line, and one little live piece of the app.
   Resting styles are the finished picture; timelines run once under .fc.play. */

@font-face { font-family: "PitoSans Kurdish"; src: url("../fonts/pito-sans-400.woff2") format("woff2"); font-weight: 400 500; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
@font-face { font-family: "PitoSans Kurdish"; src: url("../fonts/pito-sans-700.woff2") format("woff2"); font-weight: 600 900; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
[lang="ckb"] { font-family: "PitoSans Kurdish", -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif; letter-spacing: 0; }
@property --r { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

.feat { --bounce: cubic-bezier(.2, .9, .25, 1.18); --soft: cubic-bezier(.22, .8, .24, 1); padding: 140px 0 120px; background: var(--snow); color: var(--ink); }
.feat .intro { color: var(--grey-2); }
.fgrid { margin-top: 64px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 410px; gap: 16px; }

/* ── card ── */
.fc { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; padding: 30px 30px 0; border-radius: 28px; background: #fff; }
.fc.span-2 { grid-column: span 2; flex-direction: row; align-items: stretch; gap: 20px; padding-bottom: 30px; }
.fc.span-2 .fc-copy { flex: 0 0 36%; }
.fc-copy { position: relative; z-index: 2; }
.fc-k { font-size: 13px; font-weight: 600; letter-spacing: -.01em; color: var(--grey-2); }
.fc h3 { margin-top: 8px; font: 700 26px/1.15 var(--display); letter-spacing: -.012em; color: var(--ink); }
[dir="rtl"] .fc h3 { line-height: 1.4; letter-spacing: 0; }
.fc-p { margin-top: 10px; max-width: 340px; font-size: 15px; line-height: 1.47; letter-spacing: -.01em; color: var(--grey-2); }
.fc.centered { align-items: center; text-align: center; }
.fc.centered .fc-p { margin-inline: auto; max-width: 300px; }
.fx { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; }

.tone-navy { background: radial-gradient(90% 90% at 75% 45%, #1d2c52 0%, #0d1428 60%, #080c18 100%); }
.tone-night { background: radial-gradient(90% 80% at 20% 15%, #1b3468 0%, #0b1834 55%, #070f22 100%); }
.tone-ink { background: radial-gradient(90% 80% at 70% 80%, #1a2440 0%, #0b1120 70%); }
.tone-ember { background: radial-gradient(90% 90% at 50% 70%, #ffb257 0%, #ff8436 45%, #ef4f2c 100%); }
.tone-cream { background: radial-gradient(80% 80% at 50% 70%, #fffaf3 0%, #fbeedd 80%); }
.tone-sky { background: radial-gradient(80% 90% at 75% 40%, #f1f6ff 0%, #e1ebfa 78%); }
.tone-sun { background: radial-gradient(80% 90% at 50% 70%, #fffbea 0%, #fdefc4 82%); }
.tone-lilac { background: radial-gradient(80% 90% at 50% 70%, #faf7ff 0%, #ece5fb 80%); }
.tone-navy :is(.fc-k), .tone-night .fc-k, .tone-ink .fc-k { color: rgba(255, 255, 255, .58); }
.tone-navy h3, .tone-night h3, .tone-ink h3, .tone-ember h3 { color: #fff; }
.tone-navy .fc-p, .tone-night .fc-p, .tone-ink .fc-p { color: rgba(255, 255, 255, .68); }
.tone-ember .fc-k, .tone-ember .fc-p { color: rgba(255, 255, 255, .86); }

@keyframes vg-rise { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes vg-pop { 0% { opacity: 0; transform: scale(.5); } 55% { opacity: 1; transform: scale(1.07); } 78% { transform: scale(.98); } 100% { opacity: 1; transform: none; } }
@keyframes vg-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes vg-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── 1 · online multiplayer ── */
.fx-match { flex-direction: column; gap: 14px; }
.mt-card { position: relative; width: 330px; padding: 20px 20px 18px; border-radius: 28px; overflow: hidden; color: #fff; background: linear-gradient(180deg, rgba(40, 54, 92, .92), rgba(18, 26, 48, .96)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), 0 30px 60px rgba(0, 0, 0, .4); }
.mt-glow { position: absolute; inset: -55% -10% auto; height: 90%; background: radial-gradient(closest-side, rgba(116, 160, 64, .5), transparent); pointer-events: none; }
.mt-top { position: relative; display: flex; align-items: center; gap: 12px; }
.mt-art { width: 50px; height: 68px; border-radius: 12px; object-fit: cover; box-shadow: 0 8px 18px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 255, 255, .2); }
.mt-game b { display: block; font-size: 22px; font-weight: 700; line-height: 1.2; }
.mt-game small { display: inline-flex; align-items: center; gap: 6px; margin-top: 5px; padding: 2px 10px 3px; border-radius: 99px; background: rgba(77, 107, 42, .9); font-size: 12px; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); }
.mt-game small i, .mt-status .s2 i, .mt-pill .live { width: 7px; height: 7px; border-radius: 50%; background: #30d158; box-shadow: 0 0 0 3px rgba(48, 209, 88, .22); }
.mt-vs { position: relative; display: flex; align-items: center; justify-content: space-between; margin: 20px 6px 14px; }
.mt-p { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 110px; }
.mt-p b { font-size: 14px; font-weight: 700; }
.mt-av { position: relative; width: 92px; height: 92px; }
.mt-av i { position: absolute; inset: 14px; border-radius: 50%; overflow: hidden; background: #222; }
.mt-av i img { width: 100%; height: 100%; object-fit: cover; }
.mt-frame { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }
.mt-mid { font: italic 800 26px/1 -apple-system, "SF Pro Display", Inter, sans-serif; color: rgba(255, 255, 255, .34); }
.mt-radar, .mt-q { position: absolute; left: 50%; top: 0; width: 92px; height: 92px; margin-left: -46px; opacity: 0; }
.mt-radar i { position: absolute; inset: 14px; border-radius: 50%; border: 1.5px solid rgba(160, 196, 255, .55); animation: mt-ripple 1.6s cubic-bezier(.2, .6, .3, 1) infinite; }
.mt-radar i:nth-child(2) { animation-delay: .53s; }
.mt-radar i:nth-child(3) { animation-delay: 1.06s; }
@keyframes mt-ripple { from { transform: scale(.7); opacity: .9; } to { transform: scale(1.35); opacity: 0; } }
.mt-q { display: grid; place-items: center; font: 600 28px/1 -apple-system, Inter, sans-serif; color: rgba(255, 255, 255, .7); }
.mt-q::before { content: ""; position: absolute; inset: 16px; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .3); animation: spin 6s linear infinite; }
.mt-status { position: relative; display: grid; height: 20px; text-align: center; font-size: 13.5px; font-weight: 600; }
.mt-status > span { grid-area: 1 / 1; }
.mt-status .s1 { color: rgba(255, 255, 255, .62); opacity: 0; }
.mt-status .s2 { display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: #6ee7a0; }
.mt-bar { display: block; height: 4px; margin-top: 12px; border-radius: 4px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.mt-bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, #30d158, #9be15d); }
.mt-pill { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 99px; color: #fff; font-size: 14px; font-weight: 600; background: rgba(28, 36, 60, .85); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 18px 40px rgba(0, 0, 0, .35); }
.mt-pill svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.mt-pill .live { animation: live 1.4s ease-in-out infinite; }
@keyframes live { 50% { box-shadow: 0 0 0 6px rgba(48, 209, 88, 0); } }
.play .mt-card { animation: vg-rise .7s var(--soft) .05s both; }
.play .me .mt-av { animation: vg-pop .7s var(--bounce) .25s both; }
.play .mt-radar, .play .mt-q { animation: vg-out .25s ease 2.2s both; }
.play .opp .mt-av { animation: vg-pop .75s var(--bounce) 2.22s both; }
.play .opp b { animation: vg-rise .5s var(--soft) 2.4s both; }
.play .mt-status .s1 { animation: vg-out .2s ease 2.2s both; }
.play .mt-status .s2 { animation: vg-rise .45s var(--soft) 2.26s both; }
.play .mt-bar i { animation: mt-bar 3.1s cubic-bezier(.45, 0, .2, 1) both; }
@keyframes mt-bar { 0% { width: 3%; } 35% { width: 24%; } 62% { width: 38%; } 72% { width: 44%; } 100% { width: 100%; } }
.play .mt-mid { animation: mt-vs .7s var(--bounce) 2.28s both; }
@keyframes mt-vs { 0% { transform: scale(1); } 45% { transform: scale(1.3); color: #fff; text-shadow: 0 0 22px rgba(255, 255, 255, .6); } 100% { transform: scale(1); } }
.play .mt-pill { animation: vg-rise .6s var(--soft) 2.9s both; }

/* ── 2 · Sorani / Badini ── */
.fx-dia { flex-direction: column; gap: 16px; }
.dl-switch { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: 220px; padding: 3px; border-radius: 99px; background: #ececf0; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .06); }
.dl-switch button { position: relative; z-index: 1; height: 32px; border-radius: 99px; font-size: 14px; font-weight: 600; color: #6e6e73; transition: color .35s; cursor: pointer; }
.dl-switch button.on { color: #1d1d1f; }
.dl-switch .knob { position: absolute; top: 3px; bottom: 3px; inset-inline-start: 3px; width: calc(50% - 3px); border-radius: 99px; background: #fff; box-shadow: 0 3px 10px rgba(0, 0, 0, .12), 0 0 0 .5px rgba(0, 0, 0, .04); transition: transform .5s var(--bounce); }
.dl-switch.is-b .knob { transform: translateX(100%); }
[dir="rtl"] .dl-switch.is-b .knob { transform: translateX(-100%); }
.dl-screen { width: 270px; padding: 16px 16px 18px; border-radius: 24px; background: #fbfbfd; box-shadow: 0 0 0 1px #ececf0, 0 24px 50px rgba(0, 0, 0, .08); }
.sw { display: inline-grid; vertical-align: top; }
.sw > span { grid-area: 1 / 1; transition: transform .55s var(--soft), opacity .4s ease, filter .55s ease; }
.sw .b { opacity: 0; transform: translateY(70%); filter: blur(5px); }
.dl-screen[data-d="b"] .sw .a { opacity: 0; transform: translateY(-70%); filter: blur(5px); }
.dl-screen[data-d="b"] .sw .b { opacity: 1; transform: none; filter: none; }
.dl-title { font-size: 19px; font-weight: 700; color: #1d1d1f; }
.dl-chat { margin-top: 12px; display: flex; }
.dl-bubble { padding: 8px 14px 9px; border-radius: 18px 18px 18px 6px; background: #0c1b33; color: #fff; font-size: 14.5px; }
.dl-toast { display: flex; align-items: center; gap: 8px; width: fit-content; margin: 12px auto 0; padding: 7px 13px; border-radius: 99px; background: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, .1), 0 0 0 .5px rgba(0, 0, 0, .06); font-size: 13px; color: #1d1d1f; }
.play .dl-screen { animation: vg-rise .7s var(--soft) .1s both; }
.play .dl-toast { animation: vg-pop .6s var(--bounce) .9s both; }

/* ── 3 · streak ── */
.fx-streak { flex-direction: column; justify-content: flex-start; padding-top: 4px; }
.st-flame { position: relative; width: 150px; height: 150px; }
.st-flame img { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 18px 20px rgba(120, 30, 0, .35)); }
.st-flame .ch { opacity: 0; }
.st-flame .spark, .gf-burst .spark { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; opacity: 0; transform: rotate(var(--a)) translateX(var(--d)); }
.st-flame .spark::before, .st-flame .spark::after { content: ""; position: absolute; left: 50%; top: 0; width: 3px; height: 12px; margin-left: -1.5px; border-radius: 2px; background: #fff4c2; }
.st-flame .spark::after { transform: rotate(90deg); }
.st-ring { position: absolute; left: 50%; top: 55%; width: 130px; height: 130px; margin: -65px 0 0 -65px; border-radius: 50%; border: 3px solid rgba(255, 244, 200, .9); opacity: 0; }
.st-count { margin-top: -6px; font: 800 64px/1 Poppins, -apple-system, sans-serif; color: #fff; letter-spacing: -.02em; text-shadow: 0 8px 24px rgba(140, 30, 0, .3); }
.play .st-flame .ch { animation: st-chain 2s ease .3s both; }
@keyframes st-chain { 0% { opacity: 1; transform: none; filter: grayscale(.55) brightness(.9); } 56% { transform: none; } 62% { transform: rotate(-5deg); } 68% { transform: rotate(5deg); } 74% { transform: rotate(-4deg); } 80% { opacity: 1; transform: rotate(0) scale(1); filter: grayscale(.55); } 100% { opacity: 0; transform: scale(1.3); filter: blur(8px); } }
.play .st-flame .fr { animation: vg-pop .85s var(--bounce) 1.95s both; }
.play .st-ring { animation: st-ring 1s var(--soft) 2s both; }
@keyframes st-ring { from { opacity: .95; transform: scale(.45); } to { opacity: 0; transform: scale(1.6); } }
.play .st-flame .spark { animation: spark .95s var(--soft) calc(2s + var(--k) * 30ms) both; }
@keyframes spark { from { opacity: 1; transform: rotate(var(--a)) translateX(8px) scale(.4); } 60% { opacity: 1; } to { opacity: 0; transform: rotate(var(--a)) translateX(var(--d)) scale(1); } }
.play .st-count { animation: st-count .9s var(--bounce) 2.02s both; }
@keyframes st-count { 0% { opacity: .55; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.12); text-shadow: 0 0 40px rgba(255, 240, 200, .9); } 100% { opacity: 1; transform: none; } }

/* ── 4 · gifts ── */
.fx-gift { flex-direction: column; justify-content: flex-start; padding-top: 6px; }
.gf-halo { position: absolute; left: 50%; top: 86px; width: 280px; height: 280px; margin: -140px 0 0 -140px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 196, 92, .5), rgba(255, 196, 92, .14) 55%, transparent 75%); }
.gf-box { position: relative; width: 150px; height: 150px; filter: drop-shadow(0 20px 24px rgba(150, 70, 20, .26)); }
.gf-burst { position: absolute; left: 50%; top: 84px; width: 0; height: 0; }
.gf-burst .coin { position: absolute; left: 0; top: 0; width: 40px; height: 40px; margin: -20px 0 0 -20px; transform: rotate(var(--a)) translateX(var(--d)) rotate(calc(-1 * var(--a))) scale(var(--s)); }
.gf-burst .coin img { width: 100%; height: 100%; filter: drop-shadow(0 6px 8px rgba(140, 60, 10, .25)); animation: gf-float 3.4s ease-in-out calc(var(--k) * -.4s) infinite; }
@keyframes gf-float { 50% { transform: translateY(-5px) rotate(6deg); } }
.gf-to { position: relative; display: flex; align-items: baseline; gap: 8px; margin-top: 2px; }
.gf-to small { font-size: 14px; font-weight: 600; color: #b26a2c; }
.gf-to b { font-size: 40px; font-weight: 800; line-height: 1.2; background: linear-gradient(180deg, #f6b73c, #d97a1a 60%, #b65512); -webkit-background-clip: text; background-clip: text; color: transparent; }
.play .gf-box { animation: gf-drop .95s cubic-bezier(.25, 1.25, .4, 1) .15s both, gf-wiggle .7s ease-in-out 1.15s; }
@keyframes gf-drop { from { opacity: 0; transform: translateY(-110px) scale(.72) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes gf-wiggle { 20% { transform: rotate(-7deg) scale(1.03); } 45% { transform: rotate(6deg) scale(1.05); } 70% { transform: rotate(-3deg); } }
.play .gf-halo { animation: gf-halo 1.2s var(--soft) 1.75s both; }
@keyframes gf-halo { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
.play .gf-burst .coin { animation: gf-coin 1.05s cubic-bezier(.12, .85, .3, 1.08) calc(1.8s + var(--k) * 30ms) both; }
@keyframes gf-coin { from { opacity: 0; transform: rotate(var(--a)) translateX(0) rotate(calc(-1 * var(--a))) scale(.15); } 30% { opacity: 1; } to { opacity: 1; transform: rotate(var(--a)) translateX(var(--d)) rotate(calc(-1 * var(--a))) scale(var(--s)); } }
.play .gf-to { animation: vg-rise .75s var(--soft) 2.4s both; }

/* ── 5 · Spotlight ── */
.fx-spot { align-items: flex-end; justify-content: flex-end; }
.sp-rig { position: absolute; left: -6px; top: 6px; width: 88px; height: 115px; }
.sp-lamp, .sp-lens { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.sp-lamp { filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .45)); }
.sp-lens { mix-blend-mode: screen; }
.sp-flare { position: absolute; left: 62%; top: 12%; width: 80px; height: 80px; margin: -40px 0 0 -40px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 240, 200, .95), rgba(255, 214, 140, .35) 40%, transparent 72%); mix-blend-mode: screen; }
.sp-beam { position: absolute; z-index: -1; left: 60.7%; top: 29.8%; width: 0; height: 0; transform: rotate(22deg); }
.sp-beam i { position: absolute; left: -6px; top: -500px; width: 700px; height: 1000px; mix-blend-mode: screen; filter: blur(8px); }
.sp-beam i:first-child { background: conic-gradient(from 62deg at 0 50%, #0000 0deg, #ffe6b024 8deg, #ffe6b052 28deg, #ffe6b024 48deg, #0000 56deg); -webkit-mask: radial-gradient(520px 420px at 0 50%, #000 25%, #0000 100%); mask: radial-gradient(520px 420px at 0 50%, #000 25%, #0000 100%); }
.sp-beam i:last-child { background: conic-gradient(from 78deg at 0 50%, #0000 0deg, #fff2cf33 6deg, #fff5dc70 12deg, #fff2cf33 18deg, #0000 24deg); -webkit-mask: radial-gradient(380px 300px at 0 50%, #000 20%, #0000 100%); mask: radial-gradient(380px 300px at 0 50%, #000 20%, #0000 100%); }
.sp-card { position: relative; width: 236px; margin: 0 -30px -6px 0; padding: 14px 14px 18px; border-radius: 24px 24px 0 0; background: linear-gradient(180deg, #13284f, #0c1b3a); color: #fff; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 60px rgba(0, 0, 0, .45); }
.sp-light { position: absolute; inset: -40% -10% auto -30%; height: 90%; background: radial-gradient(closest-side, rgba(255, 230, 170, .22), transparent); pointer-events: none; }
.sp-sec { position: relative; display: flex; align-items: center; gap: 6px; margin: 2px 2px 10px; font-size: 13px; font-weight: 700; }
.sp-sec em { font: 700 10px/1 Poppins, sans-serif; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; background: #e4202c; font-style: normal; }
.sp-rings { position: relative; display: flex; justify-content: space-between; }
.sp-rings .ring { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; width: 48px; }
.sp-rings .rf { position: relative; width: 46px; height: 46px; border-radius: 50%; padding: 2.5px; background: rgba(255, 255, 255, .22); }
.sp-rings .unseen .rf { background: conic-gradient(from var(--r, 0deg), #ff3b30, #ff9f0a, #ff2d55, #ff3b30); animation: sp-spin 4s linear infinite; }
@keyframes sp-spin { to { --r: 360deg; } }
.sp-rings .rf img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid #10234a; }
.sp-rings .add { position: absolute; top: 30px; right: 0; width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 0 0 2px #10234a; }
.sp-rings .add svg { width: 11px; height: 11px; fill: #e4202c; }
.sp-rings .nm { display: inline-flex; align-items: center; gap: 2px; font-size: 9.5px; font-weight: 600; white-space: nowrap; color: rgba(255, 255, 255, .9); }
.sp-rings .vb { width: 10px; height: 10px; }
.sp-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 12px; }
.sp-grid .post { position: relative; margin: 0; height: 104px; border-radius: 14px; overflow: hidden; }
.sp-grid .post img { width: 100%; height: 100%; object-fit: cover; }
.sp-grid figcaption { position: absolute; inset: auto 0 0; padding: 24px 8px 6px; background: linear-gradient(transparent, rgba(0, 0, 0, .55)); display: flex; }
.sp-grid .like { display: inline-flex; align-items: center; gap: 4px; }
.sp-grid .like svg { width: 12px; height: 12px; fill: none; stroke: #fff; stroke-width: 2.2; }
.sp-grid .like b { font: 600 10.5px/1 Poppins, sans-serif; }
.sp-grid .post:first-child .like svg { fill: #ff2d55; stroke: #ff2d55; }
.play .sp-lens, .play .sp-flare { animation: sp-on 1s linear .35s both; }
@keyframes sp-on { 0% { opacity: 0; } 18% { opacity: .9; } 26% { opacity: .15; } 40% { opacity: 1; } 52% { opacity: .55; } 64%, 100% { opacity: 1; } }
.play .sp-beam { animation: sp-beam 1.1s var(--soft) .95s both; }
@keyframes sp-beam { from { opacity: 0; transform: rotate(22deg) scale(.2); } to { opacity: 1; transform: rotate(22deg) scale(1); } }
.play .sp-card { animation: vg-rise .8s var(--soft) 1s both; }
.play .sp-rings .ring { animation: vg-pop .55s var(--bounce) calc(1.4s + var(--k) * .12s) both; }
.play .sp-grid .post { animation: vg-rise .65s var(--soft) calc(2.1s + var(--k) * .14s) both; }

/* ── 6 · ranked ladders ── */
.fx-rank { align-items: flex-end; padding-bottom: 30px; }
.rk-cup { position: absolute; right: 2px; top: 0; width: 74px; height: auto; filter: drop-shadow(0 14px 16px rgba(120, 80, 10, .25)); transform: rotate(8deg); }
[dir="rtl"] .rk-cup { right: auto; left: 2px; transform: rotate(-8deg); }
.rk-list { width: 100%; padding: 6px; border-radius: 22px; background: #f5f5f7; box-shadow: inset 0 0 0 1px #ececf0; }
.rk-row { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 16px; font-size: 15px; }
.rk-row + .rk-row { margin-top: 2px; }
.rk-row.g { background: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .06); }
.rk-row .pos { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 700 12px/1 Poppins, sans-serif; color: #fff; flex: none; }
.rk-row.g .pos { background: linear-gradient(180deg, #ffd25e, #e0a100); }
.rk-row.s .pos { background: linear-gradient(180deg, #d9dde4, #9aa1ad); }
.rk-row.b .pos { background: linear-gradient(180deg, #f0b98a, #c47a3d); }
.rk-row .av { width: 32px; height: 32px; border-radius: 50%; overflow: hidden; flex: none; }
.rk-row .av img { width: 100%; height: 100%; object-fit: cover; }
.rk-row b { flex: 1; font-weight: 700; color: #1d1d1f; }
.rk-row .pts { font: 600 13px/1 Poppins, sans-serif; color: #6e6e73; }
.play .rk-row { animation: rk-in .6s var(--soft) calc(.3s + var(--k) * .14s) both; }
@keyframes rk-in { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
[dir="rtl"] .play .rk-row { animation-name: rk-in-r; }
@keyframes rk-in-r { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
.play .rk-cup { animation: rk-cup .8s var(--bounce) .9s both; }
@keyframes rk-cup { from { opacity: 0; transform: translateY(20px) rotate(-6deg) scale(.6); } }

/* ── 7 · chat ── */
.fx-chat { align-items: stretch; }
.ch-win { position: relative; width: 100%; max-width: 440px; margin-inline-start: auto; border-radius: 24px; overflow: hidden; background: #0c1b33; box-shadow: 0 30px 60px rgba(30, 60, 120, .22), inset 0 0 0 1px rgba(255, 255, 255, .06); }
.ch-walls img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ch-walls .w1 { opacity: 0; }
.ch-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 10, 25, .55) 0%, rgba(5, 10, 25, 0) 26%, rgba(5, 10, 25, 0) 70%, rgba(5, 10, 25, .3) 100%); }
.ch-head { position: absolute; top: 12px; inset-inline: 14px; display: flex; align-items: center; gap: 8px; z-index: 2; color: #fff; }
.ch-head .ava { width: 32px; height: 32px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 2px rgba(255, 255, 255, .2); flex: none; }
.ch-head .ava img { width: 100%; height: 100%; object-fit: cover; }
.ch-head .who { display: flex; flex-direction: column; }
.ch-head .who b { display: flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 700; }
.ch-head .st { display: inline-flex; align-items: center; font-size: 11px; }
.ch-head .st em { font: 600 11px/1 Poppins, sans-serif; font-style: normal; }
.ch-head small { display: grid; font-size: 10.5px; color: rgba(255, 255, 255, .78); }
.ch-head small > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 4px; }
.ch-head .on i { width: 6px; height: 6px; border-radius: 50%; background: #30d158; }
.ch-head .typing { opacity: 0; color: #9ecbff; }
.ch-head .dots { display: inline-flex; gap: 2px; margin-inline-start: 3px; }
.ch-head .dots i { width: 3px; height: 3px; border-radius: 50%; background: currentColor; animation: dot 1s ease-in-out infinite; }
.ch-head .dots i:nth-child(2) { animation-delay: .15s; }
.ch-head .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { transform: translateY(-2.5px); opacity: .5; } }
.ch-list { position: absolute; inset-inline: 14px; bottom: 14px; display: flex; flex-direction: column; gap: 7px; }
.ch-row { display: flex; }
.ch-row.mine { justify-content: flex-end; }
.ch-row .b { max-width: 78%; padding: 7px 12px 8px; border-radius: 18px; font-size: 13.5px; line-height: 1.35; color: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .18); }
.ch-row.theirs .b { background: #0c1b33; border-end-start-radius: 6px; }
.ch-row.mine .b { background: #e4202c; border-end-end-radius: 6px; }
.ch-row bdi { font-family: Poppins, -apple-system, sans-serif; font-weight: 600; }
.ch-row .voice { display: flex; align-items: center; gap: 8px; padding: 7px 11px; }
.ch-row .voice .play { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .16); flex: none; }
.ch-row .voice .play svg { width: 11px; height: 11px; fill: #fff; transform: scaleX(-1); }
.ch-row .wave { display: flex; align-items: center; gap: 2px; height: 26px; }
.ch-row .wave i { width: 2.2px; height: calc(var(--h) * .72); border-radius: 2px; background: #fff; }
.ch-row .voice small { font: 500 10px/1 Poppins, -apple-system, sans-serif; color: rgba(255, 255, 255, .7); }
.ch-row.stk { position: relative; }
.ch-row.stk img { width: 70px; height: 70px; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .25)); }
.ch-row .react { position: absolute; bottom: -4px; inset-inline-end: 50px; padding: 1px 5px; border-radius: 99px; background: #0c1b33; font-size: 11px; box-shadow: 0 0 0 2px rgba(255, 255, 255, .9); }
.ch-pill { align-self: center; padding: 4px 12px; border-radius: 99px; background: rgba(255, 255, 255, .86); color: #1d1d1f; font-size: 10.5px; font-weight: 600; }
.play .ch-row.k1 { animation: ch-in .5s var(--bounce) .5s both; transform-origin: right bottom; }
.play .ch-row.k2 { animation: ch-in .5s var(--bounce) 1.4s both; transform-origin: left bottom; }
.play .ch-row.k3 { animation: ch-in .5s var(--bounce) 2.9s both; transform-origin: right bottom; }
.play .ch-row.k4 { animation: ch-in .55s var(--bounce) 3.9s both; transform-origin: left bottom; }
.play .ch-row .react { animation: vg-pop .5s var(--bounce) 4.55s both; }
.play .ch-pill.k5 { animation: vg-rise .45s var(--soft) 5.4s both; }
.play .ch-walls .w1 { animation: vg-out 1.1s ease 5.4s both; }
.play .ch-head .on { animation: ch-dip 1.1s linear 1.9s both; }
.play .ch-head .typing { animation: ch-flash 1.1s linear 1.9s both; }
.play .ch-row .wave i { animation: ch-played .2s linear calc(3.3s + var(--k) * 70ms) both; }
@keyframes ch-in { from { opacity: 0; transform: translateY(10px) scale(.86); } to { opacity: 1; transform: none; } }
@keyframes ch-dip { 0% { opacity: 1; } 8%, 92% { opacity: 0; } 100% { opacity: 1; } }
@keyframes ch-flash { 0% { opacity: 0; } 8%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes ch-played { from { background: rgba(255, 255, 255, .38); } to { background: #fff; } }

/* ── 8 · party games ── */
.pc-fan { position: relative; width: 100%; height: 170px; margin-top: 4px; }
.pc { position: absolute; left: 50%; top: 10px; width: 104px; height: 140px; margin-left: -52px; border-radius: 16px; overflow: hidden; box-shadow: 0 18px 30px -16px rgba(120, 80, 0, .55), 0 0 0 1px rgba(0, 0, 0, .04); transform: translateX(calc(var(--s) * 50px)) translateY(calc((var(--s) * var(--s)) * 4px)) rotate(calc(var(--s) * 8deg)); transition: transform .6s var(--bounce); }
.pc img { width: 100%; height: 100%; object-fit: cover; }
.fc-party:hover .pc { transform: translateX(calc(var(--s) * 62px)) translateY(calc((var(--s) * var(--s)) * 6px - 6px)) rotate(calc(var(--s) * 11deg)); }
.play .pc { animation: pc-deal .8s var(--bounce) calc(.2s + (var(--s) + 2) * 90ms) both; }
@keyframes pc-deal { from { transform: translateY(40px) rotate(0) scale(.85); opacity: 0; } }

/* ── 9 · your look ── */
.fx-look { flex-direction: column; gap: 12px; justify-content: flex-end; padding-bottom: 28px; }
.lk-card { position: relative; width: 100%; height: 150px; border-radius: 20px; background: #fff; box-shadow: 0 16px 34px rgba(80, 50, 160, .14); overflow: hidden; }
.lk-cover { width: 100%; height: 84px; object-fit: cover; display: block; }
.lk-av { position: absolute; left: 50%; top: 34px; width: 86px; height: 86px; margin-left: -43px; }
.lk-av i { position: absolute; inset: 13px; border-radius: 50%; overflow: hidden; background: #ddd; box-shadow: 0 0 0 3px #fff; }
.lk-av i img { width: 100%; height: 100%; object-fit: cover; }
.lk-frame { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }
.lk-name { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; align-items: center; justify-content: center; gap: 4px; }
.lk-name b { font-size: 16px; font-weight: 800; background: linear-gradient(90deg, #ff4f8b, #ff9f0a, #7c3aed, #ff4f8b); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: lk-shine 4s linear infinite; }
@keyframes lk-shine { to { background-position: -200% 0; } }
.lk-name .vb { width: 14px; height: 14px; }
.lk-bgs { display: flex; gap: 8px; width: 100%; }
.lk-bg { flex: 1; height: 44px; border-radius: 12px; overflow: hidden; box-shadow: 0 6px 14px rgba(80, 50, 160, .12); }
.lk-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.play .lk-av { animation: vg-pop .8s var(--bounce) .3s both; }
.play .lk-bg { animation: vg-rise .6s var(--soft) calc(.7s + var(--k) * .12s) both; }

/* ── 10 · Pito Plus ── */
.fx-plus { padding-bottom: 20px; }
.pl-grid { position: relative; display: grid; grid-template-columns: repeat(3, 62px); gap: 12px; }
.pl-ic { width: 62px; height: 62px; border-radius: 15px; overflow: hidden; box-shadow: 0 12px 22px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 255, 255, .1); transform: rotate(calc((var(--k) - 2.5) * 3deg)); transition: transform .5s var(--bounce); }
.pl-ic img { width: 100%; height: 100%; display: block; }
.fc-plus:hover .pl-ic { transform: rotate(0) translateY(-4px); }
.pl-badge { position: absolute; top: -17px; right: -17px; width: 40px; height: 40px; filter: drop-shadow(0 6px 12px rgba(29, 155, 240, .5)); }
.play .pl-ic { animation: vg-pop .6s var(--bounce) calc(.25s + var(--k) * 80ms) both; }
.play .pl-badge { animation: vg-pop .7s var(--bounce) .9s both; }

/* ── responsive ── */
@media (max-width: 1068px) {
  .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 400px; }
  .fc.span-2 { grid-column: span 2; }
}
@media (max-width: 734px) {
  .feat { padding: 90px 0 100px; }
  .fgrid { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 12px; margin-top: 40px; }
  .fc, .fc.span-2 { grid-column: auto; flex-direction: column; min-height: 400px; padding: 26px 24px 0; border-radius: 24px; }
  .fc.span-2 { padding-bottom: 24px; }
  .fc.span-2 .fc-copy { flex: none; }
  .fc h3 { font-size: 24px; }
  .fx { min-height: 240px; padding-top: 18px; }
  .fx-match { transform: scale(.92); }
  .fx-chat { min-height: 300px; }
  .ch-win { max-width: none; height: 300px; }
  .fx-spot { min-height: 280px; }
}
@media (prefers-reduced-motion: reduce) {
  .fx *, .fx *::before, .fx *::after { animation: none !important; transition: none !important; }
}
