/* Rolletto-inspired dark gaming shell - self-hosted fonts only */
@font-face {
    font-family: 'Sora';
    src: url('fonts/sora-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Sora';
    src: url('fonts/sora-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('fonts/manrope-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('fonts/manrope-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --rl-bg-deep: #0a1620;
    --rl-bg-panel: #0f2230;
    --rl-bg-elevated: #152b3c;
    --rl-accent: #3dffb0;
    --rl-accent-hover: #2de89a;
    --rl-accent-text: #062018;
    --rl-text: #eef6fb;
    --rl-text-dim: #8fa8bc;
    --rl-border: #1e3d52;
    --rl-radius: 10px;
    --rl-radius-sm: 6px;
    --rl-head-h: 64px;
    --rl-nav-h: 48px;
    --rl-font-display: 'Sora', system-ui, sans-serif;
    --rl-font-body: 'Manrope', system-ui, sans-serif;
    --rl-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--rl-font-body);
    font-size: 15px;
    line-height: 1.65;
    color: var(--rl-text);
    background: var(--rl-bg-deep);
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--rl-accent);
    text-decoration: none;
}

/* ── Header shell ── */
.rl-site-head {
    position: sticky;
    top: 0;
    z-index: 900;
    background: var(--rl-bg-panel);
    border-bottom: 1px solid var(--rl-border);
    box-shadow: var(--rl-shadow);
}

.rl-head-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 0 20px;
    min-height: var(--rl-head-h);
}

.rl-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: transparent;
    border: 1px solid var(--rl-border);
    border-radius: var(--rl-radius-sm);
    cursor: pointer;
    flex-shrink: 0;
}

.rl-burger-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--rl-accent);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.rl-burger.is-open .rl-burger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.rl-burger.is-open .rl-burger-line:nth-child(2) {
    opacity: 0;
}

.rl-burger.is-open .rl-burger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.rl-brand {
    flex-shrink: 0;
    margin-left: 200px;
}

.rl-brand-link {
    display: flex;
    align-items: center;
}

.rl-brand-img {
    width: auto;
    height: 36px;
    object-fit: contain;
}

.rl-brand-text {
    font-family: var(--rl-font-display);
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--rl-text);
    letter-spacing: 0.02em;
}

.rl-head-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.rl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    font-family: var(--rl-font-display);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: var(--rl-radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    white-space: nowrap;
}

.rl-btn-outline {
    color: var(--rl-text);
    background: transparent;
    border-color: var(--rl-border);
}

.rl-btn-outline:hover {
    border-color: var(--rl-accent);
    color: var(--rl-accent);
}

.rl-btn-accent {
    color: var(--rl-accent-text);
    background: var(--rl-accent);
    border-color: var(--rl-accent);
}

.rl-btn-accent:hover {
    background: var(--rl-accent-hover);
    border-color: var(--rl-accent-hover);
}

/* ── Horizontal nav row (desktop) ── */
.rl-primary-nav {
    border-top: 1px solid var(--rl-border);
    background: linear-gradient(180deg, var(--rl-bg-elevated) 0%, var(--rl-bg-panel) 100%);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.rl-primary-nav::-webkit-scrollbar {
    display: none;
}

.rl-nav-list {
    list-style: none;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 2px;
    padding: 0 12px;
    min-height: var(--rl-nav-h);
}

.rl-nav-item {
    flex-shrink: 0;
}

.rl-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    height: var(--rl-nav-h);
    color: var(--rl-text-dim);
    font-family: var(--rl-font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    white-space: nowrap;
}

.rl-nav-link:hover,
.rl-nav-link.is-active {
    color: var(--rl-accent);
    border-bottom-color: var(--rl-accent);
    background: rgba(61, 255, 176, 0.06);
}

.rl-nav-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nav-glyph {
    width: 20px;
    height: 20px;
    color: currentColor;
}

.rl-mobile-scrim {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(4, 12, 18, 0.72);
    z-index: 850;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.rl-mobile-scrim.is-visible {
    opacity: 1;
    pointer-events: auto;
}

/* ── Page layout ── */
.main-content-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 16px 48px;
}

/* ── Breadcrumbs ── */
.breadcrumb-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.8125rem;
}

.breadcrumb-link {
    color: var(--rl-text-dim);
    transition: color 0.2s;
}

