/* =========================================================
   APEX GAMES STORE V3
   September 2026
========================================================= */

:root {
    --store-bg: #07111d;
    --store-bg-deep: #050c14;

    --store-surface: #0d1c2a;
    --store-surface-2: #102536;
    --store-surface-3: #173247;
    --store-surface-4: #1b3a52;

    --store-border: #20394d;
    --store-border-light: #34566d;

    --store-text: #ffffff;
    --store-muted: #91a6b7;
    --store-muted-2: #6f8495;

    --store-blue: #168cff;
    --store-blue-light: #42aaff;

    --store-content: 1320px;

    --store-radius: 4px;
    --category-radius: 16px;
}


/* =========================================================
   RESET / BASE
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    min-width: 0;
    min-height: 100vh;

    overflow-x: hidden;

    background: var(--store-bg);

    color: var(--store-text);

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;
}

button,
input {
    font: inherit;
}

button {
    color: inherit;
}

img,
video {
    max-width: 100%;
}

[hidden] {
    display: none !important;
}


/* =========================================================
   STORE PAGE
========================================================= */

.store-page {
    position: relative;

    min-height: 100vh;

    padding:
        18px
        24px
        76px;

    overflow: hidden;

    background:
        linear-gradient(
            180deg,
            #0b1e2e 0,
            #07131f 440px,
            var(--store-bg) 900px
        );
}

.store-background {
    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        radial-gradient(
            circle at 50% 0,
            rgba(27, 85, 126, .17),
            transparent 38%
        );
}

.store-shell {
    position: relative;
    z-index: 1;

    width: min(
        var(--store-content),
        100%
    );

    margin: 0 auto;
}


/* =========================================================
   STORE SUB-NAV
========================================================= */

.store-nav {
    position: relative;

    min-height: 52px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 18px;

    margin-bottom: 34px;
    padding: 6px;

    background: #102c43;

    border: 1px solid #234962;
}

.store-nav-links {
    min-width: 0;

    display: flex;
    align-items: center;

    gap: 2px;

    overflow-x: auto;

    scrollbar-width: none;
}

.store-nav-links::-webkit-scrollbar {
    display: none;
}

.store-nav-links a,
.store-nav-links button {
    appearance: none;

    min-height: 38px;

    display: inline-flex;
    align-items: center;

    padding: 0 15px;

    flex: 0 0 auto;

    border: 0;

    background: transparent;

    color: #a9bdcc;

    font-size: 12px;
    font-weight: 700;

    text-decoration: none;

    cursor: pointer;

    transition:
        color .16s ease,
        background-color .16s ease;
}

.store-nav-links a:hover,
.store-nav-links button:hover {
    background: rgba(255,255,255,.055);

    color: #fff;
}

.store-nav-links a.active {
    background: var(--store-blue);

    color: #fff;
}


/* =========================================================
   SEARCH
========================================================= */

.store-search {
    width: 290px;
    height: 38px;

    flex: 0 0 auto;

    display: flex;
    align-items: center;

    gap: 8px;

    padding: 0 10px;

    background: #071724;

    border: 1px solid #31536a;
}

.store-search > span {
    color: #6eb6e9;

    font-size: 17px;
}

.store-search input {
    min-width: 0;
    width: 100%;

    padding: 0;

    border: 0;
    outline: 0;

    background: transparent;

    color: #fff;

    font-size: 12px;
}

.store-search input::placeholder {
    color: #708697;
}

.clear-search {
    appearance: none;

    width: 25px;
    height: 25px;

    padding: 0;

    border: 0;

    background: transparent;

    color: #91a5b4;

    font-size: 18px;

    cursor: pointer;
}

.clear-search:hover {
    color: #fff;
}


/* =========================================================
   SECTIONS
========================================================= */

.store-section {
    position: relative;

    margin-bottom: 56px;

    scroll-margin-top: 90px;
}

.section-heading {
    min-height: 48px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 22px;

    margin-bottom: 16px;
}

.section-label {
    display: block;

    margin-bottom: 6px;

    color: var(--store-blue-light);

    font-size: 10px;
    font-weight: 900;

    letter-spacing: .14em;
}

.section-heading h1,
.section-heading h2 {
    margin: 0;

    color: #fff;

    line-height: 1.08;
}

.section-heading h1 {
    font-size: 29px;
}

.section-heading h2 {
    font-size: 23px;
}

