/*
 * Brand Kit — main stylesheet.
 *
 * Every colour, font, radius and width comes from the Design Builder tokens
 * (CSS custom properties printed on :root by inc/design.php). Don't hard-code
 * brand values here.
 */

/* ---------- Fallback tokens (overridden by the Design Builder) ---------- */
:root {
	--bk-bg: #18143b;
	--bk-surface: #2b2749;
	--bk-surface-2: #373354;
	--bk-border: #454260;
	--bk-text: #fff;
	--bk-muted: #b6b5c1;
	--bk-heading: #fff;
	--bk-link: #59ff8b;
	--bk-accent: #00f2ff;
	--bk-primary-from: #59ff8b;
	--bk-primary-to: #fdf45b;
	--bk-primary-text: #18143b;
	--bk-secondary-from: #8d1cff;
	--bk-secondary-to: #ff33eb;
	--bk-secondary-text: #fff;
	--bk-header-bg: #18143b;
	--bk-footer-bg: #120f2e;
	--bk-hero-from: #8800ff;
	--bk-hero-to: #2400ff;
	--bk-font-body: system-ui, sans-serif;
	--bk-font-heading: system-ui, sans-serif;
	--bk-heading-weight: 800;
	--bk-heading-style: normal;
	--bk-heading-case: none;
	--bk-base-size: 16px;
	--bk-radius: 16px;
	--bk-btn-radius: 999px;
	--bk-container: 1280px;

	/* Derived */
	--bk-primary: linear-gradient(90deg, var(--bk-primary-from) 0%, var(--bk-primary-to) 100%);
	--bk-secondary: linear-gradient(90deg, var(--bk-secondary-from) 0%, var(--bk-secondary-to) 100%);
	--bk-gutter: 16px;
	--bk-rail-w: 92px;
	--bk-header-h: 64px;
	--bk-shadow: 0 10px 30px rgb(0 0 0 / 25%);
}

@media (min-width: 768px) {
	:root { --bk-gutter: 24px; --bk-header-h: 72px; }
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.bk-drawer-open { overflow: hidden; }

body {
	margin: 0;
	background: var(--bk-bg);
	color: var(--bk-text);
	font-family: var(--bk-font-body);
	font-size: var(--bk-base-size);
	line-height: 1.65;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

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

a { color: var(--bk-link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 2px solid var(--bk-accent); outline-offset: 2px; }

h1, h2, h3, h4 {
	margin: 0 0 .5em;
	color: var(--bk-heading);
	font-family: var(--bk-font-heading);
	font-weight: var(--bk-heading-weight);
	font-style: var(--bk-heading-style);
	text-transform: var(--bk-heading-case);
	line-height: 1.15;
	letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-top: 1.6em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); margin-top: 1.4em; }

p, ul, ol { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: .35em; }
strong { color: var(--bk-heading); }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.bk-skip:focus {
	clip: auto; width: auto; height: auto;
	z-index: 1000; top: 8px; left: 8px;
	padding: 10px 16px;
	background: var(--bk-surface); color: var(--bk-text);
}

.bk-container {
	width: 100%;
	max-width: calc(var(--bk-container) + 2 * var(--bk-gutter));
	margin-inline: auto;
	padding-inline: var(--bk-gutter);
}
.bk-container--text { max-width: calc(960px + 2 * var(--bk-gutter)); }

/* ---------- Buttons ---------- */
.bk-btn,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	padding: 10px 26px;
	border: 2px solid transparent;
	border-radius: var(--bk-btn-radius);
	background: var(--bk-primary);
	color: var(--bk-primary-text);
	font-family: var(--bk-font-heading);
	font-size: .95rem;
	font-weight: 800;
	letter-spacing: .02em;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1.1;
	cursor: pointer;
	transition: transform .15s ease, filter .15s ease, box-shadow .15s ease;
}
.bk-btn:hover,
.wp-block-button__link:hover { transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 8px 22px rgb(0 0 0 / 25%); text-decoration: none; }

.bk-btn--sm { min-height: 40px; padding: 8px 18px; font-size: .85rem; }

.bk-btn--secondary,
.is-style-secondary .wp-block-button__link { background: var(--bk-secondary); color: var(--bk-secondary-text); }

.bk-btn--ghost { background: var(--bk-surface-2); color: var(--bk-text); }

.bk-btn--outline,
.is-style-outline .wp-block-button__link,
.wp-block-button.is-style-outline > .wp-block-button__link:not(.has-background) {
	background: transparent;
	border-color: var(--bk-primary-from);
	color: var(--bk-heading);
}
.bk-btn--outline:hover,
.is-style-outline .wp-block-button__link:hover { background: color-mix(in srgb, var(--bk-primary-from) 14%, transparent); }

/* Button style token: solid uses the start colour only, outline turns primary buttons into outlines. */
.bk-btn-solid .bk-btn--primary,
.bk-btn-solid .wp-block-button:not(.is-style-outline):not(.is-style-secondary) .wp-block-button__link { background: var(--bk-primary-from); }
.bk-btn-solid .bk-btn--secondary { background: var(--bk-secondary-from); }
.bk-btn-outline .bk-btn--primary,
.bk-btn-outline .wp-block-button:not(.is-style-outline) .wp-block-button__link {
	background: transparent;
	border-color: var(--bk-primary-from);
	color: var(--bk-primary-from);
}
.bk-btn-outline .bk-btn--secondary { background: transparent; border-color: var(--bk-secondary-from); color: var(--bk-secondary-from); }

.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.4em 0; }

