*{box-sizing:border-box}
:root{font-family:Arial,Helvetica,sans-serif;color:#e7edf7;background:#080b11}
html{min-height:100%;background:#080b11}
body{margin:0;padding:22px 16px 30px;background:radial-gradient(ellipse at 50% 0,#17263a 0,transparent 38%),#080b11}
.page-header{text-align:center;margin:0 auto 22px}
.page-header h1{margin:0;color:#d5eaff;font-size:clamp(23px,4vw,34px);font-weight:800;text-shadow:0 0 4px #fff,0 0 13px #268cff,0 0 25px #236dff}
.showcase{width:min(100%,940px);margin:auto;padding:16px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;border:2px solid #ff861f;background:#080b11;box-shadow:0 12px 35px #0008}
.effect-card{min-width:0;min-height:136px;display:grid;grid-template-columns:112px minmax(0,1fr);gap:13px;align-items:center;padding:12px;border:1px solid #222b37;border-radius:13px;background:#0c1119}
.visual{min-height:104px;display:grid;place-items:center;perspective:600px;overflow:visible}
.sample{width:78px;height:78px;border-radius:14px;background:linear-gradient(135deg,#ff9d00,#ff4b19);color:#fff;display:grid;place-items:center;text-align:center;padding:7px;font-size:11px;font-weight:700;box-shadow:0 7px 18px #ff6a172b;cursor:pointer;transition:transform .38s cubic-bezier(.2,.8,.2,1),box-shadow .3s;transform-origin:center}
.sample span{pointer-events:none}
.sample:focus-visible{outline:2px solid #ffd08a;outline-offset:5px}
.scale:hover,.scale:focus{transform:scale(1.2)}
.rotate:hover,.rotate:focus{transform:rotate(25deg)}
.moveUp:hover,.moveUp:focus{transform:translateY(-25px)}
.skewX:hover,.skewX:focus{transform:skewX(15deg)}
.rotate360:hover,.rotate360:focus{transform:rotate(360deg)}
.moveRight:hover,.moveRight:focus{transform:translateX(25px)}
.scaleDown:hover,.scaleDown:focus{transform:scale(.8)}
.skewY:hover,.skewY:focus{transform:skewY(15deg)}
.flipX:hover,.flipX:focus{transform:rotateX(180deg)}
.pop3d:hover,.pop3d:focus{transform:perspective(600px) rotateX(20deg) rotateY(-20deg) scale(1.1);box-shadow:0 15px 25px #ff5d1d55}
.details{min-width:0}
.details h2{margin:0 0 8px;color:#ff9a2e;font-size:14px;font-weight:750}
pre{margin:0 0 7px;padding:7px 8px;border-radius:6px;background:#080d13;color:#66d9ad;white-space:pre-wrap;overflow-wrap:anywhere;font:10px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace}
.copy-btn{border:1px solid #334155;border-radius:5px;padding:4px 8px;background:#131d29;color:#b8c8da;font-size:9px;cursor:pointer}
.copy-btn:hover{border-color:#ff9a2e;color:#ffbd75}
footer{text-align:center;margin:18px auto 0;color:#76869d;font-size:10px}
@media(max-width:650px){.showcase{grid-template-columns:1fr;max-width:500px;padding:11px}.effect-card{grid-template-columns:105px minmax(0,1fr)}}
@media(max-width:360px){body{padding:18px 8px}.effect-card{grid-template-columns:88px minmax(0,1fr);gap:8px;padding:9px}.sample{width:70px;height:70px;font-size:10px}.details h2{font-size:12px}pre{font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important}}
