:root {
    --bg-body: #0a0e17;
    --bg-surface: #111827;
    --bg-card: #161d2e;
    --bg-card-hover: #1c2540;
    --bg-header: #0d1220;
    --accent: #f5a623;
    --accent-hover: #ffc04d;
    --accent-glow: rgba(245, 166, 35, 0.25);
    --green: #00d68f;
    --green-hover: #2aeaa8;
    --text-primary: #f0f2f5;
    --text-secondary: #9ba3b5;
    --text-muted: #6b7280;
    --border: #1e293b;
    --border-accent: rgba(245, 166, 35, 0.2);
    --radius: 10px;
    --radius-sm: 6px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --container: 1200px;
    --header-h: 68px;
    --transition: 0.2s ease;
    --h1: 2.1rem;
    --h2: 1.5rem;
    --h3: 1.2rem;
    --font: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overscroll-behavior: none;
}

body {
    font-family: var(--font);
    background: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--accent);
}

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

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
    color: inherit;
}

h1, h2, h3 {
    margin: 0;
    font-weight: 700;
    line-height: 1.25;
}

h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); }
h3 { font-size: var(--h3); }

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

/* ========== BUTTONS ========== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    transition: all var(--transition);
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.btn--primary {
    background: var(--accent);
    color: #0a0e17;
}

.btn--primary:hover {
    background: var(--accent-hover);
    color: #0a0e17;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px var(--accent-glow);
}

.btn--ghost {
    border: 1.5px solid var(--border);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.btn--ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(245, 166, 35, 0.06);
}

.btn--green {
    background: var(--green);
    color: #0a0e17;
    font-weight: 700;
}

.btn--green:hover {
    background: var(--green-hover);
    color: #0a0e17;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 214, 143, 0.25);
}

.btn--lg {
    padding: 14px 36px;
    font-size: 1rem;
    border-radius: var(--radius);
}

/* ========== HEADER ========== */

.rb-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: rgba(10, 14, 23, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}

.rb-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.rb-header__logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.rb-header__logo img {
    height: 32px;
    width: auto;
    display: block;
}

.rb-header__nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.rb-header__nav a {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
}

.rb-header__nav a:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.rb-header__nav a.active {
    color: var(--accent);
    background: rgba(245, 166, 35, 0.08);
}

.rb-header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rb-header__actions .btn {
    padding: 8px 18px;
    font-size: 0.85rem;
}

/* ========== BURGER / MOBILE NAV ========== */

.rb-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    z-index: 1100;
}

.rb-burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.rb-burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.rb-burger.active span:nth-child(2) { opacity: 0; }
.rb-burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.rb-mobile-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 990;
    background: var(--bg-header);
    border-bottom: 1px solid var(--border);
    padding: 16px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    pointer-events: none;
}

.rb-mobile-nav.open {
    z-index: 1050;
    transform: translateY(0);
    pointer-events: auto;
}

.rb-mobile-nav a {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
}

.rb-mobile-nav a:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.rb-mobile-nav a.active {
    color: var(--accent);
    background: rgba(245, 166, 35, 0.08);
}

.rb-mobile-nav__actions {
    margin-top: 12px;
    padding-top: 16px;
    display: flex;
    gap: 10px;
    border-top: 1px solid var(--border);
}

.rb-mobile-nav__actions .btn {
    flex: 1;
    justify-content: center;
    padding: 12px 14px;
    font-size: 0.9rem;
    font-weight: 600;
}

.rb-mobile-nav__actions .btn--ghost {
    border-color: var(--border);
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.rb-mobile-nav__actions .btn--ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(245, 166, 35, 0.07);
}

.rb-mobile-nav__actions .btn--primary {
    background: var(--accent);
    color: #0a0e17;
    border: none;
}

.rb-mobile-nav__actions .btn--primary:hover {
    background: var(--accent-hover);
    color: #0a0e17;
}

@media (min-width: 768px) {
    .rb-mobile-nav { display: none; }
}

/* ========== HERO (HOME) ========== */

.rb-hero {
    position: relative;
    min-height: min(520px, 80vh);
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + 48px) 0 56px;
    overflow: hidden;
}

.rb-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 65% 35%, rgba(245, 166, 35, 0.07), transparent),
        radial-gradient(ellipse 50% 40% at 25% 70%, rgba(0, 214, 143, 0.04), transparent),
        linear-gradient(180deg, var(--bg-body), rgba(10, 14, 23, 0.96));
    z-index: 1;
}

