*:where( :not(html,
        iframe,
        canvas,
        img,
        svg,
        video,
        audio,
        #theatrejs-studio-root):not(svg *, symbol *)) {
    all: unset;
    display: revert;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
}

:root {
    font-family: sans-serif;
    --bg-dark-1: #09111A;
    --bg-dark-2: #0E1824;
    --bg-dark-3: #182533;
    --accent-primary-1: #33E8A9;
    --accent-primary-2: #1D8B64;
    --accent-primary-3: #136145;
    --text-primary-accent: #F0F2F5;
    --text-primary-muted: #A5BED6;
    --border-primary: #202D3A;

    color-scheme: dark;
}

html {
    scrollbar-color: var(--accent-primary-1) var(--bg-dark-1);
}

@supports not (scrollbar-color: auto) {
    html::-webkit-scrollbar:vertical {
        width: 12px;
    }

    html::-webkit-scrollbar-track {
        background: var(--bg-dark-1);
    }

    html::-webkit-scrollbar-thumb {
        background: var(--accent-primary-1);
        border-radius: 6px;
        border: 3px solid var(--bg-dark-1);
    }

    html::-webkit-scrollbar-thumb:hover {
        background: var(--accent-primary-2);
    }
}

.visually-hidden:not(:focus):not(:focus-within) {
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    top: 0;
    left: 8px;
    z-index: 2000;
    padding: 10px 16px;
    background: var(--bg-dark-2);
    color: var(--text-primary-accent);
    border: 1px var(--accent-primary-1) solid;
    border-radius: 0 0 8px 8px;
    transform: translateY(-120%);
    transition: transform 0.15s ease-in-out;
}

.skip-link:focus {
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .skip-link {
        transition: none;
    }
}

main:focus {
    outline: none;
}

html {
    scroll-behavior: smooth;

    @media (prefers-reduced-motion: reduce) {
        scroll-behavior: auto;
    }
}

:target {
    scroll-margin-block-start: 1.5rem;
}

body {
    color: var(--text-primary-muted);
    background-color: var(--bg-dark-1);
    line-height: 1.65rem;
    font-size: 0.875rem;
    padding-inline: clamp(8px, 4.5vw, 75px);
}

main {
    overflow: hidden;
}

img {
    max-inline-size: 100%;
    max-block-size: 100%;
    block-size: auto;
}

ul,
ol,
menu {
    list-style: none;
    line-height: 1.2rem;
}

a {
    color: inherit;
    text-decoration: inherit;

    &.link-accent {
        color: var(--accent-primary-1);
        font-weight: 700;
    }
}

table {
    border-collapse: collapse;
}

a,
button {
    cursor: pointer;
}

h1 {
    font-weight: 700;
    font-size: clamp(3rem, 5vw, 3.75rem);
    text-wrap: balance;
    color: var(--text-primary-accent);
    line-height: 1;

    &.h1-home-hero {
        text-wrap: balance;
        max-width: 15ch;
    }
}

.hero-sub {
    margin-block-start: 0.5rem;
    display: block;
    font-size: clamp(1.375rem, 2.75vw, 1.5rem);
    color: var(--accent-primary-1);
    line-height: 1;
    text-wrap: balance !important;
}

h2 {
    font-weight: 700;
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    margin-bottom: 0.5rem;
    line-height: 1;
    color: var(--text-primary-accent);
    text-wrap: balance;
}

h3 {
    font-weight: 700;
    font-size: clamp(1.125rem, 5vw, 1.5rem);
    margin-bottom: 0.5rem;
    line-height: 1;
    color: var(--text-primary-accent);
}

p {
    margin-bottom: 12px;
    line-height: 1.2rem;
}

h1,
h2,
h3,
p {
    &.centered {
        text-align: center;
    }
}

.p-fine {
    display: block;
    width: 100%;
    font-size: 12px;
    text-wrap: pretty;
    margin-top: 1rem;
    line-height: 1;
    opacity: .7;
}

strong {
    font-weight: 700;
}

.btn {
    display: flex;
    align-items: center;
    padding: 0.625rem 1rem;
    border-radius: 0.5rem;
    overflow: hidden;
    background: var(--bg-dark-1);
    transition: background 0.15s, border-color 0.15s, color 0.15s;

    &:hover {
        background: var(--bg-dark-3);
    }

    @media (max-width: 450px) {
        flex: 1;
        justify-content: center;
        text-align: center;
    }
}

.btn-secondary {
    border: 2px var(--accent-primary-2) solid;
    color: var(--text-primary-accent);
    gap: 0.25rem;

    &:hover {
        border-color: var(--accent-primary-1);
    }
}

.btn-game-card {
    flex-shrink: 0;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary-accent);
    background: var(--accent-primary-3);
    border: 1px var(--accent-primary-1) solid;

    @media (max-width: 800px) {
        justify-content: center;
        flex-grow: 1;
    }
}

