*{box-sizing:border-box}html,body{height:100%}body{-webkit-font-smoothing:antialiased;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}#root{justify-content:center;align-items:center;min-height:100vh;display:flex}.page{--card-radius:0px;justify-content:center;align-items:center;width:100%;min-height:100dvh;padding:10px;transition:background .3s;display:flex}.page[data-theme=light]{--text-primary:#18181b;--text-secondary:#a1a1aa;--card-bg:#fff;--card-border:#e2e8f0cc;--card-shadow:0 20px 25px -5px #e2e8f099, 0 8px 10px -6px #e2e8f099;--tile-surface:linear-gradient(135deg, #fffc 0%, #fff6 50%, #ffffff1a 100%);--tile-border:#0f172a0f;--tile-highlight:#ffffffe6;--tile-shadow:0 1px 2px #e2e8f0cc;--tile-blur:12px;--qr-tile-bg:#fffffff2;background:#f8fafc}.page[data-theme=dark]{--text-primary:#f4f4f5;--text-secondary:#a1a1aa;--card-bg:#121215;--card-border:#ffffff1a;--card-shadow:0 25px 50px -12px #0009;--tile-surface:linear-gradient(135deg, #ffffff29 0%, #ffffff0f 50%, #ffffff05 100%);--tile-border:#fff3;--tile-highlight:#fff6;--tile-shadow:0 10px 15px -3px #0006, 0 4px 6px -4px #0006;--tile-blur:24px;--qr-tile-bg:#fffffff2;background:#09090b}.scene{aspect-ratio:7/4;perspective:1400px;width:100%;max-width:min(900px,175dvh - 35px);position:relative}.theme-toggle{z-index:5;background:var(--tile-surface);border:1px solid var(--tile-border);width:36px;height:36px;-webkit-backdrop-filter:blur(var(--tile-blur));box-shadow:var(--tile-shadow), inset 0 1px 0 0 var(--tile-highlight);color:var(--text-primary);cursor:pointer;border-radius:999px;justify-content:center;align-items:center;transition:transform .3s,box-shadow .3s,filter .3s;display:flex;position:absolute;top:-10px;right:-10px}.theme-toggle:active{transform:translateY(0)scale(.96)}@media (hover:hover) and (pointer:fine){.theme-toggle:hover{filter:brightness(1.25)saturate(1.1);transform:translateY(-2px)scale(1.05)}}.theme-toggle svg{width:17px;height:17px}.card{width:100%;height:100%;transform-style:preserve-3d;transition:transform .5s cubic-bezier(.4,.2,.2,1);position:relative}.card.is-flipped{transform:rotateY(180deg)}.card-face{border-radius:var(--card-radius);background:var(--card-bg);border:1px solid var(--card-border);box-shadow:var(--card-shadow);backface-visibility:hidden;color:var(--text-primary);position:absolute;inset:0;overflow:hidden}.card-back{transform:rotateY(180deg)}.card-content{flex-direction:column;justify-content:space-between;height:100%;padding:22px 24px;display:flex;position:relative}.identity{flex-direction:column;flex:50%;justify-content:center;display:flex}.identity h1{letter-spacing:-.01em;color:var(--text-primary);margin:0;font-size:clamp(2rem,6vw,3.5rem);font-weight:650}.identity p{color:var(--text-secondary);margin:6px 0 0;font-size:clamp(1.1rem,3vw,1.8rem)}.links{gap:clamp(10px,2.2vw,18px);display:flex}.links a,.flip-btn{background:var(--tile-surface);border:1px solid var(--tile-border);width:clamp(48px,10vw,68px);height:clamp(48px,10vw,68px);box-shadow:var(--tile-shadow), inset 0 1px 0 0 var(--tile-highlight);-webkit-backdrop-filter:blur(var(--tile-blur));color:var(--text-primary);border-radius:clamp(14px,2.6vw,20px);justify-content:center;align-items:center;transition:transform .3s,box-shadow .3s,filter .3s;display:flex;position:relative}.links a:active,.flip-btn:active{transform:translateY(0)scale(.95)}@media (hover:hover) and (pointer:fine){.links a:hover,.flip-btn:hover{filter:brightness(1.25)saturate(1.1);transform:translateY(-2px)scale(1.05)}}.links a svg{width:clamp(22px,4.4vw,30px);height:clamp(22px,4.4vw,30px)}.back-content{justify-content:center;align-items:center;gap:clamp(12px,2.5vw,20px)}.qr-wrap{aspect-ratio:1;box-sizing:border-box;background:var(--qr-tile-bg);color:#0b0f1a;border-radius:clamp(18px,3vw,26px);justify-content:center;align-items:center;width:auto;max-width:100%;height:80%;padding:clamp(14px,3vw,24px);display:flex;box-shadow:0 10px 24px #0003,inset 0 1px #ffffffe6}.qr-wrap svg{width:100%;height:100%;display:block}.scan-label{color:var(--text-secondary);margin:0;font-size:clamp(.95rem,2.2vw,1.2rem);font-weight:500}.flip-btn{border-radius:clamp(16px,2.8vw,22px);width:clamp(54px,11vw,74px);height:clamp(54px,11vw,74px);position:absolute;bottom:clamp(14px,3vw,22px);right:clamp(14px,3vw,22px)}.flip-btn svg{width:clamp(24px,4.8vw,32px);height:clamp(24px,4.8vw,32px)}
