
:root {
    --page-bg: #ffffff;
    --ink: #111111;
    --text: #3c3c40;
    --text-muted: #6b6f76;

    --accent: #73c7e3; /* sky blue — fills, borders, active states, on-dark */
    --accent-deep: #1e7fa6; /* deeper sky — text on tints, gradients */
    --link: #2e9bc4; /* darker blue — readable text/links on white */
    --danger: #d92d3c;
    --gold: #e8a13a; /* warm accent — bonus/featured highlights */
    --gold-tint: #fdf3e2;

    --sidebar-bg: #121214;
    --sidebar-bg-2: #191a1d;
    --sidebar-hover: #1d1d20;
    --sidebar-active: #1f2226;
    --sidebar-text: #d7d8db;
    --sidebar-muted: #8b8d93;

    --footer-bg: #121214;
    --footer-bg-2: #17181b;
    --footer-text: #b8b9bd;
    --footer-border: #2a2a2d;

    --card-bg: #ffffff;
    --card-soft: #f6f7f8;
    --card-tint: #eef6fa;
    --border: #e6e7ea;

    --radius: 10px;
    --header-h: 64px;
    --maxw: 1200px;

    --font-head: "Roboto", "Segoe UI", Arial, sans-serif;
    --font-body: "Open Sans", "Segoe UI", Verdana, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    background: var(--page-bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img {
    max-width: 100%;
    display: block;
}
a {
    color: var(--link);
    text-decoration: none;
}
ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0.5em 0 0.5em;
    line-height: 1.25;
    font-family: var(--font-head);
    font-weight: bold;
    color: var(--ink);
}
h2 {
    font-size: 22px;
}
p {
    margin: 0 0 1em;
    color: var(--text);
}

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Top bar ---------- */
.topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    height: var(--header-h);
    display: flex;
    align-items: center;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
}
.topbar__inner {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.brand {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.brand__main {
    display: block;
    height: 32px;
    width: auto;
}
.brand__sub {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}
.menu-toggle {
    margin-left: auto;
    display: none;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--ink);
    border-radius: 8px;
    padding: 8px 10px;
    cursor: pointer;
}
.menu-toggle svg {
    width: 20px;
    height: 20px;
    display: block;
}

/* ---------- Top navigation (header menu) ---------- */
.topnav {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-left: auto;
}
.topnav-link {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border-radius: 8px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}
.topnav-link:hover {
    background: var(--card-tint);
}
.topnav-link.is-active {
    background: var(--card-tint);
    color: var(--accent-deep);
}
.topnav-item {
    position: relative;
    display: flex;
    align-items: stretch;
    border-radius: 8px;
}
.topnav-item:hover,
.topnav-item.is-open {
    background: var(--card-tint);
}
.topnav-item:hover > .topnav-link {
    background: transparent;
}
.topnav-item.is-open > .topnav-link {
    background: transparent;
    color: var(--accent-deep);
}
.topnav-item .topnav-link {
    padding-right: 6px;
}
.topnav-item__chev {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: auto;
    border: 0;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    border-radius: 8px;
}
.topnav-item.is-open .topnav-item__chev {
    color: var(--accent-deep);
}
.topnav-item__chev svg {
    width: 14px;
    height: 14px;
    transition: transform 0.18s ease;
}
.topnav-item.is-open .topnav-item__chev svg {
    transform: rotate(180deg);
}
.topnav-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 60;
    min-width: 480px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 18px 36px rgba(17, 17, 17, 0.14);
    padding: 10px;
    grid-template-columns: 1fr 1fr;
    gap: 2px 8px;
}
.topnav-item.is-open .topnav-dropdown {
    display: grid;
}
.topnav-dropdown__link {
    display: block;
    padding: 9px 10px;
    border-radius: 8px;
    color: var(--ink);
    font-size: 13.5px;
    font-weight: 500;
}
.topnav-dropdown__link:hover {
    background: var(--card-tint);
}
.topnav-dropdown__link.is-active {
    background: var(--card-tint);
    color: var(--accent-deep);
    font-weight: 700;
}

/* ---------- Layout ---------- */
.main-wrap {
    width: 100%;
}
.main {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 24px 32px 48px;
}

