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

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

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

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

:root {
    --cbs-bg: #0b1f14;
    --cbs-bg-panel: #132a1c;
    --cbs-bg-card: #1a3324;
    --cbs-wood: #4a2f1a;
    --cbs-wood-light: #6b4528;
    --cbs-gold: #e8b830;
    --cbs-gold-bright: #ffd54f;
    --cbs-green-win: #5cdb5c;
    --cbs-text: #eef3ea;
    --cbs-text-dim: #9db09a;
    --cbs-border: rgba(232, 184, 48, 0.35);
    --cbs-radius: 14px;
    --cbs-radius-sm: 10px;
    --cbs-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
    --cbs-masthead-h: 64px;
    --cbs-nav-h: 52px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'CbsSans', system-ui, sans-serif;
    line-height: 1.55;
    color: var(--cbs-text);
    background: var(--cbs-bg);
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 3px,
            rgba(255, 255, 255, 0.015) 3px,
            rgba(255, 255, 255, 0.015) 4px
        );
    min-height: 100vh;
}

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

a {
    color: inherit;
}

/* ── Masthead ── */
.cbs-masthead {
    position: sticky;
    top: 0;
    z-index: 900;
    background: linear-gradient(180deg, #0f2618 0%, var(--cbs-bg) 100%);
    border-bottom: 2px solid var(--cbs-border);
    box-shadow: var(--cbs-shadow);
}

.cbs-masthead-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    min-height: var(--cbs-masthead-h);
}

.cbs-drawer-trigger {
    display: none;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    padding: 9px 8px;
    border: 1.5px solid var(--cbs-border);
    border-radius: var(--cbs-radius-sm);
    background: var(--cbs-bg-panel);
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.cbs-drawer-bar {
    display: block;
    width: 100%;
    height: 2.5px;
    background: var(--cbs-gold);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}

.cbs-brand-mark {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.cbs-brand-mark img {
    height: 40px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.cbs-brand-text {
    font-family: 'CbsRye', serif;
    font-size: 1.25rem;
    color: var(--cbs-gold-bright);
}

.cbs-brand-spacer {
    flex: 0 0 0;
}

.cbs-auth-cluster {
    margin-left: auto;
    display: flex;
    gap: 8px;
    align-items: center;
}

.cbs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border-radius: 999px;
    font-family: 'CbsSans', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.15s, box-shadow 0.15s;
}

.cbs-btn:hover {
    transform: translateY(-1px);
}

.cbs-btn--gold {
    background: linear-gradient(180deg, var(--cbs-gold-bright) 0%, var(--cbs-gold) 100%);
    color: #1a1208;
    box-shadow: 0 3px 12px rgba(232, 184, 48, 0.4);
}

.cbs-btn--outline {
    background: transparent;
    border-color: rgba(93, 175, 100, 0.6);
    color: var(--cbs-text);
}

.cbs-btn--sm {
    padding: 6px 12px;
    font-size: 0.75rem;
}

/* ── Horizontal nav rail (desktop) ── */
.cbs-nav-rail {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: var(--cbs-bg-panel);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.cbs-nav-rail::-webkit-scrollbar {
    display: none;
}

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

.cbs-nav-entry {
    flex-shrink: 0;
}

.cbs-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    height: 100%;
    text-decoration: none;
    color: var(--cbs-text-dim);
    font-size: 0.875rem;
    font-weight: 600;
    border-bottom: 3px solid transparent;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    white-space: nowrap;
}

.cbs-nav-link:hover,
.cbs-nav-link.is-active {
    color: var(--cbs-gold-bright);
    border-bottom-color: var(--cbs-gold);
    background: rgba(232, 184, 48, 0.06);
}

.cbs-nav-glyph {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--cbs-gold);
}

.cbs-nav-link.is-active .cbs-nav-glyph {
    color: var(--cbs-gold-bright);
}

/* ── Mobile drawer ── */
.cbs-viewport-dim {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 950;
}

.cbs-viewport-dim.is-visible {
    display: block;
}

.cbs-nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: min(300px, 88vw);
    height: 100vh;
    background: linear-gradient(165deg, #122a1c 0%, #0a1a10 100%);
    border-right: 2px solid var(--cbs-border);
    z-index: 960;
    transform: translateX(-105%);
    transition: transform 0.28s ease;
    overflow-y: auto;
    padding: 20px 0 32px;
}

.cbs-nav-drawer.is-open {
    transform: translateX(0);
}

.cbs-drawer-brand {
    padding: 0 20px 16px;
    border-bottom: 1px dashed var(--cbs-border);
    margin-bottom: 12px;
}

.cbs-drawer-brand img {
    height: 36px;
    width: auto;
}

.cbs-drawer-list {
    list-style: none;
    padding: 0 12px;
}

.cbs-drawer-entry {
    margin-bottom: 4px;
}

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

.cbs-drawer-entry .cbs-nav-link.is-active {
    border-left-color: var(--cbs-gold);
    background: rgba(232, 184, 48, 0.1);
}

/* ── Main stage ── */
.cbs-main-stage {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 20px 48px;
}

/* ── Breadcrumbs ── */
.breadcrumb-nav {
    margin: 0 0 18px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.8125rem;
}

.breadcrumb-link {
    color: var(--cbs-text-dim);
    text-decoration: none;
}

.breadcrumb-link:hover {
    color: var(--cbs-gold);
}

.breadcrumb-divider {
    color: var(--cbs-wood-light);
}

/* ── Promo slider ── */
.cbs-promo-track {
    margin-bottom: 28px;
    position: relative;
}

.cbs-promo-viewport {
    overflow: hidden;
    border-radius: var(--cbs-radius);
    border: 2px solid var(--cbs-wood-light);
    box-shadow: var(--cbs-shadow);
    background: var(--cbs-bg-card);
}

.cbs-promo-slides {
    display: flex;
    transition: transform 0.45s ease;
}

.cbs-promo-slide {
    flex: 0 0 100%;
    min-width: 100%;
}

.cbs-promo-frame {
    position: relative;
    line-height: 0;
}

.cbs-promo-frame picture {
    display: block;
}

.cbs-promo-img {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: contain;
    object-position: center;
    background: var(--cbs-bg-card);
}

.cbs-promo-caption {
    padding: 14px 18px 18px;
    background: linear-gradient(180deg, var(--cbs-bg-card) 0%, var(--cbs-bg-panel) 100%);
    border-top: 1px dashed var(--cbs-border);
}

.cbs-promo-headline {
    font-family: 'CbsSlab', serif;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--cbs-text);
}

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

