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

@font-face {
    font-family: "ManropeLocal";
    src: url("/res/theme/fonts/manrope-600.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

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

@font-face {
    font-family: "SpaceGroteskLocal";
    src: url("/res/theme/fonts/space-grotesk-500.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

:root {
    --cb-bg-deep: #061018;
    --cb-bg-panel: #0b1a27;
    --cb-bg-raised: #112636;
    --cb-bg-rail: #081420;
    --cb-accent-green: #34c759;
    --cb-accent-green-dark: #249647;
    --cb-accent-blue: #2574ea;
    --cb-accent-blue-dark: #1a5ec0;
    --cb-text-main: #eef4f8;
    --cb-text-soft: #8fa3b3;
    --cb-border: rgba(255, 255, 255, 0.08);
    --cb-radius-sm: 8px;
    --cb-radius-md: 12px;
    --cb-radius-pill: 999px;
    --cb-shell-height: 58px;
    --cb-rail-height: 72px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "ManropeLocal", "Segoe UI", sans-serif;
    line-height: 1.55;
    color: var(--cb-text-main);
    background: var(--cb-bg-deep);
}

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

a {
    color: inherit;
}

/* Header shell */
.site-shell {
    position: sticky;
    top: 0;
    z-index: 900;
    background: linear-gradient(180deg, #0d2130 0%, var(--cb-bg-panel) 100%);
    border-bottom: 1px solid var(--cb-border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.shell-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: var(--cb-shell-height);
    padding: 8px 20px;
}

.shell-topbar-start,
.shell-topbar-end {
    display: flex;
    align-items: center;
    gap: 12px;
}

.shell-topbar-end {
    margin-left: auto;
}

.brand-mark-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.brand-mark-img,
.drawer-brand-img {
    width: auto;
    height: 34px;
    object-fit: contain;
}

.brand-mark-text {
    font-family: "SpaceGroteskLocal", "ManropeLocal", sans-serif;
    font-size: 1.25rem;
    letter-spacing: 0.04em;
    color: var(--cb-accent-green);
}

.shell-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cta-register,
.cta-login,
.btn-primary,
.promo-banner-btn,
.game-play-btn,
.game-demo-btn,
.app-download-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 18px;
    border-radius: var(--cb-radius-pill);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-decoration: none;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease;
}

.cta-register,
.promo-banner-btn,
.game-play-btn,
.app-download-link {
    background: linear-gradient(180deg, #3dd96a 0%, var(--cb-accent-green-dark) 100%);
    color: #fff;
}

.cta-login,
.game-demo-btn {
    background: linear-gradient(180deg, #3a86f0 0%, var(--cb-accent-blue-dark) 100%);
    color: #fff;
}

.cta-register:hover,
.cta-login:hover,
.promo-banner-btn:hover,
.game-play-btn:hover,
.game-demo-btn:hover,
.btn-primary:hover,
.app-download-link:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--cb-border);
    border-radius: var(--cb-radius-sm);
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
}

.nav-toggle-bar {
    display: block;
    width: 20px;
    height: 2px;
    margin: 0 auto;
    background: var(--cb-text-main);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Horizontal category rail */
.category-rail {
    background: var(--cb-bg-rail);
    border-top: 1px solid var(--cb-border);
}

.rail-track {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    margin: 0;
    padding: 0 12px;
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
}

.rail-track::-webkit-scrollbar {
    display: none;
}

.rail-node {
    flex: 0 0 auto;
}

.rail-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 88px;
    min-height: var(--cb-rail-height);
    padding: 8px 12px;
    text-decoration: none;
    color: var(--cb-text-soft);
    border-bottom: 2px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.rail-link:hover,
.rail-link.is-current {
    color: var(--cb-text-main);
    border-bottom-color: var(--cb-accent-green);
    background: rgba(52, 199, 89, 0.06);
}

.rail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.rail-glyph {
    width: 24px;
    height: 24px;
}

.rail-label {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-align: center;
    text-transform: uppercase;
    line-height: 1.2;
    max-width: 92px;
}

/* Mobile drawer */
.drawer-scrim {
    position: fixed;
    inset: 0;
    z-index: 950;
    background: rgba(2, 8, 14, 0.72);
    backdrop-filter: blur(2px);
}

.drawer-panel {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 960;
    width: min(320px, 88vw);
    height: 100vh;
    padding: 18px 16px 24px;
    background: linear-gradient(180deg, #0f2433 0%, var(--cb-bg-panel) 100%);
    border-left: 1px solid var(--cb-border);
    transform: translateX(105%);
    transition: transform 0.24s ease;
    overflow-y: auto;
}

.drawer-panel.is-visible {
    transform: translateX(0);
}

.drawer-brand {
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--cb-border);
}

.drawer-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.drawer-list .rail-link {
    flex-direction: row;
    justify-content: flex-start;
    min-width: 0;
    min-height: 48px;
    padding: 10px 12px;
    border-bottom: none;
    border-radius: var(--cb-radius-sm);
}

.drawer-list .rail-label {
    max-width: none;
    font-size: 0.78rem;
    text-align: left;
}

/* Main viewport */
.viewport-stage {
    width: min(1280px, 100%);
    margin: 0 auto;
    padding: 20px 16px 40px;
}

/* Breadcrumbs */
.breadcrumb-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    font-size: 0.82rem;
}

.breadcrumb-link {
    color: var(--cb-text-soft);
    text-decoration: none;
}

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

.breadcrumb-divider {
    color: rgba(255, 255, 255, 0.25);
}

/* Hero carousel */
.hero-carousel {
    position: relative;
    margin-bottom: 24px;
    border-radius: var(--cb-radius-md);
    overflow: hidden;
    background: var(--cb-bg-raised);
    border: 1px solid var(--cb-border);
}

.hero-track {
    position: relative;
}

.hero-slide {
    display: none;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 0;
    align-items: stretch;
}

.hero-slide.is-active {
    display: grid;
}

.hero-visual {
    position: relative;
    background: #081018;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
}

.hero-visual picture,
.hero-visual img {
    width: 100%;
    height: 100%;
}

.hero-banner-img {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: contain;
    object-position: center;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 24px 22px;
    background: linear-gradient(135deg, rgba(17, 38, 54, 0.96) 0%, rgba(8, 20, 32, 0.98) 100%);
}

.hero-title {
    font-family: "SpaceGroteskLocal", "ManropeLocal", sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.55rem);
    font-weight: 700;
    line-height: 1.25;
}

.hero-subline {
    margin: 0;
    color: var(--cb-text-soft);
    font-size: 0.92rem;
}

.hero-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.18);
}

.hero-dot {
    width: 8px;
    height: 8px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    padding: 0;
}

.hero-dot.is-active {
    background: var(--cb-accent-green);
    transform: scale(1.15);
}

/* Slot blocks */
.slots-block,
.game-section,
.bonuses-section,
.payment-methods-section {
    margin-bottom: 32px;
}

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

.section-title {
    font-family: "SpaceGroteskLocal", "ManropeLocal", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.show-all-btn {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 14px;
    border: 1px solid var(--cb-border);
    border-radius: var(--cb-radius-pill);
    color: var(--cb-text-soft);
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}

.show-all-btn:hover {
    color: var(--cb-text-main);
    border-color: rgba(52, 199, 89, 0.45);
}

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

.game-card {
    background: var(--cb-bg-raised);
    border: 1px solid var(--cb-border);
    border-radius: var(--cb-radius-md);
    overflow: hidden;
}

.game-image-wrapper {
    position: relative;
    aspect-ratio: 4 / 3;
    background: #081018;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.game-actions {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    background: rgba(4, 12, 20, 0.72);
    opacity: 0;
    transition: opacity 0.18s ease;
}

.game-image-wrapper:hover .game-actions,
.game-image-wrapper:focus-within .game-actions {
    opacity: 1;
}

.game-play-btn,
.game-demo-btn {
    min-width: 120px;
    min-height: 34px;
    padding: 0 14px;
    font-size: 0.72rem;
}

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

/* Bonuses */
.bonuses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.bonus-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--cb-bg-raised);
    border: 1px solid var(--cb-border);
    border-radius: var(--cb-radius-md);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.bonus-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cb-accent-green), var(--cb-accent-blue));
    opacity: 0.8;
}