/* ---------- Header ---------- */
.bk-header {
	position: relative;
	z-index: 50;
	background: var(--bk-header-bg);
	border-bottom: 1px solid color-mix(in srgb, var(--bk-border) 60%, transparent);
}
.bk-sticky .bk-header { position: sticky; top: 0; }
.admin-bar.bk-sticky .bk-header { top: 32px; }
@media (max-width: 782px) { .admin-bar.bk-sticky .bk-header { top: 0; } }
.bk-header.is-scrolled { box-shadow: var(--bk-shadow); }

.bk-header__inner {
	display: flex;
	align-items: center;
	gap: 18px;
	height: var(--bk-header-h);
	padding-inline: var(--bk-gutter);
}
.bk-header__end { display: flex; align-items: center; gap: 12px; margin-left: auto; }

.bk-logo { display: inline-flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.bk-logo__img { width: auto; height: 44px; }
@media (min-width: 768px) { .bk-header .bk-logo__img { height: 54px; } }
.bk-logo--footer .bk-logo__img { height: 52px; }
.bk-logo { gap: 10px; }
.bk-logo__mark { width: 40px; height: 40px; flex-shrink: 0; }
.bk-logo__text { color: var(--bk-heading); font-family: var(--bk-font-heading); font-weight: 900; font-style: italic; font-size: 1.55rem; line-height: 1; letter-spacing: -.01em; white-space: nowrap; }
@media (min-width: 768px) { .bk-logo__mark { width: 46px; height: 46px; } .bk-logo__text { font-size: 1.75rem; } }
.bk-logo--footer .bk-logo__mark { width: 52px; height: 52px; }
.bk-logo__text span { color: var(--bk-accent); }

.bk-burger, .bk-drawer__close {
	display: inline-flex; align-items: center; justify-content: center;
	width: 42px; height: 42px; padding: 0;
	border: 0; border-radius: 12px;
	background: var(--bk-surface-2); color: var(--bk-text);
	cursor: pointer;
}

.bk-nav { display: none; }
.bk-nav__list { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.bk-nav__list > li { position: relative; display: flex; align-items: center; margin: 0; }
.bk-nav__list a {
	display: block;
	padding: 10px 12px;
	border-radius: 10px;
	color: var(--bk-text);
	font-weight: 700;
	font-size: .95rem;
	text-decoration: none;
	white-space: nowrap;
}
.bk-nav__list a:hover, .bk-nav__list .current-menu-item > a, .bk-nav__list .current-menu-ancestor > a { background: var(--bk-surface-2); }
.bk-nav__toggle {
	display: inline-flex; align-items: center;
	margin-left: -8px; padding: 8px 6px;
	border: 0; background: none; color: var(--bk-muted); cursor: pointer;
}
.bk-nav .sub-menu {
	position: absolute; top: calc(100% + 6px); left: 0;
	min-width: 230px; margin: 0; padding: 8px;
	list-style: none;
	background: var(--bk-surface);
	border: 1px solid var(--bk-border);
	border-radius: var(--bk-radius);
	box-shadow: var(--bk-shadow);
	opacity: 0; visibility: hidden; transform: translateY(4px);
	transition: opacity .15s, transform .15s, visibility .15s;
}
.bk-nav .sub-menu li { margin: 0; }
.bk-nav .sub-menu a { padding: 9px 12px; font-weight: 600; }
.bk-nav .is-open > .sub-menu,
.bk-nav li:hover > .sub-menu,
.bk-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.bk-nav .is-open > .bk-nav__toggle svg { transform: rotate(180deg); }

.bk-actions { display: flex; gap: 8px; }
.bk-header .bk-actions .bk-btn--ghost { display: none; }

.bk-lang { position: relative; }
.bk-lang__toggle {
	display: inline-flex; align-items: center; gap: 4px;
	height: 40px; padding: 0 12px;
	border: 1px solid var(--bk-border); border-radius: 999px;
	background: transparent; color: var(--bk-text); font-weight: 700; cursor: pointer;
}
.bk-lang__menu {
	position: absolute; right: 0; top: calc(100% + 6px);
	min-width: 140px; margin: 0; padding: 6px; list-style: none;
	background: var(--bk-surface); border: 1px solid var(--bk-border); border-radius: 12px;
	display: none;
}
.bk-lang.is-open .bk-lang__menu { display: block; }
.bk-lang__menu a { display: block; padding: 8px 10px; color: var(--bk-text); text-decoration: none; }

.bk-header-center .bk-logo { margin-inline: auto; }

@media (min-width: 480px) {
	.bk-header .bk-actions .bk-btn--ghost { display: inline-flex; }
}
@media (min-width: 1100px) {
	.bk-burger { display: none; }
	.bk-nav { display: block; }
	.bk-header-center .bk-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; }
	.bk-header-center .bk-logo { grid-column: 2; grid-row: 1; }
	.bk-header-center .bk-nav { grid-column: 1; grid-row: 1; }
	.bk-header-center .bk-header__end { grid-column: 3; grid-row: 1; }
}

/* Drawer (mobile menu) */
.bk-drawer {
	position: fixed; inset: 0; z-index: 100;
	background: rgb(0 0 0 / 55%);
}
.bk-drawer[hidden] { display: none; }
.bk-drawer__panel {
	width: min(340px, 88vw); height: 100%;
	overflow-y: auto;
	padding: 16px;
	background: var(--bk-bg);
	border-right: 1px solid var(--bk-border);
}
.bk-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.bk-actions--drawer { margin-bottom: 16px; }
.bk-actions--drawer .bk-btn { flex: 1; }
.bk-drawer__list, .bk-drawer__list .sub-menu { margin: 0; padding: 0; list-style: none; }
.bk-drawer__list a { display: block; padding: 11px 12px; border-radius: 10px; color: var(--bk-text); font-weight: 700; text-decoration: none; }
.bk-drawer__list a:hover { background: var(--bk-surface-2); }
.bk-drawer__list .sub-menu { padding-left: 12px; border-left: 2px solid var(--bk-border); margin: 0 0 8px 12px; }
.bk-drawer__list .sub-menu a { font-weight: 500; color: var(--bk-muted); padding-block: 8px; }

/* ---------- Shell + sidebar rail ---------- */
.bk-shell { display: block; }
.bk-main { min-width: 0; }
.bk-rail { display: none; }

@media (min-width: 1100px) {
	.bk-has-rail .bk-shell { display: grid; grid-template-columns: var(--bk-rail-w) minmax(0, 1fr); }
	.bk-rail {
		display: block;
		position: sticky; top: var(--bk-header-h);
		height: calc(100vh - var(--bk-header-h));
		overflow-y: auto; scrollbar-width: none;
		padding: 12px 8px;
		background: var(--bk-header-bg);
		border-right: 1px solid color-mix(in srgb, var(--bk-border) 50%, transparent);
	}
	.admin-bar .bk-rail { top: calc(var(--bk-header-h) + 32px); height: calc(100vh - var(--bk-header-h) - 32px); }
	.bk-rail__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
	.bk-rail__list li { margin: 0; }
	.bk-rail__list a {
		display: flex; flex-direction: column; align-items: center; gap: 4px;
		padding: 10px 4px;
		border-radius: 12px;
		color: var(--bk-text);
		font-size: .74rem; font-weight: 600; line-height: 1.2; text-align: center;
		text-decoration: none;
	}
	.bk-rail__list a:hover, .bk-rail__list .current-menu-item > a { background: var(--bk-surface-2); }
	.bk-rail__list .bk-icon { color: var(--bk-heading); }
}

/* ---------- Heroes ---------- */
.bk-hero { position: relative; overflow: hidden; }

.bk-hero--home { padding: 20px 0 8px; }
.bk-hero--home .bk-hero__grid {
	position: relative;
	display: grid;
	gap: 8px;
	padding: 28px 22px 0;
	border-radius: calc(var(--bk-radius) + 4px);
	background:
		radial-gradient(120% 140% at 85% 20%, color-mix(in srgb, var(--bk-secondary-to) 35%, transparent) 0%, transparent 55%),
		linear-gradient(85deg, var(--bk-hero-from) 0%, color-mix(in srgb, var(--bk-hero-to) 70%, transparent) 100%);
	overflow: hidden;
	max-width: calc(var(--bk-container) - 2 * var(--bk-gutter));
	margin-inline: auto;
	width: calc(100% - 2 * var(--bk-gutter));
}
.bk-hero__badge {
	display: inline-block; margin: 0 0 6px;
	color: var(--bk-heading);
	font-family: var(--bk-font-heading); font-weight: 900; font-style: italic;
	text-transform: uppercase; letter-spacing: .02em;
}
.bk-hero__offer {
	margin: 0 0 12px;
	color: var(--bk-heading);
	font-family: var(--bk-font-heading);
	font-weight: 800; font-style: italic;
	font-size: clamp(1.05rem, 2.4vw, 1.4rem);
	line-height: 1.2;
}
.bk-hero__offer span {
	display: block;
	font-size: clamp(3.4rem, 9vw, 6rem);
	font-weight: 900;
	line-height: .95;
	background: var(--bk-primary);
	-webkit-background-clip: text; background-clip: text;
	color: transparent;
}
.bk-hero--home .bk-hero__title { font-size: clamp(1.6rem, 3.6vw, 2.6rem); margin-bottom: .35em; }
.bk-hero__text { max-width: 560px; color: color-mix(in srgb, var(--bk-text) 88%, transparent); }
.bk-hero__text p:last-child { margin-bottom: 0; }
.bk-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 28px; }
.bk-hero__art { display: flex; align-items: flex-end; justify-content: center; }
.bk-hero__art img { width: min(100%, 260px); height: auto; margin-bottom: -2px; }
@media (min-width: 600px) { .bk-hero__art img { width: min(100%, 460px); } }