.breadcrumb-link:hover {
    color: var(--rl-accent);
}

.breadcrumb-divider {
    color: var(--rl-border);
}

/* ── Hero banner slider ── */
.rl-hero-slider {
    position: relative;
    margin-bottom: 24px;
    border-radius: var(--rl-radius);
    overflow: hidden;
    background: var(--rl-bg-elevated);
    border: 1px solid var(--rl-border);
}

.rl-hero-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.rl-hero-slide {
    flex: 0 0 100%;
    position: relative;
}

.rl-hero-slide-link {
    display: block;
    line-height: 0;
}

.rl-hero-slide picture,
.rl-hero-slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    max-height: min(52vw, 420px);
    margin: 0 auto;
}

.rl-hero-caption {
    padding: 14px 18px 18px;
    background: linear-gradient(180deg, transparent, rgba(10, 22, 32, 0.95));
}

.rl-hero-title {
    font-family: var(--rl-font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--rl-text);
    margin-bottom: 6px;
}

.rl-hero-sub {
    font-size: 0.875rem;
    color: var(--rl-text-dim);
    margin-bottom: 12px;
}

.rl-hero-ctrl {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--rl-border);
    background: rgba(15, 34, 48, 0.85);
    color: var(--rl-accent);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.2s, border-color 0.2s;
}

.rl-hero-ctrl:hover {
    background: var(--rl-bg-elevated);
    border-color: var(--rl-accent);
}

.rl-hero-ctrl--prev { left: 10px; }
.rl-hero-ctrl--next { right: 10px; }

.rl-hero-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 12px 0 14px;
}

.rl-hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--rl-border);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}

.rl-hero-dot.is-active {
    background: var(--rl-accent);
    transform: scale(1.25);
}

/* Legacy promo banner fallback */
.promotional-banners {
    margin-bottom: 24px;
}

.promo-banner {
    border-radius: var(--rl-radius);
    overflow: hidden;
    background: var(--rl-bg-elevated);
    border: 1px solid var(--rl-border);
    margin-bottom: 12px;
}

.promo-banner picture,
.promo-banner-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: min(52vw, 420px);
    margin: 0 auto;
}

.promo-banner-content {
    padding: 14px 18px 18px;
}

.promo-banner-title {
    font-family: var(--rl-font-display);
    font-weight: 600;
    margin-bottom: 6px;
}

.promo-banner-text {
    color: var(--rl-text-dim);
    font-size: 0.875rem;
    margin-bottom: 12px;
}

.promo-banner-btn {
    display: inline-flex;
    padding: 9px 18px;
    background: var(--rl-accent);
    color: var(--rl-accent-text);
    font-family: var(--rl-font-display);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: var(--rl-radius-sm);
}

/* ── Game sections ── */
.game-section {
    margin-bottom: 36px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    gap: 12px;
}

.section-title {
    font-family: var(--rl-font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--rl-text);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.show-all-btn {
    font-size: 0.8125rem;
    color: var(--rl-accent);
    font-weight: 600;
    padding: 6px 12px;
    border: 1px solid var(--rl-border);
    border-radius: var(--rl-radius-sm);
    transition: border-color 0.2s, background 0.2s;
}

.show-all-btn:hover {
    border-color: var(--rl-accent);
    background: rgba(61, 255, 176, 0.08);
}

.games-carousel {
    overflow: hidden;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
}

.game-card {
    background: var(--rl-bg-elevated);
    border: 1px solid var(--rl-border);
    border-radius: var(--rl-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s, transform 0.2s;
}

.game-card:hover {
    border-color: rgba(61, 255, 176, 0.4);
    transform: translateY(-2px);
}

.game-image-wrapper {
    position: relative;
    background: var(--rl-bg-deep);
    aspect-ratio: 3 / 4;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.game-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    background: rgba(10, 22, 32, 0.92);
    border-top: 1px solid var(--rl-border);
}

.game-play-btn {
    display: block;
    text-align: center;
    padding: 8px 10px;
    font-family: var(--rl-font-display);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--rl-radius-sm);
    border: 1px solid transparent;
    transition: background 0.2s, border-color 0.2s;
}

.game-play-btn--primary {
    background: var(--rl-accent);
    color: var(--rl-accent-text);
    border-color: var(--rl-accent);
}

.game-play-btn--primary:hover {
    background: var(--rl-accent-hover);
}

.game-play-btn--ghost {
    background: transparent;
    color: var(--rl-text);
    border-color: var(--rl-border);
}

.game-play-btn--ghost:hover {
    border-color: var(--rl-accent);
    color: var(--rl-accent);
}

.game-title {
    padding: 10px 12px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-align: center;
    color: var(--rl-text-dim);
}

/* ── Bonuses ── */
.bonuses-section {
    margin-bottom: 40px;
}

.bonuses-section .section-header {
    margin-bottom: 18px;
}

.bonuses-section .section-title {
    font-family: var(--rl-font-display);
    font-size: clamp(1.2rem, 3vw, 1.55rem);
    font-weight: 600;
    color: var(--rl-text);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.bonuses-section .section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 56px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--rl-accent), rgba(61, 255, 176, 0.15));
}