.bonus-card:hover {
    transform: translateY(-4px);
    border-color: rgba(52, 199, 89, 0.35);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.bonus-image-wrapper {
    background: linear-gradient(180deg, #081018 0%, #0d1a26 100%);
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
}

.bonus-image {
    width: 100%;
    height: auto;
    max-height: 160px;
    object-fit: contain;
}

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

.bonus-name {
    font-family: "SpaceGroteskLocal", "ManropeLocal", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--cb-text-main);
}

.bonus-description {
    margin: 0;
    color: var(--cb-text-soft);
    font-size: 0.86rem;
    line-height: 1.55;
    flex: 1;
}

.bonus-value {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--cb-accent-green);
    padding: 8px 12px;
    background: rgba(52, 199, 89, 0.08);
    border-radius: var(--cb-radius-sm);
    border: 1px solid rgba(52, 199, 89, 0.2);
}

.bonus-value strong {
    font-weight: 700;
}

.bonus-category-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: var(--cb-radius-pill);
    background: rgba(37, 116, 234, 0.15);
    color: #8ec0ff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.bonus-terms {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px dashed var(--cb-border);
    color: var(--cb-text-soft);
    font-size: 0.72rem;
    line-height: 1.45;
    opacity: 0.85;
}

/* SEO text block */
.text-content {
    max-width: 920px;
    margin: 0 auto;
    padding: 28px 0 12px;
}