@media (min-width: 900px) {
	.bk-hero--home .bk-hero__grid { grid-template-columns: 1.1fr .9fr; align-items: center; padding: 44px 48px 0; min-height: 420px; }
	.bk-hero--home .bk-hero__copy { padding-bottom: 36px; }
	.bk-hero__art { align-self: end; }
}

.bk-hero--inner {
	padding: 26px 0 34px;
	background:
		radial-gradient(80% 120% at 100% 0%, color-mix(in srgb, var(--bk-hero-from) 38%, transparent) 0%, transparent 60%),
		radial-gradient(60% 100% at 0% 100%, color-mix(in srgb, var(--bk-secondary-to) 16%, transparent) 0%, transparent 60%),
		var(--bk-bg);
	border-bottom: 1px solid color-mix(in srgb, var(--bk-border) 60%, transparent);
	text-align: center;
}
.bk-hero--inner .bk-hero__text { margin-inline: auto; font-size: 1.08rem; }
.bk-hero--inner .bk-hero__ctas { justify-content: center; margin-bottom: 0; }
@media (min-width: 768px) { .bk-hero--inner { padding: 36px 0 52px; } }

.bk-breadcrumbs { margin-bottom: 18px; color: var(--bk-muted); font-size: .9rem; }
.bk-breadcrumbs a { color: var(--bk-muted); }
.bk-breadcrumbs a:hover { color: var(--bk-text); }