.bonuses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 18px;
}

.bonus-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(21, 43, 60, 0.95) 0%, rgba(12, 26, 38, 0.98) 100%);
    border: 1px solid rgba(61, 255, 176, 0.12);
    border-radius: calc(var(--rl-radius) + 2px);
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.bonus-card:hover {
    transform: translateY(-4px);
    border-color: rgba(61, 255, 176, 0.28);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(61, 255, 176, 0.08) inset;
}

.bonus-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--rl-accent), rgba(61, 255, 176, 0.1));
}

.bonus-image-wrapper {
    background: radial-gradient(circle at 50% 20%, rgba(61, 255, 176, 0.08), transparent 60%), var(--rl-bg-deep);
    padding: 12px 12px 0;
}

.bonus-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 190px;
    margin: 0 auto;
    border-radius: var(--rl-radius-sm);
}

.bonus-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px 18px 16px;
    gap: 8px;
}

.bonus-name {
    font-family: var(--rl-font-display);
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.35;
    color: var(--rl-text);
}

.bonus-description {
    color: var(--rl-text-dim);
    font-size: 0.875rem;
    line-height: 1.65;
    flex: 1;
}

.bonus-value {
    display: inline-flex;
    align-self: flex-start;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(61, 255, 176, 0.1);
    border: 1px solid rgba(61, 255, 176, 0.22);
    color: var(--rl-accent);
    font-weight: 700;
    font-size: 0.875rem;
}

.bonus-category-badge {
    display: inline-flex;
    align-self: flex-start;
    padding: 4px 10px;
    font-size: 0.625rem;
    font-weight: 700;
    background: rgba(8, 18, 28, 0.85);
    color: var(--rl-accent);
    border: 1px solid rgba(61, 255, 176, 0.18);
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.bonus-terms {
    margin-top: 4px;
    padding-top: 12px;
    border-top: 1px dashed rgba(61, 255, 176, 0.15);
    font-size: 0.75rem;
    line-height: 1.55;
    color: var(--rl-text-dim);
}

/* ── SEO text block (only place with h1-h3) ── */
.text-content {
    max-width: 860px;
    margin: 40px auto 0;
    padding: 30px 28px 34px;
    background: linear-gradient(180deg, rgba(15, 34, 48, 0.98) 0%, rgba(10, 22, 32, 0.96) 100%);
    border: 1px solid rgba(61, 255, 176, 0.1);
    border-radius: calc(var(--rl-radius) + 2px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.24);
    position: relative;
    overflow: hidden;
}

.text-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--rl-accent), rgba(61, 255, 176, 0.12), transparent);
}

.text-content h1 {
    font-family: var(--rl-font-display);
    font-size: clamp(1.45rem, 3.5vw, 1.85rem);
    font-weight: 600;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(61, 255, 176, 0.1);
    color: var(--rl-text);
    line-height: 1.35;
}

.text-content h2 {
    font-family: var(--rl-font-display);
    font-size: clamp(1.05rem, 2.5vw, 1.28rem);
    font-weight: 600;
    margin: 34px 0 14px;
    padding-left: 12px;
    border-left: 3px solid var(--rl-accent);
    color: var(--rl-text);
    line-height: 1.35;
}

.text-content h3 {
    font-family: var(--rl-font-display);
    font-size: 1.02rem;
    font-weight: 600;
    margin: 24px 0 10px;
    color: var(--rl-accent);
    line-height: 1.35;
}

.text-content p {
    margin-bottom: 15px;
    color: var(--rl-text-dim);
    line-height: 1.75;
}