.rb-hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(245, 166, 35, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 166, 35, 0.03) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 60% 50% at center, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at center, black, transparent);
}

.rb-hero__inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.rb-hero h1 {
    font-size: var(--h1);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
}

.rb-hero h1 .rb-highlight {
    color: var(--accent);
}

.rb-hero__sub {
    font-size: clamp(0.92rem, 1.6vw, 1.05rem);
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.rb-hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ========== HERO (INNER PAGE) ========== */

.rb-hero--page {
    min-height: auto;
    padding: calc(var(--header-h) + 28px) 0 32px;
    background: none;
    position: static;
    overflow: visible;
}

.rb-hero--page::before,
.rb-hero--page::after {
    display: none;
}

.rb-hero--page .rb-hero__grid {
    display: none;
}

.rb-hero--page .rb-hero__inner {
    max-width: var(--container);
    text-align: left;
    position: static;
    z-index: auto;
}

.rb-page-hero-split {
    display: grid;
    gap: 24px;
    align-items: center;
    grid-template-columns: 1fr;
}

.rb-page-hero__visual {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

.rb-page-hero__visual img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

@media (min-width: 992px) {
    .rb-page-hero-split {
        grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
        gap: 28px;
        align-items: center;
    }

    .rb-page-hero__visual {
        max-width: none;
        margin: 0;
    }
}

.rb-page-hero-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 32px 30px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.rb-page-hero-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 120% at 100% 50%, rgba(245, 166, 35, 0.05), transparent 60%);
    pointer-events: none;
}

.rb-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 4px;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.rb-breadcrumb a {
    color: var(--text-secondary);
    transition: color var(--transition);
}

.rb-breadcrumb a:hover {
    color: var(--accent);
}

.rb-breadcrumb__sep {
    opacity: 0.4;
    user-select: none;
}

.rb-breadcrumb span:last-child {
    color: var(--accent);
    font-weight: 500;
}

.rb-hero--page h1 {
    font-size: var(--h1);
    margin-bottom: 10px;
}

.rb-hero--page .rb-hero__sub {
    margin: 0;
    max-width: 600px;
    font-size: 0.94rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

@media (max-width: 767px) {
    .rb-page-hero-card {
        padding: 20px 18px 22px;
    }
}

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

.rb-section {
    padding: 72px 0;
}

.rb-section.rb-text-content {
    padding: 48px 0 40px;
}

.rb-section.rb-section--toc {
    padding: 16px 0 0;
    background: none;
    border-bottom: none;
}

.rb-toc-spoiler {
    margin-bottom: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
}

.rb-toc-spoiler__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 18px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    background: none;
    border: none;
    text-align: left;
    transition: color var(--transition), background var(--transition);
    gap: 10px;
}

.rb-toc-spoiler__trigger:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

.rb-toc-spoiler__trigger-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rb-toc-spoiler__icon {
    font-size: 0.8rem;
    color: var(--accent);
}

.rb-toc-spoiler__arrow {
    flex-shrink: 0;
    font-size: 1rem;
    color: var(--text-muted);
    transition: transform var(--transition);
}

.rb-toc-spoiler.is-open .rb-toc-spoiler__arrow {
    transform: rotate(90deg);
}

.rb-toc-spoiler__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.rb-toc-spoiler.is-open .rb-toc-spoiler__body {
    max-height: 600px;
    border-top: 1px solid var(--border);
}

.rb-toc__list {
    margin: 0;
    padding: 14px 18px 16px;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rb-toc__list a {
    display: inline-block;
    padding: 6px 12px;
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-body);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.rb-toc__list a:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(245, 166, 35, 0.06);
}

main h2 {
    scroll-margin-top: calc(var(--header-h) + 16px);
}

/* ========== CASINO GAMES SLIDER ========== */

.rb-games-section {
    padding: 32px 0;
    background: var(--bg-surface);
}

.rb-games-section + .rb-games-section {
    padding-top: 0;
}

.rb-games-wrapper {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.rb-games-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.rb-games-header__left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rb-games-header__icon {
    font-size: 1.2rem;
}

.rb-games-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-primary);
}

.rb-games-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    transition: color var(--transition);
}