/* ---------- Content ---------- */
.bk-body { padding-block: 34px 56px; }
.bk-content { min-width: 0; }
.bk-content > :first-child { margin-top: 0; }
.bk-page--home .bk-content > :where(p, h2, h3, ul, ol, .wp-block-table, .bk-note, .bk-cta, .bk-faq) {
	max-width: 960px; margin-inline: auto;
}
.bk-content ul:not([class*="bk-"]) li::marker { color: var(--bk-primary-from); }
.is-style-checks { list-style: none; padding-left: 0; }
.is-style-checks li { position: relative; padding-left: 28px; }
.is-style-checks li::before { content: "✓"; position: absolute; left: 0; color: var(--bk-primary-from); font-weight: 900; }

/* Tables */
.wp-block-table { margin: 1.5em 0 2em; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.wp-block-table table {
	width: 100%;
	min-width: 520px;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid var(--bk-border);
	border-radius: var(--bk-radius);
	overflow: hidden;
	background: var(--bk-surface);
	font-size: .95rem;
}
.wp-block-table.has-fixed-layout table, .wp-block-table table.has-fixed-layout { table-layout: auto; }
.wp-block-table table th, .wp-block-table table td { padding: 12px 16px; border: 0; border-bottom: 1px solid var(--bk-border); text-align: left; vertical-align: top; }
.wp-block-table table thead th { background: var(--bk-surface-2); color: var(--bk-heading); font-weight: 800; font-family: var(--bk-font-heading); }
.wp-block-table table tbody tr:last-child td { border-bottom: 0; }
.wp-block-table tbody tr:nth-child(even) td { background: color-mix(in srgb, var(--bk-surface-2) 40%, transparent); }
.wp-block-table td:first-child { color: var(--bk-heading); font-weight: 600; }
.wp-block-table table thead, .wp-block-table table tfoot { border: 0; }
.is-style-compact table { font-size: .875rem; }
.is-style-compact table th, .is-style-compact table td { padding: 8px 12px; }

/* Split intro */
.bk-split { gap: 32px; align-items: start; margin: 8px 0 40px; }
.bk-split h2 { margin-top: 0; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.bk-split p { font-size: 1.05rem; }
.bk-split .wp-block-buttons { margin-bottom: 0; }

/* Cards */
.bk-cards { gap: 20px; margin: 1.2em 0 2.4em; }
.bk-cards > .wp-block-column { display: flex; }
.is-style-card,
.bk-card {
	display: flex; flex-direction: column;
	width: 100%;
	padding: 22px;
	border-radius: var(--bk-radius);
	background: var(--bk-surface);
	transition: transform .2s ease, box-shadow .2s ease;
}
.bk-cards-bordered .is-style-card, .bk-cards-bordered .bk-card { border: 1px solid var(--bk-border); }
.bk-cards-glow .is-style-card, .bk-cards-glow .bk-card { box-shadow: 0 0 0 1px color-mix(in srgb, var(--bk-primary-from) 35%, transparent), 0 10px 40px color-mix(in srgb, var(--bk-primary-from) 12%, transparent); }
.is-style-card:hover, .bk-card:hover { transform: translateY(-3px); }
.bk-card .wp-block-image { margin: -22px -22px 18px; }
.bk-card .wp-block-image img {
	width: 100%; height: 180px; object-fit: contain;
	padding: 18px;
	border-radius: var(--bk-radius) var(--bk-radius) 0 0;
	background:
		radial-gradient(80% 90% at 50% 100%, color-mix(in srgb, var(--bk-secondary-to) 40%, transparent) 0%, transparent 70%),
		linear-gradient(160deg, color-mix(in srgb, var(--bk-hero-from) 75%, var(--bk-surface)) 0%, var(--bk-surface-2) 100%);
}
.is-style-card h3, .bk-card h3 { margin-top: 0; }
.is-style-card p, .bk-card p { color: var(--bk-muted); }
.is-style-card .wp-block-buttons, .bk-card .wp-block-buttons { margin: auto 0 0; padding-top: 6px; }

/* CTA band */
.bk-cta {
	margin: 2.4em auto;
	padding: 28px 24px;
	border-radius: calc(var(--bk-radius) + 4px);
	text-align: center;
	background:
		radial-gradient(90% 140% at 0% 0%, color-mix(in srgb, var(--bk-secondary-from) 45%, transparent) 0%, transparent 60%),
		radial-gradient(90% 140% at 100% 100%, color-mix(in srgb, var(--bk-hero-to) 45%, transparent) 0%, transparent 60%),
		var(--bk-surface);
	border: 1px solid color-mix(in srgb, var(--bk-border) 70%, transparent);
}
.bk-cta__title {
	margin-bottom: .3em;
	color: var(--bk-heading);
	font-family: var(--bk-font-heading);
	font-weight: var(--bk-heading-weight);
	font-style: var(--bk-heading-style);
	text-transform: var(--bk-heading-case);
	font-size: clamp(1.4rem, 3vw, 1.9rem);
	line-height: 1.2;
}
.bk-cta p:not(.bk-cta__title) { max-width: 620px; margin-inline: auto; color: color-mix(in srgb, var(--bk-text) 85%, transparent); }
.bk-cta .wp-block-buttons { justify-content: center; margin-bottom: 0; }
@media (min-width: 768px) { .bk-cta { padding: 40px; } }

/* Note */
.bk-note {
	margin: 1.6em 0;
	padding: 14px 18px;
	border-left: 4px solid var(--bk-accent);
	border-radius: 0 12px 12px 0;
	background: var(--bk-surface);
	color: var(--bk-muted);
	font-size: .92rem;
}
.bk-note p:last-child { margin-bottom: 0; }

/* FAQ accordion (core/details inside .bk-faq) */
.bk-faq { margin: 2.6em 0; }
.bk-faq > h2 { margin-bottom: .8em; }
.bk-faq .wp-block-details {
	margin: 0;
	border-bottom: 1px solid var(--bk-border);
}
.bk-faq .wp-block-details:first-of-type { border-top: 1px solid var(--bk-border); }
.bk-faq summary {
	position: relative;
	padding: 18px 44px 18px 4px;
	color: var(--bk-heading);
	font-weight: 700;
	font-size: 1.05rem;
	cursor: pointer;
	list-style: none;
}
.bk-faq summary::-webkit-details-marker { display: none; }
.bk-faq summary::after {
	content: "+";
	position: absolute; right: 8px; top: 50%;
	transform: translateY(-50%);
	color: var(--bk-primary-from);
	font-size: 1.6rem; font-weight: 400; line-height: 1;
}
.bk-faq details[open] summary { color: var(--bk-primary-from); }
.bk-faq details[open] summary::after { content: "−"; }
.bk-faq details > :not(summary) { padding: 0 4px 6px; color: var(--bk-muted); }

/* ---------- Games + promos ---------- */
.bk-games, .bk-promos { margin: 2.2em 0 2.6em; }
.bk-games__head { margin-bottom: 18px; }
.bk-games__title { margin: 0 0 .2em; }
.bk-games__text { margin: 0; color: var(--bk-muted); }

.bk-games__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin: 0; padding: 0; list-style: none;
}
@media (min-width: 560px) { .bk-games__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) { .bk-games__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .bk-games__grid { grid-template-columns: repeat(var(--bk-games-cols, 6), minmax(0, 1fr)); } }
@media (min-width: 1200px) { .bk-body:is(.bk-body--sidebar-right, .bk-body--sidebar-left, .bk-body--sidebars-both) .bk-games__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.bk-game { margin: 0; }
.bk-game a { display: block; color: var(--bk-text); text-decoration: none; }
.bk-game__img {
	position: relative; display: block;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: calc(var(--bk-radius) - 4px);
	background: var(--bk-surface-2);
}
.bk-game__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.bk-game__play {
	position: absolute; inset: 0;
	display: flex; align-items: center; justify-content: center;
	background: rgb(0 0 0 / 45%);
	color: var(--bk-primary-text);
	opacity: 0; transition: opacity .2s;
}
.bk-game__play svg { width: 54px; height: 54px; padding: 16px; border-radius: 50%; background: var(--bk-primary); fill: currentColor; stroke: none; }
.bk-game a:hover .bk-game__play, .bk-game a:focus-visible .bk-game__play { opacity: 1; }
.bk-game a:hover img { transform: scale(1.05); }
.bk-game__badge {
	position: absolute; top: 8px; left: 8px;
	padding: 2px 8px; border-radius: 6px;
	background: var(--bk-primary-to); color: var(--bk-primary-text);
	font-size: .7rem; font-weight: 800; text-transform: uppercase;
}
.bk-game__name { display: block; margin-top: 8px; overflow: hidden; font-weight: 600; font-size: .92rem; line-height: 1.3; white-space: nowrap; text-overflow: ellipsis; }
.bk-game__provider { display: block; color: var(--bk-muted); font-size: .8rem; }
.bk-games__more { margin: 22px 0 0; text-align: center; }

.bk-promos__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	margin: 0; padding: 0; list-style: none;
}
@media (min-width: 760px) { .bk-promos__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .bk-promos__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.bk-promo {
	display: flex; flex-direction: column; align-items: center;
	margin: 0;
	padding: 18px 16px 20px;
	border-radius: var(--bk-radius);
	text-align: center;
	background:
		radial-gradient(90% 70% at 50% 0%, color-mix(in srgb, var(--bk-secondary-to) 35%, transparent) 0%, transparent 70%),
		linear-gradient(180deg, color-mix(in srgb, var(--bk-hero-from) 70%, var(--bk-surface)) 0%, var(--bk-surface) 100%);
}
.bk-promo p { margin: 0; }
.bk-promo__img { width: 140px; height: 110px; object-fit: contain; margin-bottom: 6px; }
.bk-promo__title { color: var(--bk-heading); font-weight: 700; }
.bk-promo__amount {
	color: var(--bk-heading);
	margin-top: 2px !important;
	font-family: var(--bk-font-heading);
	font-weight: 900; font-style: italic;
	font-size: 2.5rem; line-height: 1.1;
}
.bk-promo__sub { font-weight: 700; font-size: .92rem; }
.bk-promo__when { margin-top: 6px !important; color: var(--bk-muted); font-size: .85rem; }
.bk-promo .bk-btn { margin-top: 14px; }

/* ---------- Related pages ---------- */
.bk-related { padding: 40px 0 46px; background: color-mix(in srgb, var(--bk-surface) 55%, var(--bk-bg)); border-top: 1px solid color-mix(in srgb, var(--bk-border) 60%, transparent); }
.bk-related__title { margin-top: 0; }
.bk-related__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.bk-related__list li { margin: 0; }
.bk-related__link {
	display: flex; flex-direction: column; gap: 6px;
	height: 100%;
	padding: 18px;
	border: 1px solid var(--bk-border);
	border-radius: var(--bk-radius);
	background: var(--bk-surface);
	color: var(--bk-text);
	text-decoration: none;
	transition: border-color .2s, transform .2s;
}
.bk-related__link:hover { border-color: var(--bk-primary-from); transform: translateY(-2px); }
.bk-related__name { color: var(--bk-heading); font-family: var(--bk-font-heading); font-weight: 800; font-size: 1.1rem; line-height: 1.25; }
.bk-related__excerpt { color: var(--bk-muted); font-size: .9rem; line-height: 1.5; }
.bk-related__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; color: var(--bk-link); font-weight: 700; font-size: .9rem; }

/* ---------- Footer ---------- */
.bk-footer { padding: 44px 0 96px; background: var(--bk-footer-bg); color: var(--bk-muted); font-size: .92rem; }
@media (min-width: 1100px) { .bk-footer { padding-bottom: 40px; } }
.bk-footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-bottom: 26px; border-bottom: 1px solid var(--bk-border); }
.bk-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--bk-border); }
.bk-footer__heading { margin: 0 0 12px; color: var(--bk-heading); font-family: var(--bk-font-heading); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: .9rem; }
.bk-footer__links { margin: 0; padding: 0; list-style: none; }
.bk-footer__links li { margin: 0 0 8px; }
.bk-footer__links a { color: var(--bk-muted); text-decoration: none; }
.bk-footer__links a:hover { color: var(--bk-text); text-decoration: underline; }

