/* Shared featured-game hero for both homepages. */
.hero--featured {
    height: auto;
    min-height: min(860px, 100svh);
    padding: 120px 0 40px;
    background: radial-gradient(ellipse at 85% 35%, #7162c9 0%, transparent 55%),
        linear-gradient(125deg, #211842, #4e4095 70%, #6552b0);
}
.hero--featured::before { display: none; }
.hero__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    align-items: center;
    gap: 72px;
}
.hero--featured .hero__content { max-width: 640px; }
.hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #e2dcff;
}
.hero__game-icon { width: 44px; height: 44px; border-radius: 12px; }
.hero--featured .hero__title {
    font-size: clamp(48px, 5.8vw, 76px);
    letter-spacing: -0.045em;
    line-height: 1.05;
    margin-bottom: 24px;
    text-shadow: none;
}
.hero--featured .hero__subtitle {
    max-width: 530px;
    font-size: clamp(18px, 2vw, 21px);
    line-height: 1.7;
    color: #e7e3f5;
    margin-bottom: 26px;
}
.hero__features {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 10px;
    margin: 0 0 32px;
}
.hero__features li {
    padding: 7px 13px;
    border: 1px solid #ffffff36;
    border-radius: 30px;
    font-size: 13px;
    color: #eeeaff;
    background: #ffffff08;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero--featured .btn { min-height: 52px; text-align: center; }
.hero--featured .hero__download { background: white; color: #3c2b79; }
.hero--featured .hero__roadmap {
    background: transparent;
    color: white;
    box-shadow: none;
    border: 1px solid #ffffff70;
}
.hero--featured .hero__roadmap:hover { background: #ffffff14; }
.hero--featured a:focus-visible { outline: 3px solid #baf3ff; outline-offset: 5px; }
.hero__availability { margin-top: 18px; font-size: 13px; color: #d5cee9; }
/* A five-card deck keeps every screenshot within reach without auto rotation. */
.hero__layout { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; }
.showcase { position: relative; z-index: 2; min-width: 0; text-align: center; }
.showcase__heading { margin-bottom: 20px; color: #e8e2ff; font-size: 13px; letter-spacing: .06em; }
.showcase__stage { display: flex; gap: 16px; overflow-x: auto; padding: 10px 0; scroll-snap-type: x mandatory; }
.showcase__card { display: block; flex: 0 0 260px; scroll-snap-align: center; border-radius: 16px; overflow: hidden; background: #eeedf5; }
.showcase__card img { display: block; width: 100%; height: auto; user-select: none; }
.showcase.is-enhanced .showcase__stage { display: block; position: relative; height: 422px; overflow: visible; touch-action: pan-y; }
.showcase.is-enhanced .showcase__card {
    position: absolute;
    width: 230px;
    top: 8px;
    left: 50%;
    transform-origin: 50% 85%;
    transform: translateX(calc(-50% + var(--offset) * 62px)) rotate(calc(var(--offset) * 7deg)) scale(calc(1 - var(--depth) * .09));
    z-index: calc(5 - var(--depth));
    filter: brightness(calc(1 - var(--depth) * .13));
    box-shadow: 0 18px 48px #130b3c55;
    transition: transform .4s ease, filter .4s ease, box-shadow .4s ease;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.showcase.is-enhanced .showcase__card.is-current { box-shadow: 0 24px 60px #130b3c88, 0 0 0 1px #ffffff88; }
.showcase__card:focus-visible { outline: 3px solid #baf3ff; outline-offset: 4px; }
.showcase__navigation { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 10px 0 14px; }
.showcase button { font: inherit; cursor: pointer; color: white; }
.showcase__arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #ffffff50; background: #ffffff0d; font-size: 20px !important; }
.showcase__arrow:hover { background: #ffffff25; }
.showcase__status { font-size: 13px; color: #e8e2ff; min-width: 150px; }
.showcase__topics { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
.showcase__topics button { border: 1px solid #ffffff40; border-radius: 20px; padding: 9px 12px; background: #ffffff08; font-size: 12px; min-height: 40px; }
.showcase__topics button[aria-pressed="true"] { background: white; color: #3c2b79; border-color: white; }
.showcase__hint { font-size: 11px; color: #d5cee9; margin-top: 14px; }
.showcase button:focus-visible { outline: 3px solid #baf3ff; outline-offset: 4px; }
.showcase [hidden] { display: none; }
body.gallery-open { overflow: hidden; }
.showcase__dialog { margin: auto; padding: 0; border: 1px solid #ffffff30; border-radius: 18px; background: #181324; color: white; width: min(94vw, 640px); max-height: 94vh; max-height: 94svh; overflow-y: auto; overscroll-behavior: contain; }
.showcase__dialog::backdrop { background: #0b071de6; backdrop-filter: blur(8px); }
.showcase__dialog-bar { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; background: #181324; z-index: 1; font-size: 14px; }
.showcase__dialog button { border: 1px solid #ffffff40; background: transparent; border-radius: 50%; width: 44px; height: 44px; font-size: 24px; flex-shrink: 0; }
.showcase__dialog img { display: block; width: 100%; height: auto; }
.showcase__dialog-navigation { position: sticky; bottom: 0; display: flex; justify-content: center; gap: 24px; padding: 12px; background: #181324; }
@media (prefers-reduced-motion: reduce) {
    .showcase.is-enhanced .showcase__card { transition: none; }
}
@media (max-width: 992px) {
    .hero__layout { gap: 36px; }
    .hero--featured .hero__title { font-size: 54px; }
    .showcase.is-enhanced .showcase__stage { height: 390px; }
    .showcase.is-enhanced .showcase__card { width: 210px; transform: translateX(calc(-50% + var(--offset) * 40px)) rotate(calc(var(--offset) * 6deg)) scale(calc(1 - var(--depth) * .1)); }
}
@media (max-width: 768px) {
    .hero--featured { padding: 124px 0 48px; min-height: auto; }
    .hero__layout { grid-template-columns: minmax(0, 1fr); gap: 38px; }
    .hero--featured .hero__content { text-align: center; max-width: 560px; margin: auto; }
    .hero__eyebrow, .hero__features, .hero__actions { justify-content: center; }
    .hero__eyebrow { margin-bottom: 22px; font-size: 11px; }
    .hero--featured .hero__title { font-size: clamp(42px, 10vw, 64px); }
    .hero--featured .hero__subtitle { font-size: 18px; margin-left: auto; margin-right: auto; }
    .showcase { width: 100%; max-width: 480px; margin: auto; }
    .showcase.is-enhanced .showcase__stage { height: 450px; }
    .showcase.is-enhanced .showcase__card { width: 242px; transform: translateX(calc(-50% + var(--offset) * 40px)) rotate(calc(var(--offset) * 6deg)) scale(calc(1 - var(--depth) * .1)); }
}
@media (max-width: 400px) {
    .showcase.is-enhanced .showcase__stage { height: 404px; }
    .showcase.is-enhanced .showcase__card { width: 218px; transform: translateX(calc(-50% + var(--offset) * 29px)) rotate(calc(var(--offset) * 5deg)) scale(calc(1 - var(--depth) * .12)); }
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; }
    .hero__features { gap: 7px; }
    .hero__features li { padding: 6px 10px; font-size: 12px; }
}