.rb-games-link:hover {
    color: var(--accent-hover);
}

.rb-games-header__right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rb-nav-arrows {
    display: inline-flex;
    align-items: stretch;
    height: 40px;
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.rb-nav-arrows__btn {
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: background var(--transition), color var(--transition);
}

.rb-nav-arrows__btn + .rb-nav-arrows__btn {
    border-left: 1px solid var(--border);
}

.rb-nav-arrows__btn:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
}

.rb-games-slider {
    overflow: hidden;
}

.rb-games-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 4px 0 8px;
}

.rb-games-grid::-webkit-scrollbar {
    display: none;
}

.rb-game-card {
    position: relative;
    flex: 0 0 calc((100% - 12px) / 2);
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: var(--radius-lg);
    scroll-snap-align: start;
    transition: transform var(--transition), box-shadow var(--transition);
    background: var(--bg-card);
    cursor: pointer;
}

.rb-game-card:hover {
    transform: scale(1.04);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.rb-game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.rb-game-card:hover img {
    transform: scale(1.06);
}

/* Play overlay on hover */
.rb-game-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0);
    transition: background var(--transition);
}

.rb-game-card:hover .rb-game-card__overlay {
    background: rgba(0, 0, 0, 0.45);
}

.rb-game-card__play {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.7);
    transition: opacity var(--transition), transform var(--transition);
    box-shadow: 0 0 0 6px rgba(245, 166, 35, 0.25);
    flex-shrink: 0;
}

.rb-game-card__play svg {
    width: 18px;
    height: 18px;
    fill: #0a0e17;
    margin-left: 2px;
}

.rb-game-card:hover .rb-game-card__play {
    opacity: 1;
    transform: scale(1);
}

/* Label */
.rb-game-card__label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 36px 10px 10px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
}

.rb-game-card__name {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    white-space: normal;
    word-break: break-word;
}

.rb-game-card__provider {
    display: block;
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--accent);
    margin-top: 3px;
    letter-spacing: 0.02em;
}

@media (min-width: 768px) {
    .rb-games-grid { gap: 14px; }
    .rb-game-card { flex: 0 0 calc((100% - 6 * 14px) / 7); min-width: 120px; }
    .rb-game-card__play { width: 44px; height: 44px; }
    .rb-game-card__play svg { width: 16px; height: 16px; }
}

/* ========== SPORTSBOOK SECTION ========== */

.rb-sports-section {
    padding: 32px 0 40px;
    background: var(--bg-surface);
}

.rb-sports-wrapper {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

.rb-sports-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.rb-sports-header__left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.rb-sports-title {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.rb-sports-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 4px 0 8px;
}

.rb-sports-grid::-webkit-scrollbar {
    display: none;
}

.rb-sport-card {
    flex: 0 0 calc((100% - 2 * 14px) / 3);
    min-width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 28px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: border-color var(--transition), transform var(--transition), background var(--transition);
}

.rb-sport-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    background: var(--bg-card-hover);
}

.rb-sport-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: rgba(245, 166, 35, 0.08);
    border-radius: 50%;
    color: var(--accent);
}

.rb-sport-card__name {
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--text-primary);
}

@media (min-width: 768px) {
    .rb-sport-card {
        flex: 0 0 calc((100% - 6 * 14px) / 7);
        min-width: 120px;
    }
}

/* ========== CONTENT AREA ========== */

.rb-text-content {
    padding: 40px 0 32px;
}

.rb-text-content__inner {
    width: 100%;
}

.rb-content-figure {
    margin: 8px auto 22px;
    max-width: 900px;
    text-align: center;
}

.rb-content-figure img {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    height: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.rb-text-content h2,
.rb-text-content h3 {
    margin: 28px 0 20px;
    letter-spacing: -0.02em;
}

.rb-text-content h2 { font-size: var(--h2); }
.rb-text-content h3 { font-size: var(--h3); }

.rb-text-content h2:first-child,
.rb-text-content h3:first-child {
    margin-top: 0;
}

.rb-text-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 0.94rem;
}

.rb-text-content p:last-child {
    margin-bottom: 0;
}

.rb-text-content p a,
.rb-text-content li a {
    color: var(--accent);
    text-decoration: underline;
    text-decoration-color: rgba(245, 166, 35, 0.4);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
    transition: color var(--transition), text-decoration-color var(--transition);
}