.cbs-promo-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.cbs-promo-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    background: rgba(232, 184, 48, 0.3);
    cursor: pointer;
    padding: 0;
}

.cbs-promo-dot.is-current {
    background: var(--cbs-gold);
    transform: scale(1.2);
}

/* ── Game sections ── */
.cbs-slot-block {
    margin-bottom: 28px;
}

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

.cbs-block-title {
    font-family: 'CbsSlab', serif;
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--cbs-text);
}

.cbs-show-all {
    padding: 6px 14px;
    border: 1.5px solid var(--cbs-border);
    border-radius: 999px;
    text-decoration: none;
    color: var(--cbs-text-dim);
    font-size: 0.8125rem;
    font-weight: 600;
    transition: color 0.2s, border-color 0.2s;
}

.cbs-show-all:hover {
    color: var(--cbs-gold);
    border-color: var(--cbs-gold);
}

.cbs-slot-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
    gap: 14px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
}

.cbs-slot-tile {
    border-radius: var(--cbs-radius);
    border: 2px solid var(--cbs-border);
    background: var(--cbs-bg-card);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}

.cbs-slot-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(232, 184, 48, 0.15);
}

.cbs-slot-visual {
    position: relative;
    aspect-ratio: 3 / 4;
    background: #0d1a12;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cbs-slot-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.cbs-slot-actions {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(8, 20, 12, 0.72);
    opacity: 0;
    transition: opacity 0.22s;
    padding: 8px;
}

.cbs-slot-tile:hover .cbs-slot-actions,
.cbs-slot-tile:focus-within .cbs-slot-actions {
    opacity: 1;
}

.cbs-slot-name {
    padding: 10px 8px;
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--cbs-text);
}

/* ── Bonuses ── */
.cbs-bonus-block {
    margin-bottom: 8px;
}

.cbs-bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.cbs-bonus-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--cbs-radius);
    border: 2px solid rgba(232, 184, 48, 0.22);
    background: linear-gradient(165deg, rgba(26, 51, 36, 0.95) 0%, rgba(15, 38, 24, 0.98) 100%);
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.cbs-bonus-card:hover {
    transform: translateY(-4px);
    border-color: rgba(232, 184, 48, 0.5);
    box-shadow: 0 12px 32px rgba(232, 184, 48, 0.12);
}

