@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Space+Grotesk:wght@400;500;600;700&display=swap');
:root{color-scheme:dark;font-family:'Space Grotesk',system-ui,sans-serif;background:#080b16;color:#f6f7ff;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:radial-gradient(ellipse at 50% 0%,#202044 0,#0d1021 38%,#080b16 78%);overflow-x:hidden}.arcade-shell{width:min(1120px,calc(100% - 40px));min-height:100vh;margin:auto;display:flex;flex-direction:column}.arcade-topbar{height:82px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #ffffff14}.brand{display:flex;gap:11px;align-items:center;color:#f6f7ff;text-decoration:none;font-weight:700;letter-spacing:.12em;font-size:.95rem}.brand-mark{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:linear-gradient(145deg,#a78bfa,#5b4bf5);font-size:1.2rem;box-shadow:0 4px 18px #795cf455}.brand-dot{color:#a78bfa}.topbar-label,.eyebrow,.game-category,.card-number,.art-caption,.arcade-footer{font-family:'DM Mono',monospace;letter-spacing:.12em}.topbar-label{display:flex;align-items:center;gap:9px;color:#a5abc2;font-size:.72rem}.topbar-label i{width:7px;height:7px;border-radius:50%;background:#a3ffcf;box-shadow:0 0 12px #6dffbd}.arcade-intro{text-align:center;padding:74px 0 45px}.eyebrow{margin:0 0 15px;color:#a78bfa;font-size:.7rem}.arcade-intro h1{margin:0;font-size:clamp(3rem,8vw,5.7rem);line-height:.98;letter-spacing:-.07em}.arcade-intro h1 span{color:#a78bfa}.intro-copy{margin:20px 0 0;color:#aeb4ca;font-size:1.03rem}.game-shelf{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),360px));justify-content:center;gap:22px;padding:8px 0 60px}.game-card{position:relative;display:flex;flex-direction:column;overflow:hidden;border:1px solid #ffffff20;border-radius:20px;background:linear-gradient(155deg,#171a31,#101322 72%);color:inherit;text-decoration:none;transition:transform .22s,border-color .22s,box-shadow .22s}.game-card:hover,.game-card:focus-visible{transform:translateY(-6px);border-color:#a78bfa99;box-shadow:0 18px 45px #0008,0 0 32px #795cf41c;outline:none}.card-number{position:absolute;z-index:1;top:15px;left:17px;color:#d5d7e4;font-size:.7rem}.game-art{position:relative;display:grid;place-items:center;height:220px;overflow:hidden;background:radial-gradient(ellipse at 50% 66%,#774cea66,transparent 48%),linear-gradient(145deg,#26274a,#171a32 72%)}.game-art:before,.game-art:after{position:absolute;content:"";width:320px;height:320px;border:1px solid #ffffff10;border-radius:50%}.game-art:after{width:235px;height:235px}.badge{position:absolute;display:grid;place-items:center;width:76px;height:76px;border:2px solid #ffffff85;border-radius:23px 23px 27px 27px;background:linear-gradient(145deg,var(--shine),var(--badge));color:white;font-size:2.1rem;font-weight:700;text-shadow:0 2px 5px #27144b88;box-shadow:inset 0 2px 8px #ffffff70,0 14px 24px #0007;transform:rotate(-12deg)}.badge:after{position:absolute;inset:7px;border:1px solid #ffffff70;border-radius:16px 16px 20px 20px;content:""}.badge-one{--badge:#764ff0;--shine:#d3baff;top:42px;left:calc(50% - 31px);z-index:2;transform:rotate(8deg)}.badge-two{--badge:#ed4f86;--shine:#ffbed7;width:64px;height:64px;left:calc(50% - 100px);top:99px;font-size:1.7rem;transform:rotate(-17deg)}.badge-three{--badge:#22a896;--shine:#abffe2;width:68px;height:68px;right:calc(50% - 101px);top:108px;font-size:1.8rem;transform:rotate(18deg)}.art-caption{position:absolute;bottom:17px;color:#d8d4ee;font-size:.59rem}.game-info{display:grid;gap:10px;padding:22px 23px 24px}.game-category{color:#a78bfa;font-size:.65rem}.game-info strong{font-size:1.65rem;letter-spacing:-.04em}.game-description{min-height:44px;color:#aeb4ca;font-size:.9rem;line-height:1.5}.play-link{display:flex;justify-content:space-between;align-items:center;margin-top:8px;padding-top:14px;border-top:1px solid #ffffff18;color:#fff;font-weight:600}.play-link b{display:grid;place-items:center;width:31px;height:31px;border-radius:50%;background:#a78bfa;color:#171329;font-size:1.05rem}.arcade-footer{display:flex;justify-content:space-between;gap:20px;margin-top:auto;padding:22px 0 28px;border-top:1px solid #ffffff14;color:#7f859e;font-size:.63rem}.arcade-footer b{color:#a78bfa}@media(max-width:520px){.arcade-shell{width:calc(100% - 28px)}.arcade-topbar{height:68px}.topbar-label{font-size:.6rem}.arcade-intro{padding:58px 0 33px}.game-art{height:195px}.arcade-footer{font-size:.55rem}}


.tile-tangle-art{background:radial-gradient(ellipse at 50% 66%,#42d6be44,transparent 48%),linear-gradient(145deg,#173c4a,#171a32 72%)}
.tile-tangle-art:before,.tile-tangle-art:after{border-color:#9ef7e922}
.puzzle-grid{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,54px);gap:8px;padding:12px;border:1px solid #ffffff40;border-radius:16px;background:#0d1021cc;box-shadow:0 14px 30px #0008;transform:rotate(-8deg)}
.puzzle-grid i{display:block;aspect-ratio:1;border:1px solid #ffffff30;border-radius:8px;background:#252944}
.puzzle-grid i.red{background:#ef5967;box-shadow:0 0 18px #ef596766}
.puzzle-grid i.blue{background:#5794f3;box-shadow:0 0 18px #5794f366}
.puzzle-grid i.purple{background:#a991ff;box-shadow:0 0 18px #a991ff66}
.puzzle-grid i.green{background:#4dbd78;box-shadow:0 0 18px #4dbd7866}
.puzzle-grid i.gold{background:#ffd166;box-shadow:0 0 18px #ffd16666}
.tile-tangle-card:hover,.tile-tangle-card:focus-visible{border-color:#5bd4c499}
@media(max-width:520px){.puzzle-grid{grid-template-columns:repeat(3,46px);gap:6px}}