.section-subtitle {
    margin:
        7px
        0
        0;

    color: var(--store-muted);

    font-size: 11px;
}

.section-action {
    appearance: none;

    min-height: 32px;

    padding: 0 13px;

    border: 1px solid #38566b;

    background: #112638;

    color: #b8c9d5;

    font-size: 10px;
    font-weight: 750;

    cursor: pointer;
}

.section-action:hover {
    background: #1b3447;

    color: #fff;
}


/* =========================================================
   GENERIC CAROUSEL
========================================================= */

.store-carousel {
    position: relative;
}

.carousel-arrow {
    appearance: none;

    position: absolute;
    z-index: 20;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid rgba(255,255,255,.12);

    background: rgba(5, 14, 23, .88);

    color: rgba(255,255,255,.84);

    cursor: pointer;

    transition:
        background-color .15s ease,
        color .15s ease,
        border-color .15s ease;
}

.carousel-arrow:hover {
    background: #162c3e;

    border-color: #476277;

    color: #fff;
}

.carousel-arrow:disabled {
    opacity: .25;

    cursor: default;
}

.carousel-arrow:focus-visible {
    outline:
        2px solid var(--store-blue);

    outline-offset: 2px;
}

.carousel-arrow span {
    display: block;

    line-height: 1;
}


/* =========================================================
   FEATURED V3
========================================================= */

.featured-section {
    margin-bottom: 62px;
}

.featured-heading {
    margin-bottom: 17px;
}

.featured-carousel {
    isolation: isolate;
}

.featured-viewport {
    width: 100%;

    overflow: hidden;

    background: #091622;

    border: 1px solid #29465b;
}

.featured-track {
    display: flex;

    width: 100%;

    transition:
        transform .65s
        cubic-bezier(.22,.61,.36,1);

    will-change: transform;
}


/* =========================================================
   FEATURED SLIDE
========================================================= */

.featured-slide {
    flex: 0 0 100%;

    width: 100%;
    min-width: 100%;
    min-height: 420px;

    display: grid;

    grid-template-columns:
        minmax(0, 1.8fr)
        365px;

    color: #fff;

    text-decoration: none;
}

.featured-slide-art {
    position: relative;

    min-width: 0;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 40%,
            #214b68,
            #0a1c2b 65%,
            #07121c
        );
}

.featured-slide-artwork {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .45s ease;
}

.featured-slide:hover
.featured-slide-artwork {
    transform: scale(1.025);
}


/* fallback art */

.featured-fallback {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle,
            #194564,
            #081621 68%
        );
}

.featured-fallback img {
    width: 115px;
    height: 115px;

    object-fit: contain;
}


/* featured status */

.featured-badge {
    position: absolute;
    left: 24px;
    top: 24px;

    z-index: 3;

    padding:
        6px
        9px;

    background: rgba(5,16,26,.84);

    border: 1px solid rgba(255,255,255,.15);

    color: #fff;

    font-size: 9px;
    font-weight: 850;

    letter-spacing: .08em;
}


/* =========================================================
   FEATURED INFO PANEL
========================================================= */

.featured-slide-info {
    min-width: 0;

    display: flex;
    flex-direction: column;

    padding:
        27px
        26px
        23px;

    background:
        linear-gradient(
            180deg,
            #17354b,
            #10283b
        );
}

.featured-slide-info h2 {
    margin:
        0
        0
        10px;

    font-size: 26px;
    line-height: 1.12;
}

.featured-slide-info > p {
    margin: 0;

    color: #adc0ce;

    font-size: 12px;
    line-height: 1.55;
}

.featured-mini-shots {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 7px;

    margin-top: 20px;
}

.featured-mini-shot {
    position: relative;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #091a28;

    border: 1px solid #294a60;
}

.featured-mini-shot img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.featured-tags {
    display: flex;
    flex-wrap: wrap;

    gap: 5px;

    margin-top: 14px;
}

.featured-tags span {
    padding:
        4px
        6px;

    background: #254359;

    color: #c0cfda;

    font-size: 8px;
}

.featured-meta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 12px;

    margin-top: auto;
    padding-top: 18px;
}

.featured-status {
    color: #9db0be;

    font-size: 10px;
}

.featured-price {
    padding:
        8px
        10px;

    background: #091a29;

    color: #fff;

    font-size: 12px;
    font-weight: 800;
}


/* =========================================================
   FEATURED ARROWS
========================================================= */