.cbs-bonus-visual {
    position: relative;
    background: rgba(8, 20, 12, 0.5);
    border-bottom: 1px dashed rgba(232, 184, 48, 0.2);
}

.cbs-bonus-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(11, 31, 20, 0.55) 100%);
    pointer-events: none;
}

.cbs-bonus-visual img {
    width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: contain;
    padding: 12px;
}

.cbs-bonus-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px 18px 16px;
}

.cbs-bonus-name {
    font-family: 'CbsSlab', serif;
    font-size: 1.1875rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--cbs-text);
}

.cbs-bonus-desc {
    font-size: 0.875rem;
    color: var(--cbs-text-dim);
    margin-bottom: 12px;
    line-height: 1.55;
    flex: 1;
}

.cbs-bonus-val {
    display: inline-flex;
    align-self: flex-start;
    font-family: 'CbsRye', serif;
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--cbs-gold-bright);
    margin-bottom: 10px;
    padding: 4px 12px;
    border-radius: var(--cbs-radius-sm);
    background: rgba(232, 184, 48, 0.12);
    border: 1px solid rgba(232, 184, 48, 0.28);
}

.cbs-bonus-tag {
    display: inline-flex;
    align-self: flex-start;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(92, 219, 92, 0.12);
    border: 1px solid rgba(92, 219, 92, 0.28);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--cbs-green-win);
}

.cbs-bonus-fine {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed rgba(232, 184, 48, 0.2);
    font-size: 0.75rem;
    color: var(--cbs-text-dim);
    line-height: 1.45;
}

/* ── SEO text block ── */
.text-content {
    max-width: 900px;
    margin: 32px auto 0;
    padding: 28px 28px 32px;
    background:
        linear-gradient(180deg, rgba(19, 42, 28, 0.88) 0%, rgba(11, 31, 20, 0.94) 100%);
    border-radius: var(--cbs-radius);
    border: 1px solid rgba(232, 184, 48, 0.12);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.text-content__title,
.text-content h1 {
    font-family: 'CbsRye', serif;
    font-size: clamp(1.5rem, 4vw, 1.875rem);
    margin-bottom: 20px;
    color: var(--cbs-gold-bright);
    line-height: 1.25;
}

.text-content__section,
.text-content h2 {
    font-family: 'CbsSlab', serif;
    font-size: 1.3125rem;
    margin: 32px 0 14px;
    padding-bottom: 8px;
    color: var(--cbs-text);
    border-bottom: 1px solid rgba(232, 184, 48, 0.15);
}

.text-content__subtitle,
.text-content h3 {
    font-family: 'CbsSlab', serif;
    font-size: 1.0625rem;
    margin: 22px 0 10px;
    color: var(--cbs-gold);
}

.text-content__para,
.text-content p {
    margin-bottom: 16px;
    color: var(--cbs-text-dim);
    font-size: 0.9375rem;
    line-height: 1.65;
}

.text-content__link,
.text-content a {
    color: var(--cbs-gold-bright);
    text-decoration: underline;
    text-decoration-color: rgba(255, 213, 79, 0.35);
    text-underline-offset: 3px;
    transition: color 0.2s, text-decoration-color 0.2s;
}

.text-content__link:hover,
.text-content a:hover {
    color: var(--cbs-green-win);
    text-decoration-color: rgba(92, 219, 92, 0.5);
}

.text-content__figure,
.text-content img {
    border-radius: var(--cbs-radius-sm);
    margin: 18px 0;
    border: 1px solid rgba(232, 184, 48, 0.15);
}

.text-content__quote,
.text-content blockquote {
    margin: 20px 0;
    padding: 16px 20px;
    border-left: 4px solid var(--cbs-gold);
    background: rgba(232, 184, 48, 0.06);
    border-radius: 0 var(--cbs-radius-sm) var(--cbs-radius-sm) 0;
    font-style: italic;
    color: var(--cbs-text);
}

.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 18px 0;
    border-radius: var(--cbs-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

.text-content th {
    background: rgba(232, 184, 48, 0.1);
    font-weight: 700;
    white-space: nowrap;
}

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

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

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

.faq-item-block {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--cbs-radius-sm);
    margin-bottom: 8px;
    overflow: hidden;
}

.faq-question-block {
    padding: 14px 16px;
    background: rgba(232, 184, 48, 0.06);
    font-weight: 700;
}

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

.howto-wrapper {
    margin: 18px 0;
    padding: 18px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--cbs-radius-sm);
}

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