.text-content h1 {
    font-family: "SpaceGroteskLocal", "ManropeLocal", sans-serif;
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    font-weight: 700;
    margin: 0 0 22px;
    padding-bottom: 14px;
    border-bottom: 2px solid rgba(52, 199, 89, 0.25);
    line-height: 1.25;
}

.text-content h2 {
    font-family: "SpaceGroteskLocal", "ManropeLocal", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 32px 0 14px;
    padding-left: 14px;
    border-left: 3px solid var(--cb-accent-green);
    line-height: 1.35;
}

.text-content h3 {
    font-size: 1.02rem;
    font-weight: 700;
    margin: 24px 0 10px;
    color: var(--cb-text-main);
}

.text-content p {
    margin: 0 0 16px;
    color: var(--cb-text-soft);
    font-size: 0.9rem;
    line-height: 1.65;
}

.text-content p + p {
    margin-top: -4px;
}

.text-content img {
    margin: 20px 0;
    border-radius: var(--cb-radius-md);
    border: 1px solid var(--cb-border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 18px 0;
    border: 1px solid var(--cb-border);
    border-radius: var(--cb-radius-sm);
    background: var(--cb-bg-raised);
}

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

.text-content th,
.text-content td,
.app-info-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--cb-border);
    text-align: left;
    vertical-align: top;
}

.text-content th {
    background: rgba(255, 255, 255, 0.04);
    font-weight: 700;
    white-space: nowrap;
}

.text-content ul,
.text-content ol,
.list-container ul,
.list-container ol {
    margin: 16px 0 20px;
    padding: 14px 18px 14px 32px;
    color: var(--cb-text-soft);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--cb-border);
    border-radius: var(--cb-radius-sm);
}

.text-content li,
.list-container li {
    margin-bottom: 8px;
    line-height: 1.6;
    font-size: 0.88rem;
}

.text-content li::marker {
    color: var(--cb-accent-green);
}

.text-content a {
    color: #7ec8ff;
    text-decoration: none;
    border-bottom: 1px solid rgba(126, 200, 255, 0.3);
    transition: color 0.15s ease, border-color 0.15s ease;
}

.text-content a:hover {
    color: var(--cb-accent-green);
    border-bottom-color: rgba(52, 199, 89, 0.5);
}

.text-content blockquote {
    margin: 20px 0;
    padding: 16px 18px;
    border-left: 3px solid var(--cb-accent-green);
    background: linear-gradient(90deg, rgba(52, 199, 89, 0.08) 0%, transparent 100%);
    border-radius: 0 var(--cb-radius-sm) var(--cb-radius-sm) 0;
    color: var(--cb-text-soft);
    font-style: italic;
}

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