.text-content a {
    color: var(--rl-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(61, 255, 176, 0.45);
    transition: color 0.2s, text-decoration-color 0.2s;
}

.text-content a:hover {
    color: #7dffca;
    text-decoration-color: rgba(125, 255, 202, 0.8);
}

.text-content img {
    border-radius: var(--rl-radius-sm);
    margin: 18px 0;
    border: 1px solid rgba(30, 61, 82, 0.75);
}

.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 20px 0;
    border: 1px solid var(--rl-border);
    border-radius: var(--rl-radius-sm);
}

.text-content table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
}

.text-content th,
.text-content td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--rl-border);
    text-align: left;
    font-size: 0.875rem;
}

.text-content th {
    background: var(--rl-bg-elevated);
    color: var(--rl-text);
    font-weight: 700;
    white-space: nowrap;
}

.text-content td {
    color: var(--rl-text-dim);
}

.text-content ul,
.text-content ol {
    margin: 16px 0;
    padding-left: 24px;
    color: var(--rl-text-dim);
}

.text-content li {
    margin-bottom: 6px;
}

.text-content blockquote {
    margin: 20px 0;
    padding: 14px 18px;
    border-left: 3px solid var(--rl-accent);
    background: rgba(61, 255, 176, 0.06);
    color: var(--rl-text-dim);
    border-radius: 0 var(--rl-radius-sm) var(--rl-radius-sm) 0;
}

/* FAQ / HowTo */
.faq-wrapper {
    margin: 22px 0;
}

.faq-item-block {
    border: 1px solid rgba(30, 61, 82, 0.85);
    border-radius: var(--rl-radius-sm);
    margin-bottom: 10px;
    overflow: hidden;
    background: rgba(8, 18, 28, 0.45);
    transition: border-color 0.2s;
}

.faq-item-block:hover {
    border-color: rgba(61, 255, 176, 0.22);
}

.faq-question-block {
    padding: 14px 16px;
    background: rgba(21, 43, 60, 0.65);
}

.faq-question-block strong {
    font-family: var(--rl-font-display);
    font-size: 0.9375rem;
    color: var(--rl-text);
    line-height: 1.45;
}

.faq-answer-block {
    padding: 14px 16px 16px;
    color: var(--rl-text-dim);
    font-size: 0.875rem;
    line-height: 1.7;
}

.howto-wrapper {
    margin: 22px 0;
    padding: 18px;
    background: rgba(21, 43, 60, 0.55);
    border: 1px solid rgba(61, 255, 176, 0.12);
    border-radius: var(--rl-radius);
}

.howto-steps-list {
    list-style: none;
    counter-reset: rl-step;
}

.howto-step-item {
    counter-increment: rl-step;
    padding: 14px 14px 14px 16px;
    margin-bottom: 10px;
    background: rgba(10, 22, 32, 0.85);
    border-left: 3px solid var(--rl-accent);
    border-radius: 0 var(--rl-radius-sm) var(--rl-radius-sm) 0;
}

