/* Homepage game discovery: a single, spacious carousel and direct play actions. */
.home-showcase{max-width:1600px;margin:auto;padding:38px 5% 0}
.showcase-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:25px}
.showcase-heading h1{font-size:clamp(28px,3.5vw,49px);font-weight:800;letter-spacing:-1.8px;line-height:1.2}
.showcase-heading p{color:var(--muted);font-size:15px;margin:10px 0 0;line-height:1.6}
.showcase-browse{display:inline-flex;align-items:center;gap:16px;min-height:44px;font-size:12px;color:#c8d0c1;white-space:nowrap}
.showcase-browse span{color:var(--lime);font-size:21px}
#home-featured [hidden]{display:none!important}
.showcase-fallback{padding:70px 6%;min-height:400px;display:flex;flex-direction:column;align-items:start;justify-content:center;background:radial-gradient(ellipse at 90% 30%,#435b27,#17251a 65%);border:1px solid #3e4b32;border-radius:16px}
.showcase-fallback p:not(.eyebrow){color:#c8d0c1;font-size:14px;line-height:1.6;margin:20px 0 28px}
.featured-stage{position:relative;isolation:isolate;border:1px solid #46513d;border-radius:16px;overflow:hidden;background:#18221a}
.featured-slides{position:relative;min-height:420px;height:clamp(400px,32vw,520px)}
.featured-game{position:absolute;inset:0;isolation:isolate;display:flex;align-items:center;margin:0;background:radial-gradient(ellipse at 80% 25%,#475f2b,#17251a 70%)}
.featured-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 44%;z-index:-2}
.featured-game:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#08100fef 0%,#08100fd9 27%,#08100f5c 54%,#08100f00 78%),linear-gradient(0deg,#08100f85,transparent 45%)}
.featured-copy{padding:46px 74px 66px;width:60%;max-width:740px;min-width:0}
.featured-copy .eyebrow{font-size:10px;letter-spacing:1.8px;margin:0 0 18px;color:#edf4e7;display:flex;align-items:center;gap:10px}
.featured-copy .eyebrow:before{content:'';width:7px;height:7px;border-radius:50%;background:var(--lime);flex-shrink:0}
.featured-copy h2{font-size:clamp(36px,4.6vw,68px);font-weight:800;letter-spacing:-2.6px;line-height:1.08;margin:0;overflow-wrap:anywhere;text-wrap:balance}
.featured-summary{font-size:14px;line-height:1.75;color:#d7ddd3;margin:18px 0 26px;max-width:480px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.featured-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.featured-actions .button{gap:28px;border-radius:8px;min-height:50px;padding:15px 23px;font-size:13px}
.featured-details{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:13px 21px;border:1px solid #b1bfa355;border-radius:8px;font-size:12px;font-weight:700;background:#0c171544;backdrop-filter:blur(8px)}
.featured-details:hover{background:#243327;border-color:#c4f45b88}
.featured-arrow{position:absolute;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #d8e8cb45;border-radius:50%;background:#0c1615b3;color:#fff;font-size:34px;line-height:1;backdrop-filter:blur(8px);z-index:2;touch-action:manipulation}
.featured-arrow:hover{border-color:var(--lime);color:var(--lime);background:#16231bea}
.featured-previous{left:15px}.featured-next{right:15px}
.featured-controls{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:8px;background:#101915bc;border:1px solid #c8d5bb20;border-radius:30px;padding:0 7px;backdrop-filter:blur(12px);z-index:2}
.featured-dots{display:flex;align-items:center}
.featured-dot{display:grid;place-items:center;width:27px;height:40px;padding:0;border:0;background:none;touch-action:manipulation}
.featured-dot:before{content:'';width:7px;height:7px;border-radius:50%;background:#d9e0d680;transition:width .2s,background-color .2s}
.featured-dot[aria-pressed=true]:before{background:var(--lime);width:20px;border-radius:9px}
.featured-pause{border:0;border-left:1px solid #ffffff25;padding:0 8px;margin-left:2px;height:28px;min-width:36px;background:none;color:#fff;font-size:16px}
.featured-stage :focus-visible{outline-offset:-4px}
.featured-thumbnails{position:relative;display:flex;gap:16px;overflow-x:auto;scrollbar-width:thin;scrollbar-color:#4b5b3c transparent;padding:3px 3px 10px;margin:14px -3px 0;scroll-snap-type:x mandatory;overscroll-behavior-x:contain}
.featured-thumbnail{flex:0 0 calc((100% - 32px)/3);min-width:0;padding:0 0 5px;border:0;background:none;color:#a9b4a5;text-align:left;scroll-snap-align:start;touch-action:manipulation}
.featured-thumb-art{position:relative;display:block;height:100px;overflow:hidden;border:1px solid #3c4739;border-radius:10px;background:radial-gradient(ellipse,#485f2c,#19271b)}
.featured-thumb-art img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 40%;opacity:.65;transition:opacity .2s}
.featured-thumbnail[aria-pressed=true] .featured-thumb-art{border-color:var(--lime);box-shadow:inset 0 0 0 1px var(--lime),0 0 0 1px var(--lime)}
.featured-thumbnail[aria-pressed=true] img,.featured-thumbnail:hover img{opacity:1}
.featured-thumbnail[aria-pressed=true]{color:#f3f2e9}
.featured-thumb-title{display:block;font-size:12px;font-weight:700;padding:10px 3px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(min-width:1600px){.featured-copy{width:56%}}
@media(max-width:850px){.home-showcase{padding-top:30px}.showcase-heading h1{font-size:34px}.showcase-browse{display:none}.featured-copy{width:78%;padding-left:64px;padding-right:34px}.featured-copy h2{font-size:46px}.featured-game:before{background:linear-gradient(90deg,#08100ff2,#08100fb0 45%,#08100f22),linear-gradient(0deg,#08100f99,transparent)}.featured-slides{height:410px;min-height:0}}
@media(max-width:600px){.home-showcase{padding:26px 5% 0}.showcase-heading{margin-bottom:20px}.showcase-heading h1{font-size:30px;letter-spacing:-1.1px;max-width:340px}.showcase-heading p{font-size:13px;margin-top:9px}.featured-stage{border-radius:12px}.featured-slides{height:500px}.featured-game{align-items:flex-end}.featured-image{object-position:center top;height:68%}.featured-game:before{background:linear-gradient(0deg,#0b1513 7%,#0b1513f7 30%,#0b1513b8 50%,#0b151300 79%)}.featured-copy{width:100%;max-width:none;padding:0 22px 74px}.featured-copy .eyebrow{font-size:8px;margin-bottom:12px}.featured-copy h2{font-size:38px;letter-spacing:-1.6px}.featured-summary{font-size:13px;margin:12px 0 20px;-webkit-line-clamp:2;line-height:1.65}.featured-actions{gap:9px}.featured-actions .button{gap:22px;font-size:12px;padding:14px 18px}.featured-details{font-size:11px;padding:13px 15px}.featured-arrow{top:29%;width:38px;height:38px;font-size:29px}.featured-previous{left:10px}.featured-next{right:10px}.featured-thumbnails{gap:10px;margin-top:10px}.featured-thumbnail{flex-basis:calc((100% - 20px)/3)}.featured-thumb-art{height:66px;border-radius:7px}.featured-thumb-title{font-size:10px;padding-top:8px}.showcase-fallback{padding:36px 24px;min-height:380px}.showcase-fallback h2{font-size:36px}}
@media(prefers-reduced-motion:reduce){.featured-thumbnails{scroll-behavior:auto}.featured-dot:before,.featured-thumb-art img{transition:none}}

@media(prefers-reduced-motion:no-preference){.featured-game{animation:featured-reveal .3s ease-out}@keyframes featured-reveal{from{opacity:.55}to{opacity:1}}}

/* Keep header order stable when the account and language controls load asynchronously. */
body:has(.home-showcase)>header>.brand{order:0;flex-shrink:0}
body:has(.home-showcase)>header:has(.header-actions)>.site-nav{order:1}
body:has(.home-showcase)>header:has(.header-actions)>.language-switch{order:2}
body:has(.home-showcase)>header>.header-actions{order:3}
@media(max-width:900px){body:has(.home-showcase)>header:has(.header-actions)>.site-nav{order:3}body:has(.home-showcase)>header:has(.header-actions)>.language-switch{order:4}body:has(.home-showcase)>header>.header-actions{order:1;margin-left:auto}}
@media(max-width:600px){body:has(.home-showcase)>header .user-account{order:1}body:has(.home-showcase)>header .visitor-counter{order:2}body:has(.home-showcase)>header:has(.header-actions)>.site-nav{order:3}body:has(.home-showcase)>header:has(.header-actions)>.language-switch{order:4}}