/* ---------- Main ---------- */
.breadcrumbs {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.breadcrumbs a {
    color: var(--text-muted);
}
.breadcrumbs a:hover {
    color: var(--link);
}
.breadcrumbs .sep {
    margin: 0 6px;
    color: #c7c9cd;
}
.breadcrumbs .current {
    color: var(--ink);
}

.page-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 18px;
}
.page-meta__author {
    display: flex;
    align-items: center;
    gap: 8px;
}
.page-meta__avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    overflow: hidden;
    flex: 0 0 auto;
    background: var(--sidebar-bg);
}
.page-meta__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- Demo popup ---------- */
.popup-demo-wrap {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(17, 17, 17, 0.72);
    padding: 20px;
    align-items: center;
    justify-content: center;
}
.popup-demo-wrap.is-show {
    display: flex;
}
body.no-scroll {
    overflow: hidden;
}

.popup-demo {
    width: 100%;
    max-width: 920px;
    max-height: calc(100vh - 40px);
    background: var(--sidebar-bg);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.popup-demo:fullscreen {
    max-width: none;
    max-height: none;
    border-radius: 0;
}
.popup-demo__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--footer-border);
}
.popup-demo__title {
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 15px;
}
.popup-demo__btns {
    display: flex;
    gap: 8px;
}
.popup-demo__btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid var(--footer-border);
    background: transparent;
    color: #d7d8db;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        background 0.15s ease,
        color 0.15s ease;
}
.popup-demo__btn:hover {
    background: var(--sidebar-hover);
    color: #fff;
}
.popup-demo__btn svg {
    width: 16px;
    height: 16px;
}

.popup-demo__main {
    position: relative;
    aspect-ratio: 16/9;
    background: #000;
}
.popup-demo__main iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.popup-demo__main iframe[hidden] {
    display: none;
}
.popup-demo__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
    background: radial-gradient(
        120% 140% at 50% 0%,
        #1b2228 0%,
        #0c0e10 58%,
        #0a0a0b 100%
    );
}
.popup-demo__placeholder[hidden] {
    display: none;
}
.popup-demo__placeholder p {
    color: #c7c8cc;
    font-size: 14px;
    max-width: 360px;
    margin: 0;
}

.popup-demo__footer {
    padding: 14px 18px;
    border-top: 1px solid var(--footer-border);
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 640px) {
    .popup-demo-wrap {
        padding: 0;
    }
    .popup-demo {
        max-width: none;
        max-height: 100vh;
        height: 100%;
        border-radius: 0;
    }
}

/* ---------- Hero grid (intro column + top-game aside) ---------- */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 28px;
    align-items: start;
    margin-bottom: 36px;
}
.hero-grid__intro {
    max-width: 640px;
}