.bk-social { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.bk-social li { margin: 0; }
.bk-social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bk-surface-2); color: var(--bk-text); }
.bk-social a:hover { background: var(--bk-secondary); color: var(--bk-secondary-text); }

.bk-payments { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 0; padding: 22px 0; list-style: none; border-bottom: 1px solid var(--bk-border); }
.bk-payments li { margin: 0; }
.bk-payments img { height: 30px; width: auto; opacity: .85; }

.bk-footer__legal { padding: 22px 0; font-size: .84rem; line-height: 1.6; }
.bk-footer__rg { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.bk-footer__rg p { margin: 0; }
.bk-age {
	display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center;
	width: 42px; height: 42px;
	border: 2px solid #ff4d4d; border-radius: 50%;
	color: var(--bk-heading); font-weight: 900; font-size: .9rem;
}
.bk-footer__licence { color: var(--bk-text); font-weight: 600; }
.bk-footer__text p { margin-bottom: .8em; }
.bk-footer__copy { margin: 0; padding-top: 18px; border-top: 1px solid var(--bk-border); text-align: center; font-size: .85rem; }

/* ---------- Mobile bottom bar ---------- */
.bk-bottombar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
	display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
	padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
	background: color-mix(in srgb, var(--bk-header-bg) 94%, transparent);
	backdrop-filter: blur(10px);
	border-top: 1px solid var(--bk-border);
}
.bk-bottombar a, .bk-bottombar button {
	display: flex; flex-direction: column; align-items: center; gap: 2px;
	padding: 4px 0;
	border: 0; background: none;
	color: var(--bk-muted); font: inherit; font-size: .7rem; font-weight: 600;
	text-decoration: none; cursor: pointer;
}
.bk-bottombar__cta .bk-icon { width: 44px; height: 44px; margin-top: -18px; padding: 10px; border-radius: 50%; background: var(--bk-secondary); color: var(--bk-secondary-text); box-shadow: 0 6px 18px rgb(0 0 0 / 35%); }
.bk-bottombar__cta { color: var(--bk-text) !important; }
@media (min-width: 1100px) { .bk-bottombar { display: none; } }