.featured-arrow {
    top: 50%;

    width: 48px;
    height: 82px;

    transform:
        translateY(-50%);

    border-color: rgba(255,255,255,.08);

    background: rgba(4,12,20,.83);
}

.featured-arrow span {
    font-size: 46px;
    font-weight: 300;
}

.featured-arrow.carousel-arrow-left {
    left: -16px;
}

.featured-arrow.carousel-arrow-right {
    right: -16px;
}


/* =========================================================
   FEATURED PAGINATION
========================================================= */

.featured-pagination {
    min-height: 23px;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    gap: 6px;
}

.featured-pagination button {
    appearance: none;

    width: 25px;
    height: 5px;

    padding: 0;

    border: 0;

    background: #29465a;

    cursor: pointer;

    transition:
        width .2s ease,
        background-color .2s ease;
}

.featured-pagination button:hover {
    background: #577184;
}

.featured-pagination button.active {
    width: 40px;

    background: #d9e7f0;
}


/* =========================================================
   HORIZONTAL ROW SYSTEM
========================================================= */

.row-carousel,
.category-carousel {
    margin:
        0
        -1px;
}

.horizontal-row {
    display: flex;

    gap: 12px;

    width: 100%;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-behavior: smooth;

    scrollbar-width: none;

    scroll-snap-type:
        x proximity;

    padding: 1px;
}

.horizontal-row::-webkit-scrollbar {
    display: none;
}

.horizontal-row > * {
    scroll-snap-align: start;
}


/* =========================================================
   ROW ARROWS
========================================================= */

.row-arrow {
    top: 50%;

    width: 42px;
    height: 72px;

    transform:
        translateY(-50%);

    background: rgba(5,14,23,.9);
}

.row-arrow span {
    font-size: 39px;
    font-weight: 300;
}

.row-arrow.carousel-arrow-left {
    left: -17px;
}

.row-arrow.carousel-arrow-right {
    right: -17px;
}


/* =========================================================
   V3 GAME CARD

   IMPORTANT ARCHITECTURE:

   card
     media window
       artwork surface  <-- THIS zooms
       video preview    <-- overlays artwork

   The card NEVER scales.
========================================================= */

.store-game-card {
    position: relative;

    flex:
        0
        0
        calc(
            (100% - 48px) / 5
        );

    min-width: 0;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    background: #102638;

    border: 1px solid #203e53;

    color: #fff;

    text-decoration: none;

    transform: none;

    box-shadow: none;

    transition:
        border-color .16s ease;
}

.store-game-card:hover {
    border-color: #4b6679;

    transform: none;

    box-shadow: none;
}


/* =========================================================
   MEDIA WINDOW
========================================================= */

.store-game-media {
    position: relative;

    width: 100%;

    aspect-ratio:
        16 / 9;

    overflow: hidden;

    flex: 0 0 auto;

    background: #081520;
}


/* =========================================================
   ARTWORK SURFACE

   THIS is what scales on hover.
========================================================= */

.store-game-artwork {
    position: absolute;
    inset: 0;

    z-index: 1;

    overflow: hidden;

    background:
        radial-gradient(
            circle at center,
            #1a4868,
            #081622 70%
        );

    transform:
        scale(1);

    transform-origin:
        center center;

    transition:
        transform .3s ease;
}

.store-game-artwork > img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transform: none;
}


/* fallback when no full thumbnail exists */

.store-game-artwork.is-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-game-artwork.is-fallback > img {
    width: 54px;
    height: 54px;

    object-fit: contain;
}


/*
   ONLY the complete artwork surface zooms.

   Card does not move.
   Logo does not independently scale.
*/

@media (hover: hover) and (pointer: fine) {

    .store-game-card:hover
    .store-game-artwork {
        transform:
            scale(1.065);
    }

}


/* =========================================================
   VIDEO PREVIEW
========================================================= */

.store-game-preview {
    position: absolute;
    inset: 0;

    z-index: 2;

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    opacity: 0;

    pointer-events: none;

    transition:
        opacity .2s ease;
}

.store-game-card.previewing
.store-game-preview {
    opacity: 1;
}


/* =========================================================
   GAME CARD BODY
========================================================= */

.store-game-body {
    min-height: 87px;

    display: flex;
    flex-direction: column;

    padding:
        9px
        9px
        8px;
}