/* ---------- Demo player (placeholder game frame under H1) ---------- */
.demo-player {
    background: #0c0c0e;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(17, 17, 17, 0.16);
    margin-bottom: 24px;
}
.demo-player__head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid #242427;
}
.demo-player__head-title {
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 13px;
}
.demo-player__body {
    position: relative;
    min-height: 220px;
    padding: 32px 20px;
    background: radial-gradient(
        120% 140% at 50% 0%,
        #1b2228 0%,
        #0c0e10 58%,
        #0a0a0b 100%
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
}
.demo-player__icon {
    position: relative;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(115, 199, 227, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}
.demo-player__icon::before {
    content: "";
    position: absolute;
    inset: 9px;
    border-radius: 50%;
    border: 2px solid var(--accent);
}
.demo-player__icon svg {
    position: relative;
    z-index: 1;
    width: 18px;
    height: 18px;
    margin-left: 2px;
    color: var(--accent);
}
.demo-player__body p {
    color: #c7c8cc;
    font-size: 13px;
    max-width: 420px;
    margin: 0;
}
.demo-player__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 14px 18px;
    border-top: 1px solid #242427;
}
.demo-player__footer-title {
    color: #d6d7db;
    font-size: 13px;
}

/* ---------- RNG demo grid (free-play cards) ---------- */
.rng-roulettes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}
.rng-roulette {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
    display: flex;
    flex-direction: column;
}
.rng-roulette__media {
    position: relative;
}
.rng-roulette__thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 8px;
    overflow: hidden;
    background: var(--card-soft);
}
.rng-roulette__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.rng-roulette__info-top {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.rng-roulette__zeros {
    background: rgba(17, 17, 17, 0.75);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
}
.rng-roulette__rating {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: default;
    background: rgba(17, 17, 17, 0.75);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
}
.rng-roulette__rating svg {
    width: 9px;
    height: 9px;
    fill: var(--gold);
}

/* Rating breakdown — hover/focus popover off the star badge, same pattern as .article-info__popup */
.rng-roulette__table {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 20;
    width: 220px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
    box-shadow: 0 14px 30px rgba(17, 17, 17, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    pointer-events: none;
    transition:
        opacity 0.15s ease,
        transform 0.15s ease,
        visibility 0.15s ease;
}
.rng-roulette__rating:hover .rng-roulette__table,
.rng-roulette__rating:focus-within .rng-roulette__table {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}
.rng-roulette__table-title {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.rng-roulette__table-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--border);
}
.rng-roulette__table-rating-icon svg {
    width: 14px;
    height: 16px;
    fill: var(--gold);
}
.rng-roulette__table-rating-value {
    font-size: 13px;
    color: var(--ink);
}
.rng-roulette__table-rating-value b {
    font-size: 15px;
}
.rng-roulette__table-rows {
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.rng-roulette__table-row {
    display: grid;
    grid-template-columns: 98px 1fr 24px;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--text-muted);
}
.rng-roulette__table-row-progress {
    height: 5px;
    border-radius: 3px;
    background: var(--card-soft);
    overflow: hidden;
}
.rng-roulette__table-row-progress-status {
    display: block;
    height: 100%;
    background: var(--accent);
    border-radius: 3px;
}
.rng-roulette__table-row-value {
    color: var(--ink);
    text-align: right;
}
.rng-roulette__table-row-value b {
    color: var(--ink);
}

/* Play button + provider row, under the thumbnail */
.rng-roulette__info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 2px 0;
}
.rng-roulette__btn-play {
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    border-radius: 50%;
    border: 0;
    cursor: pointer;
    background: var(--ink);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}
.rng-roulette__btn-play:hover {
    background: #000;
}
.rng-roulette__btn-play svg {
    width: 11px;
    height: 11px;
    fill: currentColor;
    margin-left: 1px;
}
.rng-roulette__provider {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    background: #12161c;
    border-radius: 6px;
    padding: 6px 10px;
    display: inline-flex;
    align-items: center;
}
.rng-roulette__provider img {
    height: 22px;
    width: auto;
}

.rng-roulette__content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}
.rng-roulette__title {
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
}
.rng-roulette__content-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.rng-roulette__rtp {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    color: var(--text-muted);
}
.rng-roulette__rtp svg {
    width: 13px;
    height: 13px;
    color: var(--accent-deep);
}
.rng-roulette__rtp-value {
    color: var(--ink);
    font-weight: 700;
}
.rng-roulette__features {
    display: flex;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.rng-roulette__feature {
    position: relative;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--card-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
}
.rng-roulette__feature svg {
    width: 13px;
    height: 13px;
}
.rng-roulette__feature-tooltip {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--ink);
    color: #fff;
    font-size: 10.5px;
    padding: 4px 8px;
    border-radius: 6px;
    width: max-content;
    max-width: 88px;
    text-align: center;
    line-height: 1.3;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s ease;
}
.rng-roulette__feature:hover .rng-roulette__feature-tooltip {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 640px) {
    .rng-roulettes {
        grid-template-columns: 1fr;
    }
}

/* ---------- Quick facts card (hero aside for non-game pages) ---------- */
.quick-facts {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: 0 1px 2px rgba(17, 17, 17, 0.05);
}
.quick-facts h3 {
    font-size: 14px;
    margin: 0 0 4px;
}
.quick-facts__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border);
    font-size: 13.5px;
    color: var(--text-muted);
}
.quick-facts__row:last-child {
    border-bottom: 0;
}
.quick-facts__row b {
    color: var(--ink);
    font-family: var(--font-head);
}