.section {
    margin: auto;
    display: block;
    max-width: 1200px;

    &.block-margins {
        padding-block: 60px;

        @media (max-width: 900px) {
            padding-block: 30px;
        }
    }

    &.toc-section {
        margin-top: 40px;
    }

    &.block-margins-small {
        margin-block-start: 80px;

        @media (max-width: 900px) {
            margin-block-start: 60px;
        }
    }

    &.footer {
        padding-top: 60px;
        overflow: hidden;
    }
}

.h3-section {
    margin-bottom: 40px;
}

caption {
    line-height: 1rem;
    text-wrap: pretty;
}

.highlighted {
    padding: 1.5rem;
    background-color: var(--bg-dark-2);
    border: 1px var(--border-primary) solid;
    border-radius: 0.5rem;

    ol {
        margin-bottom: 0;
    }

    @media (max-width: 550px) {
        padding: 1rem;
    }
}

.header-layout {
    height: 72px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    z-index: 149;
}

.site-nav-list {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;

    .btn:hover {
        color: var(--text-primary-accent);
    }

    /* Current page sits in the hover state permanently. */
    .btn[aria-current="page"] {
        background: var(--bg-dark-3);
        color: var(--text-primary-accent);
    }
}

@media (max-width: 1000px) {
    .site-nav {
        display: none;
    }

    .site-nav.is-open {
        display: flex;
        position: fixed;
        inset: 0;
        flex-direction: column;
        background: var(--bg-dark-1);
    }

    .site-nav-list {
        flex-direction: column;
    }
}

.home-nav-logo {
    position: relative;
    z-index: 151;
}

body.nav-open {
    overflow: hidden;
}

.burger {
    display: none;
    width: 46px;
    min-width: 0px;
    height: 46px;
    position: relative;
    z-index: 150;
    border: 0;
    cursor: pointer;
    border-radius: 7px;
    border: 2.5px var(--accent-primary-2) solid;
    background-color: transparent;

    & span,
    &::before,
    &::after {
        content: "";
        position: absolute;
        left: 11px;
        right: 11px;
        height: 2px;
        border-radius: 2px;
        background: var(--text-primary-accent);
        transition: transform 0.2s, top 0.2s, opacity 0.2s;
    }

    & span {
        top: 20px;
    }

    &::before {
        top: 13px;
    }

    &::after {
        top: 27px;
    }

    &.is-open {
        & span {
            opacity: 0;
        }

        &::before {
            top: 20px;
            transform: rotate(45deg);
        }

        &::after {
            top: 20px;
            transform: rotate(-45deg);
        }
    }
}

@media (max-width: 1000px) {
    .burger {
        display: inline-flex;
    }
}

.lang-switcher {
    display: inline-block;
    anchor-name: --lang-switcher;
}

.lang-switcher__btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: transparent;
    border-radius: 0.5rem;
    border: 2.5px var(--bg-dark-2) solid;
    font-size: 0.875rem;
    font-weight: 500;
    color: inherit;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s;
}

.lang-switcher__btn:hover {
    background: var(--bg-dark-2);
}

.lang-switcher__caret {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    opacity: 0.5;
    transition: transform 0.15s;
}

.lang-switcher:has(#lang-picker:popover-open) .lang-switcher__caret {
    transform: rotate(-135deg);
}

.lang-switcher__menu {
    position: absolute;
    inset: unset;
    margin: 0;
    padding: 6px;
    list-style: none;

    position-anchor: --lang-switcher;
    position-area: bottom span-left;
    position-try-fallbacks: flip-block, flip-inline;
    margin-top: 6px;

    min-width: 200px;
    background: var(--bg-dark-1);
    border: 2.5px var(--bg-dark-2) solid;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgb(0 0 0 / 10%), 0 2px 6px rgb(0 0 0 / 6%);
}

.lang-switcher__menu::backdrop {
    background: transparent;
}

.lang-switcher__menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.1s;
}

.lang-switcher__menu li a:hover {
    background: var(--bg-dark-2);
}

.lang-switcher__menu li a[aria-current="page"] {
    color: var(--accent-primary-1);
    font-weight: 700;
    background: var(--bg-dark-2);
}

.lang-switcher__flag {
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
}

.lang-switcher__name {
    flex: 1;
}

@media (max-width: 1000px) {
    .lang-switcher__menu {
        position-area: y-end;
        min-width: 250px;
    }

    .lang-switcher__menu li a {
        gap: 24px;
    }

    .lang-switcher__name {
        text-align: start;
    }
}

.breadcrumb-nav {
    padding: 0 0 0 0;
    margin-block-end: 16px;
    font-size: 14px;
    line-height: 1.4;
}

.breadcrumb-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}


.breadcrumb-item:not(:first-child)::before {
    content: "›";
    margin: 0 8px;
    color: var(--text-primary-muted);
    font-weight: 400;
}

