/* ZYNEX homepage — a CSO-inspired game portal. */
.home-page{--hero-header-height:98px;--hero-nav-height:0px;--bg:#eef1f7;--panel:#fff;--text:#29313c;--muted:#697482;--accent:#ffc51b;--line:#d7dce5;--gold:linear-gradient(120deg,#a97922,#fbd774 48%,#e5b031);background:#eef1f7;color:var(--text)}
.home-page .container{width:min(1240px,calc(100% - 64px))}
.home-page :is(a,button):focus-visible{outline:3px solid #cd9800;outline-offset:4px}
.home-page ::selection{background:#ffce35;color:#252c34}
.home-page .utility-bar{background:#f7f8fa;color:#616b77;border-bottom:1px solid #dfe3e9}
.home-page .utility-inner{min-height:31px;letter-spacing:1px}
.home-page .utility-inner i{color:#9a7d32}
.home-page #main{margin-top:calc(0px - var(--hero-header-height) - var(--hero-nav-height))}
.home-page .site-header{height:var(--hero-header-height);background:linear-gradient(110deg,#17212caa,#111923b3);border-bottom:1px solid #ffffff24;color:#fff;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.home-page .header-inner{gap:24px}
.home-page .brand-name{color:#fff;font-size:32px;letter-spacing:.8px;font-style:italic}
.home-page .brand-name b{padding:0;background:none;color:#f4ca60;vertical-align:3px;font-style:normal}
.home-page .brand-sub{color:#c1cbd8;font-size:12px;letter-spacing:1.35px}
.home-page .nav-link:hover,.home-page .nav-link.active{color:#ffd05a}
.home-page .nav-link.active:after{background:#f2c447;border-radius:0;height:2px}


.home-page .mobile-nav{position:relative;z-index:5;background:#111923b3;border-bottom:1px solid #ffffff24;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
.home-page .mobile-nav .nav-link{color:#e3eaf3}
.home-page .mobile-nav .nav-link.active{color:#ffd15d}
.hero-server{display:flex;flex-direction:column;justify-content:flex-end;min-height:calc(clamp(550px,45vw,760px) + var(--hero-header-height) + var(--hero-nav-height));padding-top:calc(var(--hero-header-height) + var(--hero-nav-height));width:100%;margin:0;border:0;border-radius:0;background:#161d25;box-shadow:none;isolation:isolate}
.hero-server::before,.hero-server::after{display:none}
.hero-server .hero-accessible-title{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.hero-visual{position:absolute;inset:-16px;z-index:-1;pointer-events:none;transform:perspective(1400px) translate3d(var(--art-x,0px),var(--art-y,0px),0) rotateX(var(--art-rx,0deg)) rotateY(var(--art-ry,0deg)) scale(1.025);transform-origin:60% 45%}
.hero-server .hero-art{position:absolute;inset:0;z-index:0;margin:0;clip-path:none;border-radius:0;background-size:cover;background-position:center 42%;filter:saturate(1.05);opacity:1}
.hero-server .hero-shade{display:block;position:absolute;inset:0;z-index:1;background:linear-gradient(0deg,#12151f88,transparent 32%),linear-gradient(90deg,#18191c15,transparent 60%)}
.hero-light{position:absolute;inset:0;z-index:2;background:radial-gradient(ellipse at 76% 20%,#ffd39724,transparent 40%);mix-blend-mode:screen}
.art-running .hero-visual{will-change:transform}
.hero-motion-toggle{position:absolute;z-index:2;top:calc(var(--hero-header-height) + var(--hero-nav-height) + 22px);right:max(24px,calc((100% - 1240px)/2));display:grid;place-items:center;width:42px;height:42px;border:1px solid #dfc89077;border-radius:0;background:#161d258c;color:#f7e4b8;cursor:pointer;backdrop-filter:blur(10px)}
.hero-motion-toggle[hidden]{display:none}.hero-motion-toggle:hover{background:#32312ae6}.hero-motion-toggle svg{width:19px;height:19px;stroke:currentColor;stroke-width:2;fill:none}.hero-motion-toggle .motion-play-icon{display:none;fill:currentColor;stroke:none}.art-paused .motion-pause-icon{display:none}.art-paused .motion-play-icon{display:block}
.hero-services{background:#11192399;border-top:1px solid #e1c78a40;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);text-shadow:0 1px 5px #0008}
.hero-dock{display:grid;grid-template-columns:minmax(0,2.7fr) minmax(0,3.4fr);min-height:106px}
.hero-dock>*{min-width:0}
.hero-dock>*+*{border-left:1px solid #ffffff12}



.hero-connect-panel{display:flex;flex-direction:column;justify-content:center;scroll-margin-top:20px}
.hero-address-row{display:flex;gap:12px;align-items:center;padding:19px 24px}
.hero-address-text{min-width:0;flex:1}
.hero-address-text>span{display:block;margin-bottom:7px;font-size:.875rem;line-height:1.3;color:#d1d9e4}
.hero-address-text code{display:block;font:500 1rem/1.4 var(--body);color:#fff1d1;overflow-wrap:anywhere}
.hero-address-text code.is-ready{font-family:Consolas,monospace}
.hero-copy-address{display:grid;place-items:center;width:40px;height:40px;flex:0 0 40px;border:1px solid #c3a46955;background:#ffffff08;border-radius:0;color:#e8c678;cursor:pointer}
.hero-copy-address:hover:not(:disabled){background:#e9c86d22;border-color:#efca65}.hero-copy-address:disabled{opacity:.4;cursor:default}.hero-copy-address svg{width:19px;height:19px;stroke:currentColor;stroke-width:1.6;fill:none}
.hero-connect-feedback{font-size:.875rem;line-height:1.5;color:#f1d69d;margin:0;padding:0 24px 15px}.hero-connect-feedback:empty{display:none}
.hero-dock button:focus-visible{outline-offset:-5px}
.home-page .news-section{padding:46px 0 54px;background:#eef1f7;border-bottom:1px solid #d5dce6}
.home-page .news-heading{align-items:center;margin-bottom:24px;gap:30px}
.home-page .news-heading>div{display:flex;align-items:center;gap:16px}
.home-page .news-heading .eyebrow{max-width:125px;padding:9px 12px;background:#ffc91d;color:#2e333b;font-size:12px;line-height:1.3;font-weight:800;letter-spacing:.7px;margin:0}
.home-page .news-heading .accent-line{display:none}
.home-page .news-heading h2{margin:0;font-size:28px;line-height:1.1;letter-spacing:0;color:#2d3541}
.home-page .news-heading h2 br{display:none}
.home-page .news-heading h2 span{display:inline-block;margin-left:7px;background:none;color:#707c8c}
.home-page .news-heading p{font-size:14px;line-height:1.55;max-width:330px;color:#748090;margin:0}
.news-portal{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:28px;align-items:start}
.news-feature{min-width:0}
.home-page .news-track{margin:0;padding:0;gap:24px}
.home-page .news-card{flex:0 0 100%}
.home-page .news-card-button{position:relative;min-height:380px;border:0;border-radius:0;background:#1f2833;box-shadow:none;transform:none;color:#fff;justify-content:flex-end}
.home-page .news-card-button:hover{box-shadow:none;border:0;transform:none}
.home-page .news-card-visual{position:absolute;inset:0;height:100%}
.home-page .news-card-visual:after{background:linear-gradient(0deg,#101822fa 0%,#101822b8 20%,transparent 75%)}
.home-page .news-card-visual img{object-position:70% center}
.home-page .news-category{left:22px;top:20px;border:0;border-radius:0;background:#f4c538;color:#2e323b;padding:7px 11px;font-size:13px;backdrop-filter:none}
.home-page .news-card-number{right:22px;top:21px;bottom:auto;color:#fff9}
.home-page .news-card-copy{position:relative;z-index:1;flex:0;padding:24px 28px}
.home-page .news-card-copy time{color:#dbd1b8}
.home-page .news-card-copy h3{font:800 clamp(24px,2.4vw,34px)/1.12 var(--display);margin:10px 0;color:#fff;text-shadow:0 2px 12px #0007}
.home-page .news-card-copy p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0 0 16px;color:#d4dae3;font-size:16px;line-height:1.5}
.home-page .news-read{border:0;padding:0;color:#ffd263;font-size:14px}
.news-summary{min-width:0}
.news-summary-heading{display:flex;align-items:center;justify-content:space-between;background:#242c36;color:#aab4c2;min-height:54px;padding-right:22px;font-size:12px;letter-spacing:2px}
.news-summary-heading h3{align-self:stretch;display:flex;align-items:center;margin:0;padding:12px 23px;background:#ffc91d;color:#2b3139;font:700 1.125rem/1.2 var(--display);letter-spacing:.3px}
.news-summary-item{display:flex;gap:20px;align-items:center;justify-content:space-between;width:100%;min-height:56px;padding:15px 4px;border:0;border-bottom:1px solid #d7dee8;background:transparent;color:#4a5565;text-align:left;cursor:pointer;font:400 .875rem/1.5 var(--body)}
.news-summary-item strong{font-weight:500;min-width:0;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:anywhere}
.news-summary-item:first-child{min-height:88px;font-size:1rem;color:#273241}
.news-summary-item:first-child strong{font-weight:700}
.news-summary-item time{flex-shrink:0;color:#8791a0;font-size:12px;font-variant-numeric:tabular-nums}
.news-summary-item:hover{color:#8d660b;background:#fff9e4}
.home-page .news-footer{margin-top:20px;align-items:center}
.home-page .news-footer p{color:#7c8796;font-size:13px}
.home-page .news-arrow{border-radius:0;border-color:#cfd6e1;background:#e0e5ee;color:#354353;width:40px;height:36px}
.home-page .news-arrow:hover:not(:disabled){background:#ffcf36;color:#292f36}
.home-page .news-position{color:#788390;letter-spacing:1px}
.home-page .news-more{border:0;border-radius:0;background:#d9e0eb;color:#414e60}
.home-page .news-more:hover{background:#ffcf36}
.home-page .news-message{color:#637183;font-size:14px}
.home-page .news-is-empty .news-portal{display:none}
.home-page .news-is-empty .news-message{background:#e1e6ef;border-left:3px solid #f1c330;padding:30px}
.home-page .news-reader{border-radius:0;border-color:#b9c2cf;background:#f5f6f9;color:#27303c}
.home-page .news-reader::backdrop{background:#151e2bba}
.home-page .news-close{border-radius:0;background:#f5c83b;color:#252d36;border:0}
.home-page .news-meta{color:#8f701e}
.home-page .news-body p{color:#5c6878}
.home-page .site-footer{background:#242c36;border-top:1px solid #3b444f}
.home-page .footer-brand{color:#f3d48a}
.home-page .footer-brand span,.home-page .footer-inner p{color:#919eae}
.home-page .back-top{color:#d7dee7}
.home-page .back-top span{color:#f0ca65}
@media(max-width:1240px){.home-page{--hero-nav-height:45px}.home-page .mobile-nav{height:var(--hero-nav-height)}.home-page .desktop-nav{display:none}.hero-address-row{padding-inline:18px}}
@media(max-width:900px){.news-portal{gap:20px;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}.home-page .news-card-button{min-height:380px}.home-page .news-heading p{display:none}.hero-dock{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr)}.hero-server{min-height:calc(650px + var(--hero-header-height) + var(--hero-nav-height))}.hero-server .hero-art{background-position:72% center}.hero-motion-toggle{right:20px}}
@media(max-width:700px){.home-page{--hero-header-height:78px}.home-page .container{width:calc(100% - 32px)}.home-page .brand-name{font-size:28px}.hero-server{min-height:calc(615px + var(--hero-header-height) + var(--hero-nav-height))}.hero-dock{width:100%!important;grid-template-columns:1fr}.hero-address-row{padding:17px 20px}.hero-server .hero-art{background-position:77% center}.hero-server .hero-shade{background:linear-gradient(0deg,#151c2599,transparent 45%)}.hero-services{background:#111923ad}.home-page .news-section{padding-block:32px 40px}.home-page .news-heading>div{gap:12px}.home-page .news-heading .eyebrow{max-width:108px;font-size:12px;padding:8px}.home-page .news-heading h2{font-size:23px}.home-page .news-heading h2 span{display:block;margin:3px 0 0}.news-portal{grid-template-columns:1fr;gap:22px}.home-page .news-card-button{min-height:350px}.home-page .news-card-copy{padding:23px}.home-page .news-card-copy h3{font-size:27px}.home-page .news-footer{gap:14px;flex-wrap:wrap}.home-page .news-footer p{max-width:130px}.news-summary-item:first-child{min-height:68px}.news-summary-heading{min-height:46px}.news-summary-item{min-height:52px}.home-page .footer-inner{padding-block:28px}}
@media(prefers-reduced-motion:reduce){.hero-server:not(.art-enabled) .hero-visual{transform:none;will-change:auto}}
@media(max-width:400px){.home-page .utility-inner{letter-spacing:.25px}.home-page .utility-inner i{margin-inline:8px}.hero-address-row{padding-inline:14px}}

/* Static character artwork in the original full-width banner. */
.hero-server .hero-visual{--hero-image:url('/assets/banners/luna-arcana.webp');--hero-clearance:calc(var(--hero-header-height) + var(--hero-nav-height));inset:0;transform:none}
/* The soft backdrop continues behind the glass header; the sharp art starts below it. */
.hero-server .hero-visual::before{content:'';position:absolute;inset:-20px;background-image:var(--hero-image);background-size:cover;background-position:center;filter:blur(16px);opacity:.7}
.hero-server.has-art .hero-art{inset:var(--hero-clearance) 0 0;background-image:var(--hero-image);background-position:center top;transition:none}

/* Keep the character between the navigation and service panels on phones. */
@media(max-width:900px){
  .home-page #main{margin-top:0}
  .home-page .hero-server{min-height:0;padding-top:0}
  .hero-server .hero-visual{--hero-clearance:0px;position:relative;inset:auto;z-index:0;width:100%;aspect-ratio:4/3;flex:none}
  .hero-server .hero-visual::before{display:none}
  .hero-server .hero-art{background-size:auto 100%;background-position:center;background-repeat:no-repeat}
  .hero-server .hero-art[data-character=kai]{background-position:32% center}
  .hero-server .hero-shade{background:linear-gradient(0deg,#151c2526,transparent 22%)}
}
@media(max-width:700px){
  .hero-server .hero-visual{aspect-ratio:1}
}

/* One current article occupies the former shortcut cells. */
.hero-latest-news{display:flex;flex-direction:column;justify-content:center;min-width:0}
.hero-latest-button{display:grid;grid-template-columns:92px minmax(0,1fr) 24px;gap:20px;align-items:center;width:100%;min-height:106px;padding:16px 24px;border:0;border-radius:0;background:transparent;color:#f4f6fa;text-align:left;text-shadow:inherit;cursor:pointer}
.hero-latest-button:hover{background:#ffffff08}
.hero-latest-button[aria-busy=true]{cursor:progress}
.hero-latest-image{display:block;width:92px;height:70px;object-fit:cover;border:1px solid #ffffff20}
.hero-latest-copy{min-width:0}
.hero-latest-meta{display:flex;flex-wrap:wrap;gap:4px 14px;align-items:center;margin-bottom:7px;font:400 12px/1.4 var(--body);color:#c7d0df}
.hero-latest-label{color:var(--accent);font-weight:500}
.hero-latest-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;font:600 19px/1.25 var(--display)}
.hero-latest-arrow{font:400 25px/1 var(--body);color:var(--accent)}
.hero-news-message{padding:0 24px;margin:12px 0;font:400 14px/1.5 var(--body);color:#d1d9e4}
.hero-news-message:empty{display:none}
.hero-news-retry{margin:16px 24px 0;padding:9px 14px;border:1px solid #ffffff38;background:#ffffff08;color:#fff;font:500 14px/1.4 var(--body);cursor:pointer}
@media(max-width:700px){
  .hero-dock .hero-latest-news{border-left:0;border-top:1px solid #ffffff20}
  .hero-latest-button{grid-template-columns:76px minmax(0,1fr) 20px;gap:14px;min-height:106px;padding:16px 20px}
  .hero-latest-image{width:76px;height:66px}
  .hero-latest-title{font-size:18px}
  .hero-latest-meta{font-size:11px;gap:3px 10px}
  .hero-news-message{padding-inline:20px}
}