.howto-step-item::before {
    content: counter(rl-step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    border-radius: 50%;
    background: rgba(61, 255, 176, 0.12);
    border: 1px solid rgba(61, 255, 176, 0.25);
    font-family: var(--rl-font-display);
    font-weight: 700;
    font-size: 0.75rem;
    color: var(--rl-accent);
    vertical-align: middle;
}

.howto-step-item strong {
    display: block;
    margin-bottom: 6px;
    color: var(--rl-text);
}

.text-content .list-container {
    margin: 14px 0 18px;
    padding: 14px 16px;
    border-radius: var(--rl-radius-sm);
    background: rgba(21, 43, 60, 0.45);
    border: 1px solid rgba(30, 61, 82, 0.75);
}

.list-container ul,
.list-container ol {
    margin: 0;
    padding-left: 22px;
    color: var(--rl-text-dim);
}

.list-container li {
    margin-bottom: 8px;
    line-height: 1.65;
}

.list-container li::marker {
    color: var(--rl-accent);
}

/* ── Payment methods ── */
.payment-methods-section {
    margin: 36px 0;
}

.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.payment-method-card {
    background: var(--rl-bg-elevated);
    border: 1px solid var(--rl-border);
    border-radius: var(--rl-radius-sm);
    padding: 14px 10px;
    text-align: center;
}

.payment-method-image {
    max-height: 36px;
    width: auto;
    margin: 0 auto 8px;
    object-fit: contain;
}

.payment-method-name {
    font-size: 0.6875rem;
    color: var(--rl-text-dim);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ── App page table ── */
.app-info-table-wrapper {
    margin: 24px 0 32px;
    position: relative;
}

.app-info-table-wrapper::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: calc(var(--rl-radius) + 4px);
    background: linear-gradient(135deg, rgba(61, 255, 176, 0.35), rgba(61, 255, 176, 0.03) 55%, transparent);
    z-index: 0;
    pointer-events: none;
}

.app-info-table-container {
    position: relative;
    z-index: 1;
    border: 1px solid rgba(61, 255, 176, 0.16);
    border-radius: calc(var(--rl-radius) + 2px);
    overflow: hidden;
    background: linear-gradient(180deg, rgba(15, 34, 48, 0.98) 0%, rgba(10, 22, 32, 0.96) 100%);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
}

.app-info-table-container .table-wrapper {
    margin: 0;
    border: none;
    border-radius: 0;
    overflow: visible;
}

.app-info-table {
    width: 100%;
    border-collapse: collapse;
}

.app-info-row {
    border-bottom: 1px solid rgba(30, 61, 82, 0.75);
    transition: background 0.2s;
}

.app-info-row:hover {
    background: rgba(21, 43, 60, 0.45);
}

.app-info-row:first-child {
    background: linear-gradient(90deg, rgba(61, 255, 176, 0.1) 0%, rgba(61, 255, 176, 0.02) 100%);
}

.app-info-row:first-child:hover {
    background: linear-gradient(90deg, rgba(61, 255, 176, 0.14) 0%, rgba(61, 255, 176, 0.04) 100%);
}

.app-info-row:last-child {
    border-bottom: none;
}

.app-info-label-cell,
.app-info-value-cell {
    padding: 16px 18px;
    vertical-align: middle;
}

.app-info-label-cell {
    width: 62px;
    text-align: center;
    background: rgba(8, 18, 28, 0.55);
}

.app-info-label-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(61, 255, 176, 0.08);
    border: 1px solid rgba(61, 255, 176, 0.18);
    box-shadow: inset 0 0 0 1px rgba(61, 255, 176, 0.05);
}

.app-info-icon {
    width: 22px;
    height: 22px;
    color: var(--rl-accent);
}

.app-info-value-cell {
    color: var(--rl-text-dim);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.app-info-row:first-child .app-info-value-cell {
    font-size: 1rem;
}

.app-name-with-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.app-name-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 14px;
    padding: 6px;
    background: rgba(8, 18, 28, 0.8);
    border: 1px solid rgba(61, 255, 176, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.app-name-text {
    font-family: var(--rl-font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--rl-text);
}

.app-download-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    padding: 11px 22px;
    background: var(--rl-accent);
    color: var(--rl-accent-text);
    font-family: var(--rl-font-display);
    font-weight: 700;
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(61, 255, 176, 0.24);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.app-download-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(61, 255, 176, 0.32);
    background: var(--rl-accent-hover);
}

@media (max-width: 640px) {
    .app-info-label-cell,
    .app-info-value-cell {
        padding: 14px 12px;
    }

    .app-name-with-logo {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* ── Footer ── */
.site-footer {
    margin-top: 48px;
    background: linear-gradient(180deg, #081824 0%, #050d14 100%);
    border-top: 1px solid var(--rl-border);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(680px, 90%);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--rl-accent), transparent);
    opacity: 0.45;
}

.footer-shell {
    max-width: 1280px;
    margin: 0 auto;
    padding: 36px 20px 28px;
}

.footer-quick-nav {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(30, 61, 82, 0.65);
}

.footer-quick-list {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 18px;
}

.footer-quick-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(61, 255, 176, 0.18);
    background: rgba(21, 43, 60, 0.55);
    color: var(--rl-text);
    font-size: 0.8125rem;
    font-weight: 600;
    transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s;
}

.footer-quick-link:hover {
    border-color: rgba(61, 255, 176, 0.45);
    background: rgba(21, 43, 60, 0.9);
    color: var(--rl-accent);
    transform: translateY(-1px);
}

.footer-quick-icon {
    width: 18px;
    height: 18px;
    color: var(--rl-accent);
    flex-shrink: 0;
}

.footer-container {
    display: grid;
    grid-template-columns: minmax(160px, 1.1fr) repeat(auto-fit, minmax(180px, 1fr));
    gap: 28px 32px;
    margin-bottom: 32px;
}

.footer-brand-col {
    display: flex;
    align-items: flex-start;
}

.footer-brand {
    display: inline-flex;
}

.footer-brand-img {
    height: 36px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(61, 255, 176, 0.15));
}

