.ps-story { --ps-orange: #ff602b; --ps-soft: #ffb392; scroll-margin-top: 110px; }
.ps-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(28px, 5vw, 78px); }
.ps-copy { min-width: 0; }
.ps-copy .eyebrow { margin-bottom: 27px; }
.ps-copy h2 { font-size: clamp(40px, 4.1vw, 66px); line-height: 1.04; letter-spacing: -.045em; margin: 0 0 24px; }
.ps-copy h2 span { display: block; color: var(--ps-orange); }
.ps-lead { color: #afb6bf; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.65; margin: 0 0 26px; }
.ps-cta { display: inline-flex; align-items: center; gap: 24px; min-height: 48px; font-size: 16px; font-weight: 600; color: #fff; text-decoration: none; border-bottom: 1px solid #66605b; }
.ps-cta svg { width: 22px; height: 22px; color: var(--ps-orange); transition: transform .2s; }
.ps-cta:hover svg { transform: translateX(4px); }
.ps-story button, .ps-story a, .ps-story button *, .ps-story a * { -webkit-tap-highlight-color: transparent; }
.ps-story button { font: inherit; cursor: pointer; -webkit-user-select: none; user-select: none; }
.ps-story button:focus-visible, .ps-story a:focus-visible { outline: 3px solid #ff9c77; outline-offset: 5px; }
.ps-story svg { display: block; }
.ps-demo { position: relative; min-width: 0; overflow: hidden; border: 1px solid #514034; border-radius: 24px; background: radial-gradient(ellipse at 70% 38%, #773b202c, transparent 65%), #101519; box-shadow: 0 25px 70px #0003; }
.ps-demo-top, .ps-demo-bottom { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; gap: 12px; }
.ps-demo-top { border-bottom: 1px solid #ffffff0d; }
.ps-demo-top > span { display: flex; align-items: center; gap: 8px; color: #d2c6ba; font-size: 10px; letter-spacing: .12em; }
.ps-demo-top i { width: 6px; height: 6px; background: var(--ps-orange); border-radius: 50%; box-shadow: 0 0 14px #ff602b99; }
.ps-pause { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; gap: 6px; border: 1px solid #ffffff25; border-radius: 24px; background: #131a1e; color: #e9e5df; min-height: 36px; padding: 6px 12px; font-size: 12px !important; }
.ps-pause[hidden] { display: none; }
.ps-pause svg { width: 14px; height: 14px; }
.ps-pause:hover { border-color: var(--ps-orange); }
.ps-stage { display: grid; }
.ps-panel { grid-area: 1 / 1; min-width: 0; animation: ps-scene-in .45s ease-out both; }
.ps-panel[hidden] { display: none; }
.ps-visual { height: clamp(290px, 26vw, 370px); position: relative; isolation: isolate; overflow: hidden; }
.ps-visual::before { content: ''; position: absolute; inset: 15% 7% 0; z-index: -1; background: radial-gradient(ellipse, #ff65381a, transparent 66%); }
.ps-caption { position: relative; padding: 15px 22px 18px; min-height: 92px; box-sizing: border-box; }
.ps-caption b { display: block; color: #f7f3e9; font-size: 18px; line-height: 1.3; letter-spacing: -.02em; }
.ps-caption > span { display: block; color: #a9b0b8; margin-top: 7px; font-size: 13px; line-height: 1.5; }
.ps-demo-bottom { border-top: 1px solid #ffffff12; color: #848e99; font-size: 10px; padding-block: 12px; }
.ps-demo-bottom > span:first-child { letter-spacing: .1em; }
.ps-demo-bottom b { margin-left: 12px; font-weight: 500; color: #dfd4c9; font-variant-numeric: tabular-nums; }
.ps-court { position: absolute; width: 94%; height: auto; left: 3%; bottom: -3%; opacity: .85; }
.ps-ball-trail { animation: ps-ball-trail 3s linear infinite; }
.ps-ball { animation: ps-rally 3s ease-in-out infinite; filter: drop-shadow(0 0 6px #f1ffb0); }
.ps-game-card { position: absolute; width: 69%; left: 11%; top: 8%; padding: 21px 22px 18px; box-sizing: border-box; border-radius: 16px; background: #f4f0e5; color: #141a1c; box-shadow: 0 20px 40px #0006; transform: rotate(-3deg); animation: ps-card-float 5s ease-in-out infinite; }
.ps-card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 10px; letter-spacing: .08em; }
.ps-game-card .ps-card-top > span { color: #99664e; }
.ps-card-top b { font-size: 12px; }
.ps-game-title { display: block; font-size: clamp(19px, 2vw, 29px); line-height: 1.1; margin: 18px 0 12px; letter-spacing: -.04em; }
.ps-game-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 11px; }
.ps-game-meta span { padding: 6px 9px; border-radius: 6px; background: #e6e2d8; }
.ps-game-meta span:first-child { color: #aa370e; background: #ffe0d1; }
.ps-game-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 19px; padding-top: 15px; border-top: 1px solid #141a1c1a; }
.ps-avatars { display: flex; padding-left: 0; }
.ps-avatars > span { width: 35px; height: 35px; border: 2px solid #f4f0e5; border-radius: 50%; margin-left: -8px; overflow: hidden; }
.ps-avatars > span:first-child { margin-left: 0; }
.ps-avatars svg { width: 100%; height: 100%; }
.ps-avatars .ps-empty { display: grid; place-items: center; border: 1px dashed #d3633c; background: #ffe0d1; color: #c0431a; font-size: 23px; font-weight: 400; }
.ps-game-bottom > span { font-size: 11px; line-height: 1.5; }
.ps-game-bottom > span b { font-size: 13px; }
.ps-floating-note { position: absolute; right: 4%; top: 66%; display: flex; align-items: center; gap: 8px; padding: 13px 16px; background: #ff602b; color: #fff; border: 1px solid #ff976c; font-size: 12px; font-weight: 600; border-radius: 10px; box-shadow: 0 9px 24px #0004; animation: ps-note-float 4s ease-in-out infinite; }
.ps-floating-note svg { width: 16px; height: 16px; }
.ps-connections { position: absolute; width: 100%; height: 100%; }
.ps-connections g { animation: ps-ball-trail 4s linear infinite; }
.ps-team-center { position: absolute; inset: 37% auto auto 50%; transform: translateX(-50%); width: 130px; text-align: center; color: #ff8754; }
.ps-team-center svg { margin: auto auto 10px; width: 34px; height: 34px; }
.ps-team-center b { font-size: 14px; color: #f5e8d9; white-space: nowrap; }
.ps-teammate { position: absolute; text-align: center; width: 72px; animation: ps-team-float 4s ease-in-out infinite; }
.ps-teammate > span { display: block; padding: 4px; border: 1px solid #e8875966; border-radius: 50%; box-shadow: 0 0 30px #ff6d1e16; background: #1d262a; }
.ps-teammate svg { border-radius: 50%; }
.ps-teammate b { display: block; margin-top: 6px; font-weight: 500; font-size: 12px; color: #d2d8d9; }
.ps-teammate-0 { left: 15%; top: 5%; }
.ps-teammate-1 { right: 15%; top: 5%; animation-delay: -.8s; }
.ps-teammate-2 { left: 12%; bottom: 7%; animation-delay: -1.6s; }
.ps-teammate-3 { right: 12%; bottom: 7%; animation-delay: -2.4s; }
.ps-message { position: absolute; padding: 11px 14px; border-radius: 12px; font-size: 12px; background: #efe9dd; color: #202427; box-shadow: 0 5px 30px #0004; }
.ps-message small { font-size: 9px; margin-left: 10px; color: #797976; }
.ps-message-1 { top: 19%; left: 31%; animation: ps-chat-1 6s ease-in-out infinite; }
.ps-message-2 { bottom: 13%; right: 24%; display: flex; align-items: center; gap: 8px; background: #ff602b; color: #fff; animation: ps-chat-2 6s ease-in-out infinite; }
.ps-message-2 svg { width: 15px; height: 15px; }
.ps-rating-card { position: absolute; inset: 9% 8% 11%; padding: 22px; border: 1px solid #ffffff28; border-radius: 18px; background: linear-gradient(145deg, #23282a, #11191e); box-shadow: 0 18px 40px #0004; }
.ps-rating-card .ps-card-top { color: #c6ccca; }
.ps-rating-card .ps-card-top b { color: #e88861; font-size: 10px; }
.ps-rating-value { display: flex; align-items: center; gap: 18px; margin-top: 16px; }
.ps-rating-value strong { color: #f8f2e8; font-size: 52px; line-height: 1; font-weight: 650; letter-spacing: -.06em; }
.ps-rating-value span { display: inline-flex; align-items: center; gap: 5px; color: #bbdfae; background: #b1db9e10; padding: 6px 10px; border-radius: 30px; font-size: 14px; }
.ps-rating-value svg { width: 16px; height: 16px; }
.ps-chart { position: absolute; left: 5%; bottom: 14%; width: 90%; height: 46%; overflow: visible; }
.ps-chart-line { stroke-dasharray: 1; animation: ps-chart-draw 6s ease-out infinite; }
.ps-chart-pulse { transform-origin: 445px 20px; animation: ps-chart-pulse 2s ease-in-out infinite; }
.ps-rating-footer { position: absolute; left: 22px; right: 22px; bottom: 14px; display: flex; align-items: center; justify-content: space-between; color: #929fa6; font-size: 10px; }
.ps-rating-footer b { color: #ff9767; font-size: 13px; }
.ps-xp { display: flex; align-items: center; gap: 8px; position: absolute; bottom: 2%; left: 15%; padding: 11px 16px; border-radius: 10px; color: #ece3cd; background: #344332; border: 1px solid #7f986455; font-size: 12px; animation: ps-note-float 4s ease-in-out infinite; }
.ps-xp svg { width: 18px; height: 18px; color: #d6e3a7; }
.ps-profile-card { position: absolute; inset: 5% 17% 5%; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid #a38c5c80; border-radius: 22px; background: radial-gradient(ellipse at 50% 25%, #8b682445, transparent 70%), #151b1c; box-shadow: 0 18px 40px #0004, inset 0 0 0 5px #c2a36a08; }
.ps-profile-label { align-self: stretch; display: flex; justify-content: space-between; color: #eee6d2; font-size: 10px; letter-spacing: .05em; margin: 8px 20px 12px; }
.ps-profile-label span { color: #bd9d65; font-size: 9px; }
.ps-profile-avatar { width: clamp(105px, 10vw, 140px); aspect-ratio: 1; position: relative; }
.ps-profile-avatar > span { position: absolute; inset: 15%; border-radius: 50%; overflow: hidden; }
.ps-profile-avatar > img { position: relative; display: block; width: 100%; height: 100%; }
.ps-avatar-shine { position: absolute; inset: -7%; border-radius: 50%; border: 1px dashed #ebc97966; animation: ps-frame-orbit 30s linear infinite; }
.ps-avatar-shine::before, .ps-avatar-shine::after { content: ''; position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #ffdf96; box-shadow: 0 0 12px #ffdf96; }
.ps-avatar-shine::before { top: 0; left: 50%; }
.ps-avatar-shine::after { bottom: 0; left: 50%; }
.ps-profile-card > strong { color: #f6eedf; font-size: clamp(23px, 2vw, 29px); margin: 20px 0 6px; letter-spacing: -.03em; }
.ps-profile-motto { font-size: 12px; color: #a8b0ae; }
.ps-profile-colors { display: flex; gap: 8px; margin-top: 17px; }
.ps-profile-colors i { width: 10px; height: 10px; border-radius: 50%; background: #bb9b60; }
.ps-profile-colors i:nth-child(2) { background: #c1624d; }.ps-profile-colors i:nth-child(3) { background: #71968f; }.ps-profile-colors i:nth-child(4) { background: #8a74a3; }
.ps-style-tag { position: absolute; display: flex; align-items: center; gap: 7px; padding: 11px 15px; color: #f9e2ad; background: #3a3022; border: 1px solid #a58a5955; border-radius: 9px; font-size: 12px; box-shadow: 0 10px 20px #0003; animation: ps-note-float 4s ease-in-out infinite; }
.ps-style-tag svg { width: 17px; height: 17px; }
.ps-style-tag-1 { right: 5%; top: 16%; transform: rotate(3deg); }.ps-style-tag-2 { bottom: 16%; left: 4%; font-size: 9px; letter-spacing: .08em; animation-delay: -2s; }
.ps-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.ps-step { position: relative; display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 104px; padding: 22px 17px; background: #13191d; border: 1px solid #ffffff19; border-radius: 14px; color: #c4cacf; text-align: left; overflow: hidden; transition: background .2s, border-color .2s; }
.ps-step-number { position: absolute; right: 12px; top: 8px; color: #7e888e; font-size: 9px; font-variant-numeric: tabular-nums; }
.ps-step-icon { display: grid; place-items: center; width: 32px; height: 36px; flex-shrink: 0; color: #838f98; }
.ps-step-icon svg { width: 27px; height: 27px; }
.ps-step-copy { min-width: 0; }
.ps-step-copy b { display: block; font-size: clamp(16px, 1.35vw, 20px); font-weight: 650; color: #e6e7e3; }
.ps-step-copy > span { display: block; font-size: 11px; line-height: 1.4; color: #929da6; margin-top: 6px; }
.ps-step:hover { border-color: #d9774366; }
.ps-step[aria-selected="true"] { background: #2d1e18; border-color: #ff784a; }
.ps-step[aria-selected="true"] .ps-step-icon { color: #ff7945; }
.ps-step[aria-selected="true"] .ps-step-copy > span { color: #c4aea0; }
.ps-step-progress { position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: var(--ps-orange); transform-origin: left; transform: scaleX(0); }
.ps-step[aria-selected="true"] .ps-step-progress { animation: ps-step-time 6.5s linear both; }
.ps-story[data-running="false"] .ps-motion { animation-play-state: paused; }
.ps-story[data-running="false"] .ps-chart-line { animation: none; stroke-dashoffset: 0; }
.ps-story[data-running="false"] .ps-message { animation: none; opacity: 1; }
@keyframes ps-step-time { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ps-scene-in { from { opacity: .2; transform: translateY(7px); } to { opacity: 1; transform: none; } }
@keyframes ps-card-float { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(6px) rotate(-1.5deg); } }
@keyframes ps-note-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
@keyframes ps-ball-trail { to { stroke-dashoffset: -52; } }
@keyframes ps-rally { 0%, 100% { transform: translate(-100px, 78px); } 50% { transform: translate(105px, 61px); } 25%, 75% { transform: translate(-10px, -53px); } }
@keyframes ps-team-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
@keyframes ps-chat-1 { 0%, 100% { opacity: .25; transform: translateY(5px); } 15%, 85% { opacity: 1; transform: translateY(0); } }
@keyframes ps-chat-2 { 0%, 22%, 100% { opacity: .15; transform: translateY(7px); } 35%, 88% { opacity: 1; transform: translateY(0); } }
@keyframes ps-chart-draw { 0% { stroke-dashoffset: 1; } 55%, 100% { stroke-dashoffset: 0; } }
@keyframes ps-chart-pulse { 0%, 100% { transform: scale(.75); opacity: .4; } 50% { transform: scale(1.4); opacity: 1; } }
@keyframes ps-frame-orbit { to { transform: rotate(360deg); } }
@media (max-width: 1100px) {
  .ps-layout { gap: 30px; }
  .ps-step { padding-inline: 12px; gap: 8px; }
  .ps-step-icon { width: 24px; }.ps-step-icon svg { width: 23px; }
  .ps-game-card { width: 75%; left: 8%; padding: 18px; }
  .ps-profile-label { margin-inline: 14px; font-size: 9px; }
}
@media (max-width: 820px) {
  .ps-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ps-copy h2 { font-size: clamp(40px, 6vw, 56px); }
  .ps-copy h2 br:first-of-type { display: none; }
  .ps-copy h2 br:first-of-type::after { content: ' '; }
  .ps-copy h2 { max-width: 590px; }
  .ps-copy .eyebrow { margin-bottom: 20px; }
  .ps-visual { height: clamp(290px, 65vw, 365px); }
  .ps-demo { max-width: 620px; width: 100%; margin: auto; }
  .ps-game-card { max-width: 380px; width: 72%; top: 10%; left: 11%; }
  .ps-game-title { font-size: clamp(23px, 4.5vw, 30px); }
  .ps-profile-avatar { width: 130px; }
  .ps-profile-card > strong { font-size: 28px; }
  .ps-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
  .ps-step { min-height: 88px; padding: 19px 14px; gap: 12px; }
  .ps-step-copy b { font-size: 18px; }
  .ps-step-icon { width: 28px; }.ps-step-icon svg { width: 25px; }
}
@media (max-width: 480px) {
  .ps-copy h2 { font-size: clamp(37px, 9.7vw, 46px); }
  .ps-lead { font-size: 16px; }
  .ps-demo { border-radius: 18px; }
  .ps-demo-top { padding: 10px 13px; gap: 8px; }
  .ps-demo-top > span { font-size: 8px; letter-spacing: .08em; gap: 6px; }
  .ps-pause { min-height: 36px; padding: 6px 9px; font-size: 10px !important; }
  .ps-game-card { width: 80%; left: 6%; padding: 16px; top: 6%; }
  .ps-game-title { font-size: 23px; margin-block: 14px 10px; }
  .ps-game-meta { font-size: 10px; gap: 5px; }
  .ps-game-bottom { margin-top: 14px; padding-top: 12px; }
  .ps-avatars > span { width: 30px; height: 30px; }
  .ps-floating-note { top: 74%; padding: 10px 12px; font-size: 11px; }
  .ps-caption { padding: 12px 16px 15px; min-height: 115px; }
  .ps-caption b { font-size: 17px; }
  .ps-caption > span { font-size: 12px; }
  .ps-demo-bottom { padding: 11px 14px; font-size: 8px; }
  .ps-demo-bottom b { margin-left: 8px; }
  .ps-teammate { width: 57px; }
  .ps-teammate-0, .ps-teammate-2 { left: 9%; }.ps-teammate-1, .ps-teammate-3 { right: 9%; }
  .ps-team-center { top: 37%; }.ps-team-center b { font-size: 12px; }.ps-team-center svg { width: 27px; height: 27px; }
  .ps-message { font-size: 10px; padding: 9px 10px; }
  .ps-message-1 { top: 23%; left: 28%; }.ps-message-2 { bottom: 10%; right: 18%; }
  .ps-rating-card { inset: 8% 6% 12%; padding: 18px; }
  .ps-rating-value strong { font-size: 46px; }.ps-rating-value { gap: 12px; }
  .ps-rating-footer { left: 18px; right: 18px; font-size: 8px; }
  .ps-xp { left: 7%; font-size: 10px; padding: 10px 12px; }
  .ps-profile-card { inset: 5% 13% 5%; }.ps-profile-avatar { width: 108px; }
  .ps-profile-card > strong { font-size: 26px; margin-top: 17px; }
  .ps-profile-label { font-size: 8px; }.ps-profile-label span { font-size: 8px; }
  .ps-style-tag { font-size: 10px; padding: 9px 10px; }.ps-style-tag-1 { top: 18%; right: 2%; }.ps-style-tag-2 { bottom: 13%; left: 2%; font-size: 8px; }
  .ps-step { padding: 19px 10px; gap: 8px; min-height: 93px; }
  .ps-step-copy b { font-size: 15px; }.ps-step-copy > span { font-size: 10px; }
  .ps-step-icon { width: 22px; }.ps-step-icon svg { width: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .ps-story *, .ps-story *::before, .ps-story *::after { animation: none !important; transition: none !important; }
  .ps-message { opacity: 1; }.ps-chart-line { stroke-dashoffset: 0; }
  .ps-step[aria-selected="true"] .ps-step-progress { transform: scaleX(1); }
}
