:root {
    --bg-body: #0f0f1a;
    --bg-surface: #16162a;
    --bg-card: #1c1c35;
    --bg-card-hover: #24243d;
    --bg-header: #12121f;
    --accent: #f5c518;
    --accent-hover: #ffd94a;
    --accent-dim: rgba(245, 197, 24, 0.12);
    --cta: #f5c518;
    --cta-hover: #ffd94a;
    --text-primary: #eeeef2;
    --text-secondary: #b0b0c8;
    --text-muted: #6e6e8a;
    --border: #2a2a44;
    --success: #2ecc71;
    --danger: #e74c3c;
    --radius: 10px;
    --radius-sm: 6px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --container: 1200px;
    --header-h: 68px;
    --transition: 0.22s 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;
}

/* ===== HEADER ===== */
.rb-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: rgba(15, 15, 26, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}

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

.rb-header__logo { flex-shrink: 0; }

.rb-header__logo img {
    height: 34px;
    width: auto;
}

.rb-header__logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
}

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

.rb-header__nav a {
    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(245, 197, 24, 0.06);
}

.rb-header__nav a.active {
    color: var(--accent);
    background: var(--accent-dim);
}

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

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all var(--transition);
    white-space: nowrap;
    cursor: pointer;
}

.btn--ghost {
    border: 1.5px solid var(--border);
    color: var(--text-primary);
    background: transparent;
}

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

.btn--cta {
    background: var(--cta);
    color: #0f0f1a;
    border: none;
}

.btn--cta:hover {
    background: var(--cta-hover);
    color: #0f0f1a;
    transform: translateY(-1px);
    box-shadow: 0 8px 30px rgba(245, 197, 24, 0.3);
}

.btn--outline {
    border: 1.5px solid var(--accent);
    color: var(--accent);
    background: transparent;
}

.btn--outline:hover {
    background: var(--accent-dim);
    color: var(--accent-hover);
}

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

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

/* ===== BURGER ===== */
.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); }

/* ===== MOBILE NAV ===== */
.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;
    transform: translateY(-110%);
    transition: transform 0.3s ease;
    pointer-events: none;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

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

.rb-mobile-nav a {
    padding: 14px 16px;
    font-size: 1.05rem;
    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(245, 197, 24, 0.06);
}

.rb-mobile-nav a.active {
    color: var(--accent);
    background: var(--accent-dim);
}

.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;
    text-align: center;
}

.rb-mobile-nav__actions .btn--cta {
    background: var(--cta);
    color: #0f0f1a;
}

.rb-mobile-nav__actions .btn--cta:hover {
    background: var(--cta-hover);
    color: #0f0f1a;
}

.rb-mobile-nav__actions .btn--ghost {
    border: 1.5px solid var(--border);
    color: var(--text-primary);
    background: transparent;
}

.rb-mobile-nav__actions .btn--ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-dim);
}

@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% 50% at 65% 35%, rgba(245, 197, 24, 0.08), transparent),
        radial-gradient(ellipse 50% 50% at 20% 80%, rgba(245, 197, 24, 0.04), transparent),
        linear-gradient(180deg, var(--bg-body), rgba(15, 15, 26, 0.98));
    z-index: 1;
}

.rb-hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(245, 197, 24, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(245, 197, 24, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 65% 55% at center, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 65% 55% at center, black, transparent);
}

.rb-hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 4vw, 52px);
    align-items: center;
    width: 100%;
}

.rb-hero__copy {
    text-align: left;
    min-width: 0;
}

.rb-hero__visual {
    position: relative;
    min-width: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(245, 197, 24, 0.08);
}

.rb-hero__visual img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.rb-hero h1 {
    font-size: var(--h1);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

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

.rb-hero__sub {
    font-size: clamp(0.9rem, 1.8vw, 1.05rem);
    color: var(--text-secondary);
    max-width: 480px;
    margin-bottom: 28px;
    line-height: 1.7;
}

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

@media (max-width: 991px) {
    .rb-hero__inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .rb-hero__visual {
        order: -1;
        max-width: 520px;
        margin: 0 auto;
        width: 100%;
    }
    .rb-hero__copy { text-align: center; }
    .rb-hero__sub { margin: 0 auto 28px; }
    .rb-hero__actions { justify-content: center; }
}

/* ===== HERO (Inner pages - container block) ===== */
.rb-hero--page {
    min-height: auto;
    padding: calc(var(--header-h) + 28px) 0 0;
    overflow: visible;
}

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

.rb-hero--page .rb-hero__content {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    text-align: left;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 32px 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.rb-hero--page .rb-hero__content::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    background: radial-gradient(ellipse 80% 100% at 80% 0%, rgba(245, 197, 24, 0.06), transparent 60%);
    pointer-events: none;
}

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

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

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

.rb-breadcrumb__sep {
    opacity: 0.45;
    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;
    position: relative;
}

.rb-hero--page .rb-hero__sub {
    margin: 0;
    position: relative;
}

/* Inner page hero: title card left, visual right */
.rb-hero--page.rb-hero--split {
    padding-bottom: 8px;
}

.rb-hero--page.rb-hero--split .rb-hero__inner--page {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 3vw, 44px);
    align-items: center;
}