/* ---------- Block editor alignment helpers ---------- */
.wp-block-columns { display: flex; flex-wrap: wrap; }
@media (max-width: 781px) { .wp-block-columns { flex-direction: column; } .wp-block-column { flex-basis: 100% !important; width: 100%; } }
.alignwide { max-width: 100%; }
.wp-block-image figcaption { color: var(--bk-muted); font-size: .85rem; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}


/* =========================================================================
 * Structure variants (Design Builder → Structure, page templates, Page layout box)
 * ====================================================================== */

/* ---------- Announcement bar ---------- */
.bk-topbar {
	display: flex; align-items: center; justify-content: center; gap: 8px;
	padding: 8px var(--bk-gutter);
	background: var(--bk-secondary);
	color: var(--bk-secondary-text);
	font-weight: 700; font-size: .9rem; text-align: center; text-decoration: none;
}
.bk-topbar:hover { text-decoration: underline; }

/* ---------- Header layouts ---------- */
.bk-header-minimal .bk-nav { display: none !important; }
.bk-header-minimal .bk-burger { display: inline-flex !important; }
.bk-no-nav .bk-header-minimal .bk-burger, .bk-no-nav .bk-burger { display: none !important; }
@media (min-width: 1100px) {
	.bk-header-stacked .bk-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; grid-template-rows: auto auto; height: auto; padding-block: 12px 0; row-gap: 6px; }
	.bk-header-stacked .bk-logo { grid-column: 2; grid-row: 1; }
	.bk-header-stacked .bk-header__end { grid-column: 3; grid-row: 1; }
	.bk-header-stacked .bk-nav { grid-column: 1 / -1; grid-row: 2; justify-self: center; padding-bottom: 6px; }
	.bk-header-stacked { --bk-header-h: 116px; }
	body.bk-header-stacked { --bk-header-h: 116px; }
}

/* ---------- Rail styles ---------- */
@media (min-width: 1100px) {
	.bk-rail-icons { --bk-rail-w: 68px; }
	.bk-rail-icons .bk-rail__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
	.bk-rail-icons .bk-rail__list a { padding: 12px 4px; }
	.bk-rail-wide { --bk-rail-w: 220px; }
	.bk-rail-wide .bk-rail__list a { flex-direction: row; justify-content: flex-start; gap: 12px; padding: 10px 14px; font-size: .92rem; text-align: left; }
}

/* ---------- Mobile bar off ---------- */
body:not(.bk-has-mobile-bar) .bk-footer { padding-bottom: 40px; }

/* ---------- Page layouts ---------- */
.bk-body--standard .bk-content { max-width: 960px; margin-inline: auto; }
.bk-body--narrow .bk-content { max-width: 720px; margin-inline: auto; }
.bk-body--narrow .bk-content > p, .bk-body--narrow .bk-content li { font-size: 1.06rem; }
.bk-body--wide .bk-content { max-width: none; }
.bk-body--wide .bk-content > :where(p, h2, h3, ul, ol, .bk-note) { max-width: 960px; }