.howto-step-item {
    counter-increment: cbs-step;
    padding: 12px 14px;
    margin-bottom: 8px;
    background: var(--cbs-bg-card);
    border-radius: var(--cbs-radius-sm);
    border-left: 3px solid var(--cbs-gold);
}

.howto-step-item::before {
    content: counter(cbs-step) ".";
    font-weight: 700;
    color: var(--cbs-gold);
    margin-right: 8px;
}

/* ── Payment methods ── */
.cbs-pay-block {
    margin: 32px 0;
}

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

.cbs-pay-item {
    border: 1.5px solid var(--cbs-border);
    border-radius: var(--cbs-radius-sm);
    padding: 12px;
    text-align: center;
    background: var(--cbs-bg-card);
}

.cbs-pay-item img {
    max-height: 36px;
    width: auto;
    margin: 0 auto 6px;
    object-fit: contain;
}

.cbs-pay-label {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--cbs-text-dim);
}

/* ── App table ── */
.cbs-page-app .app-info-table-wrapper {
    margin: 0 0 32px;
    padding: 24px;
    border-radius: var(--cbs-radius);
    background:
        radial-gradient(ellipse 70% 60% at 85% 15%, rgba(232, 184, 48, 0.16) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 10% 90%, rgba(92, 219, 92, 0.08) 0%, transparent 50%),
        linear-gradient(155deg, rgba(26, 51, 36, 0.98) 0%, rgba(11, 31, 20, 0.98) 100%);
    border: 2px solid var(--cbs-border);
    box-shadow: var(--cbs-shadow);
    position: relative;
    overflow: hidden;
}

.cbs-page-app .app-info-table-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cbs-wood-light), var(--cbs-gold-bright), var(--cbs-green-win));
    opacity: 0.9;
}

.app-info-table-container {
    border-radius: var(--cbs-radius-sm);
    border: 1px solid rgba(232, 184, 48, 0.12);
    overflow: hidden;
    background: rgba(8, 20, 12, 0.35);
}

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

.app-info-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.2s ease;
}

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

.app-info-row:hover {
    background: rgba(232, 184, 48, 0.04);
}

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

.app-info-label-cell {
    width: 64px;
    text-align: center;
    background: rgba(232, 184, 48, 0.08);
}

.app-info-label-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0 auto;
    border-radius: 12px;
    background: rgba(232, 184, 48, 0.12);
    border: 1px solid rgba(232, 184, 48, 0.25);
}

.app-info-icon {
    width: 22px;
    height: 22px;
    color: var(--cbs-gold-bright);
}

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

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

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

.app-name-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    padding: 6px;
    border-radius: 14px;
    background: rgba(8, 20, 12, 0.6);
    border: 1.5px solid rgba(232, 184, 48, 0.3);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.app-name-text {
    font-family: 'CbsSlab', serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--cbs-gold-bright);
}

.app-download-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: linear-gradient(180deg, var(--cbs-gold-bright), var(--cbs-gold));
    color: #1a1208;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: 0 6px 18px rgba(232, 184, 48, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.app-download-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(232, 184, 48, 0.45);
}

.app-download-link::after {
    content: "↓";
    font-size: 1rem;
    line-height: 1;
}

/* ── Footer ── */
.cbs-baseboard {
    position: relative;
    margin-top: 48px;
    overflow: hidden;
    background:
        radial-gradient(ellipse 75% 50% at 50% 0%, rgba(232, 184, 48, 0.08) 0%, transparent 58%),
        linear-gradient(180deg, #0f2618 0%, #061008 100%);
    border-top: 2px solid var(--cbs-border);
}

.cbs-baseboard-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cbs-wood-light) 0%, var(--cbs-gold-bright) 35%, var(--cbs-green-win) 65%, var(--cbs-gold) 100%);
    opacity: 0.85;
}

.cbs-baseboard-inner {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 36px 20px 28px;
}

.cbs-baseboard-paydeck {
    margin-bottom: 28px;
    padding: 18px 18px 16px;
    border-radius: var(--cbs-radius);
    background: rgba(26, 51, 36, 0.55);
    border: 1.5px solid var(--cbs-border);
    box-shadow: inset 0 1px 0 rgba(255, 213, 79, 0.08);
}