/* ---------- Article info (author + date, hover bio popup) ---------- */
.article-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.article-info__author {
    display: flex;
    align-items: center;
    gap: 8px;
}
.article-info__author-logo {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    overflow: hidden;
    flex: 0 0 auto;
    background: var(--sidebar-bg);
}
.article-info__author-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.article-info__author-info {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}
.article-info__author-label {
    font-size: 11px;
    color: var(--text-muted);
}
.article-info__author-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
}
.article-info__date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
}
.article-info__date svg {
    width: 14px;
    height: 14px;
    color: #b7b9bd;
}

/* ---------- Top live game card (hero aside) ---------- */
.top-live-game {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: 0 1px 2px rgba(17, 17, 17, 0.05);
}
.top-live-game__head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.top-live-game__head svg {
    width: 16px;
    height: 16px;
    color: var(--gold);
}
.top-live-game__head-title {
    font-size: 12.5px;
    color: var(--text-muted);
}
.top-live-game__head-title b {
    color: var(--ink);
}
.top-live-game__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    margin-bottom: 14px;
}
.top-live-game__media {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 8px;
    aspect-ratio: 260/142;
}
.top-live-game__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.top-live-game__title {
    font-family: var(--font-head);
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
}
.top-live-game__provider {
    font-size: 12px;
    color: var(--text-muted);
}
.top-live-game__footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.top-live-game__footer .btn {
    width: 100%;
}

@media (max-width: 760px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #fff;
    background: rgba(0, 0, 0, 0.7);
    padding: 5px 9px;
    border-radius: 3px;
    margin-bottom: 12px;
}

.hero {
    margin-bottom: 28px;
    position: relative;
    padding-top: 6px;
    isolation: isolate;
}
.hero::before {
    content: "";
    position: absolute;
    inset: -50px 0 -110px 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(
            560px 240px at 92% 10%,
            rgba(115, 199, 227, 0.2),
            transparent 70%
        ),
        radial-gradient(
            420px 220px at 2% 20%,
            rgba(232, 161, 58, 0.11),
            transparent 70%
        );
}
.hero h1 {
    font-size: 30px;
}
.hero p {
    max-width: none;
}

/* ---------- Cards / grids ---------- */
.grid {
    display: grid;
    gap: 16px;
}
.grid--3 {
    grid-template-columns: repeat(3, 1fr);
}
.grid--2 {
    grid-template-columns: repeat(2, 1fr);
}
.grid--1 {
    grid-template-columns: 1fr;
}
.grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