.faq-item-block {
    margin-bottom: 10px;
    border: 1px solid var(--cb-border);
    border-radius: var(--cb-radius-sm);
    overflow: hidden;
    background: var(--cb-bg-raised);
    transition: border-color 0.15s ease;
}

.faq-item-block:hover {
    border-color: rgba(52, 199, 89, 0.3);
}

.faq-question-block {
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.92rem;
}

.faq-answer-block {
    padding: 14px 16px;
    color: var(--cb-text-soft);
    font-size: 0.86rem;
    line-height: 1.6;
    border-top: 1px solid var(--cb-border);
}

.howto-wrapper {
    padding: 20px;
    border: 1px solid var(--cb-border);
    border-radius: var(--cb-radius-md);
    background: linear-gradient(180deg, var(--cb-bg-raised) 0%, rgba(8, 20, 32, 0.6) 100%);
}

.howto-steps-list {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: howto-step;
}

.howto-step-item {
    position: relative;
    padding: 14px 0 14px 48px;
    border-left: 2px solid rgba(52, 199, 89, 0.3);
    margin-bottom: 12px;
    margin-left: 8px;
}

.howto-step-item::before {
    counter-increment: howto-step;
    content: counter(howto-step);
    position: absolute;
    left: -12px;
    top: 14px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cb-accent-green);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 50%;
}

.howto-step-item strong {
    display: block;
    margin-bottom: 6px;
    color: var(--cb-text-main);
    font-size: 0.92rem;
}

.howto-step-item p {
    margin: 0;
    font-size: 0.86rem;
    color: var(--cb-text-soft);
}

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

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

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

.payment-method-name {
    margin-top: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--cb-text-soft);
}

/* App table */
.app-hero-block {
    position: relative;
    margin-bottom: 32px;
    padding: 2px;
    border-radius: calc(var(--cb-radius-md) + 2px);
    background: linear-gradient(135deg, rgba(52, 199, 89, 0.45) 0%, rgba(37, 116, 234, 0.35) 50%, rgba(52, 199, 89, 0.2) 100%);
    overflow: hidden;
}

.app-hero-glow {
    position: absolute;
    top: -40%;
    right: -10%;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(52, 199, 89, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.app-info-table-wrapper {
    position: relative;
    margin: 0;
    background: linear-gradient(160deg, #0f2433 0%, var(--cb-bg-raised) 55%, #081420 100%);
    border-radius: var(--cb-radius-md);
}

.app-info-table-container {
    margin: 0;
    border: none;
    border-radius: var(--cb-radius-md);
    background: transparent;
    overflow: hidden;
}

.app-info-table {
    min-width: 0;
}

.app-info-row {
    transition: background 0.15s ease;
}

.app-info-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

.app-info-row:first-child {
    background: rgba(52, 199, 89, 0.06);
}

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

.app-info-row:last-child {
    background: rgba(37, 116, 234, 0.06);
}

.app-info-label-cell {
    width: 56px;
    padding: 16px 12px;
    vertical-align: top;
    border-bottom: 1px solid var(--cb-border);
}

.app-info-label-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--cb-border);
    border-radius: var(--cb-radius-sm);
}

.app-info-value-cell {
    padding: 16px 18px;
    border-bottom: 1px solid var(--cb-border);
    color: var(--cb-text-soft);
    font-size: 0.9rem;
    line-height: 1.55;
    vertical-align: top;
}

.app-info-row:last-child .app-info-label-cell,
.app-info-row:last-child .app-info-value-cell {
    border-bottom: none;
}

.app-info-icon {
    width: 22px;
    height: 22px;
    color: var(--cb-accent-green);
    flex-shrink: 0;
}

.app-info-row:nth-child(even) .app-info-icon {
    color: #7ec8ff;
}

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

.app-name-logo {
    width: 52px;
    height: 52px;
    padding: 6px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--cb-border);
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.app-name-text {
    font-family: "SpaceGroteskLocal", "ManropeLocal", sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--cb-text-main);
}