.footer-col {
    min-width: 0;
}

.footer-section-title {
    font-family: var(--rl-font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--rl-accent);
    margin-bottom: 14px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 9px;
}

.footer-links a {
    color: var(--rl-text-dim);
    font-size: 0.875rem;
    transition: color 0.2s, padding-left 0.2s;
}

.footer-links a:hover,
.footer-links a.active {
    color: var(--rl-text);
    padding-left: 4px;
}

.footer-payments {
    margin-bottom: 28px;
    padding: 22px 18px;
    border-radius: var(--rl-radius);
    border: 1px solid rgba(30, 61, 82, 0.8);
    background: rgba(10, 22, 32, 0.72);
}

.footer-payments-head {
    font-family: var(--rl-font-display);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--rl-text-dim);
    text-align: center;
    margin-bottom: 16px;
}

.footer-payments-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.footer-pay-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    min-height: 52px;
    padding: 10px 8px;
    border-radius: var(--rl-radius-sm);
    border: 1px solid rgba(30, 61, 82, 0.75);
    background: rgba(21, 43, 60, 0.65);
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.footer-pay-tile:hover {
    border-color: rgba(61, 255, 176, 0.35);
    background: rgba(21, 43, 60, 0.95);
    transform: translateY(-2px);
}

.footer-pay-logo {
    max-height: 28px;
    width: auto;
    object-fit: contain;
}

.footer-pay-label {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--rl-text-dim);
}

.footer-social-zone {
    text-align: center;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(30, 61, 82, 0.65);
}

.footer-social-head {
    font-size: 0.8125rem;
    color: var(--rl-text-dim);
    margin-bottom: 14px;
}