.rb-hero--page.rb-hero--split .rb-hero__content {
    max-width: none;
}

.rb-hero--page.rb-hero--split .rb-hero__copy--page {
    min-width: 0;
}

.rb-hero--page.rb-hero--split .rb-hero__visual {
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(245, 197, 24, 0.08);
}

@media (max-width: 991px) {
    .rb-hero--page.rb-hero--split .rb-hero__inner--page {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .rb-hero--page.rb-hero--split .rb-hero__visual {
        order: -1;
        max-width: 520px;
        margin: 0 auto;
        width: 100%;
    }

    .rb-hero--page.rb-hero--split .rb-hero__content {
        text-align: center;
    }

    .rb-hero--page.rb-hero--split .rb-breadcrumb {
        justify-content: center;
    }
}

/* ===== SECTIONS ===== */
.rb-section {
    padding: 72px 0;
}

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

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

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

.rb-toc-spoiler[open] {
    border-color: rgba(245, 197, 24, 0.25);
}

.rb-toc-spoiler__trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: background var(--transition);
}

.rb-toc-spoiler__trigger::-webkit-details-marker { display: none; }
.rb-toc-spoiler__trigger::marker { display: none; content: ''; }

.rb-toc-spoiler__trigger:hover {
    background: var(--accent-dim);
}

.rb-toc-spoiler__icon {
    display: flex;
    align-items: center;
    color: var(--accent);
    flex-shrink: 0;
}

.rb-toc-spoiler__label {
    flex: 1;
}

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

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

.rb-toc-spoiler nav {
    padding: 0 20px 16px;
    border-top: 1px solid var(--border);
}

.rb-toc__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 14px;
}

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

.rb-toc__list a:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-dim);
}

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

/* ===== GAMES SLIDER ===== */
.rb-section--games {
    padding: 28px 0 36px;
    background: #0a0a16;
}

.rb-games-wrap {
    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;
    flex-wrap: wrap;
}

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

@media (min-width: 768px) {
    .rb-games-title { font-size: 1.45rem; }
}

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

.rb-games-view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    min-height: 42px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-card);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.rb-games-view-all:hover {
    color: var(--accent);
    background: var(--bg-card-hover);
}

.rb-games-arrows {
    display: inline-flex;
    height: 42px;
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
}

.rb-games-arrows__btn {
    width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.3rem;
    transition: background var(--transition);
}

.rb-games-arrows__btn + .rb-games-arrows__btn {
    box-shadow: -1px 0 0 rgba(0, 0, 0, 0.4);
}

.rb-games-arrows__btn:hover { background: rgba(245, 197, 24, 0.1); }

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

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

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

.rb-game-card {
    position: relative;
    flex: 0 0 calc((100% - 12px) / 2);
    overflow: hidden;
    border-radius: var(--radius);
    scroll-snap-align: start;
    cursor: pointer;
}

.rb-game-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    opacity: 0;
    transition: opacity var(--transition);
    z-index: 1;
}

.rb-game-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 52px;
    height: 52px;
    transform: translate(-50%, -50%) scale(0.7);
    background: var(--accent);
    border-radius: 50%;
    z-index: 2;
    opacity: 0;
    transition: opacity var(--transition), transform var(--transition);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230f0f1a'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 55% center;
    background-size: 24px 24px;
    box-shadow: 0 4px 20px rgba(245,197,24,0.4);
}

.rb-game-card:hover::after {
    opacity: 1;
}

.rb-game-card:hover::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

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

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

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

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

/* ===== SPORTSBOOK SECTION ===== */
.rb-sportsbook {
    padding: 48px 0;
}

.rb-sportsbook__title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.rb-sportsbook__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

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

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

.rb-sport-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.rb-sport-card__league {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
}

.rb-sport-card__time {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.rb-sport-card__time--live {
    color: var(--success);
    font-weight: 600;
}

.rb-live-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: var(--success);
    border-radius: 50%;
    animation: rb-pulse 1.5s ease-in-out infinite;
}

@keyframes rb-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.5); }
    50% { opacity: 0.6; box-shadow: 0 0 0 4px rgba(46, 204, 113, 0); }
}

.rb-sport-card__teams {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
}

.rb-sport-card__odds {
    display: flex;
    gap: 8px;
}