.card {
    background: linear-gradient(180deg, #ffffff 0%, var(--card-tint) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        transform 0.15s ease;
    box-shadow: 0 1px 2px rgba(17, 17, 17, 0.05);
}
.card h3 {
    font-size: 17px;
}
.card p {
    font-size: 13.5px;
    color: var(--text-muted);
    margin-bottom: 14px;
}
.card__meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: rgba(0, 0, 0, 0.7);
    padding: 4px 8px;
    border-radius: 3px;
    margin-bottom: 10px;
}
.card a.more {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--link);
}
.card__wheel {
    width: 64px;
    height: 64px;
    margin-bottom: 12px;
}
.card__wheel img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.icon-badge {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: linear-gradient(160deg, #26272b, var(--sidebar-bg));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    flex: 0 0 auto;
    box-shadow:
        0 3px 8px rgba(17, 17, 17, 0.18),
        inset 0 0 0 1px rgba(115, 199, 227, 0.15);
}
.icon-badge img {
    width: 17px;
    height: 17px;
}

.icon-line {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.icon-line img {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    margin-top: 2px;
}
.icon-line h3 {
    font-size: 14.5px;
    margin-bottom: 4px;
}
.icon-line p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

/* ---------- Casino card (grid variant, matches source layout) ---------- */
.casino-card {
    background: linear-gradient(180deg, #ffffff 0%, var(--card-tint) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    box-shadow: 0 2px 6px rgba(17, 17, 17, 0.05);
    transition:
        box-shadow 0.15s ease,
        transform 0.15s ease;
}
.casino-card:hover {
    box-shadow: 0 10px 22px rgba(30, 127, 166, 0.12);
    transform: translateY(-2px);
}
.grid {
    counter-reset: casino-rank;
}
.casino-card {
    counter-increment: casino-rank;
}
.casino-card__rank {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: var(--card-bg);
    color: var(--link);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 2px rgba(17, 17, 17, 0.08);
}
.casino-card__rank::before {
    content: counter(casino-rank);
}
.casino-card:first-child .casino-card__rank {
    background: linear-gradient(180deg, #f6c15e, var(--gold));
    color: #5c3a06;
}
.casino-card__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-right: 26px;
}
.casino-card__logo {
    flex: 0 0 100px;
    height: 56px;
    border-radius: 8px;
    background: var(--sidebar-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
}
.casino-card__logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.casino-card__name {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 15px;
    color: var(--ink);
}
.casino-card__license {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    color: var(--text-muted);
    margin-top: 3px;
}
.casino-card__license img {
    width: 12px;
    height: 12px;
}
.casino-card__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: 12px;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}
.casino-card__stats span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.casino-card__stats img {
    width: 14px;
    height: 14px;
}
.casino-card__bonus {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12.5px;
    color: var(--text);
}
.casino-card__bonus img {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    margin-top: 2px;
}
.casino-card__bonus b {
    color: var(--ink);
}
.casino-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.casino-card__pay {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}
.casino-card__pay img {
    height: 15px;
    width: auto;
    opacity: 0.75;
}
.casino-card__foot .btn {
    flex: 0 0 auto;
    padding: 9px 18px;
    font-size: 13px;
}

/* ---------- Payment method → compatible casinos ---------- */
.payment-casino {
    background: #fff;
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    padding: 16px 16px 16px 18px;
}
.payment-casino__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.payment-casino__logo {
    flex: 0 0 62px;
    width: 62px;
    height: 62px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 2px 5px rgba(17, 17, 17, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}
.payment-casino__logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.payment-casino__title {
    display: block;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 14.5px;
    color: var(--ink);
}
.payment-casino__count {
    margin-left: auto;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--accent-deep);
    background: var(--card-tint);
    border: 1px solid var(--border);
    padding: 4px 10px;
    border-radius: 4px;
    white-space: nowrap;
}
.payment-casino__count b {
    font-size: 13px;
}
.payment-casino__list-title {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.payment-casino__logos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.payment-casino__logos a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 40px;
    border-radius: 5px;
    background: var(--sidebar-bg);
    padding: 6px 12px;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}
.payment-casino__logos a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(17, 17, 17, 0.18);
}
.payment-casino__logos img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    background: var(--ink);
    color: #fff;
    border: 0;
    cursor: pointer;
    font-family: var(--font-head);
    box-shadow: 0 2px 8px rgba(17, 17, 17, 0.16);
    transition:
        box-shadow 0.15s ease,
        transform 0.15s ease;
}
.btn:hover {
    background: #000;
    box-shadow: 0 4px 14px rgba(17, 17, 17, 0.24);
    transform: translateY(-1px);
}
.btn--accent {
    background: linear-gradient(180deg, #8ad4ec 0%, var(--accent) 100%);
    color: var(--ink);
    box-shadow: 0 4px 14px rgba(115, 199, 227, 0.4);
}
.btn--accent:hover {
    background: linear-gradient(180deg, #9adcf1 0%, #82cee8 100%);
    box-shadow: 0 6px 18px rgba(115, 199, 227, 0.5);
}
.btn--ghost {
    background: #fff;
    border: 1px solid var(--border);
    color: var(--ink);
}
.btn--ghost:hover {
    border-color: var(--ink);
}
.btn--block {
    display: flex;
    width: 100%;
}
.btn--link {
    background: transparent;
    color: var(--link);
    box-shadow: none;
    padding: 8px 20px;
}
.btn--link:hover {
    background: var(--card-soft);
    box-shadow: none;
    transform: none;
}

/* ---------- Casino list ---------- */
.casino {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 18px;
    margin-bottom: 12px;
}
.casino__rank {
    flex: 0 0 28px;
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--link);
    font-size: 15px;
}
.casino__logo {
    flex: 0 0 110px;
    height: 44px;
    border-radius: 8px;
    background: var(--sidebar-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
}
.casino__logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.casino__license {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 400;
    font-family: var(--font-body);
}
.casino__pay {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}
.casino__pay img {
    height: 14px;
    width: auto;
    opacity: 0.7;
}
.casino__body {
    flex: 1 1 auto;
    min-width: 0;
}
.casino__body h3 {
    font-size: 15.5px;
    margin: 0 0 4px;
}
.casino__body p {
    font-size: 13px;
    margin: 0 0 6px;
    color: var(--text-muted);
}
.casino__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.casino__tags span {
    font-size: 11px;
    color: var(--text-muted);
    background: var(--card-soft);
    border: 1px solid var(--border);
    padding: 3px 8px;
    border-radius: 20px;
}
.casino__cta {
    flex: 0 0 auto;
}
.casino__cta .btn {
    padding: 9px 18px;
    font-size: 13px;
}

/* ---------- Author box ---------- */
.author {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--card-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    margin-top: 36px;
}
.author__avatar {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-head);
}
.author__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.author h4 {
    margin: 0 0 4px;
    font-size: 14.5px;
}
.author p {
    font-size: 13px;
    margin: 0;
    color: var(--text-muted);
}

/* ---------- Responsible gaming notice ---------- */
.notice {
    background: var(--card-soft);
    border: 1px solid var(--border);
    border-left: 3px solid var(--danger);
    border-radius: 8px;
    padding: 14px 16px;
    margin: 24px 0;
    font-size: 12.5px;
    color: var(--text-muted);
}

/* ---------- Footer (dark) ---------- */
.footer {
    background: linear-gradient(
        180deg,
        var(--footer-bg-2) 0%,
        var(--footer-bg) 260px
    );
    margin-top: 40px;
    color: var(--footer-text);
}
.footer__warning {
    border-bottom: 1px solid var(--footer-border);
    padding: 18px 0;
}
.footer__warning h5 {
    color: var(--danger);
    font-size: 12px;
    margin: 0 0 6px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-family: var(--font-head);
    font-weight: 700;
}
.footer__warning p {
    font-size: 12.5px;
    margin: 0;
    color: var(--footer-text);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
    gap: 28px;
    padding: 32px 0;
}
.footer__col h6 {
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin: 0 0 14px;
    font-family: var(--font-head);
    font-weight: 700;
}
.footer__col ul li {
    margin-bottom: 9px;
}
.footer__col a {
    font-size: 13.5px;
    color: var(--footer-text);
}
.footer__col a:hover {
    color: var(--accent);
}
.footer__col p {
    font-size: 12.5px;
    color: var(--footer-text);
}

.footer__logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    border-top: 1px solid var(--footer-border);
    padding: 22px 0;
}
.chip-logo {
    height: 22px;
    filter: grayscale(1) brightness(0) invert(1);
    opacity: 0.75;
}
.chip-logo:hover {
    opacity: 1;
}

.footer-bg__column-title {
    display: block;
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin: 0 0 10px;
    font-family: var(--font-head);
    font-weight: 700;
}
.footer__image-list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 22px;
}
.footer__image-item a {
    display: flex;
    align-items: center;
}
.footer__image-item img {
    height: 20px;
    width: auto;
    filter: grayscale(1) brightness(0) invert(1);
    opacity: 0.75;
}
.footer__image-item img:hover {
    opacity: 1;
}
.footer__image-list--white img {
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

.footer__badges {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    border-top: 1px solid var(--footer-border);
    padding: 18px 0;
}
.footer__badges img {
    height: 26px;
    width: auto;
    opacity: 0.9;
    background: #fff;
    border-radius: 4px;
    padding: 3px 6px;
}

.footer__legal {
    border-top: 1px solid var(--footer-border);
    padding: 18px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 20px;
}
.footer__legal-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
}
.footer__legal-list a {
    font-size: 12px;
    color: var(--footer-text);
}
.footer__legal-list a:hover {
    color: var(--accent);
}

