:root {
  color-scheme: light;
  --paper: #fcf9ed;
  --ink: #20281c;
  --muted: #515744;
  --line: #d7d7c5;
  --lime: #d9f58b;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Trebuchet MS", system-ui, sans-serif; line-height: 1.6; }
a { color: inherit; text-underline-offset: .23em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid #b35a0d; outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.06; letter-spacing: -.05em; }
h2 { font-size: clamp(2.25rem, 5vw, 4.25rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
.wrap { width: min(1120px, calc(100% - 3rem)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: 1rem; z-index: 2; background: white; padding: .5rem 1rem; transform: translateY(-180%); }
.skip:focus { transform: none; }
.top { border-bottom: 1px solid var(--line); }
.top-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.1rem; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-weight: 800; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 2.45rem; aspect-ratio: 1; border-radius: .6rem; background: var(--ink); color: var(--lime); font-size: .88rem; font-weight: 900; }
nav { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; font-size: .95rem; }
nav a { text-decoration-color: transparent; }
nav a:hover { text-decoration-color: currentColor; }
.hero { background: #ecf1d7; overflow: hidden; }
.hero-inner { min-height: 30rem; display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: 2rem; padding-block: clamp(3.25rem, 8vw, 6.75rem); }
.label { color: var(--muted); font-size: .875rem; font-weight: 800; letter-spacing: .095em; text-transform: uppercase; margin-bottom: .85rem; }
h1 { font-size: clamp(3.75rem, 8.5vw, 7.3rem); line-height: .92; }
h1 em { font-family: Georgia, serif; color: #48602c; font-weight: 400; }
.intro { max-width: 29rem; color: var(--muted); font-size: 1.15rem; margin-block: 1.5rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .55rem 1rem; border: 1px solid var(--ink); border-radius: .65rem; text-decoration: none; font-weight: 800; white-space: nowrap; }
.button:hover { background: var(--lime); color: var(--ink); }
.primary { background: var(--ink); color: var(--paper); padding-inline: 1.35rem; }
.hero-art { position: relative; width: min(100%, 22rem); aspect-ratio: 1; justify-self: center; border: 1px solid #b3bc97; border-radius: 50%; display: grid; place-items: center; background: repeating-radial-gradient(circle, transparent 0 26px, #b3bc9766 27px 28px); }
.hero-art span { position: absolute; width: 57%; height: 29%; border-radius: 30% 35% 24% 28%; border: 2px solid var(--ink); box-shadow: 6px 8px 0 var(--ink); transform: translateY(var(--offset)) rotate(var(--tilt)); background: var(--color); }
.hero-art span:nth-child(1) { --offset: 51%; --tilt: -13deg; --color: #f5a9ca; }
.hero-art span:nth-child(2) { --offset: 22%; --tilt: 8deg; --color: #f9bb64; }
.hero-art span:nth-child(3) { --offset: -11%; --tilt: -10deg; --color: #93ba67; }
.hero-art span:nth-child(4) { --offset: -44%; --tilt: 11deg; --color: #d9f58b; }
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.game-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 1.8rem; }
.game { border: 1px solid var(--line); border-radius: 1rem; overflow: hidden; background: #fffdf6; }
.game-art { min-height: 12rem; aspect-ratio: 2; display: grid; place-items: center; overflow: hidden; }
.blast { background: radial-gradient(circle at center, #ffcbb6, #f1a486); }
.twist { background: radial-gradient(circle at center, #e3d8ff, #bdb0e9); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); width: clamp(7rem, 15vw, 11rem); gap: .4rem; transform: rotate(-11deg); }
.tiles i { aspect-ratio: 1; background: #ffefad; border-radius: 24%; border: 2px solid #4b3026; box-shadow: 2px 3px #4b3026; }
.tiles i:nth-child(3n+1) { background: #fceee7; }
.tiles i:nth-child(3n+2) { background: #db795d; }
.tiles i:nth-child(5) { background: #d9f58b; transform: rotate(18deg) scale(1.18); z-index: 1; }
.rings { display: grid; place-items: center; width: clamp(9rem, 18vw, 13rem); aspect-ratio: 1; transform: rotate(-22deg); }
.rings i { grid-area: 1 / 1; width: var(--size); height: var(--size); border: clamp(.45rem, 1.4vw, .9rem) solid var(--band); border-right-color: transparent; border-radius: 50%; transform: rotate(var(--spin)); filter: drop-shadow(2px 3px #33234e); }
.rings i:nth-child(1) { --size: 100%; --band: #fff5d5; --spin: 0deg; }
.rings i:nth-child(2) { --size: 78%; --band: #f9aacc; --spin: 100deg; }
.rings i:nth-child(3) { --size: 56%; --band: #d9f58b; --spin: 200deg; }
.rings i:nth-child(4) { --size: 35%; --band: #805bc1; --spin: 310deg; }
.game-details { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; padding: 1.2rem; }
.studio { background: var(--ink); color: var(--paper); }
.studio-inner { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 5rem); padding-block: clamp(3rem, 7vw, 5rem); }
.studio .label { color: var(--lime); }
.studio h2 + p, .contact h3 + p { margin-top: .9rem; color: #e3e5d6; }
.contact { border-top: 1px solid #879176; padding-top: 1rem; }
.contact a { display: inline-block; margin-top: .5rem; color: var(--lime); overflow-wrap: anywhere; }
.footer-inner { padding-block: 1.35rem; color: var(--muted); font-size: .95rem; }
.legal { max-width: 48rem; padding-block: 3rem 4rem; }
.legal h1 { font-size: clamp(3rem, 8vw, 5rem); margin-bottom: 1rem; }
.legal h2 { font-size: 1.55rem; margin: 1.55rem 0 .45rem; }
.legal a { overflow-wrap: anywhere; }
.draft { border-left: .25rem solid #78994e; padding: .75rem 1rem; background: #ecf1d7; margin-bottom: 1.5rem; }
@media (max-width: 720px) {
  .wrap { width: calc(100% - 2rem); }
  .hero-inner, .studio-inner { grid-template-columns: 1fr; }
  .hero-art { width: min(58vw, 17rem); }
}
@media (max-width: 510px) {
  .game-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Animated studio homepage */
.home { --paper:#121121; --ink:#f6f3ff; --muted:#b6b0cc; --line:#ffffff24; --lime:#d8ff62; background:#121121; color:var(--ink); font-family:Arial,Helvetica,sans-serif; }
.home .wrap { width:min(1220px,calc(100% - 4rem)); }
.home .top { position:relative; z-index:5; background:#121121; }
.home .top-inner { min-height:88px; }
.home .brand { font-size:1.05rem; letter-spacing:-.03em; }
.home .brand-mark { color:#151323; background:var(--lime); transform:rotate(-7deg); border-radius:12px 5px 12px 5px; }
.home nav { font-size:1rem; }
.home a:focus-visible { outline-color:var(--lime); }
.home .hero { position:relative; background:radial-gradient(ellipse at 78% 53%,#6340b542,transparent 48%),#121121; }
.home .hero::before { content:""; position:absolute; inset:0; background-image:radial-gradient(#ffffff27 1px,transparent 1px); background-size:28px 28px; mask-image:linear-gradient(to right,transparent,#000); opacity:.5; }
.home .hero-inner { position:relative; min-height:680px; grid-template-columns:1.1fr 1fr; gap:2rem; padding-block:5rem 6rem; }
.home h1 { font-size:clamp(3.4rem,6.7vw,6.5rem); font-weight:900; line-height:.98; letter-spacing:-.075em; }
.home h1 em { color:var(--lime); font-family:inherit; font-weight:900; font-style:normal; }
.home .label { color:#b6aacd; font-size:.8rem; font-weight:700; letter-spacing:.14em; }
.home .intro { font-size:1.1rem; line-height:1.7; max-width:26rem; margin-block:1.6rem 1.9rem; }
.home .button { border-radius:100px; min-height:3rem; padding:.65rem 1.3rem; border-color:#ffffff45; font-size:.95rem; transition:transform .25s,background .25s,box-shadow .25s; }
.home .button:hover { transform:translateY(-3px); box-shadow:0 8px 25px #b1ed4320; background:var(--lime); color:#171321; }
.home .primary { background:var(--lime); color:#171321; border-color:var(--lime); padding-inline:1.6rem; }
.home .hero-art { width:100%; max-width:none; height:510px; aspect-ratio:auto; border:0; border-radius:0; background:none; perspective:1200px; isolation:isolate; }
.hero-device { position:absolute; width:216px; aspect-ratio:9/16; border:7px solid #2b2541; border-radius:30px; box-shadow:0 32px 60px #0009,inset 0 0 0 1px #ffffff40; overflow:hidden; background:#183d48; }
.hero-device img { display:block; width:100%; height:100%; object-fit:cover; }
.device-pics { left:6%; top:10%; transform:rotate(-13deg); animation:float-pics 7s ease-in-out infinite; z-index:2; }
.device-ring { right:2%; top:18%; transform:rotate(13deg); animation:float-ring 8s ease-in-out infinite; z-index:1; }
.orbit { position:absolute; inset:7% -4%; border:1px solid #ad89ff40; border-radius:50%; transform:rotate(-27deg); z-index:-1; }
.orbit-two { inset:18% -10%; transform:rotate(35deg); }
.hero-art .float-shape,.hero-art .spark { position:absolute; width:auto; height:auto; box-shadow:none; transform:none; }
.hero-art .shape-ring { width:76px; height:76px; border:17px solid #ad7aff; border-right-color:transparent; border-radius:50%; left:0; bottom:0; filter:drop-shadow(0 8px 8px #0005); animation:orbit-spin 18s linear infinite; }
.hero-art .shape-tile { width:54px; height:54px; border:0; border-radius:15px; background:#d8ff62; right:0; top:0; box-shadow:inset -5px -6px #9fb63c; animation:tile-wobble 6s ease-in-out infinite; }
.hero-art .spark { border:0; background:none; color:#d8ff62; font-size:48px; }
.spark-one { top:0; left:22%; animation:spark-pulse 4s ease-in-out infinite; }.spark-two { right:6%; bottom:0; font-size:32px!important; animation:spark-pulse 4s 2s ease-in-out infinite; }
.home .section { padding-block:6rem; }
.section-heading { display:flex; align-items:end; justify-content:space-between; gap:2rem; margin-bottom:2.5rem; }
.section-heading>p { color:var(--muted); text-align:right; line-height:1.6; }
.home h2 { font-size:clamp(2.6rem,5vw,4.6rem); letter-spacing:-.065em; font-weight:850; }
.home .game-grid { gap:2rem; margin:0; }
.home .game { background:#1c192e; border:1px solid #ffffff15; border-radius:28px; transition:box-shadow .4s,border-color .4s; }
.home .game:hover { border-color:#b495ff80; box-shadow:0 15px 50px #0005; }
.home .game-art { position:relative; display:block; width:100%; min-height:460px; aspect-ratio:1.24; text-decoration:none; isolation:isolate; }
.home .blast { background:radial-gradient(ellipse at 50% 40%,#ffdb85,#ee9b68 74%); }
.home .twist { background:radial-gradient(ellipse at 50% 40%,#b9a4ff,#8061d9 74%); }
.preview-device { position:absolute; width:230px; top:10%; left:50%; transform:translateX(-50%) rotate(-7deg); border:7px solid #2d2537; border-radius:29px; overflow:hidden; box-shadow:14px 28px 30px #30253a4f; animation:preview-drift 8s ease-in-out infinite; }
.twist .preview-device { transform:translateX(-50%) rotate(7deg); animation-name:preview-drift-ring; animation-delay:-3s; }
.preview-device img { display:block; width:100%; height:auto; }
.preview-halo { position:absolute; width:370px; height:370px; border:1px solid #ffffff80; border-radius:50%; top:7%; left:50%; transform:translateX(-50%); }
.preview-halo::after { content:""; position:absolute; inset:30px; border:1px solid #ffffff50; border-radius:50%; }
.preview-play { position:absolute; bottom:25px; right:25px; width:58px; height:58px; display:grid; place-items:center; padding-left:3px; color:#1b1630; background:#fffaf1; border-radius:50%; box-shadow:0 5px 20px #20183130; transition:transform .3s; }
.game-art:hover .preview-play { transform:scale(1.12); }
.decor-tile { position:absolute; width:75px; height:75px; border-radius:20px; background:#fdffdb; box-shadow:inset -7px -7px #d3cf9d,5px 12px 18px #553e4230; z-index:3; }
.tile-one { left:8%; top:22%; transform:rotate(-20deg); animation:tile-wobble 7s ease-in-out infinite; }
.tile-two { right:9%; bottom:17%; width:58px; height:58px; background:#d8ff62; box-shadow:inset -5px -6px #a4bb41,5px 12px 18px #553e4230; animation:tile-wobble 8s -4s ease-in-out infinite; }
.decor-ring { position:absolute; width:95px; height:95px; border:20px solid #d8ff62; border-right-color:transparent; border-radius:50%; filter:drop-shadow(0 8px 7px #30213e30); z-index:3; animation:orbit-spin 20s linear infinite; }
.ring-one { left:5%; bottom:14%; }.ring-two { right:6%; top:14%; width:74px; height:74px; border-width:17px; border-color:#f7bded; border-bottom-color:transparent; animation-direction:reverse; }
.home .game-details { padding:1.6rem 1.7rem; min-height:116px; gap:1rem; }
.home .game-details h3 { font-size:1.6rem; letter-spacing:-.04em; }
.home .game-details p { font-size:.9rem; margin-top:.55rem; color:var(--muted); }
.home .studio { position:relative; background:#d8ff62; color:#1a1727; overflow:hidden; }
.home .studio::after { content:""; position:absolute; right:-12rem; bottom:-26rem; width:45rem; height:45rem; border:50px solid #b0d541; border-radius:50%; pointer-events:none; }
.home .studio-inner { position:relative; z-index:1; padding-block:5rem; }
.home .studio .label { color:#4d5a2b; }
.home .studio h2 { font-size:clamp(2.5rem,4.1vw,3.8rem); }
.home .studio h2+p,.home .contact h3+p { color:#404a2c; max-width:36rem; }
.home .contact { border-color:#45532b55; }
.home .contact a { color:#1a1727; font-weight:700; }
.home .footer { background:#121121; }
.home .footer-inner { padding-block:2rem; }
.home .reveal { transition:opacity .8s ease,translate .8s ease; }
.home.motion-ready .reveal:not(.is-visible) { opacity:0; translate:0 25px; }
@keyframes float-pics { 0%,100% { transform:translateY(0) rotate(-13deg); } 50% { transform:translateY(-20px) rotate(-9deg); } }
@keyframes float-ring { 0%,100% { transform:translateY(0) rotate(13deg); } 50% { transform:translateY(16px) rotate(9deg); } }
@keyframes orbit-spin { to { rotate:360deg; } }
@keyframes tile-wobble { 0%,100% { translate:0 0; rotate:-12deg; } 50% { translate:0 -15px; rotate:8deg; } }
@keyframes spark-pulse { 0%,100% { scale:1; rotate:0deg; } 50% { scale:.7; rotate:45deg; } }
@keyframes preview-drift { 0%,100% { transform:translateX(-50%) translateY(0) rotate(-7deg); } 50% { transform:translateX(-50%) translateY(-12px) rotate(-3deg); } }
@keyframes preview-drift-ring { 0%,100% { transform:translateX(-50%) translateY(0) rotate(7deg); } 50% { transform:translateX(-50%) translateY(-12px) rotate(3deg); } }
@media(max-width:1000px) { .home .hero-inner { min-height:610px; }.home .hero-art { height:430px; }.hero-device { width:175px; }.home .game-art { min-height:400px; }.preview-device { width:205px; }.decor-ring { width:72px;height:72px;border-width:15px; }.home .game-details { padding:1.3rem; }.home .game-details .button { padding-inline:1rem; } }
@media(max-width:720px) { .home .wrap { width:calc(100% - 2.5rem); }.home .top-inner { min-height:78px; }.home .hero-inner { grid-template-columns:1fr; padding-block:3.5rem 4rem; gap:3rem; }.home h1 { font-size:clamp(3.6rem,12vw,5.5rem); }.desktop-break { display:none; }.home .hero-art { width:min(100%,480px); height:450px; }.hero-device { width:195px; }.device-pics { left:9%; }.device-ring { right:5%; }.home .section { padding-block:4rem; }.section-heading { align-items:start; }.section-heading>p { display:none; }.home .game-grid { grid-template-columns:1fr; gap:1.5rem; }.home .game-art { min-height:450px; aspect-ratio:1.3; }.preview-device { width:230px; }.home .studio-inner { grid-template-columns:1fr; gap:2.5rem; }.home .game-details { padding:1.5rem; }.home .footer-inner { gap:1.5rem; } }
@media(max-width:420px) { .home .brand { font-size:.95rem; }.home nav { gap:1rem; font-size:.9rem; }.home .top-inner { gap:1.25rem; padding-block:1.2rem; }.home .hero-art { height:370px; }.hero-device { width:158px; border-width:5px; border-radius:23px; }.device-pics { left:5%; }.device-ring { right:2%; }.home .game-art { min-height:410px; }.preview-device { width:205px; }.home .game-details { padding:1.25rem; }.home .game-details p { font-size:.85rem; } }
@media(prefers-reduced-motion:reduce) { .home :not(.motion-active, .motion-active *), .home :not(.motion-active, .motion-active *)::before, .home :not(.motion-active, .motion-active *)::after { animation:none!important; transition:none!important; scroll-behavior:auto!important; }.home.motion-ready .reveal:not(.is-visible) { opacity:1;translate:none; } }

.home .hero-copy > * { animation: hero-arrival .65s cubic-bezier(.2,.7,.25,1) both; }
.home .hero-copy h1 { animation-delay: .08s; }
.home .hero-copy .intro { animation-delay: .16s; }
.home .hero-copy .primary { animation-delay: .24s; }
@keyframes hero-arrival {
  from { opacity: 0; translate: 0 12px; }
  to { opacity: 1; translate: 0 0; }
}

.home .game-art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 36%, #ffffff39 50%, transparent 64%);
  translate: -110% 0;
  transition: translate .7s ease;
}
.home .game-art:is(:hover, :focus-visible)::after { translate: 110% 0; }
.home .game-art:focus-visible .preview-play { transform: scale(1.12); }
.home .game-details > div { flex: 1 1 15rem; }
.home .game-details p { line-height: 1.55; }
.home .company-heading { margin-top: 1.75rem; font-size: 1.05rem; }
.home .company-facts { margin: .7rem 0 0; max-width: 36rem; }
.home .company-facts > div {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  align-items: baseline;
  gap: .35rem 1rem;
  padding-block: .65rem;
  border-top: 1px solid #45532b55;
}
.home .company-facts dt { font-weight: 700; }
.home .company-facts dd { margin: 0; color: #404a2c; }
.home .footer-inner nav { flex-wrap: wrap; gap: .65rem 1.25rem; }
@media (max-width: 420px) {
  .home .company-facts > div { grid-template-columns: 1fr; }
}

.home .hero { overflow: clip; }
.hero-burst { display: none; }

.home .hero.motion-active .hero-copy h1 em {
  display: inline-block;
  transform-origin: left center;
  animation: headline-pop .85s .16s cubic-bezier(.2,.7,.3,1) both;
}
.home .hero.motion-active .hero-art .device-pics {
  --launch-x: -52%; --launch-y: 34%; --launch-roll: -58deg;
  animation: phone-launch 1.15s .12s cubic-bezier(.16,.76,.28,1) both,
    showcase-pics 4.8s 1.27s ease-in-out infinite;
}
.home .hero.motion-active .hero-art .device-ring {
  --launch-x: 52%; --launch-y: -35%; --launch-roll: 57deg;
  animation: phone-launch 1.15s .27s cubic-bezier(.16,.76,.28,1) both,
    showcase-ring 4.8s 1.42s ease-in-out infinite;
}
.home .hero.motion-active .hero-art .orbit {
  border-color: #b990ff99;
  animation: orbit-charge 1.45s .15s ease-out both,
    orbit-pulse 4.8s 1.6s ease-in-out infinite;
}
.home .hero.motion-active .hero-art .orbit-two { animation-delay: .33s, 1.78s; }
.home .hero.motion-active .hero-burst {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}
.home .hero.motion-active .hero-burst::before {
  content: "";
  position: absolute;
  inset: 10% 0;
  border-radius: 50%;
  background: radial-gradient(ellipse, #b078ff88, #683bba44 48%, transparent 73%);
  animation: impact-glow 1s .48s ease-out both,
    aura-breathe 4.8s 1.48s ease-in-out infinite;
}
.home .hero.motion-active .hero-burst i {
  position: absolute;
  top: 46%;
  left: 49%;
  width: var(--chip-size, 1.1rem);
  aspect-ratio: 1;
  border-radius: 24%;
  background: var(--chip-color, #d8ff62);
  box-shadow: 0 0 18px var(--chip-color, #d8ff62);
  animation: puzzle-loop 4.8s var(--chip-delay,.48s) cubic-bezier(.12,.72,.36,1) infinite both;
}
.home .hero.motion-active .hero-burst i:nth-child(1) { --x: -19; --y: -11; --spin: 165deg; }
.home .hero.motion-active .hero-burst i:nth-child(2) { --x: 16; --y: -13; --spin: -150deg; --chip-color: #bc8aff; }
.home .hero.motion-active .hero-burst i:nth-child(3) { --x: -15; --y: 13; --spin: 240deg; --chip-color: #ffb86d; }
.home .hero.motion-active .hero-burst i:nth-child(4) { --x: 19; --y: 9; --spin: -225deg; --chip-delay: .57s; }
.home .hero.motion-active .hero-burst i:nth-child(5) { --x: -7; --y: -17; --spin: -210deg; --chip-color: #ffb4ed; --chip-size: .72rem; }
.home .hero.motion-active .hero-burst i:nth-child(6) { --x: 8; --y: 16; --spin: 180deg; --chip-color: #bc8aff; --chip-size: .75rem; }
.home .hero.motion-active .hero-burst i:nth-child(7) { --x: -20; --y: 1; --spin: 145deg; --chip-color: #bc8aff; --chip-delay: .58s; }
.home .hero.motion-active .hero-burst i:nth-child(8) { --x: 20; --y: -2; --spin: -160deg; --chip-color: #ffb86d; --chip-size: .7rem; }
.home .hero.motion-active .hero-art { --burst-step: clamp(6px, 1.16vw, 15px); }

@keyframes headline-pop {
  0% { scale: .86; rotate: -3deg; }
  62% { scale: 1.045; rotate: 1deg; }
  100% { scale: 1; rotate: 0deg; }
}
@keyframes phone-launch {
  0% { opacity: 0; translate: var(--launch-x) var(--launch-y); rotate: var(--launch-roll); scale: .49; }
  44% { opacity: 1; }
  67% { translate: 0 -24px; rotate: -5deg; scale: 1.12; }
  84% { translate: 0 9px; rotate: 2deg; scale: .97; }
  100% { opacity: 1; translate: 0 0; rotate: 0deg; scale: 1; }
}
@keyframes orbit-charge {
  from { opacity: 0; scale: .65; }
  55% { opacity: 1; scale: 1.08; }
  to { opacity: .6; scale: 1; }
}
@keyframes impact-glow {
  from { opacity: 0; scale: .55; }
  26% { opacity: .8; }
  to { opacity: 0; scale: 1.45; }
}
@keyframes puzzle-loop {
  0%, 100% { opacity: 0; translate: 0 0; rotate: 0deg; scale: .3; }
  7% { opacity: 1; scale: 1; }
  33%, 99% { opacity: 0; translate: calc(var(--x) * var(--burst-step)) calc(var(--y) * var(--burst-step)); rotate: var(--spin); scale: .45; }
}
@keyframes showcase-pics {
  0%, 100% { transform: translate(0, 0) rotate(-13deg); }
  30% { transform: translate(4%, -9%) rotate(-2deg) scale(1.05); }
  65% { transform: translate(-8%, 6%) rotate(-21deg); }
}
@keyframes showcase-ring {
  0%, 100% { transform: translate(0, 0) rotate(13deg); }
  30% { transform: translate(-4%, 8%) rotate(23deg); }
  65% { transform: translate(5%, -8%) rotate(2deg) scale(1.05); }
}
@keyframes orbit-pulse {
  0%, 100% { opacity: .6; scale: 1; }
  50% { opacity: 1; scale: 1.13; }
}
@keyframes aura-breathe {
  0%, 100% { opacity: 0; scale: 1; }
  50% { opacity: .6; scale: 1.16; }
}

.home #games .blast .preview-device { animation: blast-bounce 4s ease-in-out infinite; }
.home #games .blast .decor-tile { animation: puzzle-hop 3.4s ease-in-out infinite; }
.home #games .blast .tile-two { animation-delay: -1.7s; }
.home #games .twist .preview-device { animation: twist-swing 4.8s ease-in-out infinite; }
.home #games .twist .ring-one { animation-duration: 6s; }
.home #games .twist .ring-two { animation-duration: 4.5s; }
.home #games .preview-halo { animation: preview-wave 3.6s ease-in-out infinite; }
.home #games .twist .preview-halo { animation-delay: -1.8s; }

.home .studio::before {
  content: "";
  position: absolute;
  inset: -30% -15%;
  background: linear-gradient(110deg, transparent 33%, #f1ffbc 49%, transparent 65%);
  pointer-events: none;
  animation: studio-light 9s ease-in-out infinite;
}
.home .studio::after { animation: studio-ring 8s ease-in-out infinite; }

@keyframes blast-bounce {
  0%, 100% { transform: translateX(-50%) rotate(-7deg); }
  34% { transform: translate(-48%, -9%) rotate(-1deg) scale(1.05); }
  70% { transform: translate(-53%, 2%) rotate(-10deg); }
}
@keyframes puzzle-hop {
  0%, 100% { translate: 0 0; rotate: -12deg; }
  36% { translate: 5px -29px; rotate: 31deg; }
  72% { translate: -5px 6px; rotate: -19deg; }
}
@keyframes twist-swing {
  0%, 100% { transform: translateX(-50%) rotate(7deg); }
  45% { transform: translate(-52%, -9%) rotate(-7deg) scale(1.04); }
  75% { transform: translate(-47%, -2%) rotate(11deg); }
}
@keyframes preview-wave {
  0%, 100% { scale: .87; opacity: .42; }
  48% { scale: 1.17; opacity: 1; }
}
@keyframes studio-light {
  0%, 100% { translate: -32% 0; opacity: .18; }
  50% { translate: 32% 0; opacity: .6; }
}
@keyframes studio-ring {
  0%, 100% { translate: 0 0; scale: 1; }
  50% { translate: -28px -35px; scale: 1.1; }
}