.store-game-title {
    overflow: hidden;

    margin-bottom: 7px;

    color: #fff;

    font-size: 12px;
    font-weight: 760;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.store-game-tags {
    min-height: 18px;

    display: flex;
    flex-wrap: wrap;

    gap: 4px;

    overflow: hidden;
}

.store-game-tags span {
    padding:
        3px
        5px;

    background: #1c3a50;

    color: #9fb4c3;

    font-size: 7px;
}

.store-game-price {
    min-height: 21px;

    display: flex;
    align-items: flex-end;
    justify-content: flex-end;

    gap: 6px;

    margin-top: auto;
    padding-top: 8px;

    color: #fff;

    font-size: 10px;
}

.store-game-price strong {
    font-size: 10px;
}

.store-game-price .old-price {
    color: #728797;

    font-size: 8px;

    text-decoration: line-through;
}

.store-game-price .discount {
    padding:
        3px
        5px;

    background: #72a82c;

    color: #081006;

    font-size: 8px;
    font-weight: 900;
}

.store-game-price .coming-soon {
    color: #9eb0be;

    font-size: 9px;
}


/* =========================================================
   DEALS & EVENTS
========================================================= */

.deals-row {
    align-items: stretch;
}

.deal-card {
    position: relative;

    flex:
        0
        0
        calc(
            (100% - 24px) / 3
        );

    min-width: 280px;

    overflow: hidden;

    background: #102a3e;

    border: 1px solid #29485e;

    color: #fff;

    text-decoration: none;
}

.deal-card-media {
    position: relative;

    aspect-ratio:
        16 / 9;

    overflow: hidden;

    background: #081723;
}

.deal-card-media img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .3s ease;
}

@media (hover: hover) and (pointer: fine) {

    .deal-card:hover
    .deal-card-media img {
        transform:
            scale(1.045);
    }

}

.deal-type {
    position: absolute;
    left: 10px;
    top: 10px;

    z-index: 3;

    padding:
        5px
        7px;

    background: #168cff;

    color: #fff;

    font-size: 8px;
    font-weight: 900;

    letter-spacing: .07em;
}

.deal-card-body {
    min-height: 78px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 12px;

    padding: 11px;
}

.deal-card-info {
    min-width: 0;
}

.deal-card-info strong {
    display: block;

    overflow: hidden;

    margin-bottom: 5px;

    font-size: 13px;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.deal-card-info span {
    color: #91a8b9;

    font-size: 9px;
}

.deal-pricing {
    flex: 0 0 auto;

    display: flex;
    align-items: center;

    gap: 5px;
}

.deal-discount {
    padding:
        5px
        7px;

    background: #78ad2d;

    color: #071006;

    font-size: 10px;
    font-weight: 900;
}


/* =========================================================
   CATEGORY V3
========================================================= */

.category-section {
    margin-top: 4px;
}

.category-row {
    gap: 14px;

    padding:
        2px
        1px;
}

.category-card {
    position: relative;

    flex:
        0
        0
        calc(
            (100% - 56px) / 5
        );

    min-width: 210px;

    aspect-ratio:
        1.58 / 1;

    overflow: hidden;

    border:
        1px solid #2c485c;

    border-radius:
        var(--category-radius);

    background:
        #17374d;

    color: #111;

    text-decoration: none;

    cursor: pointer;
}

.category-card-background {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            135deg,
            #1b5f8e,
            #132e43
        );

    transform:
        scale(1);

    transition:
        transform .3s ease,
        filter .3s ease;
}

.category-card:nth-child(4n + 2)
.category-card-background {
    background:
        linear-gradient(
            135deg,
            #425a86,
            #172b42
        );
}

.category-card:nth-child(4n + 3)
.category-card-background {
    background:
        linear-gradient(
            135deg,
            #277075,
            #122f3d
        );
}

.category-card:nth-child(4n + 4)
.category-card-background {
    background:
        linear-gradient(
            135deg,
            #64446d,
            #182d42
        );
}

.category-card::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.03),
            rgba(0,0,0,.25)
        );

    pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {

    .category-card:hover
    .category-card-background {
        transform:
            scale(1.045);

        filter:
            brightness(1.08);
    }

}


/* =========================================================
   PERMANENT WHITE CATEGORY PILL
========================================================= */

.category-name {
    position: absolute;
    z-index: 3;

    left: 50%;
    top: 50%;

    max-width: calc(100% - 28px);

    transform:
        translate(-50%, -50%);

    padding:
        8px
        13px;

    overflow: hidden;

    border-radius:
        999px;

    background: #fff;

    color: #111;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: .055em;

    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;

    box-shadow:
        0
        2px
        9px
        rgba(0,0,0,.17);
}