.footer__bottom {
    border-top: 1px solid var(--footer-border);
    padding: 18px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.footer__copy {
    font-size: 12px;
    color: var(--footer-text);
}
.lang-switch {
    display: flex;
    gap: 0;
    border: 1px solid var(--footer-border);
    border-radius: 6px;
    overflow: hidden;
}
.lang-switch a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    color: var(--footer-text);
    font-family: var(--font-head);
}
.lang-switch__flag {
    width: 16px;
    height: 11px;
    border-radius: 2px;
    display: block;
}
.lang-switch a.is-active {
    background: var(--accent);
    color: var(--ink);
}
.lang-switch a:hover:not(.is-active) {
    color: #fff;
}

/* ---------- Content sections (homepage long-form blocks) ---------- */
.section-block {
    margin: 0;
}
.section-block > p:first-of-type {
 
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
table.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
    min-width: 520px;
}
table.data-table th,
table.data-table td {
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}
table.data-table th {
    background: var(--card-soft);
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--ink);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
table.data-table tr:last-child td {
    border-bottom: 0;
}
table.data-table td {
    color: var(--text-muted);
}
table.data-table--bets th:nth-child(1),
table.data-table--bets td:nth-child(1) {
    width: 169px;
}
table.data-table--bets th:nth-child(2),
table.data-table--bets td:nth-child(2) {
    width: 127px;
}
table.data-table--bets th:nth-child(3),
table.data-table--bets td:nth-child(3) {
    width: 240px;
}