.bk-body:is(.bk-body--sidebar-right, .bk-body--sidebar-left, .bk-body--sidebars-both) { display: grid; gap: 32px; }
@media (min-width: 1100px) {
	.bk-body--sidebar-right { grid-template-columns: minmax(0, 1fr) 320px; }
	.bk-body--sidebar-left { grid-template-columns: 280px minmax(0, 1fr); }
	.bk-body--sidebars-both { grid-template-columns: 250px minmax(0, 1fr) 300px; gap: 28px; }
}
@media (max-width: 1099px) {
	.bk-sidebar { order: 2; } /* Content first on small screens. */
}

/* ---------- Sidebars & modules ---------- */
.bk-sidebar { min-width: 0; }
@media (min-width: 1100px) {
	.bk-sidebar.is-sticky .bk-sidebar__inner { position: sticky; top: calc(var(--bk-header-h) + 20px); }
	.admin-bar .bk-sidebar.is-sticky .bk-sidebar__inner { top: calc(var(--bk-header-h) + 52px); }
}
.bk-sidebar__inner { display: grid; gap: 18px; }
.bk-widget {
	padding: 18px;
	border-radius: var(--bk-radius);
	background: var(--bk-surface);
	font-size: .94rem;
}
.bk-cards-bordered .bk-widget { border: 1px solid var(--bk-border); }
.bk-widget__title {
	margin: 0 0 10px;
	color: var(--bk-heading);
	font-family: var(--bk-font-heading);
	font-weight: 800; font-size: 1rem;
	text-transform: uppercase; letter-spacing: .04em;
}
.bk-widget ul, .bk-widget ol { margin: 0; padding: 0; list-style: none; }
.bk-widget li { margin: 0; }

.bk-toc summary { cursor: pointer; list-style: none; }
.bk-toc summary::-webkit-details-marker { display: none; }
.bk-toc ol { counter-reset: toc; }
.bk-toc li { counter-increment: toc; }
.bk-toc a {
	display: flex; gap: 10px;
	padding: 7px 8px;
	border-radius: 8px;
	color: var(--bk-muted);
	line-height: 1.35; text-decoration: none;
}
.bk-toc a::before { content: counter(toc); min-width: 1.2em; color: var(--bk-primary-from); font-weight: 800; }
.bk-toc a:hover { background: var(--bk-surface-2); color: var(--bk-text); }

.bk-links a {
	display: block;
	padding: 8px 10px;
	border-radius: 8px;
	color: var(--bk-text);
	font-weight: 600; text-decoration: none;
}
.bk-links a:hover { background: var(--bk-surface-2); }
.bk-links a[aria-current] { background: var(--bk-surface-2); color: var(--bk-primary-from); }

