/* Vibrant motion finish; scoped to the homepage, with reduced-motion support. */
body.home-refined{--home-accent:#5ef6ef;--home-line:#314267;background:radial-gradient(ellipse at 90% 0,#162c58 0,transparent 48%),radial-gradient(ellipse at 10% 45%,#21103c 0,transparent 45%),#070b19}
.home-refined main,.home-refined footer{position:relative;z-index:1}
.home-refined .home-ambient{position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:0;contain:strict}
.home-refined .ambient-orb{position:absolute;display:block;width:55vw;height:55vw;max-width:900px;max-height:900px;border-radius:50%;filter:blur(65px);will-change:transform;opacity:.28;animation:ambient-drift 22s ease-in-out infinite alternate}
.home-refined .orb-cyan{top:-20%;right:-20%;background:radial-gradient(circle,#00c9ee,transparent 65%)}
.home-refined .orb-violet{bottom:-28%;left:-15%;background:radial-gradient(circle,#9e36ff,transparent 65%);animation-delay:-11s;animation-duration:27s}
.home-refined .ambient-grid{position:absolute;inset:0;opacity:.17;background-image:linear-gradient(#668bc51f 1px,transparent 1px),linear-gradient(90deg,#668bc51f 1px,transparent 1px);background-size:68px 68px;mask-image:linear-gradient(transparent,#000 40%,transparent)}
.home-refined .ambient-star{position:absolute;color:#70faff;filter:drop-shadow(0 0 8px #44bfff);animation:star-drift 9s ease-in-out infinite;opacity:.65}
.home-refined .star-one{top:18%;left:48%;font-size:19px}.home-refined .star-two{top:70%;right:3%;font-size:28px;animation-delay:-3s;color:#ad8cff}.home-refined .star-three{top:46%;left:3%;font-size:13px;animation-delay:-6s;color:#ffcf7f}
body.home-refined>nav.gh-smart-nav{background:linear-gradient(100deg,#10122bed,#0a1a30f2)!important;border-bottom:1px solid #6753b8!important;box-shadow:0 6px 25px #07041c66,0 1px 20px #8b55ff20!important}
.home-refined .logo{color:#6cf8f0;text-shadow:0 0 24px #35cddd66}
.home-refined .hero-badge{color:#a2ffed;background:#1a364e;border:1px solid #54eadd55;padding:5px 12px;border-radius:99px;box-shadow:0 0 22px #39e8ee17}
.home-refined .hero-badge>span{animation:badge-spark 5s ease-in-out infinite;color:#9affeb}
body.home-refined .hero h1{color:#f4f2ff;text-shadow:0 5px 26px #8967ff38}
.home-refined .hero-copy h1{background:linear-gradient(115deg,#ffffff 15%,#8ff6ff 50%,#d6b4ff 80%);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.home-refined .home-quick a{background:#1a2448;border-color:#7a72c2;color:#eeeaff;position:relative;overflow:hidden}
.home-refined .home-quick a.primary{background:linear-gradient(105deg,#4df4dc,#59c7fc 55%,#a38aff);border-color:#90e8ff;color:#061b33;box-shadow:0 7px 28px #46d5ef33}
.home-refined .home-quick a.primary:hover{background:linear-gradient(105deg,#8affdf,#80d7ff 55%,#bfa4ff);box-shadow:0 9px 35px #54d5ff55;transform:translateY(-2px)}
.home-refined .home-quick a:after{content:'';position:absolute;inset:-70% auto -70% -40%;width:25%;background:linear-gradient(90deg,transparent,#ffffff50,transparent);transform:rotate(25deg);animation:cta-shimmer 8s ease-in-out infinite;pointer-events:none}
.home-refined .home-quick a:not(.primary):after{animation-delay:2s}
.home-refined .live-dot{background:#64ffe1;box-shadow:0 0 0 4px #6dffdf1f,0 0 12px #3fffd888;animation:badge-spark 2.8s ease-in-out infinite}
.home-refined .hero-showcase{border-color:#71a9d288;box-shadow:0 24px 65px #08012277,0 0 32px #4bc5f322;overflow:visible}
.home-refined .hero-cover{border-radius:23px;clip-path:inset(0 round 23px);animation:cover-life 18s ease-in-out infinite alternate}
.home-refined .hero-showcase:after{border-radius:23px;background:linear-gradient(0deg,#081029f5,#0a193744 60%,#247cc414)}
.home-refined .showcase-tag{background:#1b255caa;border-color:#aba3ff88;box-shadow:0 6px 20px #00113955}
.home-refined .showcase-caption small{color:#72ffdf}.home-refined .showcase-caption b{color:#72fafa}
.home-refined .showcase-thumbs{animation:thumb-float 6s ease-in-out infinite}.home-refined .showcase-thumbs img{border-color:#a9b9f3;box-shadow:0 8px 22px #0007,0 0 15px #6178ff44}
.home-refined .hero-floaters{position:absolute;inset:0;pointer-events:none;z-index:3}
.home-refined .floater{display:grid;place-items:center;position:absolute;width:54px;height:54px;border-radius:17px;border:1px solid #b4b1ff88;background:linear-gradient(140deg,#403274eb,#15244bea);box-shadow:0 10px 35px #04031f77,inset 0 1px #ffffff66;font-size:28px;animation:floater-drift 6s ease-in-out infinite}
.home-refined .floater-controller{top:22%;right:-18px;transform:rotate(9deg)}
.home-refined .floater-trophy{top:-15px;left:30px;animation-delay:-3s;background:linear-gradient(140deg,#72542d,#3d2444);border-color:#ffd18499}
.home-refined .floater-spark{top:42%;left:-15px;width:38px;height:38px;font-size:23px;color:#8affee;border-color:#5effe888;animation-delay:-1.5s}
body.home-refined .stats-grid{background:linear-gradient(110deg,#14233ce6,#1c1d3fe6);border-color:#425389;box-shadow:0 8px 36px #08011e44}
body.home-refined .stat-card{border-color:#424e79}.home-refined .stat-card:nth-child(1) i{color:#61f8e0;text-shadow:0 0 18px #16d9c866}.home-refined .stat-card:nth-child(2) i{color:#b697ff;text-shadow:0 0 18px #9960ff66}.home-refined .stat-card:nth-child(3) i{color:#69caff;text-shadow:0 0 18px #36a9f866}.home-refined .stat-card:nth-child(4) i{color:#ffd483;text-shadow:0 0 18px #ffb64266}
.home-refined .play-path{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(110deg,#114857,#172a46 65%,#1c2543);border-color:#3bbfbb77;box-shadow:0 10px 27px #050d2277;transition:transform .25s,border-color .25s,box-shadow .25s}
.home-refined .play-path-arcade{background:linear-gradient(110deg,#45246d,#292750 65%,#22213f);border-color:#9e75f277}
.home-refined .play-path:hover{transform:translateY(-4px);box-shadow:0 12px 30px #0005,0 0 24px #5e8ffc22}
.home-refined .play-path small{color:#89f4df}.home-refined .play-path-arcade small{color:#d6b7ff}
.home-refined .path-icon{background:linear-gradient(145deg,#244a6588,#29557455);border-color:#70f1de44;box-shadow:0 0 20px #38e8d315;transition:transform .3s}
.home-refined .play-path-arcade .path-icon{background:#7254be33;border-color:#bb9cff55}
.home-refined .play-path:hover .path-icon{transform:rotate(-10deg) scale(1.1)}
.home-refined .collection-kicker{color:#77ffdf}.home-refined .arcade-games-section .collection-kicker{color:#c5a3ff}
body.home-refined .game-collection h2{display:flex;align-items:center;gap:12px}
.home-refined .game-collection h2:before{content:'';display:block;width:5px;height:28px;border-radius:5px;background:linear-gradient(#65ffe1,#4885ff);box-shadow:0 0 18px #63ffc455}
.home-refined .arcade-games-section h2:before{background:linear-gradient(#e2acff,#8a60ff);box-shadow:0 0 18px #ac6aff66}
.home-refined .home-game-tools{border-color:#3f537b;background:linear-gradient(110deg,#15273d,#1b2240)}
.home-refined .home-game-filters button.active{border-color:#74e4d3;background:linear-gradient(120deg,#1b746a,#244b69);color:#defff6;box-shadow:0 0 15px #4ce8d422}
.home-refined .arcade-games-section .home-game-filters button.active{border-color:#ab91f5;background:linear-gradient(120deg,#6845a1,#393166);color:#fff;box-shadow:0 0 15px #aa78ff22}
body.home-refined .game-collection .game-card{--card-glow:#49e8d1;isolation:isolate;border-color:#405878;background:linear-gradient(150deg,#182c42,#10182e);box-shadow:0 10px 25px #0004;transition:transform .25s,border-color .25s,box-shadow .25s}
.home-refined .game-collection .game-card:nth-child(3n+2){--card-glow:#b38cff;background:linear-gradient(150deg,#2c2546,#121a32);border-color:#5f5088}
.home-refined .game-collection .game-card:nth-child(3n+3){--card-glow:#73bfff;background:linear-gradient(150deg,#17324a,#111b31);border-color:#3d6284}
body.home-refined .game-collection .game-card:hover{transform:translateY(-6px);border-color:var(--card-glow);box-shadow:0 18px 38px #0006,0 0 22px color-mix(in srgb,var(--card-glow) 20%,transparent)}
.home-refined .game-card:after,.home-refined .play-path:after{content:'';display:block;position:absolute;inset:0;z-index:2;pointer-events:none;background:radial-gradient(280px circle at var(--hover-x,50%) var(--hover-y,20%),#8adcff17,transparent 80%);opacity:0;transition:opacity .3s}
.home-refined .game-card:hover:after,.home-refined .play-path:hover:after{opacity:1}
.home-refined .game-badge{background:#293554;border-color:#537096;color:#d8edff}
.home-refined .game-badge:first-child{border-color:#66cdb066;color:#a5ffe0;background:#18433c}
.home-refined .game-badge.credit{background:#584228;color:#ffdc9d;border-color:#c49f5e66}
body.home-refined .game-collection .game-button{background:linear-gradient(110deg,#155952,#243c69);border-color:#55cbb7;color:#bfffe7;transition:background .2s,box-shadow .2s}
body.home-refined .arcade-games-section .game-button{background:linear-gradient(110deg,#543584,#30366d);border-color:#a58aed;color:#eee4ff}
body.home-refined .game-collection .game-button:hover{background:linear-gradient(110deg,#197665,#2d5486);box-shadow:0 6px 20px #43cdbf33}
body.home-refined .arcade-games-section .game-button:hover{background:linear-gradient(110deg,#7247a9,#414995);box-shadow:0 6px 20px #aa68ff33}
.home-refined .game-button:after{transition:transform .2s}.home-refined .game-button:hover:after{transform:translateX(-4px)}
.home-refined .idea-invite{background:linear-gradient(110deg,#292149,#1a2d48 55%,#173e3d);border-color:#7f64bc;box-shadow:0 12px 30px #12052844}
.home-refined .idea-open{background:linear-gradient(110deg,#ffdb79,#ffa577);box-shadow:0 7px 24px #f7b55922}
.home-refined .home-about{background:linear-gradient(110deg,#152a3c,#211d3d);border-color:#455d86}.home-refined .about-orb{background:linear-gradient(135deg,#21556e,#52387f);border-color:#80e4f077;color:#89ffff;box-shadow:0 0 30px #6d81ff22}
@keyframes ambient-drift{to{transform:translate(9vw,7vh) scale(1.14)}}
@keyframes star-drift{50%{transform:translateY(-22px) rotate(18deg);opacity:1}}
@keyframes badge-spark{50%{opacity:.65;filter:brightness(1.35)}}
@keyframes cta-shimmer{0%,65%{left:-40%}90%,100%{left:130%}}
@keyframes floater-drift{50%{translate:0 -13px;rotate:7deg}}
@keyframes thumb-float{50%{transform:rotate(-3deg) translateY(-9px)}}
@keyframes cover-life{to{filter:saturate(1.18) brightness(1.07)}}
.home-refined.home-motion-paused *,.home-refined.home-motion-paused *:after{animation-play-state:paused!important}
@media(max-width:720px){.home-refined .ambient-orb{width:95vw;height:95vw;filter:blur(45px);opacity:.2}.home-refined .floater-controller{right:-8px;width:40px;height:40px;font-size:22px}.home-refined .floater-trophy{top:-10px;left:20px;width:40px;height:40px;font-size:22px}.home-refined .floater-spark{left:-7px;width:29px;height:29px;font-size:18px}.home-refined .star-one{left:5%}}
@media(hover:none){body.home-refined .game-collection .game-card:hover{transform:none}.home-refined .game-card:after{display:none}}
@media(prefers-reduced-motion:reduce){.home-refined .home-ambient *,.home-refined .hero *,.home-refined .home-quick a:after{animation:none!important;will-change:auto}.home-refined .game-card,.home-refined .play-path,.home-refined .path-icon{transition:none!important;transform:none!important}}