.compare-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.compare-col {
    background: var(--card-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: 0 1px 2px rgba(17, 17, 17, 0.04);
}
.compare-col h3 {
    font-size: 15.5px;
}
.compare-col ul {
    margin-top: 8px;
}
.compare-col li {
    font-size: 13.5px;
    color: var(--text-muted);
    padding: 6px 0;
    border-bottom: 1px dashed var(--border);
}
.compare-col li:last-child {
    border-bottom: 0;
}
.compare-col li b {
    color: var(--ink);
    float: right;
    font-weight: 600;
}

.live-games {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.live-game {
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
.live-game__media {
    position: relative;
    aspect-ratio: 16/10;
    flex: 0 0 auto;
}
.live-game__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.live-game__provider {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(17, 17, 17, 0.75);
    border-radius: 6px;
    padding: 4px 8px;
    display: flex;
    align-items: center;
}
.live-game__provider img {
    height: 14px;
    width: auto;
    object-fit: contain;
}
.live-game__rating {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    align-items: center;
    gap: 3px;
    background: rgba(17, 17, 17, 0.75);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 20px;
}
.live-game__rating svg {
    width: 9px;
    height: 9px;
    fill: var(--gold);
}
.live-game__body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}
.live-game__body h3 {
    font-size: 14.5px;
    margin: 0 0 8px;
}
.live-game__feats {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.live-game__feats b {
    color: var(--ink);
    font-weight: 700;
}
.live-game__body .btn--block {
    margin-top: auto;
}

.mini-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.mini-row {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 16px;
}
.mini-row .pill-live {
    flex: 0 0 auto;
    padding: 4px 8px;
    font-size: 10px;
}
.mini-row__body {
    flex: 1 1 auto;
    min-width: 0;
}
.mini-row__body strong {
    display: block;
    font-size: 14px;
    color: var(--ink);
}
.mini-row__body span {
    font-size: 12.5px;
    color: var(--text-muted);
}
.mini-row .more {
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 600;
}

.tip-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.tip {
    background: var(--card-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: 0 1px 2px rgba(17, 17, 17, 0.04);
}
.tip h3 {
    font-size: 15px;
}
.tip p {
    font-size: 13.5px;
    margin: 0;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.service-list li {
    background: var(--card-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 16px;
    font-size: 13.5px;
}
.service-list strong {
    display: block;
    color: var(--ink);
    font-size: 14px;
    margin-bottom: 2px;
}
.service-list .phone {
    display: block;
    color: var(--link);
    font-weight: 600;
    margin-top: 4px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.step {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card-soft);
    box-shadow: 0 1px 2px rgba(17, 17, 17, 0.04);
}
.step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
}
.step h3 {
    font-size: 14.5px;
}
.step p {
    font-size: 13px;
    margin: 0;
}

details.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 16px;
    margin-bottom: 10px;
}
details.faq-item summary {
    cursor: pointer;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 14.5px;
    color: var(--ink);
    list-style: none;
}
details.faq-item summary::-webkit-details-marker {
    display: none;
}
details.faq-item summary::after {
    content: "+";
    float: right;
    color: var(--link);
    font-weight: 700;
}
details.faq-item[open] summary::after {
    content: "–";
}
details.faq-item p {
    margin: 10px 0 0;
    font-size: 13.5px;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }
    .grid--3,
    .grid--4,
    .live-games,
    .steps {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 800px) {
    .menu-toggle {
        display: inline-flex;
    }
    .topnav {
        display: none;
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 50;
        margin-left: 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 14px;
        overflow-y: auto;
        box-shadow: 0 18px 36px rgba(17, 17, 17, 0.14);
    }
    .topnav.is-open {
        display: flex;
    }
    .topnav-link {
        padding: 12px 14px;
        font-size: 15px;
    }
    .topnav-item {
        flex-direction: column;
        align-items: stretch;
        border-radius: 0;
    }
    .topnav-item:hover,
    .topnav-item.is-open {
        background: transparent;
    }
    .topnav-item.is-open > .topnav-link {
        background: var(--card-tint);
        color: var(--accent-deep);
    }
    .topnav-item > .topnav-link {
        padding-right: 44px;
        border-radius: 8px;
    }
    .topnav-item__chev {
        position: absolute;
        right: 0;
        top: 0;
        width: 44px;
        height: 44px;
        border-radius: 8px;
    }
    .topnav-item.is-open .topnav-item__chev {
        background: var(--card-tint);
    }
    .topnav-dropdown {
        display: none;
        position: static;
        box-shadow: none;
        border: 0;
        border-radius: 0;
        background: transparent;
        min-width: 0;
        padding: 0 0 0 12px;
        margin-top: 2px;
        grid-template-columns: 1fr;
    }
    .topnav-item.is-open .topnav-dropdown {
        display: grid;
    }
    .main {
        padding: 20px 16px 40px;
        max-width: 100%;
    }
    .grid--3,
    .grid--4,
    .grid--2,
    .live-games,
    .steps,
    .tip-list,
    .compare-cols {
        grid-template-columns: 1fr;
    }
    .footer__grid {
        grid-template-columns: 1fr;
        padding: 24px 0;
    }
    .casino {
        flex-wrap: wrap;
    }
    .casino__cta {
        width: 100%;
    }
    .casino__cta .btn {
        width: 100%;
    }
}

/* Game embed wrapper */
.rng-game-embed {
    max-width: 800px;
    margin: 16px auto;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(17, 17, 17, 0.06);
}
.rng-game-embed__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    background: var(--card-soft);
    border-bottom: 1px solid var(--border);
}
.rng-game-embed__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 14px;
    color: var(--ink);
    min-width: 0;
}
.rng-game-embed__title svg {
    width: 18px;
    height: 18px;
    flex: none;
    color: var(--accent-deep);
}
.rng-game-embed__title span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.rng-game-embed__badge {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: var(--accent-deep);
    padding: 2px 9px;
    border-radius: 999px;
    letter-spacing: 0.02em;
    flex: none;
}
.rng-game-embed__actions {
    display: flex;
    gap: 6px;
    flex: none;
}
.rng-game-embed__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: #fff;
    color: var(--text-muted);
    cursor: pointer;
    transition:
        background 0.15s,
        color 0.15s,
        border-color 0.15s;
}
.rng-game-embed__btn:hover {
    background: var(--card-tint);
    color: var(--accent-deep);
    border-color: var(--accent);
}
.rng-game-embed__btn svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}
.rng-game-embed__body {
    position: relative;
    width: 100%;
    aspect-ratio: 800/600;
    background: #0c0c0e;
}
.rng-game-embed__body iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.rng-game-embed__loading {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--card-soft);
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 13px;
    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}
.rng-game-embed__spinner {
    width: 26px;
    height: 26px;
    border: 3px solid var(--border);
    border-top-color: var(--accent-deep);
    border-radius: 50%;
    animation: rng-spin 0.8s linear infinite;
}
@keyframes rng-spin {
    to {
        transform: rotate(360deg);
    }
}
.rng-game-embed.is-loaded .rng-game-embed__loading {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.rng-game-embed:fullscreen {
    max-width: none;
    border-radius: 0;
}
.rng-game-embed:fullscreen .rng-game-embed__body {
    aspect-ratio: auto;
    height: calc(100% - 49px);
}