.bk-offer {
	display: flex; flex-direction: column; align-items: center;
	text-align: center;
	background:
		radial-gradient(90% 70% at 50% 0%, color-mix(in srgb, var(--bk-secondary-to) 40%, transparent) 0%, transparent 70%),
		linear-gradient(180deg, color-mix(in srgb, var(--bk-hero-from) 75%, var(--bk-surface)) 0%, var(--bk-surface) 100%);
}
.bk-offer p { margin: 0; }
.bk-offer__img { width: 150px; height: auto; margin-bottom: 4px; }
.bk-offer__badge { color: var(--bk-heading); font-weight: 800; font-style: italic; text-transform: uppercase; }
.bk-offer__amount { font-family: var(--bk-font-heading); font-weight: 900; font-style: italic; font-size: 3rem; line-height: 1; background: var(--bk-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bk-offer__sub { margin: 4px 0 14px !important; color: var(--bk-heading); font-weight: 700; }
.bk-offer .bk-btn { width: 100%; }
.bk-offer__login { margin-top: 10px; color: var(--bk-muted); font-size: .88rem; }

.bk-widget--promos { padding: 0; background: none; }
.bk-widget--promos .bk-promos { margin: 0; }
.bk-widget--promos .bk-promos__grid { grid-template-columns: 1fr !important; }

/* ---------- Inner hero variants ---------- */
.bk-hero--left { text-align: left; }
.bk-hero--left .bk-hero__text { margin-inline: 0; }
.bk-hero--left .bk-hero__ctas { justify-content: flex-start; }

.bk-hero--compact { padding: 18px 0 22px; }
.bk-hero--compact .bk-hero__title { font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin-bottom: .2em; }
.bk-hero--compact .bk-hero__ctas { margin-top: 12px; }
.bk-hero--compact .bk-breadcrumbs { margin-bottom: 10px; }
@media (min-width: 900px) {
	.bk-hero--compact .bk-container { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 0 24px; text-align: left; }
	.bk-hero--compact .bk-hero__ctas { margin: 0; }
}

.bk-hero--split { text-align: left; }
.bk-hero--split .bk-hero__text { margin-inline: 0; }
.bk-hero--split .bk-hero__ctas { justify-content: flex-start; }
.bk-hero--inner .bk-hero__grid { display: grid; gap: 24px; align-items: center; }
.bk-hero--inner .bk-hero__art { justify-content: center; }
.bk-hero__img { width: min(100%, 320px); height: auto; border-radius: var(--bk-radius); }
@media (min-width: 900px) {
	.bk-hero--inner .bk-hero__grid { grid-template-columns: 1.3fr .7fr; }
	.bk-hero--split .bk-hero__img { width: min(100%, 380px); }
}

.bk-crumbs-only { padding-top: 22px; }
.bk-content__title { margin-bottom: .6em; }

/* ---------- Homepage hero variants ---------- */
.bk-hero--home-centered .bk-hero__grid { grid-template-columns: 1fr !important; text-align: center; padding-bottom: 36px; }
.bk-hero--home-centered .bk-hero__text { margin-inline: auto; }
.bk-hero--home-centered .bk-hero__ctas { justify-content: center; }
.bk-hero--home-centered .bk-hero__art { display: none; }

.bk-hero--home-banner { padding: 0; }
.bk-hero--home-banner .bk-hero__grid {
	width: 100%; max-width: none;
	border-radius: 0;
	padding-inline: max(var(--bk-gutter), calc((100% - var(--bk-container)) / 2));
}

/* ---------- Footer variants ---------- */
.bk-footer__inline { padding: 22px 0; border-bottom: 1px solid var(--bk-border); }
.bk-footer__inline .bk-footer__links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.bk-footer__inline .bk-footer__links li { margin: 0; }
.bk-footer-compact .bk-footer { padding-top: 28px; }
.bk-footer-compact .bk-footer__top { padding-bottom: 18px; }
.bk-footer-centered .bk-footer { text-align: center; }
.bk-footer-centered .bk-footer__top { flex-direction: column; justify-content: center; }
.bk-footer-centered .bk-footer__cols { justify-items: center; }
.bk-footer-centered .bk-payments { justify-content: center; }
.bk-footer-centered .bk-footer__rg { justify-content: center; text-align: left; }

/* ---------- Content patterns: media + text, stats, steps, pros/cons, banner, feature grid ---------- */
.bk-media { gap: 36px; align-items: center !important; margin: 2.2em 0; }
.bk-media .wp-block-image img { width: 100%; border-radius: var(--bk-radius); background: var(--bk-surface); }
.bk-media h2 { margin-top: 0; }

.bk-features { gap: 18px; margin: 1.6em 0 2.4em; }
.bk-features .wp-block-column { padding: 22px; border-radius: var(--bk-radius); background: var(--bk-surface); }
.bk-cards-bordered .bk-features .wp-block-column { border: 1px solid var(--bk-border); }
.bk-features h3 { margin-top: 0; }
.bk-features p { margin-bottom: 0; color: var(--bk-muted); }
.bk-features .bk-features__icon { margin: 0 0 8px; font-size: 1.9rem; line-height: 1; }

.bk-stats { gap: 14px; margin: 1.8em 0; }
.bk-stats .wp-block-column { padding: 20px 16px; border-radius: var(--bk-radius); background: var(--bk-surface); text-align: center; }
.bk-stats .bk-stats__value {
	margin: 0;
	font-family: var(--bk-font-heading); font-weight: 900; font-style: italic;
	font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.05;
	background: var(--bk-primary); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.bk-stats p:last-child { margin: 4px 0 0; color: var(--bk-muted); font-size: .92rem; }

.bk-steps { gap: 18px; margin: 1.8em 0; counter-reset: step; }
.bk-steps .wp-block-column { position: relative; padding: 52px 20px 20px; border-radius: var(--bk-radius); background: var(--bk-surface); counter-increment: step; }
.bk-steps .wp-block-column::before {
	content: counter(step);
	position: absolute; top: 16px; left: 20px;
	display: grid; place-items: center;
	width: 30px; height: 30px; border-radius: 50%;
	background: var(--bk-primary); color: var(--bk-primary-text);
	font-weight: 900;
}
.bk-steps h3 { margin-top: 0; }
.bk-steps p { margin-bottom: 0; color: var(--bk-muted); }

.bk-proscons { gap: 18px; margin: 1.8em 0; }
.bk-proscons .wp-block-column { padding: 20px 22px; border-radius: var(--bk-radius); background: var(--bk-surface); border-top: 4px solid var(--bk-primary-from); }
.bk-proscons .wp-block-column:last-child { border-top-color: #ff4d6d; }
.bk-proscons h3 { margin-top: 0; }
.bk-proscons ul { list-style: none; padding-left: 0; margin-bottom: 0; }
.bk-proscons li { position: relative; padding-left: 26px; }
.bk-proscons .wp-block-column:first-child li::before { content: "✓"; position: absolute; left: 0; color: var(--bk-primary-from); font-weight: 900; }
.bk-proscons .wp-block-column:last-child li::before { content: "✕"; position: absolute; left: 0; color: #ff4d6d; font-weight: 900; }

.bk-banner {
	margin: 2.4em 0;
	padding: 34px 28px;
	border-radius: calc(var(--bk-radius) + 4px);
	background:
		radial-gradient(120% 140% at 85% 20%, color-mix(in srgb, var(--bk-secondary-to) 35%, transparent) 0%, transparent 55%),
		linear-gradient(85deg, var(--bk-hero-from) 0%, color-mix(in srgb, var(--bk-hero-to) 70%, transparent) 100%);
}
.bk-banner .bk-banner__offer {
	margin: 0;
	font-family: var(--bk-font-heading); font-weight: 900; font-style: italic;
	font-size: clamp(2.6rem, 7vw, 4.4rem); line-height: 1;
	background: var(--bk-primary); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.bk-banner .wp-block-buttons { margin-bottom: 0; }
.bk-banner.is-layout-constrained > * { max-width: none; margin-left: 0 !important; margin-right: 0 !important; }
.bk-banner p { margin-bottom: .4em; }
@media (min-width: 768px) { .bk-banner { padding: 44px 48px; } }

.bk-faq-split { gap: 40px; margin: 2.6em 0; }
.bk-faq-split h2 { margin-top: 0; }
.bk-faq-split .bk-faq { margin: 0; }