.breadcrumb-link {
    color: var(--text-primary-muted);
    text-transform: capitalize;
    text-decoration: none;
    transition: color 0.15s ease;
}

.breadcrumb-link:hover,
.breadcrumb-link:focus {
    color: var(--accent-primary-1);
    text-decoration: underline;
}

.breadcrumb-current {
    color: var(--accent-primary-1);
    font-weight: 500;
    user-select: none;
}

@media (max-width: 600px) {
    .breadcrumb-nav {
        font-size: 13px;
    }

    .breadcrumb-item:not(:first-child)::before {
        margin: 0 6px;
    }
}

.dual-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;

    &.big-gap {
        gap: 80px;

        @media (max-width: 900px) {
            gap: 1rem;
        }
    }

    @media (max-width: 900px) {
        flex-direction: column;
    }
}

.video-figure {
    margin: 2rem 0;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.video-container video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
}

.hero-home-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    align-items: center;
    margin-top: 80px;

    &.big-gap {
        column-gap: 40px;
    }

    @media (max-width: 900px) {
        grid-template-columns: repeat(1, 1fr);
        margin-top: 40px;
        gap: 2rem;
    }
}

.hero-home-container {
    padding-inline: 2rem;

    &.no-padding {
        padding-inline: 0;
    }

    @media (max-width: 900px) {
        padding-inline: 0;
    }
}

.dual-layout-container {
    z-index: 1;
    margin-inline-start: 2.5rem;
    flex: 1;

    &.last {
        margin-inline-start: 0;
        margin-inline-end: 2.5rem;
    }

    &.no-margin {
        margin: 0;
    }

    &.dual-swap {
        order: 1;

        @media (max-width: 900px) {
            order: -1;
        }
    }

    img {
        border-radius: 0.5rem;
        height: auto;
    }
}



.btn-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;

    &.margin-top-big {
        margin-block-start: 2.5rem;

        @media (max-width: 900px) {
            margin-block-start: 1.5rem;
        }
    }
}

.home-game-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;

    list-style: none;
    margin: 0;
    padding: 0;

    & a {
        display: block;
        overflow: hidden;
        border-radius: 0.5rem;
        transition: transform 0.15s;

        &:hover {
            transform: scale(1.02);
        }
    }

    & img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.hero-fine-print {
    grid-column: 1 / -1;
    display: block;
    width: 100%;
    text-align: center;
    font-size: 0.75rem;
    line-height: 1;
    opacity: 0.7;
    padding-top: 2.5rem;

    @media (max-width: 900px) {
        padding-top: 0;
        font-size: 0.625rem;
    }
}

.partner-carousel-window {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.partner-carousel-track {
    display: flex;
    width: max-content;
    height: 120px;

    @media (max-width: 900px) {
        height: 100px;
    }
}

.partner-list[aria-hidden="true"] {
    display: none;
}

.partner-list {
    display: flex;
    align-items: center;
    flex-shrink: 0;

    list-style: none;
    margin: 0;
    padding: 0;
}

.partner-list li {
    padding-inline: 2.5rem;
    opacity: 0.7;
    transition: opacity 0.15s;

    &:hover {
        opacity: 1;
    }

    @media (max-width: 900px) {
        padding-inline: 1.5rem;
    }
}

.partner-list img {
    display: block;

    @media (max-width: 600px) {
        width: 80px;
    }
}

@media (prefers-reduced-motion: no-preference) {

    .partner-carousel-window {
        overflow: hidden;
    }

    .partner-carousel-track {
        animation: partner-scroll var(--marquee-duration, 40s) linear infinite;
    }

    .partner-list[aria-hidden="true"] {
        display: flex;
    }

    .carousel-toggle {
        display: inline-flex;
    }

    .partner-carousel-window:hover .partner-carousel-track,
    .partner-carousel-window:focus-within .partner-carousel-track,
    .partner-carousel-window.is-paused .partner-carousel-track {
        animation-play-state: paused;
    }
}

/* The track holds 4 identical strips, so -25% advances by exactly one strip
   and the loop restarts on an identical frame. Four is not cosmetic: the track
   must stay at least one strip wider than the window for the whole cycle, or
   the tail runs out and leaves a gap. One strip is ~900px against a 1200px
   window, so two copies were never enough. Keep the percentage as 100/(number
   of strips) if that count ever changes. */
@keyframes partner-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-25%);
    }
}

.list-updated {
    text-decoration: underline;
    text-decoration-color: var(--accent-primary-2);
    text-underline-offset: 2px;
    text-decoration-thickness: 2px;

    time {
        color: var(--accent-primary-1);
    }
}