.app-download-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 24px;
    font-size: 0.85rem;
    box-shadow: 0 6px 20px rgba(52, 199, 89, 0.28);
}

/* Footer */
.site-footer {
    position: relative;
    margin-top: 36px;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(52, 199, 89, 0.08) 0%, transparent 60%),
        linear-gradient(180deg, #0a1824 0%, #040a10 100%);
    border-top: 1px solid var(--cb-border);
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--cb-accent-green) 35%, var(--cb-accent-blue) 65%, transparent 100%);
    opacity: 0.7;
}

.footer-payments-band {
    padding: 20px 16px;
    border-bottom: 1px solid var(--cb-border);
    background: rgba(255, 255, 255, 0.02);
}

.footer-payments-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.footer-payments-label {
    font-family: "SpaceGroteskLocal", "ManropeLocal", sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--cb-text-soft);
}

.footer-payments-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.footer-payment-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    min-height: 44px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--cb-border);
    border-radius: var(--cb-radius-sm);
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.footer-payment-chip:hover {
    border-color: rgba(52, 199, 89, 0.35);
    background: rgba(52, 199, 89, 0.06);
    transform: translateY(-2px);
}

.footer-payment-img {
    max-height: 26px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.05);
}

.footer-main {
    padding: 32px 16px 24px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 28px;
    max-width: 1280px;
    margin: 0 auto;
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-brand-link {
    display: inline-flex;
    text-decoration: none;
}

.footer-brand-img {
    max-height: 42px;
    width: auto;
    object-fit: contain;
    opacity: 0.95;
}

.footer-brand-text {
    font-family: "SpaceGroteskLocal", "ManropeLocal", sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--cb-accent-green);
}

.footer-brand-note {
    margin: 0;
    max-width: 280px;
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--cb-text-soft);
}

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

.footer-section-title {
    position: relative;
    font-family: "SpaceGroteskLocal", "ManropeLocal", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
    padding-bottom: 8px;
    color: var(--cb-text-main);
}

.footer-section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    background: var(--cb-accent-green);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--cb-text-soft);
    text-decoration: none;
    font-size: 0.86rem;
    padding: 4px 0;
    transition: color 0.15s ease, transform 0.15s ease;
}

.footer-links a::before {
    content: "";
    width: 0;
    height: 1px;
    background: var(--cb-accent-green);
    transition: width 0.18s ease;
}

.footer-links a:hover,
.footer-links a.is-active {
    color: var(--cb-text-main);
    transform: translateX(3px);
}

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

.footer-social-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--cb-border);
    border-radius: var(--cb-radius-sm);
    text-decoration: none;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.footer-social-link:hover {
    border-color: rgba(37, 116, 234, 0.4);
    background: rgba(37, 116, 234, 0.08);
}

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

.footer-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 1280px;
    margin: 28px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--cb-border);
}

.footer-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 20px;
    border-radius: var(--cb-radius-pill);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
    border: 1px solid transparent;
    transition: transform 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
}

.footer-action-btn:hover {
    transform: translateY(-2px);
    opacity: 0.94;
}

.footer-action-btn--primary {
    background: linear-gradient(180deg, #3dd96a 0%, var(--cb-accent-green-dark) 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(52, 199, 89, 0.25);
}

.footer-action-btn--secondary {
    background: linear-gradient(180deg, #3a86f0 0%, var(--cb-accent-blue-dark) 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(37, 116, 234, 0.2);
}

.footer-action-btn--accent {
    background: transparent;
    color: var(--cb-text-main);
    border-color: rgba(52, 199, 89, 0.45);
}

.footer-action-btn--accent:hover {
    background: rgba(52, 199, 89, 0.08);
    box-shadow: 0 4px 16px rgba(52, 199, 89, 0.12);
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 16px 28px;
    border-top: 1px solid var(--cb-border);
    text-align: center;
}

.footer-safe {
    margin-bottom: 16px;
}

.footer-safe-heading {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cb-text-soft);
    margin-bottom: 12px;
}

.footer-safe-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--cb-border);
    border-radius: var(--cb-radius-md);
}

.footer-safe-links li {
    margin: 0;
}

.footer-safe-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

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