.rb-text-content p a:hover,
.rb-text-content li a:hover {
    color: var(--accent-hover);
    text-decoration-color: rgba(245, 166, 35, 0.8);
}

.rb-text-content ul,
.rb-text-content ol {
    margin: 0 0 16px;
    padding-left: 1.4em;
    color: var(--text-secondary);
    font-size: 0.94rem;
    line-height: 1.75;
}

.rb-text-content ul { list-style: disc; }
.rb-text-content ol { list-style: decimal; }

.rb-text-content li {
    margin: 0 0 6px;
    padding-left: 0.2em;
}

.rb-text-content li:last-child { margin-bottom: 0; }

/* ========== TABLE ========== */

.rb-table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 24px 0 20px;
}

.rb-content-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.rb-content-table thead th {
    background: var(--bg-card);
    color: var(--text-primary);
    font-weight: 700;
    padding: 13px 18px;
    text-align: left;
    border-bottom: 2px solid var(--accent);
    white-space: nowrap;
}

.rb-content-table tbody td {
    padding: 12px 18px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
    vertical-align: top;
    line-height: 1.55;
}

.rb-content-table tbody tr:hover td {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.rb-content-table tbody tr:last-child td {
    border-bottom: none;
}

/* ========== REVIEWS ========== */

/* ========== FEATURES GRID ========== */

.rb-features {
    margin: 32px 0;
}

.rb-features__title {
    font-size: var(--h2);
    font-weight: 700;
    margin-bottom: 20px;
}

.rb-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media (min-width: 768px) {
    .rb-features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 480px) and (max-width: 767px) {
    .rb-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.rb-feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: border-color var(--transition), background var(--transition);
}

.rb-feature-card:hover {
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
}

.rb-feature-card__icon {
    font-size: 1.6rem;
    line-height: 1;
}

.rb-feature-card__title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.rb-feature-card__text {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ========== STEPS ========== */

.rb-steps {
    margin: 28px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rb-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.rb-step__num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent);
    color: #0a0e17;
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rb-step__body {}

.rb-step__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.rb-step__text {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ========== REVIEWS ========== */

.rb-reviews {
    padding: 56px 0;
}

.rb-reviews__title {
    font-size: var(--h2);
    font-weight: 700;
    margin-bottom: 28px;
}

.rb-reviews__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .rb-reviews__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.rb-review-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rb-review-card__stars {
    color: var(--accent);
    font-size: 1rem;
    letter-spacing: 2px;
}

.rb-review-card__text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    flex: 1;
}

.rb-review-card__author {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* ========== FAQ ========== */

.rb-faq {
    padding: 24px 0 56px;
}

.rb-faq__title {
    margin: 0 0 24px;
    font-size: var(--h2);
    font-weight: 700;
}

.rb-faq__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rb-faq__item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color var(--transition);
}

.rb-faq__item.is-open {
    border-color: var(--border-accent);
}

.rb-faq__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 20px;
    text-align: left;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: background var(--transition);
}

.rb-faq__trigger:hover {
    background: rgba(245, 166, 35, 0.04);
}

.rb-faq__question {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: 1;
}

.rb-faq__icon {
    flex-shrink: 0;
    margin-left: 12px;
    font-size: 1.15rem;
    transition: transform var(--transition);
    color: var(--accent);
}

.rb-faq__item.is-open .rb-faq__icon {
    transform: rotate(90deg);
}

.rb-faq__answer-wrap {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.rb-faq__item.is-open .rb-faq__answer-wrap {
    max-height: 500px;
    border-top: 1px solid var(--border);
}

.rb-faq__answer {
    margin: 0;
    padding: 0 20px 16px;
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.rb-faq__item.is-open .rb-faq__answer {
    padding-top: 14px;
}

/* inline FAQ inside text content pages */
.rb-page-faq {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.rb-page-faq__title {
    margin: 0 0 20px;
    font-size: var(--h2);
    font-weight: 700;
}

.rb-text-content .rb-faq__question {
    margin: 0;
    padding: 0;
}

/* ========== CTA BLOCK ========== */

.rb-cta-block {
    margin: 32px 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    isolation: isolate;
    border: 1px solid var(--border-accent);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.rb-cta-block::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% -15%, rgba(245, 166, 35, 0.18), transparent 55%),
        linear-gradient(165deg, var(--bg-surface) 0%, var(--bg-body) 50%, var(--bg-surface) 100%);
}

.rb-cta-block__inner {
    position: relative;
    z-index: 1;
    padding: 36px 24px 40px;
    text-align: center;
}

@media (min-width: 768px) {
    .rb-cta-block__inner { padding: 44px 40px 48px; }
}

.rb-cta-block__eyebrow {
    margin: 0 0 10px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
}

.rb-text-content .rb-cta-block__title {
    margin: 0 0 12px;
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
}

.rb-cta-block__text {
    margin: 0 auto 24px;
    max-width: 32em;
    font-size: 0.94rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.rb-cta-block__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* ========== 404 ========== */

.rb-error-404 {
    min-height: calc(100vh - var(--header-h) - 200px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: calc(var(--header-h) + 48px) 20px 80px;
    text-align: center;
}

.rb-error-404 .container {
    text-align: center;
}

.rb-error-404__code {
    font-size: clamp(5rem, 18vw, 10rem);
    font-weight: 800;
    color: var(--accent);
    margin: 0 0 8px;
    line-height: 1;
    letter-spacing: -0.05em;
    text-shadow: 0 0 80px var(--accent-glow);
}

.rb-error-404__text {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin: 0 0 12px;
}

.rb-error-404__sub {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin: 0 0 36px;
    max-width: 400px;
}

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

.rb-footer {
    background: var(--bg-header);
    border-top: 1px solid var(--border);
    padding-top: 56px;
}

.rb-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 44px;
    align-items: start;
}

@media (min-width: 768px) {
    .rb-footer__grid {
        grid-template-columns: 1.8fr 1fr;
        gap: 48px;
    }
}

.rb-footer__brand {
    max-width: 320px;
}

.rb-footer__logo {
    margin-bottom: 14px;
}

.rb-footer__logo img {
    height: 28px;
    width: auto;
    display: block;
    opacity: 0.9;
}

.rb-footer__desc {
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.rb-footer__nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rb-footer__nav-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.rb-footer__nav a {
    display: block;
    padding: 5px 0;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.rb-footer__nav a:hover {
    color: var(--text-primary);
}

.rb-footer__nav a.active {
    color: var(--accent);
}

.rb-footer__bottom {
    border-top: 1px solid var(--border);
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.rb-footer__copy {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.rb-footer__bottom-links {
    display: flex;
    gap: 20px;
}

.rb-footer__bottom-links a {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.rb-footer__bottom-links a:hover {
    color: var(--text-secondary);
}

/* ========== CONTENT VISUAL ========== */

.rb-content-visual {
    max-width: 900px;
    margin: 0 auto 20px;
}

.rb-content-visual img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    object-fit: cover;
    aspect-ratio: 16 / 9;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
}

/* ========== RESPONSIVE ========== */

@media (max-width: 767px) {
    :root {
        --header-h: 60px;
    }

    .rb-header__nav,
    .rb-header__actions {
        display: none;
    }

    .rb-burger {
        display: flex;
    }

    .rb-hero {
        min-height: 46vh;
        padding: calc(var(--header-h) + 32px) 0 40px;
    }

    .rb-hero--page {
        padding: calc(var(--header-h) + 16px) 0 20px;
    }

    .rb-section {
        padding: 44px 0;
    }

    .rb-section.rb-text-content {
        padding: 36px 0 28px;
    }

    .rb-games-section {
        padding: 22px 0;
    }

    .rb-sports-section {
        padding: 22px 0 28px;
    }

    .rb-reviews {
        padding: 36px 0;
    }

    .rb-faq {
        padding: 20px 0 40px;
    }

    .rb-footer__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .rb-footer__bottom {
        flex-direction: column;
        text-align: center;
    }

    .rb-content-table thead th,
    .rb-content-table tbody td {
        padding: 10px 12px;
        font-size: 0.84rem;
    }
}

@media (max-width: 480px) {
    .rb-hero__actions {
        flex-direction: column;
    }

    .rb-hero__actions .btn {
        width: 100%;
    }

    .btn--lg {
        padding: 12px 28px;
        font-size: 0.92rem;
    }

    .rb-sport-card {
        flex: 0 0 calc((100% - 14px) / 2);
        min-width: 0;
        padding: 20px 12px;
    }
}