.blockquote {
    display: block;
    padding-inline: 1rem;
    padding-block: 0.375rem;
    border-left: 0.25rem var(--accent-primary-1) solid;
    border-radius: 0rem 0.5rem 0.5rem 0rem;
    background-color: var(--accent-primary-3);
    color: var(--text-primary-accent);
    font-style: italic;
    font-size: 0.75rem;
    text-wrap: pretty;

    &.dark {
        background-color: var(--bg-dark-2);
        color: var(--text-primary-muted);
    }
}

.game-card-default-list {
    list-style: none;
    counter-reset: item;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 1.5rem;

    .game-card-item {
        counter-increment: item;
        /* min-height, not height: content that outgrows the card must push it
           taller rather than overflow onto the card below. */
        min-height: 74px;
        background: var(--bg-dark-2);
        border-radius: 0.5rem;
        border: 1px var(--border-primary) solid;
        display: flex;
        gap: 1.5rem;
        align-items: center;
        justify-content: space-between;
        padding: 0.5rem 1rem;

        @media (max-width: 1000px) {
            gap: 1rem;
        }

        @media (max-width: 800px) {
            flex-direction: column;
            align-items: flex-start;
            min-height: 0;
        }
    }

    .game-card-item:is(:first-child) {
        border-color: var(--accent-primary-2);
    }

    .game-card-item:not(:first-child)::before {
        border-color: var(--accent-primary-2);
        background-color: var(--bg-dark-2);
    }

    img {
        border-radius: 0.25rem;
        overflow: hidden;
        flex-shrink: 0;
    }

    .game-card-item-first {
        display: flex;
        gap: 1.5rem;
        align-items: center;

        &::before {
            content: counter(item) / "";
            aspect-ratio: 1;
            width: 40px;
            flex-shrink: 0;
            background: var(--accent-primary-3);
            border: 1px solid var(--accent-primary-1);
            border-radius: 0.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 1.5rem;
            color: var(--text-primary-accent);
            line-height: 1;
        }

        @media (max-width: 1000px) {
            gap: 1rem;
        }
    }

    .game-card-item-last {
        display: flex;
        gap: 1.5rem;

        @media (max-width: 1000px) {
            gap: 1rem;
        }

        @media (max-width: 800px) {
            margin: 0;
            width: 100%;
        }
    }

    .game-card-header-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        flex-shrink: 0;
        min-width: 11rem;

        & h3 {
            margin: 0;
            font-size: 1.25rem;
            line-height: 1;
        }

        & .pill-wrap {
            margin-top: 0.2rem;
            display: inline-block;
            white-space: nowrap;

            span {
                font-size: 0.625rem;
                background: var(--bg-dark-3);
                padding: 0.375rem 0.5rem;
                border-radius: 0.5rem;
            }
        }
    }

    p {
        font-size: 0.625rem;
        line-height: 1;
        margin: 0;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        overflow: hidden;
        flex: 1;
    }

    .game-card-cta-wrap {
        display: flex;
        gap: 1.5rem;
        flex-shrink: 0;

        .btn {
            flex-shrink: 0;
        }

        .game-card-details-pair {
            font-size: 0.75rem;
            line-height: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 0.5rem;

            dt {
                font-weight: 700;
                color: var(--accent-primary-1);
            }

            dd {
                color: var(--text-primary-accent);
            }
        }

        @media (max-width: 1000px) {
            gap: 1rem;
        }
    }

    @media (max-width: 600px) {
        gap: 1rem;
    }
}

.casino-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    list-style: none;
    margin-top: 24px;
    padding: 0;

    @media (max-width: 1000px) {
        gap: 0.5rem;
    }

    @media (max-width: 750px) {
        grid-template-columns: repeat(1, 1fr);
    }
}

@property --gradient-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@property --sweep-color {
    syntax: '<color>';
    initial-value: transparent;
    inherits: false;
}

.casino-card {
    display: flex;
    flex-direction: column;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 2px solid transparent;

    --sweep-color: var(--bg-dark-1);

    background:
        linear-gradient(var(--bg-dark-2), var(--bg-dark-2)) padding-box,
        conic-gradient(from var(--gradient-angle),
            var(--bg-dark-1) 0%,
            var(--bg-dark-1) 40%,
            var(--sweep-color) 50%,
            var(--bg-dark-1) 60%,
            var(--bg-dark-1) 100%) border-box;

    animation: rotate-border 6s linear infinite;
    transition: transform 0.15s, --sweep-color 0.4s ease;

    &:hover {
        transform: translateY(-2px);
        --sweep-color: var(--accent-primary-2);
    }
}

@keyframes rotate-border {
    to {
        --gradient-angle: 360deg;
    }
}

@media (prefers-reduced-motion: reduce) {
    .casino-card {
        animation: none;
    }
}

.casino-card-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.5rem;
    background: var(--bg-dark-3);
}

.casino-card-logo img,
.casino-card-logo svg {
    display: block;
    height: 42px;
    width: auto;
}