.footer-social-row {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(61, 255, 176, 0.22);
    background: rgba(21, 43, 60, 0.8);
    color: var(--rl-text);
    transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.footer-social-btn:hover {
    border-color: var(--rl-accent);
    background: rgba(61, 255, 176, 0.12);
    color: var(--rl-accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(61, 255, 176, 0.15);
}

.footer-social-svg {
    width: 20px;
    height: 20px;
}

.footer-social-image {
    max-height: 22px;
    width: auto;
}

.footer-cta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
}

.footer-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    font-family: var(--rl-font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: var(--rl-radius-sm);
    border: 1px solid var(--rl-border);
    color: var(--rl-text);
    background: rgba(21, 43, 60, 0.65);
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    white-space: nowrap;
}

.footer-cta-btn:hover {
    border-color: var(--rl-accent);
    color: var(--rl-accent);
}

.footer-cta-btn--primary,
.footer-cta-btn--accent {
    background: var(--rl-accent);
    border-color: var(--rl-accent);
    color: var(--rl-accent-text);
}

.footer-cta-btn--primary:hover,
.footer-cta-btn--accent:hover {
    background: var(--rl-accent-hover);
    border-color: var(--rl-accent-hover);
    color: var(--rl-accent-text);
}

.footer-bottom {
    text-align: center;
    padding-top: 4px;
}

.footer-safe-links {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.safe-image {
    max-height: 42px;
    width: auto;
    opacity: 0.88;
    transition: opacity 0.2s, transform 0.2s;
}

.safe-image:hover {
    opacity: 1;
    transform: scale(1.04);
}

.footer-disclaimer {
    max-width: 760px;
    margin: 0 auto 10px;
    font-size: 0.75rem;
    line-height: 1.65;
    color: var(--rl-text);
    font-weight: 600;
}

.footer-copy {
    font-size: 0.6875rem;
    color: var(--rl-text-dim);
    letter-spacing: 0.03em;
}

/* ── 404 page ── */
.error-page-block {
    position: relative;
    text-align: center;
    padding: clamp(56px, 12vw, 110px) 20px;
    min-height: calc(100vh - var(--rl-head-h) - var(--rl-nav-h) - 220px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    isolation: isolate;
}

.error-page-block::before {
    content: '';
    position: absolute;
    inset: 8% 12%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(61, 255, 176, 0.16) 0%, rgba(61, 255, 176, 0.04) 42%, transparent 72%);
    z-index: -1;
    pointer-events: none;
}

.error-page-block::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(420px, 78vw);
    height: min(420px, 78vw);
    transform: translate(-50%, -54%);
    border-radius: 50%;
    border: 1px solid rgba(61, 255, 176, 0.14);
    box-shadow: 0 0 0 1px rgba(61, 255, 176, 0.06) inset;
    z-index: -1;
    pointer-events: none;
}

.error-code {
    font-family: var(--rl-font-display);
    font-size: clamp(4.5rem, 18vw, 7.5rem);
    font-weight: 600;
    line-height: 0.95;
    margin-bottom: 18px;
    background: linear-gradient(180deg, #ffffff 0%, var(--rl-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 0 28px rgba(61, 255, 176, 0.35));
    letter-spacing: -0.04em;
}

.error-heading {
    font-family: var(--rl-font-display);
    font-size: clamp(1.1rem, 3vw, 1.45rem);
    font-weight: 600;
    margin-bottom: 12px;
    max-width: 520px;
    color: var(--rl-text);
}

.error-desc {
    color: var(--rl-text-dim);
    margin-bottom: 30px;
    max-width: 420px;
    font-size: 0.9375rem;
    line-height: 1.7;
}

.error-page-block .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 210px;
    padding: 12px 26px;
    background: var(--rl-accent);
    color: var(--rl-accent-text);
    font-family: var(--rl-font-display);
    font-weight: 600;
    font-size: 0.8125rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(61, 255, 176, 0.22);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.error-page-block .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(61, 255, 176, 0.32);
    background: var(--rl-accent-hover);
}

/* ── Contact support page ── */
.rl-page-contact .text-content {
    max-width: 720px;
    margin-top: 24px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
}

.rl-page-contact .text-content h1 {
    text-align: center;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    margin-bottom: 10px;
    background: linear-gradient(135deg, #ffffff 0%, var(--rl-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.rl-page-contact .text-content h1 + p {
    text-align: center;
    font-size: 1rem;
    color: var(--rl-text-dim);
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(61, 255, 176, 0.12);
}

.rl-page-contact .text-content h2 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 28px 0 16px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(61, 255, 176, 0.08);
    border: 1px solid rgba(61, 255, 176, 0.2);
    color: var(--rl-accent);
    font-size: 0.8125rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.rl-page-contact .text-content h3 {
    margin: 14px 0 0;
    padding: 16px 18px 8px;
    background: linear-gradient(180deg, rgba(21, 43, 60, 0.95) 0%, rgba(18, 38, 54, 0.9) 100%);
    border: 1px solid rgba(30, 61, 82, 0.85);
    border-bottom: none;
    border-radius: var(--rl-radius) var(--rl-radius) 0 0;
    font-size: 1rem;
    color: var(--rl-text);
}

.rl-page-contact .text-content h3 + p {
    margin: 0 0 14px;
    padding: 0 18px 16px;
    background: linear-gradient(180deg, rgba(18, 38, 54, 0.9) 0%, rgba(15, 34, 48, 0.85) 100%);
    border: 1px solid rgba(30, 61, 82, 0.85);
    border-top: none;
    border-radius: 0 0 var(--rl-radius) var(--rl-radius);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.rl-page-contact .text-content h3::before {
    content: '';
    display: block;
    width: 42px;
    height: 3px;
    margin-bottom: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--rl-accent), rgba(61, 255, 176, 0.15));
}

.rl-page-contact .text-content a[href^="mailto:"] {
    display: inline-flex;
    align-items: center;
    margin-top: 6px;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--rl-accent);
    color: var(--rl-accent-text);
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(61, 255, 176, 0.22);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.rl-page-contact .text-content a[href^="mailto:"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(61, 255, 176, 0.3);
    background: var(--rl-accent-hover);
}

/* ── Legal pages (privacy, terms) ── */
.rl-page-legal .text-content {
    max-width: 820px;
    margin-top: 24px;
    padding: 28px 26px 32px;
    background: linear-gradient(180deg, rgba(15, 34, 48, 0.98) 0%, rgba(10, 22, 32, 0.96) 100%);
    border: 1px solid rgba(61, 255, 176, 0.12);
    border-radius: calc(var(--rl-radius) + 2px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
    position: relative;
    overflow: hidden;
}

.rl-page-legal .text-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--rl-accent), rgba(61, 255, 176, 0.15), transparent);
}