.cbs-baseboard-paydeck-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.cbs-baseboard-paydeck-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(145deg, var(--cbs-gold-bright), var(--cbs-gold));
    position: relative;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(232, 184, 48, 0.25);
}

.cbs-baseboard-paydeck-icon::before {
    content: "";
    position: absolute;
    inset: 7px 6px 6px 7px;
    border: 1.5px solid rgba(26, 18, 8, 0.45);
    border-radius: 3px;
}

.cbs-baseboard-paydeck-icon::after {
    content: "";
    position: absolute;
    left: 9px;
    right: 9px;
    top: 11px;
    height: 2px;
    background: rgba(26, 18, 8, 0.3);
    border-radius: 2px;
}

.cbs-baseboard-paygrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    gap: 10px;
}

.cbs-baseboard-paytile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 72px;
    padding: 10px 8px;
    border-radius: var(--cbs-radius-sm);
    background: rgba(8, 20, 12, 0.45);
    border: 1px solid rgba(232, 184, 48, 0.15);
    transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.cbs-baseboard-paytile:hover {
    border-color: rgba(232, 184, 48, 0.45);
    background: rgba(232, 184, 48, 0.08);
    transform: translateY(-2px);
}

.cbs-baseboard-paytile-img {
    max-height: 30px;
    width: auto;
    object-fit: contain;
}

.cbs-baseboard-paytile-label {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--cbs-text-dim);
}

.cbs-baseboard-masthead {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px dashed rgba(232, 184, 48, 0.2);
}

.cbs-baseboard-brand img {
    height: 36px;
    width: auto;
}

.cbs-baseboard-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cbs-baseboard-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    font-family: 'CbsSans', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.cbs-baseboard-btn:hover {
    transform: translateY(-1px);
}

.cbs-baseboard-btn--gold {
    color: #1a1208;
    background: linear-gradient(180deg, var(--cbs-gold-bright), var(--cbs-gold));
    box-shadow: 0 6px 16px rgba(232, 184, 48, 0.3);
}

.cbs-baseboard-btn--ghost {
    color: var(--cbs-text);
    border: 1.5px solid rgba(93, 175, 100, 0.55);
    background: transparent;
}

.cbs-baseboard-btn--ghost:hover {
    background: rgba(93, 175, 100, 0.1);
}

.cbs-baseboard-btn--accent {
    color: #1a1208;
    background: linear-gradient(180deg, var(--cbs-green-win), #3da83d);
    box-shadow: 0 6px 16px rgba(92, 219, 92, 0.25);
}

.cbs-baseboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.cbs-baseboard-panel {
    padding: 16px 16px 14px;
    border-radius: var(--cbs-radius-sm);
    background: rgba(19, 42, 28, 0.65);
    border: 1px solid rgba(232, 184, 48, 0.12);
}

.cbs-baseboard-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'CbsSlab', serif;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--cbs-gold-bright);
    margin-bottom: 14px;
}

.cbs-baseboard-heading--inline {
    margin-bottom: 0;
}

.cbs-baseboard-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cbs-gold);
    box-shadow: 0 0 8px rgba(232, 184, 48, 0.55);
    flex-shrink: 0;
}

.cbs-baseboard-links {
    list-style: none;
}

.cbs-baseboard-links li {
    margin-bottom: 6px;
}

.cbs-baseboard-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cbs-text-dim);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.18s ease, padding-left 0.18s ease;
}

.cbs-baseboard-links a::before {
    content: "";
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--cbs-gold);
    transition: width 0.18s ease;
}

.cbs-baseboard-links a:hover,
.cbs-baseboard-links a.is-active {
    color: var(--cbs-gold-bright);
    padding-left: 2px;
}

.cbs-baseboard-links a:hover::before,
.cbs-baseboard-links a.is-active::before {
    width: 10px;
}

.cbs-baseboard-social-link {
    display: inline-flex !important;
    align-items: center;
    padding: 8px 12px;
    border-radius: var(--cbs-radius-sm);
    background: rgba(232, 184, 48, 0.06);
    border: 1px solid rgba(232, 184, 48, 0.18);
}

.cbs-baseboard-social-link::before {
    display: none !important;
}

.cbs-baseboard-social-link:hover {
    padding-left: 12px !important;
    border-color: rgba(232, 184, 48, 0.4);
    background: rgba(232, 184, 48, 0.12);
}

