.rvg-catalogue {
    --rvg-ink: #11121f;
    --rvg-muted: var(--wp--preset--color--muted, #636777);
    --rvg-line: var(--wp--preset--color--border, #dde0e8);
    --rvg-paper: var(--wp--preset--color--surface, #ffffff);
    --rvg-card: var(--wp--preset--color--surface, #ffffff);
    --rvg-purple: var(--wp--preset--color--primary, #4b2ed1);
    --rvg-purple-dark: var(--wp--preset--color--primary, #37209f);
    --rvg-accent: var(--rvg-purple);
    --rvg-success: #137a58;
    color: var(--rvg-ink);
    background: var(--rvg-paper);
    border: 1px solid var(--rvg-line);
    border-radius: clamp(1rem, 2vw, 1.75rem);
    box-sizing: border-box;
    container-type: inline-size;
    font-family: inherit;
    margin-block: 2rem;
    overflow: hidden;
    padding: clamp(1.25rem, 3vw, 3rem);
    max-width: 100%;
    min-width: 0;
    width: 100%;
}

.rvg-catalogue *,
.rvg-catalogue *::before,
.rvg-catalogue *::after {
    box-sizing: border-box;
}

.rvg-catalogue__header {
    align-items: end;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.rvg-catalogue__header h2 {
    color: var(--rvg-ink);
    font-size: clamp(2rem, 4vw, 3.75rem);
    letter-spacing: -0.055em;
    line-height: 0.98;
    margin: 0;
    max-width: 15ch;
}

.rvg-catalogue__header > div > p:not(.rvg-eyebrow) {
    color: var(--rvg-muted);
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    line-height: 1.55;
    margin: 1rem 0 0;
    max-width: 62ch;
}

.rvg-eyebrow {
    color: var(--rvg-purple-dark);
    font-size: 0.76rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    margin: 0 0 0.75rem;
    text-transform: uppercase;
}

.rvg-connection {
    align-items: center;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--rvg-line);
    border-radius: 999px;
    color: var(--rvg-muted);
    display: flex;
    font-size: 0.83rem;
    font-weight: 700;
    gap: 0.55rem;
    padding: 0.65rem 0.85rem;
    white-space: nowrap;
}

.rvg-connection span {
    background: var(--rvg-success);
    border: 3px solid rgba(19, 122, 88, 0.14);
    border-radius: 50%;
    box-sizing: content-box;
    height: 0.5rem;
    width: 0.5rem;
}

.rvg-filters {
    align-items: end;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid var(--rvg-line);
    border-radius: 1rem;
    display: grid;
    gap: 0.9rem;
    grid-template-columns: minmax(14rem, 1.5fr) repeat(3, minmax(9rem, 0.7fr)) auto;
    margin-bottom: 1.25rem;
    padding: 0.85rem;
}

.rvg-filters label {
    color: var(--rvg-muted);
    display: grid;
    font-size: 0.75rem;
    font-weight: 700;
    gap: 0.38rem;
}

.rvg-filters input,
.rvg-filters select {
    appearance: none;
    background-color: #fff;
    border: 1px solid #c7cad3;
    border-radius: 0.65rem;
    color: var(--rvg-ink);
    font: inherit;
    font-size: 0.93rem;
    min-height: 2.8rem;
    padding: 0.65rem 0.75rem;
    width: 100%;
}

.rvg-filters select {
    background-image: linear-gradient(45deg, transparent 50%, #585d6c 50%), linear-gradient(135deg, #585d6c 50%, transparent 50%);
    background-position: calc(100% - 15px) 50%, calc(100% - 10px) 50%;
    background-repeat: no-repeat;
    background-size: 5px 5px, 5px 5px;
    padding-right: 2rem;
}

.rvg-filters input:focus,
.rvg-filters select:focus,
.rvg-launch-button:focus-visible {
    outline: 3px solid rgba(75, 46, 209, 0.36);
    outline-offset: 2px;
}

.rvg-results {
    color: var(--rvg-muted);
    font-size: 0.83rem;
    margin: 0 0 0.75rem;
    white-space: nowrap;
}

.rvg-results strong {
    color: var(--rvg-ink);
}

.rvg-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}

.rvg-catalogue--columns-2 .rvg-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.rvg-catalogue--columns-5 .rvg-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.rvg-card {
    margin: 0;
    min-width: 0;
}

.rvg-card[hidden] {
    display: none;
}

.rvg-card article {
    background: var(--rvg-card);
    border: 1px solid var(--rvg-line);
    border-radius: 1rem;
    box-shadow: 0 14px 38px rgba(20, 21, 36, 0.06);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.rvg-card article:hover {
    border-color: #b7b1dd;
    box-shadow: 0 20px 46px rgba(20, 21, 36, 0.11);
    transform: translateY(-3px);
}

.rvg-card__art {
    align-items: center;
    aspect-ratio: 16 / 9;
    display: flex;
    isolation: isolate;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.rvg-card__art::before,
.rvg-card__art::after {
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    content: "";
    position: absolute;
}

.rvg-card__art::before {
    height: 11rem;
    right: -3rem;
    top: -4rem;
    width: 11rem;
}

.rvg-card__art::after {
    bottom: -3rem;
    height: 8rem;
    left: -2rem;
    width: 8rem;
}

.rvg-card__art--violet { background: linear-gradient(140deg, #22134f, #6948f4 62%, #a899ff); }
.rvg-card__art--blue { background: linear-gradient(140deg, #071b3b, #1464bb 62%, #7ec8ff); }
.rvg-card__art--ember { background: linear-gradient(140deg, #3f1015, #d24d2f 62%, #ffc66f); }
.rvg-card__art--mint { background: linear-gradient(140deg, #073b3a, #1a8c76 62%, #99f2cf); }
.rvg-card__art--aurora { background: linear-gradient(140deg, #25114f, #8e3dd0 46%, #29b7a5 78%, #bdf870); }
.rvg-card__art--rose { background: linear-gradient(140deg, #351126, #9d315e 58%, #f2a7bd); }

.rvg-card__art img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.rvg-card__art strong {
    color: #fff;
    font-size: clamp(2.1rem, 5vw, 4.6rem);
    font-weight: 800;
    letter-spacing: -0.08em;
    position: relative;
    text-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
    z-index: 2;
}

.rvg-card__orbit {
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    height: 62%;
    position: absolute;
    transform: rotate(-18deg);
    width: 38%;
}

.rvg-card__orbit::before {
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 50%;
    content: "";
    inset: 18% -35%;
    position: absolute;
    transform: rotate(62deg);
}

.rvg-card__preview-label {
    background: rgba(12, 13, 26, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    bottom: 0.75rem;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 750;
    left: 0.75rem;
    padding: 0.35rem 0.55rem;
    position: absolute;
    text-transform: uppercase;
    z-index: 3;
}

.rvg-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1rem;
}

.rvg-card__provider {
    color: var(--rvg-purple-dark);
    font-size: 0.75rem;
    font-weight: 750;
    letter-spacing: 0.04em;
    margin: 0 0 0.3rem;
    text-transform: uppercase;
}

.rvg-card h3 {
    color: var(--rvg-ink);
    font-size: clamp(1.2rem, 2vw, 1.55rem);
    letter-spacing: -0.035em;
    line-height: 1.08;
    margin: 0;
    overflow-wrap: anywhere;
}

.rvg-card h3 a {
    color: inherit;
    text-decoration: none;
}

.rvg-card h3 a:hover,
.rvg-card h3 a:focus-visible {
    color: var(--rvg-purple-dark);
    text-decoration: underline;
}

.rvg-card__summary {
    color: var(--rvg-muted);
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0.7rem 0 0;
}

.rvg-card__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 1rem 0;
}

.rvg-card__facts div {
    background: #f1f1f5;
    border-radius: 0.5rem;
    display: inline-flex;
    font-size: 0.72rem;
    gap: 0.25rem;
    padding: 0.4rem 0.5rem;
}

.rvg-card__facts dt {
    color: var(--rvg-muted);
}

.rvg-card__facts dd {
    color: var(--rvg-ink);
    font-weight: 700;
    margin: 0;
}

.rvg-launch-button {
    align-items: center;
    background: var(--rvg-ink);
    border: 1px solid var(--rvg-ink);
    border-radius: 0.7rem;
    color: #fff;
    cursor: pointer;
    display: flex;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 750;
    justify-content: space-between;
    margin-top: auto;
    min-height: 2.85rem;
    padding: 0.68rem 0.8rem;
    text-align: left;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
    text-decoration: none;
    width: 100%;
}

.rvg-launch-button:hover {
    background: var(--rvg-purple);
    border-color: var(--rvg-purple);
    color: #fff;
}

.rvg-launch-button:visited {
    color: #fff;
}

.rvg-launch-button:disabled {
    background: #ececf1;
    border-color: #d7d8df;
    color: #747887;
    cursor: not-allowed;
}

.rvg-no-results,
.rvg-empty {
    background: #fff;
    border: 1px dashed #bfc2cc;
    border-radius: 1rem;
    color: var(--rvg-muted);
    padding: 2rem;
    text-align: center;
}

.rvg-empty h3 {
    color: var(--rvg-ink);
    margin-top: 0;
}

.rvg-disclaimer {
    color: var(--rvg-muted);
    font-size: 0.75rem;
    line-height: 1.5;
    margin: 1rem 0 0;
}

.rvg-spinner {
    animation: rvg-spin 800ms linear infinite;
    border: 3px solid #d4cef4;
    border-radius: 50%;
    border-top-color: var(--rvg-purple);
    flex: 0 0 auto;
    height: 1.4rem;
    width: 1.4rem;
}


.rvg-catalogue__footer {
    margin: 1.25rem 0 0;
    text-align: right;
}

.rvg-catalogue__footer a {
    color: var(--rvg-purple-dark);
    font-weight: 800;
    text-decoration: none;
}

.rvg-catalogue__footer a:hover,
.rvg-catalogue__footer a:focus-visible {
    text-decoration: underline;
}

.rvg-catalogue--compact .rvg-card__body {
    padding: 0.8rem;
}

.rvg-catalogue--compact .rvg-card h3 {
    font-size: clamp(1rem, 1.7vw, 1.22rem);
}

.rvg-catalogue--compact .rvg-card__art {
    aspect-ratio: 3 / 2;
}

.rvg-catalogue--poster .rvg-card__art {
    aspect-ratio: 4 / 5;
}

.rvg-catalogue--poster .rvg-card__body {
    padding: 0.85rem;
}

.rvg-pagination {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.rvg-pagination a,
.rvg-pagination span {
    border: 1px solid var(--rvg-line);
    border-radius: 999px;
    color: var(--rvg-ink);
    font-size: 0.84rem;
    font-weight: 750;
    padding: 0.58rem 0.9rem;
    text-decoration: none;
}

.rvg-pagination a:hover,
.rvg-pagination a:focus-visible {
    background: var(--rvg-purple);
    border-color: var(--rvg-purple);
    color: #fff;
}

/* Product-owned Free Games Page. The template reads the managed page card;
   Gutenberg is reserved for optional editorial content beneath the catalogue. */
.rvg-free-games-page {
    --rvg-page-ink: var(--wp--preset--color--contrast, #11121f);
    --rvg-page-muted: var(--wp--preset--color--muted, #636777);
    --rvg-page-line: var(--wp--preset--color--border, #d9dce5);
    --rvg-page-paper: var(--wp--preset--color--base, #f7f7f2);
    --rvg-page-primary: var(--wp--preset--color--primary, #5a39e6);
    background: var(--rvg-page-paper);
    box-sizing: border-box;
    color: var(--rvg-page-ink);
    padding: clamp(1.25rem, 3vw, 3.5rem) clamp(0.75rem, 2vw, 1.5rem) clamp(3rem, 7vw, 7rem);
    width: 100%;
}

.rvg-free-games-page *,
.rvg-free-games-page *::before,
.rvg-free-games-page *::after {
    box-sizing: border-box;
}

.rvg-free-games-page__shell {
    margin-inline: auto;
    max-width: 92rem;
    min-width: 0;
    width: 100%;
}

.rvg-free-games-page__crumbs {
    align-items: center;
    color: var(--rvg-page-muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.84rem;
    gap: 0.55rem;
    margin: 0 0 1.25rem;
}

.rvg-free-games-page__crumbs a {
    color: var(--rvg-page-primary);
    font-weight: 750;
    text-decoration: none;
}

.rvg-free-games-page__hero {
    background:
        radial-gradient(circle at 92% 12%, rgba(108, 76, 255, 0.2), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #f2efff 54%, #fff9ee 100%);
    border: 1px solid var(--rvg-page-line);
    border-radius: clamp(1.25rem, 2.5vw, 2.25rem);
    display: grid;
    gap: clamp(1.5rem, 4vw, 4rem);
    grid-template-columns: minmax(0, 1.45fr) minmax(17rem, 0.55fr);
    overflow: hidden;
    padding: clamp(1.5rem, 5vw, 5rem);
}

.rvg-free-games-page__hero-copy {
    align-self: center;
    min-width: 0;
}

.rvg-free-games-page__hero h1 {
    color: var(--rvg-page-ink);
    font-size: clamp(2.65rem, 6vw, 5rem);
    letter-spacing: -0.065em;
    line-height: 0.96;
    margin: 0;
    max-width: 12ch;
    overflow-wrap: anywhere;
}

.rvg-free-games-page__hero-copy > p:not(.rvg-eyebrow) {
    color: var(--rvg-page-muted);
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    line-height: 1.65;
    margin: 1.25rem 0 0;
    max-width: 62ch;
}

.rvg-free-games-page__hero-facts {
    align-content: center;
    background: var(--rvg-page-ink);
    border-radius: 1.25rem;
    color: #fff;
    display: grid;
    min-width: 0;
    padding: clamp(1.25rem, 3vw, 2.25rem);
}

.rvg-free-games-page__hero-facts > strong {
    color: #fff;
    font-size: clamp(3.25rem, 7vw, 6rem);
    letter-spacing: -0.08em;
    line-height: 0.9;
}

.rvg-free-games-page__hero-facts > span {
    color: #dcdbe6;
    font-size: 0.9rem;
    line-height: 1.45;
    margin-top: 0.75rem;
}

.rvg-free-games-page__hero-facts ul {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    display: grid;
    gap: 0.65rem;
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 1.25rem 0 0;
}

.rvg-free-games-page__hero-facts li {
    align-items: center;
    display: flex;
    font-size: 0.83rem;
    font-weight: 700;
    gap: 0.55rem;
}

.rvg-free-games-page__hero-facts li::before {
    background: #aaf265;
    border-radius: 50%;
    content: "";
    flex: 0 0 auto;
    height: 0.48rem;
    width: 0.48rem;
}

.rvg-free-games-page__content {
    margin-top: clamp(1.5rem, 3vw, 2.75rem);
    min-width: 0;
}

.rvg-free-games-page__content > :not(.rvg-catalogue):not(.wp-block-rivalless-games-catalogue) {
    margin-inline: auto;
    max-width: 58rem;
}

.rvg-free-games-page .rvg-catalogue--archive {
    margin-block: clamp(1.5rem, 3vw, 2.75rem) 0;
    max-width: none;
}

.rvg-free-games-page__editorial {
    background: #fff;
    border: 1px solid var(--rvg-page-line);
    border-radius: clamp(1rem, 2vw, 1.5rem);
    padding: clamp(1.5rem, 4vw, 3.5rem);
}

@media (max-width: 54rem) {
    .rvg-free-games-page__hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .rvg-free-games-page__hero-facts {
        grid-template-columns: auto minmax(0, 1fr);
        gap: 0 1.25rem;
    }

    .rvg-free-games-page__hero-facts ul {
        grid-column: 1 / -1;
    }
}

@media (max-width: 35rem) {
    .rvg-free-games-page__hero {
        padding: 1.35rem;
    }

    .rvg-free-games-page__hero h1 {
        font-size: clamp(2.4rem, 14vw, 3.65rem);
    }

    .rvg-free-games-page__hero-facts {
        display: block;
    }
}

/* Theme-neutral single-game baseline. CasinoFrame can refine these rules
   without being required for a complete, responsive game page. */
.rvg-game-page {
    --rvg-ink: var(--wp--preset--color--contrast, #11121f);
    --rvg-muted: var(--wp--preset--color--muted, #636777);
    --rvg-line: var(--wp--preset--color--border, #dde0e8);
    --rvg-paper: var(--wp--preset--color--base, #fff);
    --rvg-purple: var(--wp--preset--color--primary, #4b2ed1);
    box-sizing: border-box;
    color: var(--rvg-ink);
    margin: 0 auto;
    max-width: 85rem;
    min-width: 0;
    padding-inline: clamp(0.75rem, 2vw, 1.5rem);
    width: 100%;
}

.rvg-game-page *,
.rvg-game-page *::before,
.rvg-game-page *::after {
    box-sizing: border-box;
}

.rvg-game-page__crumbs {
    align-items: center;
    color: var(--rvg-muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.82rem;
    gap: 0.55rem;
    margin-bottom: 1.25rem;
}

.rvg-game-page__crumbs a,
.rvg-game-page__back,
.rvg-related__heading a {
    color: var(--rvg-purple);
    font-weight: 700;
    text-decoration: none;
}

.rvg-game-page__hero {
    align-items: center;
    background: var(--rvg-paper);
    border: 1px solid var(--rvg-line);
    border-radius: 1.25rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.88fr);
    overflow: hidden;
}

.rvg-game-page__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: clamp(1.5rem, 4vw, 3.5rem);
}

.rvg-game-page__copy h1 {
    color: var(--rvg-ink);
    font-size: clamp(2.35rem, 5vw, 4.75rem);
    letter-spacing: -0.055em;
    line-height: 0.96;
    margin: 0;
    overflow-wrap: anywhere;
}

.rvg-game-page__copy > p:not(.rvg-eyebrow) {
    color: var(--rvg-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 1.2rem 0 0;
}

.rvg-game-page__actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.rvg-game-page__actions .rvg-launch-button {
    border-radius: 999px;
    max-width: 16rem;
}

.rvg-game-page__real {
    align-items: center;
    border: 1px solid var(--rvg-purple);
    border-radius: 999px;
    color: var(--rvg-purple);
    display: inline-flex;
    font-weight: 800;
    min-height: 3rem;
    padding: 0.65rem 1.1rem;
    text-decoration: none;
}

.rvg-game-page__real:hover,
.rvg-game-page__real:focus-visible {
    background: var(--rvg-purple);
    color: #fff;
}

.rvg-game-page__art {
    align-items: center;
    background: linear-gradient(145deg, var(--rvg-purple), #241854);
    display: flex;
    justify-content: center;
    aspect-ratio: 4 / 3;
    border-radius: 1rem;
    margin: clamp(0.9rem, 2vw, 1.5rem);
    max-height: 28rem;
    min-height: 0;
    overflow: hidden;
    position: relative;
}

.rvg-game-page__art img {
    height: 100%;
    object-fit: contain;
    object-position: center;
    width: 100%;
}

.rvg-game-page__art strong {
    color: #fff;
    font-size: clamp(5rem, 12vw, 11rem);
    letter-spacing: -0.1em;
}

.rvg-game-page__art span {
    background: rgba(17, 18, 31, 0.84);
    border-radius: 999px;
    bottom: 1rem;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    left: 1rem;
    padding: 0.55rem 0.75rem;
    position: absolute;
    text-transform: uppercase;
}

.rvg-game-page__experience {
    align-items: stretch;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr) minmax(13.5rem, 16.5rem);
    margin-top: 1.25rem;
    scroll-margin-top: calc(var(--wp-admin--admin-bar--height, 0px) + 1rem);
}

.rvg-game-stage {
    background: var(--rvg-ink);
    border-radius: 1.25rem;
    color: #fff;
    margin: 0;
    overflow: hidden;
    padding: clamp(1rem, 2vw, 1.5rem);
}

.rvg-game-stage__topline {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 0.25rem 0.25rem 1rem;
}

.rvg-game-stage__topline h2 {
    color: #fff;
    font-size: clamp(1.35rem, 2.5vw, 2.2rem);
    margin: 0;
}

.rvg-game-stage__topline .rvg-eyebrow {
    color: #b7ff57;
}

.rvg-game-stage__controls {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    justify-content: flex-end;
}

.rvg-game-stage__controls > p {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.78rem;
    margin: 0;
}

.rvg-game-stage__controls > button {
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.65rem;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 800;
    gap: 0.35rem;
    min-height: 2.5rem;
    padding: 0.45rem 0.75rem;
}

.rvg-game-stage__controls > button:hover,
.rvg-game-stage__controls > button:focus-visible {
    background: #fff;
    color: var(--rvg-ink);
}

.rvg-game-stage__viewport {
    aspect-ratio: 16 / 9;
    background: #050712;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0.8rem;
    overflow: hidden;
    position: relative;
}

.rvg-game-stage__viewport iframe {
    border: 0;
    height: 100%;
    inset: 0;
    position: absolute;
    width: 100%;
}

.rvg-game-stage__viewport:fullscreen {
    aspect-ratio: auto;
    background: #050712;
    border: 0;
    border-radius: 0;
    height: 100%;
    width: 100%;
}

.rvg-game-stage__promotion {
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0.85rem;
    display: grid;
    gap: 1rem;
    grid-template-columns: auto minmax(0, 1fr) auto;
    margin-top: 1rem;
    padding: 0.8rem 0.9rem;
}

.rvg-game-stage__promotion-logo {
    background: #fff;
    border-radius: 0.7rem;
    height: 3.5rem;
    object-fit: contain;
    padding: 0.25rem;
    width: 3.5rem;
}

.rvg-game-stage__promotion-copy {
    display: grid;
    gap: 0.15rem;
    min-width: 0;
}

.rvg-game-stage__promotion-name {
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.rvg-game-stage__promotion-offer {
    color: #fff;
    font-size: 0.92rem;
    overflow-wrap: anywhere;
}

.rvg-game-stage__promotion-meta {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.65rem;
    margin-top: 0.2rem;
}

.rvg-game-stage__promotion-code {
    align-items: baseline;
    background: rgba(255, 255, 255, 0.1);
    border: 1px dashed rgba(255, 255, 255, 0.32);
    border-radius: 0.45rem;
    color: rgba(255, 255, 255, 0.7);
    display: inline-flex;
    font-size: 0.65rem;
    gap: 0.3rem;
    padding: 0.2rem 0.4rem;
    text-transform: uppercase;
}

.rvg-game-stage__promotion-code strong {
    color: #fff;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
}

.rvg-game-stage__promotion-terms {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.68rem;
    line-height: 1.35;
    max-width: 38rem;
}

.rvg-game-stage__promotion-terms-link {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.68rem;
    font-weight: 700;
    text-underline-offset: 0.15em;
}

.rvg-game-stage__promotion-action {
    align-items: center;
    animation: rvg-commercial-attention 2.8s ease-in-out infinite;
    background: var(--rvg-purple);
    border: 1px solid var(--rvg-purple);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 0.88rem;
    font-weight: 800;
    gap: 0.35rem;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.55rem 1rem;
    text-decoration: none;
    white-space: nowrap;
}

.rvg-game-stage__promotion-action:hover,
.rvg-game-stage__promotion-action:focus-visible {
    animation: none;
    background: #fff;
    border-color: #fff;
    color: var(--rvg-ink);
}

@keyframes rvg-commercial-attention {
    0%, 100% { box-shadow: 0 0 0 0 rgba(108, 75, 255, 0.14); transform: translateY(0); }
    50% { box-shadow: 0 0 0 0.42rem rgba(108, 75, 255, 0); transform: translateY(-1px); }
}

.rvg-game-stage__placeholder {
    align-items: center;
    background: radial-gradient(circle at 72% 45%, color-mix(in srgb, var(--rvg-purple) 30%, transparent), transparent 24rem), #050712;
    display: grid;
    gap: clamp(1.25rem, 3vw, 2.5rem);
    grid-template-columns: minmax(11rem, 0.82fr) minmax(0, 1fr);
    inset: 0;
    padding: clamp(1.25rem, 3vw, 2.5rem);
    position: absolute;
}

.rvg-game-stage__placeholder[hidden] {
    display: none;
}

.rvg-game-stage__preview {
    align-items: center;
    aspect-ratio: 4 / 3;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0.9rem;
    display: flex;
    justify-content: center;
    overflow: hidden;
    padding: 0.6rem;
}

.rvg-game-stage__preview img {
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.rvg-game-stage__preview strong {
    color: #fff;
    font-size: clamp(3rem, 8vw, 6rem);
    letter-spacing: -0.08em;
}

.rvg-game-stage__intro {
    min-width: 0;
    text-align: left;
}

.rvg-game-stage__intro .rvg-eyebrow {
    color: #b7ff57;
    margin: 0 0 0.45rem;
}

.rvg-game-stage__intro h3 {
    color: #fff;
    font-size: clamp(1.65rem, 3.2vw, 2.75rem);
    line-height: 1;
    margin: 0;
    overflow-wrap: anywhere;
}

.rvg-game-stage__intro > p:not(.rvg-eyebrow) {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.55;
    margin: 0.8rem 0 1rem;
}

.rvg-game-stage__launch {
    align-items: center;
    animation: rvg-demo-pulse 2.2s ease-in-out infinite;
    background: #b7ff57;
    border: 1px solid #b7ff57;
    border-radius: 0.75rem;
    color: var(--rvg-ink);
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-weight: 850;
    gap: 0.65rem;
    justify-content: center;
    min-height: 3.35rem;
    padding: 0.75rem 1.25rem;
}

.rvg-game-stage__launch:hover,
.rvg-game-stage__launch:focus-visible {
    animation-play-state: paused;
    background: #fff;
    border-color: #fff;
}

.rvg-game-stage__launch:disabled {
    animation: none;
    cursor: not-allowed;
    opacity: 0.65;
}

.rvg-game-stage__status {
    align-items: center;
    display: flex;
    gap: 0.5rem;
    margin-top: 0.8rem;
}

.rvg-game-stage__status > span {
    color: #b7ff57;
    flex: 0 0 auto;
    font-size: 0.65rem;
}

.rvg-game-stage__status small {
    color: rgba(255, 255, 255, 0.64);
    line-height: 1.4;
}

.rvg-game-stage__placeholder.is-loading .rvg-spinner {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    border-top-color: #b7ff57;
    height: 1rem;
    padding: 0;
    width: 1rem;
}

.rvg-game-stage__placeholder.is-error .rvg-game-stage__status > span {
    color: #ff9c91;
}

.rvg-game-page__details-panel {
    background: var(--rvg-paper);
    border: 1px solid var(--rvg-line);
    border-radius: 1rem;
}

.rvg-game-page__details-panel {
    margin: 0;
    min-width: 0;
    padding: clamp(1.25rem, 3vw, 2.25rem);
}

.rvg-game-page__details-panel .rvg-eyebrow {
    color: var(--rvg-purple);
    margin-bottom: 0.45rem;
}

.rvg-game-page__information {
    background: transparent;
    border: 0;
    border-radius: 0;
    margin-top: clamp(2.25rem, 5vw, 4.5rem);
    padding: 0;
}

.rvg-game-page__information > h2,
.rvg-game-page__details-panel > h2,
.rvg-related h2 {
    color: var(--rvg-ink);
    margin: 0;
}

.rvg-game-page__review {
    color: inherit;
    margin: 0;
    overflow-wrap: anywhere;
}

@keyframes rvg-demo-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(183, 255, 87, 0.12); transform: translateY(0); }
    50% { box-shadow: 0 0 0 0.45rem rgba(183, 255, 87, 0); transform: translateY(-1px); }
}

@media (prefers-reduced-motion: reduce) {
    .rvg-game-stage__launch,
    .rvg-game-stage__promotion-action { animation: none; }
}

.rvg-game-page__review > :first-child { margin-top: 0; }
.rvg-game-page__review > :last-child { margin-bottom: 0; }
.rvg-game-page__review :is(h2, h3)[id] { scroll-margin-top: calc(var(--wp-admin--admin-bar--height, 0px) + 1.5rem); }

.rvg-game-page__editorial-layout {
    align-items: start;
    display: grid;
    gap: clamp(1.5rem, 4vw, 3rem);
    grid-template-columns: minmax(0, 1fr) minmax(14rem, 18rem);
    margin-top: 1.35rem;
}

.rvg-game-page__editorial-layout--single {
    grid-template-columns: minmax(0, 1fr);
}

.rvg-game-page__toc {
    align-self: start;
    background: linear-gradient(145deg, var(--rvg-ink), color-mix(in srgb, var(--rvg-purple) 36%, var(--rvg-ink)));
    border-radius: 1rem;
    color: #fff;
    padding: 1.35rem;
    position: sticky;
    top: calc(var(--wp-admin--admin-bar--height, 0px) + 1rem);
}

.rvg-game-page__toc .rvg-eyebrow {
    color: #b7ff57;
    margin: 0 0 0.55rem;
}

.rvg-game-page__toc h2 {
    color: #fff;
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    line-height: 1.05;
    margin: 0;
}

.rvg-game-page__toc ol {
    display: grid;
    gap: 0.75rem;
    list-style: none;
    margin: 1.1rem 0 0;
    padding: 0;
}

.rvg-game-page__toc li {
    margin: 0;
}

.rvg-game-page__toc-level-3 {
    padding-inline-start: 0.8rem;
}

.rvg-game-page__toc a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.86rem;
    line-height: 1.45;
    text-decoration: none;
}

.rvg-game-page__toc a:hover,
.rvg-game-page__toc a:focus-visible {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.rvg-game-page__details-panel dl {
    margin: 1.15rem 0 0;
}

.rvg-game-page__details-panel dl div {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 0.75rem 0;
}

.rvg-game-page__details-panel dl div + div { border-top: 1px solid var(--rvg-line); }
.rvg-game-page__details-panel dt { color: var(--rvg-muted); }
.rvg-game-page__details-panel dd { color: var(--rvg-ink); font-weight: 750; margin: 0; text-align: right; }

.rvg-related { margin-top: clamp(2.5rem, 5vw, 5rem); }
.rvg-related__heading { align-items: end; display: flex; gap: 1rem; justify-content: space-between; margin-bottom: 1rem; }
.rvg-related .rvg-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rvg-related .rvg-card__art { aspect-ratio: 3 / 2; }

@media (max-width: 65.625rem) {
    .rvg-game-page__hero { grid-template-columns: 1fr; }
    .rvg-game-page__art {
        margin: 0 1rem 1rem;
        max-height: 24rem;
        width: calc(100% - 2rem);
    }
    .rvg-game-page__experience { grid-template-columns: minmax(0, 1fr) minmax(14rem, 16rem); }
    .rvg-game-page__editorial-layout { grid-template-columns: minmax(0, 1fr) minmax(13rem, 15rem); }
    .rvg-related .rvg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 47.5rem) {
    .rvg-game-page { padding-inline: 0.75rem; }
    .rvg-game-page__hero,
    .rvg-game-stage { border-radius: 1rem; }
    .rvg-game-page__experience,
    .rvg-game-page__editorial-layout { grid-template-columns: minmax(0, 1fr); }
    .rvg-game-page__toc { position: static; }
    .rvg-game-stage__viewport { aspect-ratio: auto; min-height: 34rem; }
    .rvg-game-stage__topline,
    .rvg-related__heading { align-items: flex-start; flex-direction: column; gap: 0.75rem; }
    .rvg-game-stage__controls { justify-content: flex-start; width: 100%; }
    .rvg-game-stage__placeholder { grid-template-columns: minmax(0, 1fr); }
    .rvg-game-stage__preview { justify-self: stretch; max-height: 13rem; }
    .rvg-game-stage__launch { width: 100%; }
    .rvg-game-stage__promotion { grid-template-columns: auto minmax(0, 1fr); }
    .rvg-game-stage__promotion-action { grid-column: 1 / -1; width: 100%; }
}

.rvg-commercial-bar {
    align-items: center;
    backdrop-filter: blur(16px);
    background: color-mix(in srgb, var(--rvg-paper) 94%, transparent);
    border: 1px solid color-mix(in srgb, var(--rvg-purple) 35%, var(--rvg-line));
    border-radius: 1.25rem;
    bottom: max(1rem, env(safe-area-inset-bottom));
    box-shadow: 0 18px 60px rgba(16, 24, 40, 0.24);
    display: grid;
    gap: 0.75rem;
    grid-template-columns: minmax(0, 1fr) auto 2.75rem;
    left: 50%;
    max-width: 64rem;
    padding: 0.75rem;
    position: fixed;
    transform: translateX(-50%);
    width: min(calc(100% - 2rem), 64rem);
    z-index: 9990;
}

.rvg-commercial-bar[hidden] { display: none !important; }
.rvg-commercial-bar > div { display: grid; gap: 0.1rem; min-width: 0; }
.rvg-commercial-bar > div strong { color: var(--rvg-ink); }
.rvg-commercial-bar > div span { color: var(--rvg-muted); font-size: 0.78rem; }
.rvg-commercial-bar > a {
    background: var(--rvg-purple);
    border-radius: 999px;
    color: #fff;
    font-weight: 800;
    padding: 0.75rem 1.25rem;
    text-decoration: none;
    white-space: nowrap;
}
.rvg-commercial-bar > button {
    background: color-mix(in srgb, var(--rvg-muted) 10%, var(--rvg-paper));
    border: 0;
    border-radius: 50%;
    color: var(--rvg-muted);
    cursor: pointer;
    font: inherit;
    font-size: 1.35rem;
    height: 2.75rem;
    width: 2.75rem;
}

@media (max-width: 40rem) {
    .rvg-commercial-bar { grid-template-columns: minmax(0, 1fr) auto 2.4rem; width: min(calc(100% - 1rem), 38rem); }
    .rvg-commercial-bar > div span { display: none; }
    .rvg-commercial-bar > a { padding-inline: 0.9rem; }
    .rvg-commercial-bar > button { height: 2.4rem; width: 2.4rem; }
}

.rvg-age-gate[data-state="confirmed"] {
    display: none;
}

.rvg-age-gate {
    color: #11121f;
    font-family: inherit;
    inset: 0;
    position: fixed;
    z-index: 1000000;
}

.rvg-age-gate *,
.rvg-age-gate *::before,
.rvg-age-gate *::after {
    box-sizing: border-box;
}

.rvg-age-gate__backdrop {
    background:
        radial-gradient(circle at 90% 10%, rgba(92, 219, 185, 0.16), transparent 30rem),
        rgba(7, 8, 18, 0.92);
    inset: 0;
    position: absolute;
}

.rvg-age-gate__panel {
    background: #fbfaf7;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.25rem;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.48);
    left: 50%;
    max-width: 35rem;
    padding: clamp(1.5rem, 4vw, 2.75rem);
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 2rem);
}

.rvg-age-gate__panel:focus {
    outline: 3px solid rgba(99, 70, 225, 0.45);
    outline-offset: 3px;
}

.rvg-age-gate__eyebrow {
    color: #4b2ed1;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    margin: 0 0 0.8rem;
    text-transform: uppercase;
}

.rvg-age-gate h2 {
    color: #11121f;
    font-size: clamp(2rem, 7vw, 4rem);
    letter-spacing: -0.06em;
    line-height: 0.95;
    margin: 0;
}

.rvg-age-gate__panel > p:not(.rvg-age-gate__eyebrow):not(.rvg-age-gate__error) {
    color: #636777;
    font-size: 1rem;
    line-height: 1.55;
    margin: 1rem 0;
}

.rvg-age-gate__actions {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    margin: 1.35rem 0 1rem;
}

.rvg-age-gate__actions button,
.rvg-age-gate__actions a {
    align-items: center;
    border-radius: 0.75rem;
    display: flex;
    font: inherit;
    font-weight: 750;
    justify-content: center;
    min-height: 3.2rem;
    padding: 0.75rem 1rem;
    text-align: center;
    text-decoration: none;
}

.rvg-age-gate__actions button {
    background: #4b2ed1;
    border: 1px solid #4b2ed1;
    color: #fff;
    cursor: pointer;
}

.rvg-age-gate__actions button:hover {
    background: #37209f;
    border-color: #37209f;
}

.rvg-age-gate__actions button:disabled {
    cursor: wait;
    opacity: 0.65;
}

.rvg-age-gate__actions a {
    background: #fff;
    border: 1px solid #c7cad3;
    color: #11121f;
}

.rvg-age-gate__actions button:focus-visible,
.rvg-age-gate__actions a:focus-visible {
    outline: 3px solid rgba(75, 46, 209, 0.36);
    outline-offset: 2px;
}

.rvg-age-gate__panel small {
    color: #747887;
    display: block;
    font-size: 0.76rem;
    line-height: 1.45;
}

.rvg-age-gate__error {
    background: #fff1f1;
    border: 1px solid #f0c8c8;
    border-radius: 0.65rem;
    color: #8b2424;
    margin: 1rem 0 0;
    padding: 0.75rem;
}

.rvg-age-gate-open {
    overflow: hidden;
}

.rivalless-games-with-casinoframe .rvg-catalogue {
    --rvg-purple: var(--wp--preset--color--primary, #654bff);
    --rvg-purple-dark: var(--wp--preset--color--primary, #654bff);
    --rvg-paper: var(--wp--preset--color--surface, #fff);
    --rvg-ink: var(--wp--preset--color--secondary, #0b1020);
}

@keyframes rvg-spin {
    to { transform: rotate(360deg); }
}

/* Respond to the space supplied by any theme, including narrow content
   columns and sidebars. Viewport queries below remain as a fallback. */
@container (max-width: 67.5rem) {
    .rvg-catalogue--columns-4 .rvg-grid,
    .rvg-catalogue--columns-5 .rvg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .rvg-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rvg-results { margin: 0; }
}

@container (max-width: 47.5rem) {
    .rvg-catalogue__header { align-items: start; grid-template-columns: 1fr; }
    .rvg-catalogue__header h2 { font-size: clamp(2rem, 8cqi, 3rem); }
    .rvg-connection { justify-self: start; }
    .rvg-grid,
    .rvg-catalogue--columns-2 .rvg-grid,
    .rvg-catalogue--columns-3 .rvg-grid,
    .rvg-catalogue--columns-4 .rvg-grid,
    .rvg-catalogue--columns-5 .rvg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@container (max-width: 33.75rem) {
    .rvg-catalogue__header h2 { font-size: clamp(1.75rem, 9cqi, 2.3rem); }
    .rvg-catalogue__header > div > p:not(.rvg-eyebrow) { font-size: 1rem; }
    .rvg-connection { max-width: 100%; white-space: normal; }
    .rvg-filters { grid-template-columns: 1fr; }
    .rvg-grid,
    .rvg-catalogue--columns-2 .rvg-grid,
    .rvg-catalogue--columns-3 .rvg-grid,
    .rvg-catalogue--columns-4 .rvg-grid,
    .rvg-catalogue--columns-5 .rvg-grid { grid-template-columns: 1fr; }
    .rvg-card h3 { font-size: 1.15rem; }
    .rvg-card__art strong { font-size: clamp(2rem, 18cqi, 3.5rem); }
}

@media (max-width: 1080px) {
    .rvg-catalogue--columns-4 .rvg-grid,
    .rvg-catalogue--columns-5 .rvg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .rvg-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rvg-results { margin: 0; }
}

@media (max-width: 760px) {
    .rvg-catalogue__header { align-items: start; grid-template-columns: 1fr; }
    .rvg-connection { justify-self: start; }
    .rvg-grid,
    .rvg-catalogue--columns-2 .rvg-grid,
    .rvg-catalogue--columns-3 .rvg-grid,
    .rvg-catalogue--columns-4 .rvg-grid,
    .rvg-catalogue--columns-5 .rvg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 540px) {
    .rvg-catalogue { margin-inline: 0; max-width: 100%; padding-inline: 1rem; width: 100%; }
    .rvg-filters { grid-template-columns: 1fr; }
    .rvg-grid,
    .rvg-catalogue--columns-2 .rvg-grid,
    .rvg-catalogue--columns-3 .rvg-grid,
    .rvg-catalogue--columns-4 .rvg-grid,
    .rvg-catalogue--columns-5 .rvg-grid { grid-template-columns: 1fr; }
    .rvg-age-gate__actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .rvg-card article,
    .rvg-launch-button { transition: none; }
    .rvg-card article:hover { transform: none; }
    .rvg-spinner { animation-duration: 1600ms; }
}

/* Free Games discovery experience. These rules remain theme-neutral and use
   WordPress preset variables when a theme supplies them. */
.rvg-load-more-wrap {
    display: flex;
    justify-content: center;
    margin: clamp(1.5rem, 3vw, 2.5rem) 0 0;
}

.rvg-load-more {
    background: var(--rvg-ink);
    border: 1px solid var(--rvg-ink);
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    min-height: 3.25rem;
    padding: 0.8rem 1.5rem;
}

.rvg-load-more:hover,
.rvg-load-more:focus-visible {
    background: var(--rvg-purple);
    border-color: var(--rvg-purple);
    color: #fff;
    outline: none;
}

.rvg-load-more:focus-visible {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--rvg-purple) 32%, transparent);
}

.rvg-load-more:disabled,
.rvg-catalogue.is-loading .rvg-filters {
    opacity: 0.64;
}

.rvg-catalogue--discovery .rvg-card__preview-label {
    bottom: auto;
    font-size: 0.82rem;
    left: 50%;
    opacity: 0;
    padding: 0.65rem 1rem;
    pointer-events: none;
    top: 50%;
    transform: translate(-50%, calc(-50% + 0.45rem));
    transition: opacity 170ms ease, transform 170ms ease;
    white-space: nowrap;
}

.rvg-catalogue--discovery .rvg-card__art::after {
    background: rgba(8, 10, 25, 0.34);
    border: 0;
    border-radius: 0;
    bottom: 0;
    content: "";
    height: auto;
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: opacity 170ms ease;
    width: auto;
    z-index: 2;
}

.rvg-catalogue--discovery .rvg-card__art:hover::after,
.rvg-catalogue--discovery .rvg-card__art:focus-visible::after,
.rvg-catalogue--discovery .rvg-card__art:hover .rvg-card__preview-label,
.rvg-catalogue--discovery .rvg-card__art:focus-visible .rvg-card__preview-label {
    opacity: 1;
}

.rvg-catalogue--discovery .rvg-card__art:hover .rvg-card__preview-label,
.rvg-catalogue--discovery .rvg-card__art:focus-visible .rvg-card__preview-label {
    transform: translate(-50%, -50%);
}

.rvg-catalogue--discovery .rvg-card__body {
    min-height: 8.5rem;
}

.rvg-catalogue--discovery .rvg-card h3 {
    font-size: clamp(1rem, 1.5vw, 1.28rem);
}

.rvg-free-games-page__hero {
    align-items: stretch;
    background:
        radial-gradient(circle at 7% 92%, color-mix(in srgb, var(--rvg-page-primary) 48%, transparent), transparent 30rem),
        radial-gradient(circle at 94% 9%, rgba(183, 243, 77, 0.18), transparent 19rem),
        #0b1020;
    border-color: rgba(255, 255, 255, 0.12);
    color: #fff;
    grid-template-columns: minmax(0, 1.06fr) minmax(21rem, 0.94fr);
    padding: clamp(1.5rem, 4vw, 4rem);
}

.rvg-free-games-page__hero h1 {
    color: #fff;
    font-size: clamp(3rem, 6.2vw, 6.4rem);
    line-height: 0.88;
    max-width: 9ch;
}

.rvg-free-games-page__hero .rvg-eyebrow {
    color: #b7f34d;
}

.rvg-free-games-page__hero-copy > p:not(.rvg-eyebrow) {
    color: rgba(255, 255, 255, 0.72);
    max-width: 48rem;
}

.rvg-free-games-page__hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.5rem;
}

.rvg-free-games-page__hero-points span {
    border: 1px solid rgba(255, 255, 255, 0.19);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.76rem;
    font-weight: 750;
    padding: 0.48rem 0.72rem;
}

.rvg-featured-games {
    align-self: stretch;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 1.25rem;
    color: var(--rvg-page-ink);
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.rvg-featured-games__panel {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.rvg-featured-games__panel[hidden] { display: none; }

.rvg-featured-games__art {
    aspect-ratio: 16 / 9;
    background: #2c235d;
    color: #fff;
    display: block;
    overflow: hidden;
    position: relative;
}

.rvg-featured-games__art img {
    height: 100%;
    object-fit: cover;
    transition: transform 240ms ease;
    width: 100%;
}

.rvg-featured-games__art:hover img,
.rvg-featured-games__art:focus-visible img { transform: scale(1.025); }

.rvg-featured-games__art > span {
    background: rgba(11, 16, 32, 0.84);
    border-radius: 999px;
    bottom: 0.8rem;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    left: 0.8rem;
    padding: 0.5rem 0.7rem;
    position: absolute;
    text-transform: uppercase;
}

.rvg-featured-games__copy { padding: 1.15rem 1.2rem 1.25rem; }
.rvg-featured-games__copy > p {
    color: var(--rvg-page-primary);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0 0 0.35rem;
    text-transform: uppercase;
}
.rvg-featured-games__copy h2 {
    font-size: clamp(1.35rem, 2.2vw, 2.15rem);
    letter-spacing: -0.04em;
    line-height: 1.03;
    margin: 0;
}
.rvg-featured-games__copy h2 a { color: inherit; text-decoration: none; }
.rvg-featured-games__action {
    color: var(--rvg-page-primary);
    display: inline-flex;
    font-weight: 800;
    gap: 0.45rem;
    margin-top: 0.95rem;
    text-decoration: none;
}

.rvg-featured-games__selectors {
    border-top: 1px solid var(--rvg-page-line);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: auto;
}
.rvg-featured-games__selectors button {
    background: #fff;
    border: 0;
    color: var(--rvg-page-muted);
    cursor: pointer;
    font: inherit;
    font-size: 0.7rem;
    font-weight: 750;
    overflow: hidden;
    padding: 0.75rem 0.55rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.rvg-featured-games__selectors button + button { border-left: 1px solid var(--rvg-page-line); }
.rvg-featured-games__selectors button[aria-selected="true"] { background: #f2efff; color: var(--rvg-page-primary); }

.rvg-free-games-page__editorial {
    background: transparent;
    border: 0;
    padding: 0;
}

.rvg-free-games-page__editorial-layout {
    align-items: start;
    display: grid;
    gap: clamp(1.25rem, 3vw, 2.5rem);
    grid-template-columns: minmax(15rem, 0.31fr) minmax(0, 0.69fr);
}

.rvg-editorial-toc {
    background: linear-gradient(145deg, #0b1020 0%, #171536 64%, #4d31c8 145%);
    border-radius: 1.25rem;
    color: #fff;
    padding: clamp(1.25rem, 2.6vw, 2rem);
    position: sticky;
    top: 2rem;
}
.rvg-editorial-toc > p {
    color: #b7f34d;
    font-size: 0.7rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    margin: 0 0 0.4rem;
    text-transform: uppercase;
}
.rvg-editorial-toc h2 { color: #fff; font-size: 1.65rem; margin: 0; }
.rvg-editorial-toc :is(ol, ul) { display: grid; gap: 0.65rem; list-style: none; margin: 1.15rem 0 0; padding: 0; }
.rvg-editorial-toc li + li { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.rvg-editorial-toc a {
    color: rgba(255, 255, 255, 0.68);
    display: block;
    font-size: 0.88rem;
    line-height: 1.35;
    padding: 0.72rem 0;
    text-decoration: none;
}
.rvg-editorial-toc__level-3 a { padding-left: 0.85rem; }
.rvg-editorial-toc a:hover,
.rvg-editorial-toc a:focus-visible { color: #b7f34d; }

.rvg-editorial-main { min-width: 0; }
.rvg-editorial-copy,
.rvg-editorial-cards,
.rvg-editorial-faq {
    background: #fff;
    border: 1px solid var(--rvg-page-line);
    border-radius: 1.25rem;
    padding: clamp(1.35rem, 3.2vw, 3rem);
}
.rvg-editorial-main > * + * { margin-top: 1.25rem; }
.rvg-editorial-copy > :first-child,
.rvg-editorial-cards > :first-child,
.rvg-editorial-faq > :first-child { margin-top: 0; }
.rvg-editorial-copy > :last-child { margin-bottom: 0; }
.rvg-editorial-copy h2,
.rvg-editorial-cards h2,
.rvg-editorial-faq h2 { scroll-margin-top: 2rem; }

.rvg-editorial-cards__grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1.2rem;
}
.rvg-editorial-cards__grid article {
    background: #f6f4ff;
    border: 1px solid #e2dcff;
    border-radius: 0.9rem;
    display: flex;
    flex-direction: column;
    padding: 1rem;
}
.rvg-editorial-cards__grid h3 { font-size: 1.1rem; margin: 0; }
.rvg-editorial-cards__grid p { color: var(--rvg-page-muted); font-size: 0.88rem; line-height: 1.5; }
.rvg-editorial-cards__grid a { color: var(--rvg-page-primary); font-weight: 800; margin-top: auto; text-decoration: none; }

.rvg-editorial-faq details { border-top: 1px solid var(--rvg-page-line); }
.rvg-editorial-faq details:last-child { border-bottom: 1px solid var(--rvg-page-line); }
.rvg-editorial-faq summary { cursor: pointer; font-weight: 800; padding: 1rem 2rem 1rem 0; position: relative; }
.rvg-editorial-faq summary::after { content: "+"; position: absolute; right: 0; }
.rvg-editorial-faq details[open] summary::after { content: "−"; }
.rvg-editorial-faq details p { color: var(--rvg-page-muted); line-height: 1.65; margin: -0.2rem 0 1.1rem; }

@container (max-width: 67.5rem) {
    .rvg-catalogue--discovery.rvg-catalogue--columns-5 .rvg-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@container (max-width: 45rem) {
    .rvg-catalogue--discovery.rvg-catalogue--columns-5 .rvg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 54rem) {
    .rvg-free-games-page__hero { grid-template-columns: 1fr; }
    .rvg-free-games-page__editorial-layout { grid-template-columns: 1fr; }
    .rvg-editorial-toc { position: static; }
    .rvg-editorial-cards__grid { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
    .rvg-catalogue--discovery.rvg-catalogue--columns-5 .rvg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rvg-catalogue--discovery .rvg-card__body { min-height: 7.5rem; padding: 0.75rem; }
    .rvg-catalogue--discovery .rvg-card h3 { font-size: 0.96rem; }
    .rvg-catalogue--discovery .rvg-card__provider { font-size: 0.65rem; }
    .rvg-featured-games__selectors { grid-template-columns: 1fr; }
    .rvg-featured-games__selectors button + button { border-left: 0; border-top: 1px solid var(--rvg-page-line); }
}