.rl-page-legal .text-content h1 {
    text-align: center;
    font-size: clamp(1.55rem, 3.8vw, 2.1rem);
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(61, 255, 176, 0.1);
    background: linear-gradient(135deg, #ffffff 0%, var(--rl-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.rl-page-legal .text-content h2 {
    display: inline-flex;
    margin: 30px 0 14px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(61, 255, 176, 0.08);
    border: 1px solid rgba(61, 255, 176, 0.18);
    color: var(--rl-accent);
    font-size: 0.8125rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.rl-page-legal .text-content h3 {
    margin: 22px 0 10px;
    padding-left: 12px;
    border-left: 3px solid var(--rl-accent);
    color: var(--rl-text);
}

.rl-page-legal .text-content p {
    color: var(--rl-text-dim);
    line-height: 1.75;
}

.rl-page-legal .text-content .list-container {
    margin: 12px 0 18px;
    padding: 14px 16px;
    border-radius: var(--rl-radius-sm);
    background: rgba(21, 43, 60, 0.55);
    border: 1px solid rgba(30, 61, 82, 0.75);
}

.rl-page-legal .text-content .list-container ul,
.rl-page-legal .text-content .list-container ol {
    margin: 0;
    padding-left: 20px;
}

.rl-page-legal .text-content .list-container li {
    margin-bottom: 8px;
    color: var(--rl-text-dim);
}

.rl-page-legal .text-content .list-container li::marker {
    color: var(--rl-accent);
}

.rl-page-legal .text-content .table-wrapper {
    border-color: rgba(61, 255, 176, 0.15);
    box-shadow: inset 0 0 0 1px rgba(61, 255, 176, 0.05);
}

.rl-page-legal .text-content blockquote {
    border-left-color: var(--rl-accent);
    background: rgba(61, 255, 176, 0.06);
}

/* ── Mobile: burger top-left, slide-down nav ── */
@media (max-width: 992px) {
    .rl-burger {
        display: flex;
        order: -1;
    }

    .rl-head-row {
        padding: 0 14px;
        gap: 10px;
    }

    .rl-brand {
        flex: 1;
        min-width: 0;
        margin-left: 0;
    }

    .rl-head-actions {
        gap: 6px;
    }

    .rl-btn {
        padding: 7px 12px;
        font-size: 0.6875rem;
    }

    .rl-primary-nav {
        position: fixed;
        top: var(--rl-head-h);
        left: 0;
        width: min(320px, 88vw);
        height: calc(100vh - var(--rl-head-h));
        z-index: 880;
        transform: translateX(-105%);
        transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
        border-top: none;
        border-right: 1px solid var(--rl-border);
        overflow-y: auto;
        box-shadow: var(--rl-shadow);
    }

    .rl-primary-nav.is-open {
        transform: translateX(0);
    }

    .rl-nav-list {
        flex-direction: column;
        justify-content: flex-start;
        padding: 8px;
        gap: 4px;
    }

    .rl-nav-link {
        height: auto;
        padding: 12px 14px;
        border-bottom: none;
        border-radius: var(--rl-radius-sm);
        border-left: 3px solid transparent;
    }

    .rl-nav-link.is-active,
    .rl-nav-link:hover {
        border-left-color: var(--rl-accent);
        border-bottom-color: transparent;
    }

    .rl-mobile-scrim {
        display: block;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 10px;
    }

    .bonuses-grid {
        grid-template-columns: 1fr;
    }

    .main-content-wrapper {
        padding: 16px 12px 40px;
    }

    .text-content {
        padding: 20px 16px;
    }

    .text-content h1 {
        font-size: 1.4rem;
    }

    .text-content h2 {
        font-size: 1.15rem;
    }

    .footer-shell {
        padding: 28px 14px 22px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .footer-quick-list {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-quick-link {
        justify-content: center;
    }

    .footer-payments {
        padding: 18px 12px;
    }

    .footer-cta-row {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-cta-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .rl-head-actions .rl-btn-outline {
        display: none;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .payment-methods-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