.cbs-social-badge {
    max-height: 26px;
    width: auto;
}

.cbs-baseboard-safe {
    margin-bottom: 22px;
    padding: 18px 16px;
    border-radius: var(--cbs-radius);
    background: rgba(8, 20, 12, 0.55);
    border: 1px solid rgba(232, 184, 48, 0.15);
}

.cbs-baseboard-safe-head {
    text-align: center;
    font-family: 'CbsSlab', serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cbs-text-dim);
    margin-bottom: 14px;
}

.cbs-safe-list {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.cbs-safe-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: var(--cbs-radius-sm);
    background: rgba(232, 184, 48, 0.04);
    border: 1px solid rgba(232, 184, 48, 0.12);
    transition: border-color 0.18s ease, transform 0.18s ease;
}

.cbs-safe-item:hover {
    border-color: rgba(232, 184, 48, 0.35);
    transform: translateY(-1px);
}

.cbs-safe-badge {
    max-height: 38px;
    width: auto;
}

.cbs-baseboard-foot {
    text-align: center;
    padding-top: 20px;
    border-top: 1px dashed rgba(232, 184, 48, 0.2);
}

.cbs-baseboard-copy {
    margin: 0 0 6px;
    font-size: 0.8125rem;
    color: var(--cbs-text);
    font-weight: 600;
}

.cbs-baseboard-disclaimer {
    margin: 0;
    font-size: 0.75rem;
    color: var(--cbs-text-dim);
    line-height: 1.55;
    max-width: 720px;
    margin-inline: auto;
}

/* ── 404 ── */
.cbs-error-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--cbs-masthead-h) - var(--cbs-nav-h) - 120px);
    text-align: center;
    padding: 48px 20px 72px;
    position: relative;
}

.cbs-error-stage::before {
    content: "";
    position: absolute;
    inset: 10% 8%;
    border-radius: var(--cbs-radius);
    background:
        radial-gradient(circle at 50% 35%, rgba(232, 184, 48, 0.14) 0%, transparent 55%),
        linear-gradient(165deg, rgba(26, 51, 36, 0.85) 0%, rgba(11, 31, 20, 0.95) 100%);
    border: 2px solid var(--cbs-border);
    box-shadow: var(--cbs-shadow);
    z-index: 0;
}

.cbs-error-stage::after {
    content: "★";
    position: absolute;
    top: 14%;
    right: 12%;
    font-size: 2rem;
    color: rgba(232, 184, 48, 0.25);
    z-index: 0;
    pointer-events: none;
}

.cbs-error-code,
.cbs-error-title,
.cbs-error-desc,
.cbs-error-stage .cbs-btn {
    position: relative;
    z-index: 1;
}

.cbs-error-code {
    font-family: 'CbsRye', serif;
    font-size: clamp(5rem, 18vw, 7.5rem);
    font-weight: 400;
    line-height: 1;
    margin-bottom: 12px;
    background: linear-gradient(180deg, var(--cbs-gold-bright) 0%, var(--cbs-gold) 55%, var(--cbs-wood-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 6px 18px rgba(232, 184, 48, 0.35));
}

.cbs-error-title {
    font-family: 'CbsSlab', serif;
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    font-weight: 700;
    margin-bottom: 14px;
    max-width: 520px;
    color: var(--cbs-text);
}

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

.cbs-error-stage .cbs-btn--gold {
    min-width: 200px;
    padding: 12px 28px;
    font-size: 0.9375rem;
    box-shadow: 0 8px 24px rgba(232, 184, 48, 0.35);
}

/* ── Support / Contact page ── */
.cbs-page-support .text-content {
    max-width: 680px;
    margin: 0 auto;
    padding: 32px 28px;
    background:
        radial-gradient(circle at 100% 0%, rgba(232, 184, 48, 0.12) 0%, transparent 42%),
        linear-gradient(165deg, rgba(26, 51, 36, 0.95) 0%, rgba(15, 38, 24, 0.98) 100%);
    border: 2px solid var(--cbs-border);
    box-shadow: var(--cbs-shadow);
}

.cbs-page-support .text-content h1 {
    text-align: center;
    margin-bottom: 10px;
}

.cbs-page-support .text-content h1::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    margin: 14px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--cbs-gold), var(--cbs-green-win));
}

.cbs-page-support .text-content > p:first-of-type {
    text-align: center;
    font-size: 1rem;
    color: var(--cbs-text);
    margin-bottom: 28px;
}