.casino-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1rem;
    font-size: 0.75rem;

    h3 {
        margin-bottom: 0.25rem;
    }

    p:first-of-type {
        line-height: 1.25;
        margin-bottom: 0.5rem;
    }
}

.bonus-label {
    color: var(--accent-primary-1);
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.bonus-list {
    list-style: disc;
    line-height: 1rem;
    padding-inline-start: 1.25rem;
    margin-bottom: 0.5rem;
}

.casino-cta {
    margin-top: auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    border: 1px var(--border-primary) solid;
    color: var(--text-primary-accent);
    background: var(--bg-dark-2);
    gap: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.25;

    @media (max-width: 750px) {
        border-color: var(--accent-primary-1);
        width: 100%;
        justify-content: center;
    }
}

.btn.casino-cta:hover {
    border-color: var(--accent-primary-1);
}

.slideshow {
    --slides-visible: 1;
    --slide-gap: 1rem;

    position: relative;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;

    &::-webkit-scrollbar {
        display: none;
    }

    &.compact {
        max-width: 1000px;
        margin-inline: auto;
    }
}

.slideshow:focus-visible {
    outline: 2px solid var(--focus-color, #4d90fe);
    outline-offset: 4px;
}

.slideshow-track {
    display: flex;
    gap: var(--slide-gap);
    list-style: none;
    margin: 0;
    padding: 0;
}

.slideshow-slide {
    flex: 0 0 calc((100% - (var(--slides-visible) - 1) * var(--slide-gap)) / var(--slides-visible));
    scroll-snap-align: center;
    scroll-snap-stop: always;
}

.slideshow-slide img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.slideshow-wrap {
    position: relative;
    max-width: 1000px;
    margin-inline: auto;
}

.slideshow-btn {
    position: absolute;
    top: 50%;
    translate: 0 -50%;
    z-index: 2;

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

    inline-size: 2.25rem;
    block-size: 2.25rem;
    border: 0;
    border-radius: 50%;
    background: rgb(0 0 0 / 0.55);
    color: #fff;
    cursor: pointer;
    transition: opacity 0.15s, background 0.15s;

    &:hover {
        background: rgb(0 0 0 / 0.75);
    }

    &:focus-visible {
        outline: 2px solid var(--focus-color, #4d90fe);
        outline-offset: 2px;
    }

    &[disabled] {
        opacity: 0;
        pointer-events: none;
    }
}

.slideshow-btn[data-dir="prev"] {
    left: 0.75rem;
}

.slideshow-btn[data-dir="next"] {
    right: 0.75rem;
}

@media (max-width: 600px) {

    .slideshow-btn {
        inline-size: 2rem;
        block-size: 2rem;
    }

    .slideshow-btn[data-dir="prev"] {
        left: 0.375rem;
    }

    .slideshow-btn[data-dir="next"] {
        right: 0.375rem;
    }

}

.slideshow-btn svg {
    inline-size: 1.1rem;
    block-size: 1.1rem;
    fill: currentColor;
}

.slideshow-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-block: 0.75rem;
}

.slideshow-dot {
    inline-size: 0.5rem;
    block-size: 0.5rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.35;
    cursor: pointer;
    transition: opacity 0.15s;

    &[aria-current="true"] {
        opacity: 1;
    }

    &:focus-visible {
        outline: 2px solid var(--focus-color, #4d90fe);
        outline-offset: 3px;
    }
}

.slideshow-dot::before {
    content: "";
    position: absolute;
    inline-size: 44px;
    block-size: 44px;
    translate: -50% -50%;
    left: 50%;
    top: 50%;
}

.slideshow-dot {
    position: relative;
}

@media (prefers-reduced-motion: reduce) {
    .slideshow {
        scroll-behavior: auto;
    }
}

.thumbnail-container {
    margin-block: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;

    img {
        display: block;
        border-radius: 0.5rem;
        transition: transform 0.15s;
        width: 190px;
        height: auto;

        &:hover {
            transform: translateY(-2px);
        }

        @media (max-width: 650px) {
            width: max-content;
        }
    }

    @media (max-width: 850px) {
        gap: 0.5rem;
    }

    @media (max-width: 650px) {
        grid-template-columns: repeat(3, 1fr);
        display: grid;
        justify-items: center;
        width: fit-content;
        margin-inline: auto;
    }
}

details summary::-webkit-details-marker,
details summary::marker {
    display: none;
    content: "";
}

.faq-container {
    margin-block-start: 1rem;
}

.faq-details {
    padding: 1rem 1.5rem;
    margin-block-end: 0.5rem;
    border-radius: 0.5rem;
    border: 1px var(--border-primary) solid;
    overflow: hidden;
    background: var(--bg-dark-2);

    h3 {
        margin-bottom: 0;
        user-select: none;
        cursor: pointer;
        color: var(--text-primary-muted);
        transition: color 0.15s;

        &:hover {
            color: var(--text-primary-accent);
        }
    }

    &[open] h3 {
        color: var(--text-primary-accent);
    }

    p {
        margin-top: 1rem;
        margin-bottom: 0;
    }

    @media (max-width: 450px) {
        padding: 1rem;
    }

}

.footer {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    position: relative;

    h3 {
        font-size: 0.875rem;
        margin-bottom: 0.25rem;
        font-weight: 700;
    }

    p {
        font-size: 0.625rem;
        line-height: 1.25;
    }

    .btn {
        padding: 0.5rem 0.75rem;
    }
}

.footer-top-container {
    display: flex;
    align-items: center;
    gap: 5rem;

    @media (max-width: 800px) {
        flex-direction: column;
        gap: 2.5rem;
    }
}

.footer-top-layout {
    display: flex;
    justify-content: space-between;
    gap: 1rem;

    >div {
        width: 100%;
        flex: 1;
    }

    nav {
        width: 100%;
        flex: 1;
    }

    @media (max-width: 800px) {
        flex-direction: column;
    }
}

.footer-nav {
    ul {
        font-size: 0.75rem;
        line-height: 1;

        li {
            margin-bottom: 0.5rem;
        }

        a {
            display: inline-block;
        }
    }

    h3 {
        margin-bottom: 1rem;
    }

    @media (max-width: 800px) {
        text-align: center;
    }
}

.footer-middle-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: clamp(70px, 15vw, 200px);
    text-align: center;

    >span {
        font-size: 0.625rem;
        line-height: 1.25;
    }

    span:nth-of-type(2) {
        margin-bottom: 1rem;
    }

    span:nth-of-type(3) {
        margin-bottom: 0.5rem;
    }

    address {
        display: inline-block;
    }
}

.disclosures-wrap {
    @media (max-width: 800px) {
        text-align: center;
    }
}

.btn-wrap-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;

    @media (max-width: 900px) {
        margin-block-start: 1.5rem;
    }

    @media (max-width: 800px) {
        justify-content: center;
    }
}

.footer-end-container {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    transform: translateY(50%);
    background-image: url('/img/minecraft-slot-logo-wide-footer.avif');
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: contain;
    height: clamp(80px, 25vw, 300px);
    z-index: 0;
    pointer-events: none;
}

.guide {

    p {
        text-wrap: pretty;
    }

    .disclaimer {
        margin-block-start: 1.5rem;
    }
}

.guide-list,
.guide-list-ordered {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-block: 1rem;
    padding-inline-start: 1.5rem;

    li {
        display: list-item;
        text-wrap: pretty;

        &::marker {
            color: var(--accent-primary-1);
        }
    }
}

.guide-list li {
    list-style: disc;
}

.guide-list-ordered {
    counter-reset: none;

    li {
        list-style: upper-alpha;
    }

    &.styled-list {
        padding-inline-start: 0;
        display: grid;
        grid-template-columns: repeat(2, 1fr);

        li {
            list-style-position: inside;
            padding: 0.75rem 0.5rem;
            background-color: var(--bg-dark-2);
            border: 1px var(--border-primary) solid;
            border-radius: 0.5rem;
            line-height: 1;
        }
    }
}

.guide-list strong,
.guide-list-ordered strong {
    color: var(--text-primary-accent);
}

.guide-list.image {
    padding: 1.5rem;
    background-color: var(--bg-dark-2);
    border: 1px var(--border-primary) solid;
    border-radius: 0.5rem;
    width: fit-content;
    margin-inline: auto;

    li {
        list-style: none;
        display: flex;
        align-items: center;
        gap: 16px;
        text-wrap: pretty;
    }

    img {
        width: 50px;
        aspect-ratio: 1;
    }

    @media (max-width: 500px) {
        padding-inline-start: 0.75rem;

        li {
            flex-direction: column;
            align-items: flex-start;
            text-align: start;
            margin-bottom: 0.5rem;
            gap: 0.5rem;
        }

        img {
            width: 35px;
        }
    }
}

.guide-list.wide-image-list {
    flex-direction: row;
    justify-content: center;
    padding: 1.5rem;
    background-color: var(--bg-dark-2);
    border: 1px var(--border-primary) solid;
    border-radius: 0.5rem;
    width: fit-content;
    margin-inline: auto;
    gap: 1rem;
    flex-wrap: wrap;
    margin-block: 24px;

    img {
        width: 80px;
        aspect-ratio: 1;
    }

    li {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        width: 80px;
        text-align: center;
    }
}

.pop-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    background-color: var(--bg-dark-2);
    border: 1px var(--border-primary) solid;
    border-radius: 0.5rem;
    width: fit-content;
    margin-inline: auto;
    margin-block: 24px;

    &.round {
        img {
            border-radius: 1rem;
        }
    }

    img {
        width: 100%;
        height: auto;
    }

    @media (max-width: 500px) {
        padding-inline: 0.75rem;
    }
}