.safe-image {
    max-height: 32px;
    width: auto;
    object-fit: contain;
}

.footer-copyright {
    margin: 0;
    color: var(--cb-text-soft);
    font-size: 0.74rem;
    line-height: 1.5;
}

/* Error page */
.error-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 280px);
    text-align: center;
    padding: 48px 20px 64px;
}

.error-visual {
    position: relative;
    margin-bottom: 20px;
}

.error-glow {
    position: absolute;
    inset: -30px -50px;
    background: radial-gradient(circle, rgba(52, 199, 89, 0.22) 0%, transparent 70%);
    pointer-events: none;
    animation: error-pulse 3s ease-in-out infinite;
}

@keyframes error-pulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}

.error-code {
    position: relative;
    font-family: "SpaceGroteskLocal", "ManropeLocal", sans-serif;
    font-size: clamp(5rem, 18vw, 8rem);
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(180deg, #5ee87a 0%, var(--cb-accent-green) 45%, #1a8a3a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 0 24px rgba(52, 199, 89, 0.35));
    margin-bottom: 0;
}

.error-heading {
    font-family: "SpaceGroteskLocal", "ManropeLocal", sans-serif;
    font-size: clamp(1.1rem, 3vw, 1.45rem);
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--cb-text-main);
    max-width: 420px;
}

.error-copy {
    margin: 0 0 28px;
    color: var(--cb-text-soft);
    font-size: 0.92rem;
    max-width: 380px;
    line-height: 1.6;
}

.error-back-btn {
    min-width: 200px;
    box-shadow: 0 6px 24px rgba(52, 199, 89, 0.3);
}

/* Support / Contact page */
.page-support {
    padding-top: 8px;
}

.support-content-wrap {
    max-width: 720px;
    margin: 0 auto;
}

.page-support .text-content {
    padding: 0;
}

.page-support .text-content h1 {
    position: relative;
    display: inline-block;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    margin-bottom: 24px;
    padding-bottom: 12px;
}

.page-support .text-content h1::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, var(--cb-accent-green), var(--cb-accent-blue));
    border-radius: 2px;
}

.page-support .text-content > p:first-of-type {
    font-size: 1rem;
    color: var(--cb-text-main);
    padding: 16px 20px;
    margin-bottom: 28px;
    background: linear-gradient(135deg, rgba(52, 199, 89, 0.1) 0%, rgba(37, 116, 234, 0.08) 100%);
    border: 1px solid rgba(52, 199, 89, 0.25);
    border-radius: var(--cb-radius-md);
}

.page-support .text-content h2 {
    font-family: "SpaceGroteskLocal", "ManropeLocal", sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--cb-accent-green);
    margin: 32px 0 16px;
}

.page-support .text-content h3 {
    font-size: 1.05rem;
    margin: 0 0 8px;
    padding: 18px 20px 0;
    background: var(--cb-bg-raised);
    border: 1px solid var(--cb-border);
    border-bottom: none;
    border-radius: var(--cb-radius-md) var(--cb-radius-md) 0 0;
}

.page-support .text-content h3 + p {
    margin: 0 0 16px;
    padding: 12px 20px 18px;
    background: var(--cb-bg-raised);
    border: 1px solid var(--cb-border);
    border-top: none;
    border-radius: 0 0 var(--cb-radius-md) var(--cb-radius-md);
    color: var(--cb-text-main);
}

.page-support .text-content h3 + p a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    margin-left: 6px;
    background: rgba(52, 199, 89, 0.12);
    border: 1px solid rgba(52, 199, 89, 0.35);
    border-radius: var(--cb-radius-pill);
    color: var(--cb-accent-green);
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s ease, transform 0.15s ease;
}

.page-support .text-content h3 + p a:hover {
    background: rgba(52, 199, 89, 0.2);
    transform: translateY(-1px);
}

/* Legal pages (datenschutz, agb) */
.page-legal {
    padding-top: 12px;
}

.legal-content-wrap {
    max-width: 820px;
    margin: 0 auto;
    padding: 28px 24px 36px;
    background: var(--cb-bg-raised);
    border: 1px solid var(--cb-border);
    border-radius: var(--cb-radius-md);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.page-legal .text-content {
    padding: 0;
    max-width: none;
}

.page-legal .text-content h1 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid rgba(52, 199, 89, 0.3);
}