.cbs-page-support .text-content h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    margin-top: 32px;
    border-bottom: 1px dashed rgba(232, 184, 48, 0.25);
}

.cbs-page-support .text-content h2::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cbs-gold);
    box-shadow: 0 0 10px rgba(232, 184, 48, 0.5);
    flex-shrink: 0;
}

.cbs-page-support .text-content h3 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 8px 14px;
    border-radius: var(--cbs-radius-sm);
    background: rgba(232, 184, 48, 0.1);
    border: 1px solid rgba(232, 184, 48, 0.22);
    color: var(--cbs-gold-bright);
}

.cbs-page-support .text-content h3 + p {
    margin-top: 12px;
    padding: 14px 16px;
    border-radius: var(--cbs-radius-sm);
    background: rgba(8, 20, 12, 0.45);
    border-left: 3px solid var(--cbs-gold);
}

.cbs-page-support .text-content a {
    display: inline-flex;
    align-items: center;
    padding: 2px 0;
    font-weight: 700;
    color: var(--cbs-gold-bright);
    text-decoration: none;
    border-bottom: 1px dashed rgba(255, 213, 79, 0.45);
    transition: color 0.2s, border-color 0.2s;
}

.cbs-page-support .text-content a:hover {
    color: var(--cbs-green-win);
    border-bottom-color: var(--cbs-green-win);
}

/* ── Legal pages (privacy, terms) ── */
.cbs-page-legal .text-content {
    max-width: 820px;
    margin: 0 auto;
    padding: 36px 32px;
    background: linear-gradient(180deg, rgba(19, 42, 28, 0.92) 0%, rgba(11, 31, 20, 0.96) 100%);
    border: 1px solid rgba(232, 184, 48, 0.18);
    border-radius: var(--cbs-radius);
    box-shadow: var(--cbs-shadow);
}

.cbs-page-legal .text-content h1 {
    padding-bottom: 16px;
    margin-bottom: 24px;
    border-bottom: 2px solid rgba(232, 184, 48, 0.2);
}

.cbs-page-legal .text-content h2 {
    position: relative;
    padding-left: 16px;
    margin-top: 36px;
}

.cbs-page-legal .text-content h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.35em;
    width: 4px;
    height: 1.1em;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--cbs-gold-bright), var(--cbs-gold));
}

.cbs-page-legal .text-content h3 {
    color: var(--cbs-gold);
    margin-top: 24px;
}

.cbs-page-legal .text-content p {
    text-align: justify;
    hyphens: auto;
}

.cbs-page-legal .text-content ul,
.cbs-page-legal .text-content ol {
    padding: 12px 16px 12px 36px;
    margin: 16px 0;
    border-radius: var(--cbs-radius-sm);
    background: rgba(8, 20, 12, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.cbs-page-legal .text-content li {
    margin-bottom: 8px;
}

.cbs-page-legal .text-content li::marker {
    color: var(--cbs-gold);
}

.cbs-page-legal .text-content blockquote {
    border-left-color: var(--cbs-green-win);
    background: rgba(92, 219, 92, 0.06);
}

.cbs-page-legal .table-wrapper {
    border-color: rgba(232, 184, 48, 0.15);
}

/* ── Mobile ── */
@media (max-width: 992px) {
    .cbs-drawer-trigger {
        display: flex;
    }

    .cbs-nav-rail {
        display: none;
    }

    .cbs-masthead-row {
        padding: 8px 14px 8px 10px;
    }

    .cbs-auth-cluster .cbs-btn {
        padding: 7px 12px;
        font-size: 0.8125rem;
    }

    .cbs-main-stage {
        padding: 16px 14px 40px;
    }

    .cbs-promo-img {
        max-height: 220px;
    }

    .cbs-slot-row {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 10px;
    }

    .cbs-slot-actions {
        opacity: 1;
        background: linear-gradient(180deg, transparent 30%, rgba(8, 20, 12, 0.88) 100%);
        justify-content: flex-end;
        padding-bottom: 12px;
    }

    .text-content {
        padding: 16px;
    }

    .text-content table {
        min-width: 480px;
    }
}

@media (max-width: 480px) {
    .cbs-brand-mark img {
        height: 32px;
    }

    .cbs-auth-cluster {
        gap: 5px;
    }

    .cbs-auth-cluster .cbs-btn {
        padding: 6px 10px;
        font-size: 0.75rem;
    }
}