.rb-odd {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 4px;
    background: var(--bg-body);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition);
    cursor: pointer;
}

.rb-odd:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-dim);
}

.rb-odd__val {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.rb-odd:hover .rb-odd__val { color: var(--accent); }

/* ===== TEXT CONTENT ===== */
.rb-text-content { padding: 32px 0 24px; }

.rb-text-content__inner {
    max-width: var(--container);
    width: 100%;
}

.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.95rem;
}

.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, 197, 24, 0.4);
    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, 197, 24, 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.95rem;
    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 8px;
    padding-left: 0.25em;
}

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

/* ===== TABLE ===== */
.rb-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 24px 0 20px;
}

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

.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.5;
}

.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; }

@media (max-width: 767px) {
    .rb-content-table thead th,
    .rb-content-table tbody td {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}

/* ===== REVIEWS ===== */
.rb-reviews {
    padding: 56px 0;
}

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

.rb-reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.rb-review-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}

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

.rb-review-card__text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

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

/* ===== FAQ ===== */
.rb-faq {
    padding: 32px 0 56px;
}

.rb-faq__title {
    margin: 0 0 20px;
    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;
}

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

.rb-faq__trigger:hover { background: var(--accent-dim); }

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

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

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

.rb-faq__answer-wrap {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s 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.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

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

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

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

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

/* ===== FEATURES GRID ===== */
.rb-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 32px 0;
}

.rb-feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 20px;
    transition: border-color var(--transition), transform var(--transition);
}

.rb-feature-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.rb-feature-card__icon {
    font-size: 1.8rem;
    margin-bottom: 12px;
    line-height: 1;
}

.rb-feature-card__title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

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

/* ===== CTA BLOCK ===== */
.rb-page-cta {
    margin: 0 0 36px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    isolation: isolate;
    border: 1px solid rgba(245, 197, 24, 0.18);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.rb-page-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 90% 70% at 50% -20%, rgba(245, 197, 24, 0.15), transparent 55%),
        linear-gradient(165deg, #1a1a30 0%, #0f0f1a 48%, #16162a 100%);
}

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

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

.rb-page-cta__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-page-cta__title {
    margin: 0 0 12px;
    font-size: clamp(1.3rem, 3.5vw, 1.6rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
}

.rb-page-cta__text {
    margin: 0 auto 24px;
    max-width: 34em;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-secondary);
}

.rb-page-cta__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;
    align-items: center;
    justify-content: center;
    padding: calc(var(--header-h) + 48px) 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.rb-error-404::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 40% at 50% 30%, rgba(245, 197, 24, 0.06), transparent);
}

.rb-error-404__inner {
    position: relative;
    z-index: 1;
}

.rb-error-404__code {
    font-size: clamp(5rem, 18vw, 10rem);
    font-weight: 700;
    color: var(--accent);
    margin: 0 0 8px;
    line-height: 1;
    letter-spacing: -0.06em;
    text-shadow: 0 0 80px rgba(245, 197, 24, 0.3);
}

.rb-error-404__title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px;
}

.rb-error-404__text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin: 0 0 32px;
    max-width: 420px;
}

/* ===== 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: minmax(0, 1fr) auto;
        gap: 48px;
    }
}

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

.rb-footer__nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-width: 160px;
}

.rb-footer__nav a {
    padding: 6px 0;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition);
}

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

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

.rb-footer__logo img {
    height: 30px;
    width: auto;
}

.rb-footer__logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
}

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

.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__links {
    display: flex;
    gap: 20px;
}

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

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

/* ===== CONTENT VISUAL ===== */
.rb-text-content h2 + .rb-content-visual {
    margin-top: 10px;
}

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

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

/* ===== 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: 50vh;
        padding: calc(var(--header-h) + 32px) 0 36px;
    }

    .rb-hero.rb-hero--page {
        min-height: auto;
        padding: calc(var(--header-h) + 14px) 0 0;
    }

    .rb-hero--page .rb-hero__content {
        padding: 20px 18px 24px;
        border-radius: var(--radius);
    }

    .rb-section { padding: 44px 0; }
    .rb-section.rb-text-content { padding: 36px 0 28px; }
    .rb-section.rb-section--toc { padding: 14px 0 18px; }
    .rb-section--games { padding: 20px 0 24px; }

    .rb-games-header { margin-bottom: 12px; }
    .rb-games-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .rb-sportsbook__grid {
        grid-template-columns: 1fr;
    }

    .rb-reviews__grid {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 480px) {
    .rb-hero__actions {
        flex-direction: column;
    }
    .rb-hero__actions .btn { width: 100%; }
    .btn--lg {
        padding: 12px 28px;
        font-size: 0.95rem;
    }
}