.casino-links a {
    color: var(--accent-primary-1);
    text-decoration: underline;
    text-underline-offset: 2px;

    &:hover {
        color: var(--text-primary-accent);
    }
}

.spec-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin-block: 1rem;

    @media (max-width: 700px) {
        grid-template-columns: minmax(0, 1fr);
    }
}

.spec-pair {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.5rem 0.75rem;
    background: var(--bg-dark-2);
    border: 1px var(--border-primary) solid;
    border-radius: 0.5rem;

    dt {
        color: var(--text-primary-muted);
    }

    dd {
        color: var(--text-primary-accent);
        font-weight: 700;
        text-align: end;
    }
}

.table-scroll {
    overflow-x: auto;
    margin-block: 1rem;
}

.paytable {
    width: 100%;
    min-width: 320px;
    border: 1px var(--border-primary) solid;
    border-radius: 0.5rem;
    overflow: hidden;

    caption {
        caption-side: bottom;
        margin-block-start: 0.5rem;
        font-size: 0.75rem;
        text-align: center;
        opacity: .7;
    }

    th,
    td {
        padding: 0.625rem 0.75rem;
        border-bottom: 1px var(--border-primary) solid;
        text-align: center;
    }

    thead th {
        background: var(--accent-primary-3);
        color: var(--text-primary-accent);
        font-weight: 700;
    }

    tbody th[scope="row"] {
        text-align: start;
        color: var(--text-primary-accent);
        font-weight: 700;
    }

    tbody tr:last-child :is(th, td) {
        border-bottom: 0;
    }

    tbody tr:nth-child(even) {
        background: var(--bg-dark-2);
    }
}