.page-legal--privacy .text-content h1 {
    border-bottom-color: rgba(37, 116, 234, 0.35);
}

.page-legal--terms .text-content h1 {
    border-bottom-color: rgba(52, 199, 89, 0.35);
}

.page-legal .text-content > p:first-of-type {
    font-size: 0.95rem;
    color: var(--cb-text-main);
    padding: 14px 18px;
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--cb-accent-green);
    border-radius: 0 var(--cb-radius-sm) var(--cb-radius-sm) 0;
}

.page-legal--privacy .text-content > p:first-of-type {
    border-left-color: var(--cb-accent-blue);
}

.page-legal .text-content h2 {
    font-family: "SpaceGroteskLocal", "ManropeLocal", sans-serif;
    font-size: 1.1rem;
    margin: 28px 0 12px;
    padding: 10px 14px;
    background: rgba(52, 199, 89, 0.07);
    border-radius: var(--cb-radius-sm);
    color: var(--cb-text-main);
}

.page-legal--privacy .text-content h2 {
    background: rgba(37, 116, 234, 0.1);
}

.page-legal .text-content h3 {
    font-size: 0.98rem;
    margin: 20px 0 10px;
    color: var(--cb-accent-green);
}

.page-legal--privacy .text-content h3 {
    color: #7ec8ff;
}

.page-legal .text-content p {
    font-size: 0.88rem;
    line-height: 1.65;
}

.page-legal .text-content .list-container {
    margin: 14px 0 20px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--cb-border);
    border-radius: var(--cb-radius-sm);
}

.page-legal .text-content .list-container li {
    margin-bottom: 6px;
    font-size: 0.86rem;
}

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

@media (max-width: 768px) {
    .legal-content-wrap {
        padding: 20px 16px 28px;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .nav-toggle {
        display: flex;
    }

    .shell-topbar {
        gap: 8px;
    }

    .shell-topbar-start {
        min-width: 0;
        flex-shrink: 1;
    }

    .shell-topbar-end {
        gap: 6px;
    }

    .shell-actions {
        display: flex;
        gap: 6px;
    }

    .shell-actions .cta-register,
    .shell-actions .cta-login {
        min-height: 34px;
        padding: 0 10px;
        font-size: 0.68rem;
        letter-spacing: 0.02em;
        white-space: nowrap;
    }

    .category-rail {
        display: block;
    }

    .rail-track {
        padding-bottom: 2px;
    }

    .hero-slide.is-active {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        padding: 18px 16px 20px;
    }

    .hero-visual {
        min-height: 160px;
    }

    .hero-banner-img {
        max-height: 220px;
    }
}

@media (max-width: 768px) {
    .viewport-stage {
        padding: 14px 12px 32px;
    }

    .shell-topbar {
        padding: 8px 10px;
    }

    .brand-mark-img,
    .drawer-brand-img {
        height: 28px;
    }

    .shell-actions .cta-register,
    .shell-actions .cta-login {
        min-height: 32px;
        padding: 0 8px;
        font-size: 0.62rem;
    }

    .nav-toggle {
        width: 38px;
        height: 38px;
        flex-shrink: 0;
    }

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

    .game-actions {
        opacity: 1;
        background: linear-gradient(180deg, rgba(4, 12, 20, 0.15) 40%, rgba(4, 12, 20, 0.82) 100%);
        justify-content: flex-end;
        padding-bottom: 14px;
    }

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

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

    .text-content h3 {
        font-size: 1rem;
    }

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

    .footer-brand-col {
        grid-column: 1 / -1;
    }

    .footer-payments-grid {
        gap: 8px;
    }

    .footer-payment-chip {
        min-width: 64px;
        min-height: 38px;
        padding: 6px 10px;
    }

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

    .footer-action-btn {
        width: 100%;
    }
}

@media (min-width: 993px) {
    .drawer-panel,
    .drawer-scrim {
        display: none !important;
    }

    .rail-track {
        justify-content: center;
    }
}
