/* Xeno Games: big clickable game rows with a looping preview video, a black fade on the left,
   and a glowing outline when selected that fades out toward the right. */
@font-face{font-family:'Oxanium';src:url('fonts/Oxanium-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}

body.xeno-games{--lime:#E0FF4F;--paper:#EAF2F2;--slide:cubic-bezier(.16,1,.3,1);--wp--style--root--padding-right:0px;--wp--style--root--padding-left:0px}

/* The list of rows */
body.xeno-games .xeno-games{overflow-x:clip;display:flex;flex-direction:column;gap:clamp(1.25rem,3.5vh,2.25rem);max-width:none!important;margin:0!important;padding:clamp(1.5rem,5vh,3rem) 0 clamp(3rem,10vh,6rem)}
body.xeno-games .xeno-games>*{margin:0!important}

/* One game row. It does not clip, so the glow can reach outside it; the video is clipped on its own. */
body.xeno-games .xeno-game{position:relative;isolation:isolate;overflow:visible!important;width:100%;max-width:none!important;min-height:clamp(17rem,26vw,34rem)!important;padding:0!important;background:transparent}
body.xeno-games .xeno-game .wp-block-cover__video-background{clip-path:inset(0);transition:transform 900ms var(--slide)}
body.xeno-games .xeno-game:hover .wp-block-cover__video-background{transform:scale(1.04)}
body.xeno-games .xeno-game .wp-block-cover__inner-container{width:min(36rem,58%);margin:0;padding:clamp(1.25rem,4vw,3.5rem) clamp(1.25rem,4vw,3.5rem) clamp(1.25rem,4vw,3.5rem) clamp(1rem,4vw,4rem)}
body.xeno-games .xeno-game .wp-block-image{margin:0 0 .9rem;width:auto;max-width:100%}
body.xeno-games .xeno-game .wp-block-image img{display:block;width:min(26rem,100%);max-width:100%;height:auto}
body.xeno-games .xeno-game .wp-block-heading{margin:0 0 .6rem;font-family:'Clepto',monospace;font-weight:400;font-size:clamp(2rem,6vmin,5rem);line-height:.95;letter-spacing:.02em;text-transform:uppercase;color:var(--lime)}
body.xeno-games .xeno-game p{margin:0;max-width:30rem;text-transform:none;font-family:'Oxanium',sans-serif;font-size:clamp(.95rem,1.4vw,1.15rem);line-height:1.5;color:var(--paper)}
body.xeno-games .xeno-game a{color:inherit;text-decoration:none}

/* The whole row is clickable (the script opens the row's link); the link itself stays for keyboards and screen readers */
body.xeno-games .xeno-game{cursor:pointer}
body.xeno-games .xeno-game a:focus-visible{outline:none}

/* Wide screens: the video fades out toward the right into the sky behind the page */
@media (min-width:701px){
body.xeno-games .xeno-game .wp-block-cover__video-background{-webkit-mask-image:linear-gradient(90deg,#000 0,#000 58%,transparent 100%);mask-image:linear-gradient(90deg,#000 0,#000 58%,transparent 100%)}
}

/* Selected (hovered or focused): a lime outline that fades out toward the right, with a glow that follows it */
body.xeno-games .xeno-game::before{content:'';position:absolute;inset:0;z-index:2;box-sizing:border-box;border:2px solid transparent;border-image:linear-gradient(90deg,var(--lime) 0,var(--lime) 42%,rgba(224,255,79,0) 90%) 1;filter:drop-shadow(0 0 8px rgba(224,255,79,.8)) drop-shadow(0 0 24px rgba(224,255,79,.45));opacity:0;transition:opacity 280ms ease;pointer-events:none}
body.xeno-games .xeno-game:hover::before,
body.xeno-games .xeno-game:has(a:focus-visible)::before{opacity:1}

/* Phones: the fade rises from the bottom and the text sits underneath the video */
@media (max-width:700px){
body.xeno-games .xeno-game{align-items:flex-end}
body.xeno-games .xeno-game .wp-block-cover__background{background:linear-gradient(0deg,rgba(0,0,0,.96) 0,rgba(0,0,0,.78) 45%,rgba(0,0,0,0) 90%)!important}
body.xeno-games .xeno-game .wp-block-cover__inner-container{width:100%}
}

@media (prefers-reduced-motion:reduce){
body.xeno-games .xeno-game .wp-block-cover__video-background,body.xeno-games .xeno-game::before{transition:none}
body.xeno-games .xeno-game:hover .wp-block-cover__video-background{transform:none}
}

/* Closing section: heading and the silver holographic itch.io button */
body.xeno-games .wp-block-post-content>.xeno-games-end{max-width:none!important;margin:0!important;padding:clamp(4rem,12vh,8rem) clamp(1rem,4vw,4rem) clamp(5rem,14vh,9rem)!important;text-align:center;position:relative;z-index:1}
body.xeno-games .xeno-games-end h2{background:none!important;padding:0!important;max-width:none;margin:0 0 clamp(1.5rem,4vh,2.5rem);font-family:'Clepto',monospace;font-weight:400;font-size:clamp(1.8rem,5.5vw,4rem);line-height:1;letter-spacing:.03em;text-transform:uppercase;color:var(--paper);text-shadow:0 0 .4em rgba(0,0,0,.6)}
body.xeno-games .xeno-games-end .wp-block-buttons{justify-content:center}
body.xeno-games .xeno-holo .wp-block-button__link{position:relative;overflow:hidden;isolation:isolate;display:inline-flex;align-items:center;gap:.75em;padding:.95em 2.1em;border:0;border-radius:999px;font-family:'Oxanium',sans-serif;font-size:clamp(1rem,2.2vw,1.35rem);font-weight:700;letter-spacing:.08em;text-transform:uppercase;text-decoration:none;color:#0c1b1e;background:linear-gradient(115deg,#f4f6f9 0%,#b9c0c8 16%,#ffffff 30%,#8f98a3 46%,#eef1f5 60%,#bcc3cb 76%,#fff 100%);background-size:260% 260%;animation:xeno-silver 7s ease-in-out infinite;box-shadow:inset 0 0 0 1px rgba(255,255,255,.75),inset 0 -6px 14px rgba(70,80,95,.25),0 0 26px rgba(170,200,255,.35),0 8px 30px rgba(0,0,0,.5);transition:transform .25s ease,box-shadow .25s ease}
body.xeno-games .xeno-holo .wp-block-button__link::before{content:'';width:1.5em;height:1.5em;flex:none;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20d%3D%22M71.92%2034.77C50.2%2047.67%207.4%2096.84%207%20109.7v21.34c0%2027.06%2025.29%2050.84%2048.25%2050.84%2027.57%200%2050.54-22.85%2050.54-50%200%2027.12%2022.18%2050%2049.76%2050s49-22.85%2049-50c0%2027.12%2023.59%2050%2051.16%2050h.5c27.57%200%2051.16-22.85%2051.16-50%200%2027.12%2021.47%2050%2049%2050s49.76-22.85%2049.76-50c0%2027.12%2023%2050%2050.54%2050%2023%200%2048.25-23.78%2048.25-50.84v-21.34c-.4-12.9-43.2-62.07-64.92-75C372.6%2032.4%20325.8%2032%20256%2032S91.14%2033.1%2071.92%2034.77zm132.3%20134.4c-22%2038.4-77.9%2038.71-99.85%20.25-13.17%2023.14-43.17%2032.07-56%2027.66-3.87%2040.15-13.67%20237.1%2017.73%20269.1%2080%2018.67%20302.1%2018.12%20379.8%200%2031.65-32.27%2021.32-232%2017.75-269.1-12.92%204.44-42.88-4.6-56-27.66-22%2038.52-77.85%2038.1-99.85-.24-7.1%2012.49-23.05%2028.94-51.76%2028.94a57.54%2057.54%200%200%201%20-51.75-28.94zm-41.58%2053.77c16.47%200%2031.09%200%2049.22%2019.78a436.9%20436.9%200%200%201%2088.18%200C318.2%20223%20332.9%20223%20349.3%20223c52.33%200%2065.22%2077.53%2083.87%20144.4%2017.26%2062.15-5.52%2063.67-33.95%2063.73-42.15-1.57-65.49-32.18-65.49-62.79-39.25%206.43-101.9%208.79-155.6%200%200%2030.61-23.34%2061.22-65.49%2062.79-28.42-.06-51.2-1.58-33.94-63.73%2018.67-67%2031.56-144.4%2083.88-144.4zM256%20270.8s-44.38%2040.77-52.35%2055.21l29-1.17v25.32c0%201.55%2021.34%20.16%2023.33%20.16%2011.65%20.54%2023.31%201%2023.31-.16v-25.28l29%201.17c-8-14.48-52.35-55.24-52.35-55.24z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20512%20512%22%3E%3Cpath%20d%3D%22M71.92%2034.77C50.2%2047.67%207.4%2096.84%207%20109.7v21.34c0%2027.06%2025.29%2050.84%2048.25%2050.84%2027.57%200%2050.54-22.85%2050.54-50%200%2027.12%2022.18%2050%2049.76%2050s49-22.85%2049-50c0%2027.12%2023.59%2050%2051.16%2050h.5c27.57%200%2051.16-22.85%2051.16-50%200%2027.12%2021.47%2050%2049%2050s49.76-22.85%2049.76-50c0%2027.12%2023%2050%2050.54%2050%2023%200%2048.25-23.78%2048.25-50.84v-21.34c-.4-12.9-43.2-62.07-64.92-75C372.6%2032.4%20325.8%2032%20256%2032S91.14%2033.1%2071.92%2034.77zm132.3%20134.4c-22%2038.4-77.9%2038.71-99.85%20.25-13.17%2023.14-43.17%2032.07-56%2027.66-3.87%2040.15-13.67%20237.1%2017.73%20269.1%2080%2018.67%20302.1%2018.12%20379.8%200%2031.65-32.27%2021.32-232%2017.75-269.1-12.92%204.44-42.88-4.6-56-27.66-22%2038.52-77.85%2038.1-99.85-.24-7.1%2012.49-23.05%2028.94-51.76%2028.94a57.54%2057.54%200%200%201%20-51.75-28.94zm-41.58%2053.77c16.47%200%2031.09%200%2049.22%2019.78a436.9%20436.9%200%200%201%2088.18%200C318.2%20223%20332.9%20223%20349.3%20223c52.33%200%2065.22%2077.53%2083.87%20144.4%2017.26%2062.15-5.52%2063.67-33.95%2063.73-42.15-1.57-65.49-32.18-65.49-62.79-39.25%206.43-101.9%208.79-155.6%200%200%2030.61-23.34%2061.22-65.49%2062.79-28.42-.06-51.2-1.58-33.94-63.73%2018.67-67%2031.56-144.4%2083.88-144.4zM256%20270.8s-44.38%2040.77-52.35%2055.21l29-1.17v25.32c0%201.55%2021.34%20.16%2023.33%20.16%2011.65%20.54%2023.31%201%2023.31-.16v-25.28l29%201.17c-8-14.48-52.35-55.24-52.35-55.24z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
body.xeno-games .xeno-holo .wp-block-button__link::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(105deg,transparent 15%,rgba(255,46,204,.55) 30%,rgba(255,200,90,.5) 40%,rgba(224,255,79,.55) 50%,rgba(0,225,255,.6) 60%,rgba(130,100,255,.55) 70%,transparent 85%);background-size:320% 100%;background-position:0% 0;mix-blend-mode:color;opacity:.9;animation:xeno-holo-shift 5s linear infinite}
body.xeno-games .xeno-holo .wp-block-button__link:hover,body.xeno-games .xeno-holo .wp-block-button__link:focus-visible{transform:translateY(-3px) scale(1.04);box-shadow:inset 0 0 0 1px #fff,inset 0 -6px 14px rgba(70,80,95,.2),0 0 40px rgba(190,215,255,.7),0 0 70px rgba(255,46,204,.35),0 12px 36px rgba(0,0,0,.55)}
@keyframes xeno-silver{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
@keyframes xeno-holo-shift{from{background-position:0% 0}to{background-position:320% 0}}
@media (prefers-reduced-motion:reduce){body.xeno-games .xeno-holo .wp-block-button__link,body.xeno-games .xeno-holo .wp-block-button__link::after{animation:none}}