.guide-quote {
    display: block;
    margin-block: 1rem;
    padding: 1rem 1.25rem;
    background: var(--bg-dark-2);
    border-left: 0.25rem var(--accent-primary-1) solid;
    border-radius: 0 0.5rem 0.5rem 0;

    p {
        margin-bottom: 0.75rem;
    }

    footer {
        display: block;
        font-size: 0.75rem;
        color: var(--text-primary-accent);

        cite {
            font-style: italic;
        }
    }
}

.guide-figure {
    margin-block: 1rem;

    img {
        border-radius: 0.5rem;
        width: 100%;
        height: auto;
    }

    figcaption {
        margin-block-start: 0.5rem;
        font-size: 0.75rem;
        opacity: .7;
    }
}

.game-embed {
    margin-block: 1.5rem;
    margin-inline: auto;
    max-width: 1000px;    

    figcaption {
        margin-block-start: 0.5rem;
        font-size: 0.75rem;
        opacity: .7;
    }

    figcaption {
        text-align: center;
    }
}

.game-embed-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    border-radius: 0.5rem;
    overflow: hidden;
    background: var(--bg-dark-2);

    @media (max-width: 600px) {
        aspect-ratio: 2 / 3;
        max-height: 80dvh;
        margin-inline: auto;
        width: auto;
    }

    iframe {
        position: absolute;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
        border: 0;
        pointer-events: none;
    }

    &.is-playing iframe {
        pointer-events: auto;
    }
}

.game-embed-play {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;

    img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        max-block-size: none;
    }

    &::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, var(--bg-dark-2), var(--bg-dark-2));
        opacity: 0.75;
    }

    &:focus-visible {
        outline: 2px var(--accent-primary-1) solid;
        outline-offset: -2px;
    }
}

.game-embed-play-badge {
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    translate: -50% -50%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    background: var(--accent-primary-3);
    border: 2px var(--accent-primary-1) solid;
    color: var(--text-primary-accent);
    font-weight: 700;
    white-space: nowrap;
    transition: background 0.15s, scale 0.15s;

    .game-embed-play:hover & {
        background: var(--accent-primary-2);
        scale: 1.04;
    }
}

.hero-img-game-page {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.toc {
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    border: 1px var(--border-primary) solid;
    background: var(--bg-dark-2);

    summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        cursor: pointer;
        user-select: none;
        list-style: none;

        &::-webkit-details-marker {
            display: none;
        }

        &::after {
            content: '';
            flex: none;
            width: 0.625rem;
            height: 0.625rem;
            border-right: 2px solid var(--accent-primary-1);
            border-bottom: 2px solid var(--accent-primary-1);
            rotate: 45deg;
            translate: 0 -0.2rem;
            transition: rotate 0.15s, translate 0.15s;
        }

        h2 {
            margin-bottom: 0;
            font-size: clamp(1.125rem, 5vw, 1.5rem);
            color: var(--text-primary-muted);
            transition: color 0.15s;
        }

        &:hover h2 {
            color: var(--text-primary-accent);
        }

        &:focus-visible {
            outline: 2px var(--accent-primary-1) solid;
            outline-offset: 4px;
            border-radius: 0.25rem;
        }
    }

    &[open] summary {
        margin-bottom: 1rem;

        h2 {
            color: var(--text-primary-accent);
        }

        &::after {
            rotate: -135deg;
            translate: 0 0.2rem;
        }
    }

    @media (max-width: 450px) {
        padding: 1rem;
    }
}