/* =========================================================
   STUDIO CARDS
========================================================= */

.studio-row {
    gap: 12px;
}

.studio-card {
    flex:
        0
        0
        calc(
            (100% - 48px) / 5
        );

    min-width: 205px;

    overflow: hidden;

    background: #10283b;

    border: 1px solid #28465b;

    color: #fff;

    text-decoration: none;
}

.studio-card-art {
    aspect-ratio:
        16 / 9;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        #081824;
}

.studio-card-art img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.studio-card-body {
    min-height: 73px;

    display: flex;
    align-items: center;

    gap: 9px;

    padding: 9px;
}

.studio-logo {
    width: 42px;
    height: 42px;

    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background: #081621;

    border: 1px solid #365268;
}

.studio-logo img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

.studio-name {
    min-width: 0;

    overflow: hidden;

    font-size: 11px;
    font-weight: 750;

    text-overflow: ellipsis;
    white-space: nowrap;
}


/* =========================================================
   BROWSE GRID
========================================================= */

.game-card-grid {
    display: grid;

    grid-template-columns:
        repeat(
            5,
            minmax(0, 1fr)
        );

    gap: 12px;
}


/* Grid cards don't need fixed carousel width */

.game-card-grid
.store-game-card {
    width: 100%;

    flex: none;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.no-games {
    padding:
        38px
        24px;

    background: #0e2232;

    border: 1px solid #29475d;

    text-align: center;
}

.no-games h3 {
    margin:
        0
        0
        7px;

    font-size: 17px;
}

.no-games p {
    margin:
        0
        0
        15px;

    color: var(--store-muted);

    font-size: 11px;
}

.no-games button {
    appearance: none;

    min-height: 34px;

    padding:
        0
        13px;

    border:
        1px solid #3c5b71;

    background: #18364c;

    color: #fff;

    font-size: 10px;
    font-weight: 750;

    cursor: pointer;
}

.no-games button:hover {
    background: #21445e;
}


/* =========================================================
   APX SECTION
========================================================= */

.apx-section {
    padding:
        22px;

    background:
        linear-gradient(
            135deg,
            rgba(17,66,96,.42),
            rgba(7,17,29,.15)
        );

    border:
        1px solid #24485f;
}


/* =========================================================
   STORE BOTTOM
========================================================= */

.store-bottom {
    min-height: 160px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 32px;

    padding:
        30px
        32px;

    background:
        #102c43;

    border:
        1px solid #294b62;
}

.store-bottom h2 {
    margin:
        0
        0
        8px;

    font-size: 23px;
}

.store-bottom p {
    max-width: 610px;

    margin: 0;

    color: #9cafbd;

    font-size: 11px;
    line-height: 1.55;
}

.store-bottom a {
    flex: 0 0 auto;

    padding:
        10px
        14px;

    border:
        1px solid #456176;

    color: #fff;

    font-size: 10px;
    font-weight: 750;

    text-decoration: none;
}

.store-bottom a:hover {
    background:
        rgba(255,255,255,.06);
}


/* =========================================================
   FOOTER
========================================================= */

.store-footer {
    min-height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding:
        0
        max(
            24px,
            calc(
                (100vw - var(--store-content))
                / 2
            )
        );

    background:
        var(--store-bg-deep);

    border-top:
        1px solid #192e3e;

    color: #718596;

    font-size: 9px;
}

.footer-brand {
    display: flex;
    align-items: center;

    gap: 9px;
}

.footer-brand img {
    width: 29px;
    height: 29px;

    object-fit: contain;
}

.footer-brand strong {
    color: #afbfca;

    font-size: 10px;

    letter-spacing: .12em;
}


/* =========================================================
   SEARCH STATE
========================================================= */

.store-page.searching
.store-section:not(.browse-section) {
    display: none;
}

.store-page.searching
.browse-section {
    margin-top: 10px;
}


/* =========================================================
   FOCUS
========================================================= */

.store-game-card:focus-visible,
.category-card:focus-visible,
.deal-card:focus-visible,
.studio-card:focus-visible {
    outline:
        2px solid var(--store-blue);

    outline-offset:
        2px;
}


/* =========================================================
   DESKTOP: 1100 - 1320
========================================================= */

@media (max-width: 1200px) {

    .featured-slide {
        grid-template-columns:
            minmax(0, 1.55fr)
            330px;

        min-height: 390px;
    }

    .store-game-card,
    .studio-card {
        flex-basis:
            calc(
                (100% - 36px) / 4
            );
    }

    .game-card-grid {
        grid-template-columns:
            repeat(
                4,
                minmax(0,1fr)
            );
    }

    .category-card {
        flex-basis:
            calc(
                (100% - 42px) / 4
            );
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .store-page {
        padding:
            14px
            15px
            62px;
    }

    .store-nav {
        align-items: stretch;
        flex-direction: column;

        gap: 7px;
    }

    .store-search {
        width: 100%;
    }

    .featured-slide {
        grid-template-columns:
            1fr;

        min-height: 0;
    }

    .featured-slide-art {
        aspect-ratio:
            16 / 9;
    }

    .featured-slide-info {
        min-height: 250px;
    }

    .featured-arrow {
        width: 42px;
        height: 70px;
    }

    .featured-arrow.carousel-arrow-left {
        left: -7px;
    }

    .featured-arrow.carousel-arrow-right {
        right: -7px;
    }

    .row-arrow.carousel-arrow-left {
        left: -7px;
    }

    .row-arrow.carousel-arrow-right {
        right: -7px;
    }

    .store-game-card,
    .studio-card {
        flex-basis:
            calc(
                (100% - 24px) / 3
            );
    }

    .game-card-grid {
        grid-template-columns:
            repeat(
                3,
                minmax(0,1fr)
            );
    }

    .category-card {
        flex-basis:
            calc(
                (100% - 28px) / 3
            );
    }

    .deal-card {
        flex-basis:
            calc(
                (100% - 12px) / 2
            );
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .store-page {
        padding:
            11px
            10px
            48px;
    }

    .store-section {
        margin-bottom: 43px;
    }

    .section-heading {
        align-items: flex-start;
    }

    .section-heading h1 {
        font-size: 23px;
    }

    .section-heading h2 {
        font-size: 20px;
    }

    .section-action {
        display: none;
    }

    .featured-slide-info {
        min-height: 225px;

        padding: 19px;
    }

    .featured-slide-info h2 {
        font-size: 21px;
    }

    .featured-mini-shots {
        display: none;
    }

    .featured-arrow {
        width: 36px;
        height: 61px;
    }

    .featured-arrow span {
        font-size: 35px;
    }

    .row-arrow {
        width: 35px;
        height: 62px;
    }

    .row-arrow span {
        font-size: 32px;
    }

    .store-game-card,
    .studio-card {
        flex-basis:
            calc(
                (100% - 12px) / 2
            );
    }

    .game-card-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0,1fr)
            );

        gap: 8px;
    }

    .category-card {
        flex-basis:
            calc(
                (100% - 14px) / 2
            );

        min-width: 180px;
    }

    .deal-card {
        flex-basis:
            82%;

        min-width: 250px;
    }

    .store-bottom {
        align-items: flex-start;
        flex-direction: column;

        padding:
            24px
            20px;
    }

    .store-footer {
        align-items: flex-start;
        flex-direction: column;

        padding:
            22px
            14px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .store-game-card {
        flex-basis:
            82%;
    }

    .game-card-grid {
        grid-template-columns:
            1fr
            1fr;
    }

    .store-game-body {
        min-height: 79px;

        padding: 7px;
    }

    .store-game-title {
        font-size: 11px;
    }

    .store-game-tags span:nth-child(n+3) {
        display: none;
    }

    .category-card {
        flex-basis: 78%;
    }

}


/* =========================================================
   TOUCH DEVICES

   No hover zoom. Cards remain static.
========================================================= */

@media (hover: none),
(pointer: coarse) {

    .store-game-artwork,
    .featured-slide-artwork,
    .deal-card-media img,
    .category-card-background {
        transform:
            none !important;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .featured-track,
    .horizontal-row {
        scroll-behavior: auto;
    }

    .featured-track,
    .featured-slide-artwork,
    .store-game-artwork,
    .store-game-preview,
    .deal-card-media img,
    .category-card-background {
        transition: none;
    }

    .store-game-card:hover
    .store-game-artwork,

    .featured-slide:hover
    .featured-slide-artwork,

    .deal-card:hover
    .deal-card-media img,

    .category-card:hover
    .category-card-background {
        transform: none;
    }

}