.toc-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-inline-start: 1.5rem;
    counter-reset: toc;

    li {
        display: list-item;
        list-style: decimal;

        &::marker {
            color: var(--accent-primary-1);
        }
    }

    ol {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
        margin-block-start: 0.25rem;
        padding-inline-start: 1.5rem;

        li {
            list-style: lower-alpha;
        }
    }

    a {
        text-decoration: underline;
        text-decoration-color: transparent;
        text-underline-offset: 3px;
        transition: color 0.15s, text-decoration-color 0.15s;

        &:hover {
            color: var(--accent-primary-1);
            text-decoration-color: var(--accent-primary-1);
        }

        &:focus-visible {
            outline: 2px var(--accent-primary-1) solid;
            outline-offset: 2px;
            border-radius: 0.25rem;
        }
    }
}

.control-diagrams {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-block: 1.5rem;
}

.control-diagram {
    img {
        display: block;
        width: 100%;
        max-width: 1000px;
        margin-inline: auto;
        height: auto;
        border-radius: 0.5rem;
        border: 1px var(--border-primary) solid;
    }

    figcaption {
        margin-block-start: 0.5rem;
        font-size: 0.75rem;
        opacity: .7;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .control-diagram-portrait img {
        aspect-ratio: 1 / 2;
        height: auto;
        max-height: 80dvh;
        object-fit: cover;
    }
}

.list-alpha li {
    list-style-type: upper-alpha;
}

.thumbnail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.thumbnail-grid-item {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  padding: 0;
}

.thumbnail-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s;
}

.thumbnail-grid-item:hover img,
.thumbnail-grid-item:focus-visible img {
  transform: scale(1.05);
}

.thumbnail-grid-item:focus-visible {
  outline: rgb(26, 26, 26) solid 2px;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .thumbnail-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 650px) {
  .thumbnail-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(9, 17, 26, 0.92);
}

.lightbox.open {
  display: flex;
}

.lightbox-image {
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  border: 1px var(--border-primary) solid;
}

.lightbox button {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-dark-2);
  color: var(--text-primary-accent);
  border: 1px var(--border-primary) solid;
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
  transition: background 0.2s, border-color 0.2s;
}

.lightbox button:hover,
.lightbox button:focus-visible {
  background: var(--bg-dark-3);
  border-color: var(--accent-primary-1);
}

.lightbox-close {
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  font-size: 28px;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 32px;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

@media (max-width: 650px) {
  .lightbox-prev,
  .lightbox-next {
    width: 44px;
    height: 44px;
    font-size: 26px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }
}

.sticky-cta {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--accent-primary-3);
  border-bottom: 1px var(--border-primary) solid;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
  padding-inline: clamp(8px, 4.5vw, 75px);
}

.sticky-cta.is-visible {
  transform: translateY(0);
}

.sticky-cta.sticky-cta-dirt,
.sticky-cta.sticky-cta-nether,
.sticky-cta.sticky-cta-minedrop,
.sticky-cta.sticky-cta-stone {
  background-color: var(--accent-primary-3);
  background-repeat: repeat-x;
  background-size: auto 100%;
  background-position: left center;
  image-rendering: pixelated;
}

.sticky-cta.sticky-cta-dirt {
  background-image: url("/img/dirt-block.avif");
}

.sticky-cta.sticky-cta-nether {
  background-image: url("/img/nether-grass-mine-slot-2.avif");
}

.sticky-cta.sticky-cta-minedrop {
  background-image: url("/img/minedrop-dirt-block-header.avif");
}

.sticky-cta.sticky-cta-stone {
  background-image: url("/img/falling-pickaxe-stone-block.avif");
}

.sticky-cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0px;

  img {
    width: 80px;
    height: auto;
  }

  & div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;

    img {
        width: 40px;
        height: auto;
    }
  }
}

.sticky-cta-btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .sticky-cta {
    transition: none;
  }
}

@media (max-width: 900px) {
  .sticky-cta-inner div img {
    display: none;
  }
}

@media (max-width: 650px) {
  .sticky-cta-inner {
    gap: 12px;
    padding: 10px 0px;
  }
}

@media (max-width: 600px) {
  .sticky-cta-btn {
    font-size: 12px;
    padding: 8px 12px;
  }
}

.chest-img {
    max-width: 500px;
}

.hero-vertical {
    display: flex;
    flex-direction: column;
    margin-top: 80px;

    img {
        height: auto;
        margin-block: 24px;
        overflow: none;
        border-radius: 8px;
    }
}