/* =========================================================================
   Aviator Review Portal — main stylesheet
   Mobile-first. Grid/Flexbox only. No frameworks.
   ====================================================================== */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	/* The off-canvas nav is parked off-screen with a transform, which extends the
	   viewport's scrollable region. `clip` removes it without creating a scroll
	   container, so position:sticky and smooth anchor scrolling keep working
	   (`hidden` would break both). */
	overflow-x: clip;
}

html,
body,
ul,
ol,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
fieldset { margin: 0; padding: 0; }

ul, ol { list-style: none; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}

/* --------------------------------------------------------------- Tokens */
:root {
	/* Surfaces — the navy from the design, plus two darker steps for depth. */
	--bg: #141740;
	--bg-deep: #0f112f;
	--bg-alt: #131635;
	--surface: linear-gradient(160deg, #171b45 0%, #22276b 100%);
	--surface-flat: #191d4c;
	--line: rgba(255, 255, 255, .10);
	--line-strong: rgba(255, 255, 255, .18);

	/* Gold — the metallic sweep used for every primary action. */
	--gold: #f3bb41;
	--gold-soft: #fdf471;
	--gold-deep: #d29a0c;
	--grad-gold: linear-gradient(100deg, #ffa01b 4%, #d29a0c 18%, #fdf471 49%, #d29a0c 73%, #ff9e16 87%);
	--grad-gold-alt: linear-gradient(100deg, #eec800 17%, #f69503 34%, #ea9e45 48%, #f69503 64%, #eec800 82%);
	--grad-glow: linear-gradient(180deg, rgba(254, 243, 84, .70), #ffae11);

	/* Semantics */
	--pos: #2fd07a;
	--neg: #ff5a4d;
	--live: #cc0500;

	/* Text */
	--text: #ffffff;
	--text-2: #e5e5e5;
	--text-3: #a3a8b1;
	--ink: #101226;

	/* Type */
	--font-display: 'Archivo', 'TT Squares', 'Inter', system-ui, sans-serif;
	--font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

	/* Geometry */
	--r-card: 20px;
	--r-sm: 12px;
	--r-pill: 999px;
	--container: 1320px;
	--gutter: 16px;
	--shadow: 0 18px 40px rgba(5, 7, 24, .45);
	--shadow-gold: 0 8px 24px rgba(243, 187, 65, .28);
	--header-h: 68px;
}

@media (min-width: 768px) {
	:root { --gutter: 32px; }
}

@media (min-width: 1200px) {
	:root { --gutter: 40px; --header-h: 76px; }
}

/* ----------------------------------------------------------------- Base */
body {
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--text-2);
	background:
		radial-gradient(1200px 600px at 80% -10%, rgba(243, 187, 65, .10), transparent 60%),
		radial-gradient(900px 500px at 0% 20%, rgba(34, 39, 107, .55), transparent 60%),
		var(--bg);
	background-attachment: fixed;
	-webkit-font-smoothing: antialiased;
	/* `clip`, never `hidden`: overflow-x:hidden would turn <body> into a scroll
	   container, and the off-canvas nav parked to its right gives that container
	   scrollable width — which then drags the sticky header sideways on the first
	   interaction. `clip` hides the same overflow without creating a scroller. */
	overflow-x: clip;
}

/**
 * Scroll lock goes on <html>, not <body>.
 *
 * Making <body> a scroll container re-parents the sticky header to it, and any
 * scroll offset it picks up drags the header sideways. Locking the root keeps
 * the viewport as the scroll container.
 */
html.is-nav-open { overflow-y: hidden; }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 900;
	line-height: 1.1;
	color: var(--text);
	text-transform: uppercase;
	letter-spacing: -.01em;
}

h1 { font-size: clamp(28px, 5.2vw, 52px); }
h2 { font-size: clamp(24px, 3.6vw, 38px); }
h3 { font-size: clamp(18px, 2.2vw, 24px); }

::selection { background: var(--gold); color: var(--ink); }

:focus-visible {
	outline: 2px solid var(--gold);
	outline-offset: 2px;
	border-radius: 4px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: -9999px;
	z-index: 999;
	padding: 12px 20px;
	background: var(--gold);
	color: var(--ink);
	font-weight: 700;
	border-radius: 0 0 var(--r-sm) 0;
}

.skip-link:focus { left: 0; top: 0; }

/* --------------------------------------------------------------- Layout */
.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

/**
 * Reading column.
 *
 * This class sits on the same element as .container, so it must not touch the
 * container's own width or margins — doing that pulls the block flush to the
 * viewport edge and breaks the shared left edge. Instead it caps the measure of
 * the content inside, which keeps prose readable while every section on the
 * page still starts at the same x.
 */
.container--narrow > * { max-width: 940px; }

/* Nested narrow block inside a container that already applied the gutter. */
.container--flush { max-width: 940px; padding-inline: 0; margin-inline: 0; }

.section { padding-block: clamp(32px, 5vw, 64px); }

.section__title { margin-bottom: 16px; }

.section__intro {
	max-width: 760px;
	margin-bottom: 28px;
	color: var(--text-3);
}

.section__action { margin-top: 28px; text-align: center; }

.panel {
	margin-bottom: 28px;
	padding: clamp(20px, 3vw, 32px);
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-card);
	box-shadow: var(--shadow);
}

.panel__title {
	margin-bottom: 20px;
	font-size: clamp(20px, 2.4vw, 28px);
}

.empty-state {
	padding: 40px;
	text-align: center;
	color: var(--text-3);
	background: var(--bg-alt);
	border: 1px dashed var(--line-strong);
	border-radius: var(--r-card);
}

/* -------------------------------------------------------------- Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 12px 28px;
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 800;
	font-size: 15px;
	text-transform: uppercase;
	letter-spacing: .02em;
	white-space: nowrap;
	border-radius: var(--r-pill);
	transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, background-color .18s ease, color .18s ease;
	will-change: transform;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold {
	position: relative;
	background: var(--grad-gold);
	color: var(--ink);
	box-shadow: var(--shadow-gold);
	text-shadow: 0 1px 0 rgba(255, 255, 255, .25);
}

.btn--gold:hover { filter: saturate(1.12) brightness(1.05); box-shadow: 0 12px 30px rgba(243, 187, 65, .42); }

.btn--gold-outline {
	background: transparent;
	color: var(--gold);
	border: 2px solid rgba(243, 187, 65, .55);
}

.btn--gold-outline:hover {
	background: rgba(243, 187, 65, .12);
	border-color: var(--gold);
	color: #ffe9a8;
}

.btn--ghost {
	background: rgba(255, 255, 255, .06);
	color: var(--text);
	border: 1px solid var(--line-strong);
}

.btn--ghost:hover { background: rgba(255, 255, 255, .12); }

.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 13px; }
.btn--lg { min-height: 56px; padding: 16px 36px; font-size: 17px; }
.btn--block { width: 100%; }

/* -------------------------------------------- Badges, tags, chips, stars */
.tag {
	display: inline-block;
	padding: 4px 12px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--text-2);
	background: rgba(255, 255, 255, .08);
	border: 1px solid var(--line);
	border-radius: var(--r-pill);
}

.tag--gold {
	color: var(--ink);
	background: var(--grad-gold);
	border-color: transparent;
	font-weight: 800;
}

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }

.chips {
	display: flex;
	gap: 8px;
	margin-top: 24px;
	padding-bottom: 6px;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.chips::-webkit-scrollbar { display: none; }

.chip {
	flex: none;
	padding: 9px 18px;
	font-size: 14px;
	font-weight: 600;
	color: var(--text-3);
	background: rgba(255, 255, 255, .05);
	border: 1px solid var(--line);
	border-radius: var(--r-pill);
	transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

.chip:hover { color: var(--text); background: rgba(255, 255, 255, .10); }

.chip.is-active {
	color: var(--ink);
	background: var(--grad-gold);
	border-color: transparent;
	font-weight: 800;
}

.pay-badge {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
	color: var(--text-2);
	background: rgba(255, 255, 255, .07);
	border: 1px solid var(--line);
	border-radius: 6px;
}

.pay-badge--mpesa {
	color: #062;
	background: #4ce07a;
	border-color: transparent;
	font-weight: 700;
}

/* Star bar: one element, background-clipped — no per-star nodes. */
/**
 * Exactly 5 × the 17px tile. `flex: none` matters — as a flex item it would
 * otherwise shrink and clip the fifth star, which reads as 4/5 at a 5.00 rating.
 */
.av-stars {
	position: relative;
	display: inline-block;
	flex: none;
	width: 85px;
	height: 16px;
	vertical-align: middle;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='16' viewBox='0 0 17 16'%3E%3Cpath d='M8.5 0l2.2 5.1 5.5.5-4.2 3.7 1.3 5.4-4.8-2.9-4.8 2.9 1.3-5.4L.8 5.6l5.5-.5z' fill='rgba(255,255,255,0.18)'/%3E%3C/svg%3E");
	background-size: 17px 16px;
	background-repeat: repeat-x;
}

.av-stars__fill {
	position: absolute;
	inset: 0 auto 0 0;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='17' height='16' viewBox='0 0 17 16'%3E%3Cpath d='M8.5 0l2.2 5.1 5.5.5-4.2 3.7 1.3 5.4-4.8-2.9-4.8 2.9 1.3-5.4L.8 5.6l5.5-.5z' fill='%23f3bb41'/%3E%3C/svg%3E");
	background-size: 17px 16px;
	background-repeat: repeat-x;
}

/* --------------------------------------------------------------- Topbar */
.topbar {
	background: var(--bg-deep);
	border-bottom: 1px solid var(--line);
	font-size: 12px;
}

.topbar__inner {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 34px;
	padding-block: 6px;
}

.topbar__badge {
	flex: none;
	padding: 1px 7px;
	font-weight: 800;
	font-size: 11px;
	color: var(--ink);
	background: var(--gold);
	border-radius: 4px;
}

.topbar__text { color: var(--text-3); margin: 0; }

.topbar__link {
	margin-left: auto;
	flex: none;
	color: var(--gold);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

/* ---------------------------------------------------------- Site header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(15, 17, 47, .82);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--line);
	transition: background-color .25s ease, box-shadow .25s ease;
}

.site-header.is-stuck {
	background: rgba(11, 13, 36, .96);
	box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: var(--header-h);
}

.site-header__logo { flex: none; display: flex; align-items: center; }
.site-header__logo img { max-height: 44px; width: auto; }

.site-header__wordmark {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 900;
	font-size: 20px;
	text-transform: uppercase;
	color: var(--text);
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-left: auto;
}

.site-header__lang {
	padding: 4px 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	color: var(--text-3);
	border: 1px solid var(--line);
	border-radius: 6px;
}

/* ------------------------------------------------------------ Site nav */
.site-nav__list { display: flex; align-items: center; gap: 4px; }

.site-nav__item { position: relative; display: flex; align-items: center; }

.site-nav__link {
	display: flex;
	align-items: center;
	padding: 10px 12px;
	font-size: 14px;
	font-weight: 600;
	color: var(--text-2);
	border-radius: var(--r-sm);
	transition: color .18s ease, background-color .18s ease;
}

.site-nav__link:hover { color: var(--text); background: rgba(255, 255, 255, .07); }

.site-nav__item.is-current > .site-nav__link { color: var(--gold); }

.site-nav__caret {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	color: var(--text-3);
	transition: transform .2s ease, color .2s ease;
}

.site-nav__caret svg { width: 11px; }

.site-nav__submenu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 20;
	min-width: 220px;
	padding: 8px;
	background: var(--bg-deep);
	border: 1px solid var(--line-strong);
	border-radius: var(--r-sm);
	box-shadow: var(--shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.site-nav__item:hover > .site-nav__submenu,
.site-nav__item:focus-within > .site-nav__submenu,
.site-nav__item.is-open > .site-nav__submenu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.site-nav__item.is-open > .site-nav__caret { transform: rotate(180deg); color: var(--gold); }

.site-nav__submenu .site-nav__item { width: 100%; }
.site-nav__submenu .site-nav__link { width: 100%; }

/* Burger */
.menu-toggle {
	display: none;
	flex: none;
	width: 44px;
	height: 44px;
	position: relative;
	border-radius: var(--r-sm);
	border: 1px solid var(--line);
}

.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
	position: absolute;
	left: 50%;
	width: 20px;
	height: 2px;
	background: var(--text);
	border-radius: 2px;
	transform: translateX(-50%);
	transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle__bars { top: 50%; margin-top: -1px; }
.menu-toggle__bars::before { content: ''; top: -7px; left: 0; transform: none; }
.menu-toggle__bars::after { content: ''; top: 7px; left: 0; transform: none; }

.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1023px) {
	.menu-toggle { display: block; }

	.site-header__actions { margin-left: auto; }
	.site-header__lang { display: none; }
	.lang-switch { order: -1; }
	.site-header__actions .btn--ghost { display: none; }

	/* The burger must always be reachable — it is the only way into the menu.
	   Let the logo shrink before anything else does. */
	.site-header__logo { min-width: 0; }
	.site-header__logo img { max-height: 28px; max-width: 150px; object-fit: contain; }
	.site-header__wordmark {
		display: block;
		overflow: hidden;
		font-size: 17px;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
}

/* Below ~480px the header CTA competes with the logo and the burger for room.
   The sticky bottom bar already carries the same action, so drop it here. */
@media (max-width: 479px) {
	.site-header__actions .btn--gold { display: none; }
	.site-header__inner { gap: 10px; }
}

	/**
	 * Off-canvas panel.
	 *
	 * Absolute, not fixed: .site-header carries a backdrop-filter, which makes it
	 * the containing block for fixed descendants — a fixed panel would inherit
	 * the header's 68px height instead of filling the screen. Anchoring to the
	 * header explicitly avoids depending on that quirk either way.
	 */
	.site-nav {
		position: absolute;
		top: 100%;
		right: 0;
		left: auto;
		width: min(360px, 88vw);
		height: 100vh;
		height: calc(100dvh - var(--header-h));
		padding: 20px var(--gutter) 40px;
		background: var(--bg-deep);
		border-top: 1px solid var(--line);
		border-left: 1px solid var(--line-strong);
		overflow-y: auto;
		overscroll-behavior: contain;
		transform: translateX(100%);
		visibility: hidden;
		transition: transform .28s ease, visibility .28s ease;
	}

	.site-nav.is-open { transform: translateX(0); visibility: visible; }

	.site-nav__list { flex-direction: column; align-items: stretch; gap: 2px; }

	.site-nav__item { flex-wrap: wrap; justify-content: space-between; }

	.site-nav__link { flex: 1; padding: 14px 12px; font-size: 16px; }

	.site-nav__submenu {
		position: static;
		order: 3;
		width: 100%;
		opacity: 1;
		visibility: visible;
		transform: none;
		display: none;
		margin: 0 0 8px 12px;
		padding: 4px 0 4px 12px;
		background: none;
		border: 0;
		border-left: 1px solid var(--line-strong);
		border-radius: 0;
		box-shadow: none;
	}

	.site-nav__item.is-open > .site-nav__submenu { display: block; }
}

@media (min-width: 1024px) {
	.site-nav__caret { pointer-events: none; }
}

/* ---------------------------------------------------------- Site footer */
.site-footer {
	margin-top: 48px;
	padding-block: 48px 28px;
	background: var(--bg-deep);
	border-top: 1px solid var(--line);
	font-size: 14px;
}

.site-footer__top {
	display: grid;
	gap: 40px;
	padding-bottom: 36px;
	border-bottom: 1px solid var(--line);
}

@media (min-width: 900px) {
	.site-footer__top { grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 64px; }
}

.site-footer__logo { display: inline-flex; margin-bottom: 16px; }
.site-footer__logo img { max-height: 34px; width: auto; }

.site-footer__about { color: var(--text-3); }

.site-footer__badges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin-top: 20px;
}

.site-footer__badges img { max-height: 30px; width: auto; opacity: .7; }
.site-footer__badges a:hover img { opacity: 1; }

.site-footer__columns {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 32px;
}

.site-footer__title {
	margin-bottom: 16px;
	font-size: 13px;
	letter-spacing: .08em;
	color: var(--text);
}

.site-footer__list { display: flex; flex-direction: column; gap: 10px; }

.site-footer__list a { color: var(--text-3); transition: color .18s ease; }
.site-footer__list a:hover { color: var(--gold); }

.site-footer__list--social a { display: flex; align-items: center; gap: 8px; }

.site-footer__social-icon { display: inline-flex; width: 20px; height: 20px; }
.site-footer__social-icon img { width: 100%; height: 100%; object-fit: contain; }

.site-footer__legal {
	padding-block: 24px;
	font-size: 12px;
	line-height: 1.7;
	color: var(--text-3);
}

.site-footer__responsible { margin-bottom: 10px; color: var(--text-2); }

.site-footer__caption {
	padding-top: 16px;
	border-top: 1px solid var(--line);
	font-size: 12px;
	text-align: center;
	color: var(--text-3);
}

/* -------------------------------------------------- Sticky CTA / to-top */
.sticky-cta {
	position: fixed;
	inset: auto 0 0 0;
	z-index: 90;
	padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
	background: rgba(11, 13, 36, .96);
	border-top: 1px solid var(--line-strong);
	backdrop-filter: blur(10px);
	transform: translateY(110%);
	transition: transform .28s ease;
}

.sticky-cta.is-visible { transform: translateY(0); }

.sticky-cta__inner {
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 640px;
	margin-inline: auto;
}

.sticky-cta__text {
	flex: none;
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 800;
	font-size: 14px;
	text-transform: uppercase;
	color: var(--text);
}

/* On the narrowest phones the label steals width the button needs more. */
@media (max-width: 479px) {
	.sticky-cta__text { display: none; }
}

@media (min-width: 1024px) {
	.sticky-cta { display: none; }
}

/* Mobile already has one fixed control (the CTA bar); a second floating button
   on a 390px screen just covers content. Desktop gets it instead. */
.to-top { display: none; }

@media (min-width: 1024px) {
	.to-top { display: grid; }
}

.to-top {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 80;
	place-items: center;
	width: 44px;
	height: 44px;
	color: var(--ink);
	background: var(--grad-gold);
	border-radius: 50%;
	box-shadow: var(--shadow-gold);
	opacity: 0;
	visibility: hidden;
	transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { transform: translateY(-3px); }
.to-top svg { width: 22px; }

/* ------------------------------------------------------------ Rich text */
.rich-text { font-size: 16px; line-height: 1.75; color: var(--text-2); }

.rich-text > *:first-child { margin-top: 0; }
.rich-text > *:last-child { margin-bottom: 0; }

.rich-text h2,
.rich-text h3,
.rich-text h4 { margin: 1.6em 0 .6em; scroll-margin-top: calc(var(--header-h) + 24px); }

.rich-text h2 { font-size: clamp(22px, 3vw, 32px); }
.rich-text h3 { font-size: clamp(18px, 2.2vw, 24px); }
.rich-text h4 { font-size: 18px; }

.rich-text p { margin: 0 0 1.15em; }

.rich-text a {
	color: var(--gold);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}

.rich-text a:hover { color: #ffe9a8; }

.rich-text strong, .rich-text b { color: var(--text); font-weight: 700; }

.rich-text ul,
.rich-text ol { margin: 0 0 1.3em; padding-left: 1.3em; }
.rich-text ul { list-style: disc; }
.rich-text ol { list-style: decimal; }
.rich-text li { margin-bottom: .5em; }
.rich-text li::marker { color: var(--gold); }

.rich-text blockquote {
	margin: 1.6em 0;
	padding: 18px 24px;
	background: rgba(255, 255, 255, .05);
	border-left: 3px solid var(--gold);
	border-radius: 0 var(--r-sm) var(--r-sm) 0;
	color: var(--text);
}

.rich-text img { border-radius: var(--r-sm); margin: 1.4em 0; }
.rich-text figure { margin: 1.4em 0; }
.rich-text figcaption { margin-top: .6em; font-size: 13px; text-align: center; color: var(--text-3); }

.rich-text hr { margin: 2.4em 0; border: 0; border-top: 1px solid var(--line); }

.rich-text code {
	padding: 2px 6px;
	font-size: .9em;
	font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
	background: rgba(255, 255, 255, .1);
	border-radius: 4px;
}

.rich-text pre {
	margin: 1.4em 0;
	padding: 18px 20px;
	overflow-x: auto;
	background: var(--bg-deep);
	border: 1px solid var(--line);
	border-radius: var(--r-sm);
}

/* Tables inside WYSIWYG content */
.table-scroll {
	margin: 1.6em 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid var(--line);
	border-radius: var(--r-sm);
}

.rich-text table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.table-scroll table { margin: 0; }

.rich-text th,
.rich-text td {
	padding: 12px 16px;
	min-width: 140px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid var(--line);
}

.rich-text thead th {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 800;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--ink);
	background: var(--grad-gold);
	white-space: nowrap;
}

.rich-text tbody tr:nth-child(even) { background: rgba(255, 255, 255, .035); }
.rich-text tbody tr:last-child td { border-bottom: 0; }

/* ----------------------------------------------- Quick nav (page chips) */
.quicknav {
	position: sticky;
	top: var(--header-h);
	z-index: 60;
	background: rgba(15, 17, 47, .94);
	backdrop-filter: blur(12px);
	border-block: 1px solid var(--line);
}

.quicknav__inner {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 54px;
	/* Fade the trailing edge so it reads as a scrollable strip rather than
	   a list that has been cut off. */
	mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 48px), transparent 100%);
	-webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 48px), transparent 100%);
}

.quicknav__title {
	flex: none;
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 800;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--gold);
}

.quicknav__list {
	display: flex;
	gap: 6px;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
	padding-block: 8px;
}

.quicknav__list::-webkit-scrollbar { display: none; }

.quicknav__list a {
	display: block;
	flex: none;
	padding: 7px 14px;
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	color: var(--text-3);
	background: rgba(255, 255, 255, .05);
	border: 1px solid var(--line);
	border-radius: var(--r-pill);
	transition: color .18s ease, border-color .18s ease;
}

.quicknav__list a:hover,
.quicknav__list a.is-active { color: var(--gold); border-color: rgba(243, 187, 65, .5); }

/* ----------------------------------------------- Table of contents (aside) */
.toc {
	padding: 20px;
	background: var(--bg-alt);
	border: 1px solid var(--line);
	border-radius: var(--r-card);
}

.toc__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.toc__title {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 800;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--gold);
}

.toc__toggle { display: none; width: 32px; height: 32px; position: relative; flex: none; }

.toc__burger,
.toc__burger::before,
.toc__burger::after {
	position: absolute;
	left: 6px;
	width: 20px;
	height: 2px;
	background: var(--text);
	border-radius: 2px;
	transition: transform .2s ease, opacity .2s ease;
}

.toc__burger { top: 15px; }
.toc__burger::before { content: ''; top: -6px; left: 0; }
.toc__burger::after { content: ''; top: 6px; left: 0; }

.toc__list { margin-top: 14px; counter-reset: toc; }

.toc__list li { display: flex; }

.toc__list a {
	display: block;
	padding: 7px 0 7px 12px;
	font-size: 14px;
	line-height: 1.4;
	color: var(--text-3);
	border-left: 2px solid transparent;
	transition: color .18s ease, border-color .18s ease;
}

.toc__list a:hover,
.toc__list a.is-active { color: var(--text); border-left-color: var(--gold); }

.toc__level-3 a { padding-left: 24px; font-size: 13px; }

@media (max-width: 1023px) {
	.toc__toggle { display: block; }
	.toc__list { display: none; }
	.toc.is-open .toc__list { display: block; }
	.toc.is-open .toc__burger { background: transparent; }
	.toc.is-open .toc__burger::before { transform: translateY(6px) rotate(45deg); }
	.toc.is-open .toc__burger::after { transform: translateY(-6px) rotate(-45deg); }
}

/* ========================================================================
   Comparison table — the conversion component
   ===================================================================== */
.ctable-wrap { margin-top: 8px; }

.ctable__head { display: none; }

.ctable { display: grid; gap: 14px; }

.ctable__row {
	position: relative;
	display: grid;
	gap: 14px;
	padding: 18px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-card);
	box-shadow: var(--shadow);
	transition: border-color .2s ease, transform .2s ease;
}

.ctable__row:hover { border-color: rgba(243, 187, 65, .45); }

.ctable__row.is-featured {
	border-color: rgba(243, 187, 65, .55);
	background:
		linear-gradient(160deg, rgba(243, 187, 65, .10), transparent 45%),
		var(--surface);
}

.ctable__ribbon {
	position: absolute;
	top: -1px;
	right: 14px;
	padding: 4px 12px 5px;
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 800;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--ink);
	background: var(--grad-gold);
	border-radius: 0 0 8px 8px;
}

.ctable__brand { display: flex; align-items: center; gap: 12px; min-width: 0; }

.ctable__rank {
	flex: none;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 900;
	font-size: 15px;
	color: var(--gold);
	background: rgba(243, 187, 65, .12);
	border: 1px solid rgba(243, 187, 65, .35);
	border-radius: 50%;
}

.ctable__logo {
	flex: none;
	display: grid;
	place-items: center;
	width: 96px;
	height: 48px;
	padding: 6px;
	background: rgba(255, 255, 255, .06);
	border: 1px solid var(--line);
	border-radius: var(--r-sm);
}

.ctable__logo img { max-height: 100%; width: auto; object-fit: contain; }

/* Logo-less brands render the name inside the box, so it needs room to breathe. */
.ctable__logo--text { width: auto; min-width: 96px; max-width: 180px; padding: 8px 12px; }

.ctable__logo-text,
.ccard__logo-text {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 800;
	font-size: 13px;
	text-align: center;
	line-height: 1.1;
	color: var(--text);
	text-transform: uppercase;
}

.ctable__name {
	min-width: 0;
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 800;
	font-size: 17px;
	text-transform: uppercase;
	color: var(--text);
	overflow-wrap: anywhere;
}

.ctable__cell { display: flex; flex-direction: column; gap: 6px; min-width: 0; }

.ctable__cell[data-label]::before {
	content: attr(data-label);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
	color: var(--text-3);
}

.ctable__cell--rating { flex-direction: row; align-items: center; gap: 10px; }
.ctable__cell--rating::before { display: none; }

.ctable__score {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 900;
	font-size: 24px;
	line-height: 1;
	color: var(--gold);
}

.ctable__bonus {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--text);
}

.ctable__terms { font-size: 12px; line-height: 1.4; color: var(--text-3); }

.ctable__promo {
	align-self: flex-start;
	display: inline-flex;
	align-items: stretch;
	overflow: hidden;
	border: 1px dashed rgba(243, 187, 65, .55);
	border-radius: 8px;
}

.ctable__promo-label,
.promo-code__label {
	padding: 3px 8px;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ink);
	background: rgba(243, 187, 65, .85);
	display: grid;
	place-items: center;
}

.ctable__promo-code {
	padding: 3px 10px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .04em;
	color: var(--gold);
}

.ctable__promo.is-copied { border-color: var(--pos); }
.ctable__promo.is-copied .ctable__promo-code { color: var(--pos); }

.ctable__cell--payments { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px; }
.ctable__cell--payments::before { flex-basis: 100%; }

.ctable__rtp { font-size: 12px; color: var(--text-3); }
.ctable__rtp strong { color: var(--text-2); }

.ctable__cell--action { gap: 10px; }

.ctable__review-link {
	font-size: 13px;
	font-weight: 600;
	text-align: center;
	color: var(--text-3);
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color .18s ease;
}

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

.ctable__note,
.ctable__disclaimer {
	margin-top: 18px;
	font-size: 12px;
	line-height: 1.6;
	color: var(--text-3);
}

.ctable__disclaimer {
	padding: 12px 16px;
	background: rgba(255, 255, 255, .04);
	border: 1px solid var(--line);
	border-radius: var(--r-sm);
}

/* Desktop: real columns, with a header row above them. */
@media (min-width: 900px) {
	/* The rating column is sized to fit the score plus a full 85px star bar. */
	.ctable__head,
	.ctable__row {
		grid-template-columns: minmax(0, 1.5fr) 158px minmax(0, 1.7fr) minmax(0, 1.25fr) 200px;
		align-items: center;
		gap: 18px;
	}

	.ctable--compact .ctable__head,
	.ctable--compact .ctable__row { grid-template-columns: minmax(0, 1.6fr) 158px minmax(0, 1.9fr) 200px; }

	.ctable__head {
		display: grid;
		padding: 0 18px 10px;
	}

	.ctable__head-cell {
		font-size: 11px;
		font-weight: 700;
		letter-spacing: .08em;
		text-transform: uppercase;
		color: var(--text-3);
	}

	.ctable--compact .ctable__head-cell:nth-child(4) { display: none; }

	.ctable__row { padding: 18px; }

	.ctable__cell[data-label]::before { display: none; }

	.ctable__ribbon { right: 18px; }
}

@media (min-width: 900px) and (max-width: 1199px) {
	.ctable__logo { width: 78px; height: 42px; }
	.ctable__name { font-size: 15px; }
}

/* ------------------------------------------------------- Casino card */
.ccard {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 16px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-card);
}

.ccard.is-featured { border-color: rgba(243, 187, 65, .5); }

.ccard__ribbon {
	position: absolute;
	top: -10px;
	left: 16px;
	padding: 3px 10px;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--ink);
	background: var(--grad-gold);
	border-radius: var(--r-pill);
}

.ccard__head { display: flex; align-items: center; gap: 10px; }

.ccard__rank {
	flex: none;
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 900;
	font-size: 12px;
	color: var(--gold);
	background: rgba(243, 187, 65, .12);
	border-radius: 50%;
}

.ccard__logo {
	flex: 1;
	display: grid;
	place-items: center;
	height: 40px;
	padding: 4px 8px;
	background: rgba(255, 255, 255, .06);
	border-radius: 8px;
}

.ccard__logo img { max-height: 100%; width: auto; object-fit: contain; }

.ccard__rating { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }

.ccard__rating strong {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 900;
	font-size: 17px;
	color: var(--gold);
}

.ccard__rating .av-stars { width: 65px; height: 12px; background-size: 13px 12px; }
.ccard__rating .av-stars__fill { background-size: 13px 12px; }

.ccard__bonus { font-size: 14px; font-weight: 600; color: var(--text); }

.ccard__payments { display: flex; flex-wrap: wrap; gap: 6px; }

.ccard__foot { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }

.ccard__review-link {
	font-size: 12px;
	text-align: center;
	color: var(--text-3);
	text-decoration: underline;
	text-underline-offset: 2px;
}

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

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

.rcard {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-card);
	transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.rcard:hover {
	transform: translateY(-4px);
	border-color: rgba(243, 187, 65, .45);
	box-shadow: var(--shadow);
}

.rcard__link { position: absolute; inset: 0; z-index: 2; }

.rcard__media {
	position: relative;
	aspect-ratio: 16 / 10;
	background: var(--bg-deep);
	overflow: hidden;
}

.rcard__image { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.rcard:hover .rcard__image { transform: scale(1.04); }

.rcard__placeholder {
	display: grid;
	place-items: center;
	height: 100%;
	color: rgba(243, 187, 65, .35);
}

.rcard__placeholder svg { width: 64px; }

.rcard__body { display: flex; flex-direction: column; gap: 10px; padding: 18px; }

.rcard__meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--text-3); }

.rcard__tag {
	padding: 3px 10px;
	font-weight: 600;
	color: var(--gold);
	background: rgba(243, 187, 65, .12);
	border-radius: var(--r-pill);
}

.rcard__title { font-size: clamp(17px, 2vw, 21px); }

.rcard__excerpt {
	font-size: 14px;
	line-height: 1.55;
	color: var(--text-3);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.rcard__btn { align-self: flex-start; margin-top: 4px; }

/* ------------------------------------------------------------ Specs list */
.specs { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }

.specs__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding: 11px 16px;
	background: var(--bg-alt);
}

.specs__row dt { font-size: 13px; color: var(--text-3); }

.specs__row dd {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 800;
	font-size: 14px;
	text-transform: uppercase;
	text-align: right;
	color: var(--text);
}

@media (min-width: 640px) {
	.specs--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ------------------------------------------------------- Feature flags */
.feature-flags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.feature-flags li {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px;
	font-size: 13px;
	font-weight: 600;
	background: rgba(255, 255, 255, .05);
	border: 1px solid var(--line);
	border-radius: var(--r-pill);
}

.feature-flags li::before {
	content: '';
	width: 16px;
	height: 16px;
	flex: none;
	border-radius: 50%;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 10px;
}

.feature-flags .is-yes { color: var(--text); }
.feature-flags .is-yes::before {
	background-color: rgba(47, 208, 122, .18);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1.5 6.5l3 3 6-7' stroke='%232fd07a' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.feature-flags .is-no { color: var(--text-3); }
.feature-flags .is-no::before {
	background-color: rgba(255, 90, 77, .16);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 2.5l7 7M9.5 2.5l-7 7' stroke='%23ff5a4d' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ---------------------------------------------------------- Payments row */
.payments { margin-top: 18px; }

.payments__label {
	display: block;
	margin-bottom: 10px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--text-3);
}

.payments__list { display: flex; flex-wrap: wrap; gap: 8px; }

/* ------------------------------------------------------------ Pros/cons */
.proscons__grid { display: grid; gap: 20px; }

@media (min-width: 700px) {
	.proscons__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.proscons__col {
	padding: 20px;
	background: rgba(255, 255, 255, .04);
	border: 1px solid var(--line);
	border-radius: var(--r-sm);
}

.proscons__col h3 { margin-bottom: 14px; font-size: 16px; }

.proscons__col--pro { border-left: 3px solid var(--pos); }
.proscons__col--con { border-left: 3px solid var(--neg); }

.proscons__col ul { display: flex; flex-direction: column; gap: 10px; }

.proscons__col li {
	position: relative;
	padding-left: 26px;
	font-size: 14px;
	line-height: 1.55;
}

.proscons__col li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 3px;
	width: 16px;
	height: 16px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.proscons__col--pro li::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8.5l4 4 8-9' stroke='%232fd07a' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.proscons__col--con li::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 3l10 10M13 3L3 13' stroke='%23ff5a4d' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ----------------------------------------------- Checklist / steps / features */
.checklist { display: grid; gap: 12px; }
.steps { display: grid; gap: 14px; counter-reset: step; }

@media (min-width: 700px) {
	.checklist--cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
	.steps--cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; }
}

.checklist__item {
	position: relative;
	padding-left: 30px;
	font-size: 15px;
	line-height: 1.55;
}

.checklist__item::before {
	content: '';
	position: absolute;
	left: 0;
	top: 2px;
	width: 20px;
	height: 20px;
	background: rgba(243, 187, 65, .14);
	border-radius: 50%;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1.5 6.5l3 3 6-7' stroke='%23f3bb41' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 12px;
}

.steps__item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 14px 16px;
	background: rgba(255, 255, 255, .04);
	border: 1px solid var(--line);
	border-radius: var(--r-sm);
}

.steps__num {
	flex: none;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 900;
	font-size: 14px;
	color: var(--ink);
	background: var(--grad-gold);
	border-radius: 50%;
}

.steps__text { font-size: 15px; line-height: 1.5; }

.block__subheading {
	margin: 28px 0 20px;
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 800;
	font-size: clamp(18px, 2.4vw, 26px);
	text-transform: uppercase;
	color: var(--gold);
}

.block__action { margin-top: 28px; }

.features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 18px;
}

.features__item {
	position: relative;
	padding: 28px 24px 24px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-card);
	overflow: hidden;
}

.features__num {
	display: block;
	margin-bottom: 12px;
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 900;
	font-size: 44px;
	line-height: 1;
	background: var(--grad-gold);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.features__title { margin-bottom: 10px; font-size: 19px; }
.features__text { font-size: 14px; line-height: 1.6; color: var(--text-3); }

/* ---------------------------------------------------------- CTA banner */
.cta-banner {
	position: relative;
	display: grid;
	gap: 24px;
	padding: clamp(28px, 4vw, 48px);
	background:
		radial-gradient(600px 300px at 85% 10%, rgba(243, 187, 65, .18), transparent 65%),
		var(--surface);
	border: 1px solid rgba(243, 187, 65, .3);
	border-radius: var(--r-card);
	overflow: hidden;
}

@media (min-width: 800px) {
	.cta-banner { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); align-items: center; }
}

.cta-banner__heading {
	margin-bottom: 12px;
	font-size: clamp(26px, 4vw, 44px);
	background: var(--grad-gold);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.cta-banner__text { margin-bottom: 22px; color: var(--text-2); max-width: 52ch; }

.cta-banner__media img { margin-inline: auto; }

/* ------------------------------------------------------------ Promo card */
.promo__card {
	display: grid;
	gap: 18px;
	align-items: center;
	padding: 20px;
	background:
		radial-gradient(500px 240px at 90% 0%, rgba(243, 187, 65, .16), transparent 60%),
		var(--surface);
	border: 1px solid rgba(243, 187, 65, .28);
	border-radius: var(--r-card);
}

@media (min-width: 800px) {
	.promo__card { grid-template-columns: auto minmax(0, 1fr) auto; padding: 22px 28px; }
}

.promo__media { max-width: 120px; }

.promo__heading {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 900;
	font-size: clamp(19px, 2.6vw, 28px);
	line-height: 1.15;
	text-transform: uppercase;
	color: var(--text);
}

.promo__text { margin-top: 8px; font-size: 13px; color: var(--text-3); }

.promo__actions { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }

.promo__link {
	font-size: 13px;
	text-align: center;
	color: var(--gold);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ------------------------------------------------------------ Offer box */
.offer-box {
	padding: 22px;
	background:
		radial-gradient(300px 160px at 100% 0%, rgba(243, 187, 65, .18), transparent 70%),
		var(--surface);
	border: 1px solid rgba(243, 187, 65, .35);
	border-radius: var(--r-card);
	box-shadow: var(--shadow);
}

.offer-box__label {
	display: block;
	margin-bottom: 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--gold);
}

.offer-box__bonus {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 900;
	font-size: 22px;
	line-height: 1.15;
	text-transform: uppercase;
	color: var(--text);
}

.offer-box__terms { margin-top: 8px; font-size: 12px; color: var(--text-3); }

.offer-box .btn { margin-top: 16px; }

.offer-box__disclaimer { margin-top: 12px; font-size: 11px; text-align: center; color: var(--text-3); }

.promo-code {
	display: flex;
	width: 100%;
	margin-top: 14px;
	overflow: hidden;
	border: 1px dashed rgba(243, 187, 65, .6);
	border-radius: 8px;
}

.promo-code__value {
	flex: 1;
	padding: 8px 12px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .06em;
	color: var(--gold);
}

.promo-code.is-copied { border-color: var(--pos); }
.promo-code.is-copied .promo-code__value { color: var(--pos); }

/* -------------------------------------------------------------- Callout */
.callout {
	margin-bottom: 28px;
	padding: 24px;
	background: rgba(243, 187, 65, .07);
	border: 1px solid rgba(243, 187, 65, .28);
	border-radius: var(--r-card);
}

.callout__title { margin-bottom: 16px; font-size: 18px; color: var(--gold); }

/* ------------------------------------------------------------------ FAQ */
.faq__list { display: grid; gap: 12px; }

.faq__item {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-sm);
	transition: border-color .2s ease;
}

.faq__item[open] { border-color: rgba(243, 187, 65, .45); }

.faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 20px;
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 800;
	font-size: 16px;
	text-transform: uppercase;
	color: var(--text);
}

.faq__icon { position: relative; flex: none; width: 18px; height: 18px; }

.faq__icon::before,
.faq__icon::after {
	content: '';
	position: absolute;
	inset: 50% 0 auto 0;
	height: 2px;
	margin-top: -1px;
	background: var(--gold);
	border-radius: 2px;
	transition: transform .2s ease;
}

.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0); }

.faq__answer { padding: 0 20px 20px; }

/* --------------------------------------------------------- Archive hero */
.archive-hero { padding-block: clamp(24px, 4vw, 44px) clamp(16px, 3vw, 28px); }

.archive-hero__title { margin-bottom: 14px; }

.archive-hero__text { max-width: 820px; }

.author-hero { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.author-hero__avatar img { border-radius: 50%; }
.author-hero__bio { margin-top: 8px; max-width: 60ch; color: var(--text-3); }

/* --------------------------------------------------------- Page layouts */
.page-article { padding-bottom: 40px; }

.page-layout,
.review-layout,
.casino-layout {
	display: grid;
	gap: 28px;
	align-items: start;
	padding-bottom: clamp(32px, 5vw, 64px);
}

@media (min-width: 1024px) {
	.page-layout,
	.review-layout,
	.casino-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }

	.page-layout--full { grid-template-columns: minmax(0, 1fr); }

	.page-aside__sticky,
	.review-aside__sticky,
	.casino-aside__sticky {
		position: sticky;
		top: calc(var(--header-h) + 20px);
		display: grid;
		gap: 20px;
	}
}

@media (max-width: 1023px) {
	.page-aside,
	.review-aside { order: -1; }

	.page-aside__sticky,
	.review-aside__sticky,
	.casino-aside__sticky { display: grid; gap: 20px; }
}

.page-main,
.review-body,
.casino-body {
	padding: clamp(20px, 3vw, 36px);
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-card);
}

.aside-toplist { display: grid; gap: 12px; }

.aside-toplist__title {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 800;
	font-size: 13px;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--gold);
}

/* ------------------------------------------------------------ Pagination */
.av-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 36px;
}

.av-pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding-inline: 12px;
	font-weight: 600;
	color: var(--text-2);
	background: rgba(255, 255, 255, .05);
	border: 1px solid var(--line);
	border-radius: var(--r-sm);
	transition: color .18s ease, border-color .18s ease;
}

.av-pagination a.page-numbers:hover { color: var(--gold); border-color: rgba(243, 187, 65, .5); }

.av-pagination .page-numbers.current {
	color: var(--ink);
	background: var(--grad-gold);
	border-color: transparent;
	font-weight: 800;
}

/* ----------------------------------------------------------- Search form */
.searchform { display: flex; gap: 10px; max-width: 520px; margin-top: 20px; }

.searchform__input {
	flex: 1;
	min-width: 0;
	padding: 12px 16px;
	color: var(--text);
	background: rgba(255, 255, 255, .06);
	border: 1px solid var(--line-strong);
	border-radius: var(--r-pill);
}

.searchform__input::placeholder { color: var(--text-3); }
.searchform__input:focus { outline: none; border-color: var(--gold); }

/* ----------------------------------------------------------- Breadcrumbs */
.breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding-top: 18px;
	font-size: 12px;
	color: var(--text-3);
}

.breadcrumbs a { color: var(--text-3); transition: color .18s ease; }
.breadcrumbs a:hover { color: var(--gold); }
.breadcrumbs .breadcrumb_last { color: var(--text-2); }

/* ------------------------------------------------------------------- 404 */
/* The only place the reading column is centred rather than left-aligned. */
.error-404__inner { text-align: center; }
.error-404__inner > * { margin-inline: auto; }

.error-404__code {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 900;
	font-size: clamp(80px, 18vw, 180px);
	line-height: .9;
	background: var(--grad-gold);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.error-404__title { margin-bottom: 14px; }
.error-404__text { margin-bottom: 26px; color: var(--text-3); }
.error-404__inner .searchform { margin-inline: auto; }

/* ------------------------------------------------------------ Scrollbars */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: rgba(243, 187, 65, .5); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

* { scrollbar-width: thin; scrollbar-color: rgba(243, 187, 65, .5) var(--bg-deep); }

/* ----------------------------------------------------------------- Print */
@media print {
	.site-header, .site-footer, .sticky-cta, .to-top, .quicknav, .toc, .chips { display: none !important; }
	body { background: #fff; color: #000; }
}

/* -------------------------------------------------------------------------
   Byline + rating methodology.
   Shared by casino reviews and guides — both are review content, and both owe
   the reader an author and a stated method.
   ---------------------------------------------------------------------- */

.byline {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 18px 0 0;
	font-size: 14px;
	line-height: 1.45;
	color: var(--c-muted);
}

.byline__avatar img {
	display: block;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid rgba(243, 187, 65, .45);
}

.byline__name strong { color: var(--c-text); font-weight: 600; }
.byline__name a { color: inherit; text-decoration: none; }
.byline__name a:hover strong { color: var(--c-gold); }
.byline__bio { display: block; font-size: 13px; opacity: .78; max-width: 62ch; }

.casino-hero__credit {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 24px;
	margin-top: 20px;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, .08);
}

.casino-hero__credit .byline { margin: 0; }
.casino-hero__checked { margin: 0; font-size: 13px; color: var(--c-muted); }

.methodology {
	flex-basis: 100%;
	font-size: 14px;
	color: var(--c-muted);
}

.methodology__summary {
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--c-gold);
	font-weight: 600;
	list-style: none;
}

.methodology__summary::-webkit-details-marker { display: none; }
.methodology__summary::after { content: "▾"; font-size: 11px; transition: transform .2s ease; }
.methodology[open] .methodology__summary::after { transform: rotate(180deg); }

.methodology__list {
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 10px;
}

.methodology__item {
	display: grid;
	grid-template-columns: minmax(0, 12rem) auto;
	gap: 2px 12px;
	padding: 10px 14px;
	border-radius: 10px;
	background: rgba(255, 255, 255, .04);
}

.methodology__label { color: var(--c-text); font-weight: 600; }
.methodology__weight { color: var(--c-gold); font-variant-numeric: tabular-nums; }
.methodology__text { grid-column: 1 / -1; opacity: .85; }

@media (max-width: 640px) {
	.methodology__item { grid-template-columns: 1fr auto; }
}

/* -------------------------------------------------------------------------
   Author: byline role, end-of-article box, author archive.
   ---------------------------------------------------------------------- */

.byline__role {
	display: inline-block;
	margin-left: 8px;
	padding: 1px 8px;
	border-radius: 999px;
	background: rgba(243, 187, 65, .14);
	color: var(--c-gold);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	vertical-align: 2px;
}

.byline__avatar { display: block; flex: 0 0 auto; }

.author-box {
	display: flex;
	gap: 20px;
	margin: 36px 0 0;
	padding: 24px;
	border-radius: var(--r-card, 20px);
	background: linear-gradient(160deg, #0f112f, #22276b);
	border: 1px solid rgba(255, 255, 255, .08);
}

.author-box__photo { flex: 0 0 auto; }

.author-box__photo img {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid rgba(243, 187, 65, .5);
}

.author-box__body { min-width: 0; }

.author-box__eyebrow {
	margin: 0 0 2px;
	font-size: 11px;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--c-gold);
}

.author-box__name { margin: 0; font-size: 20px; }
.author-box__name a { color: var(--c-text); text-decoration: none; }
.author-box__name a:hover { color: var(--c-gold); }
.author-box__meta { margin: 2px 0 10px; font-size: 13px; color: var(--c-muted); }
.author-box__bio { margin: 0; font-size: 15px; line-height: 1.6; color: var(--c-text-2, #e5e5e5); }

.author-box__topics,
.author-hero__topics {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 14px 0 0;
	font-size: 13px;
	color: var(--c-muted);
}

.author-box__topic {
	padding: 3px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .06);
	color: var(--c-text-2, #e5e5e5);
}

.author-box__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin: 14px 0 0;
	font-size: 14px;
}

.author-box__more { color: var(--c-gold); font-weight: 600; text-decoration: none; }
.author-box__more:hover { text-decoration: underline; }
.author-box__social { color: var(--c-muted); text-decoration: none; }
.author-box__social:hover { color: var(--c-text); }

/* --- author archive --- */

.author-hero { padding: 32px 0 8px; }

.author-hero__inner {
	display: flex;
	gap: 28px;
	align-items: flex-start;
}

.author-hero__photo img {
	width: 160px;
	height: 160px;
	border-radius: 50%;
	object-fit: cover;
	border: 4px solid rgba(243, 187, 65, .5);
}

.author-hero__eyebrow {
	margin: 0;
	font-size: 12px;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--c-gold);
}

.author-hero__name { margin: 4px 0 6px; }
.author-hero__role { margin: 0 0 14px; color: var(--c-muted); }
.author-hero__bio { max-width: 72ch; }

.author-hero__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 22px;
	margin: 16px 0 0;
	font-size: 14px;
	color: var(--c-muted);
}

.author-stat strong { color: var(--c-gold); font-size: 18px; }

.author-hero__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin: 14px 0 0;
	font-size: 14px;
}

.author-hero__links a { color: var(--c-muted); text-decoration: none; }
.author-hero__links a:hover { color: var(--c-gold); }

@media (max-width: 760px) {
	.author-box { flex-direction: column; gap: 14px; }
	.author-hero__inner { flex-direction: column; gap: 18px; }
	.author-hero__photo img { width: 112px; height: 112px; }
}

/* -------------------------------------------------------------------------
   Language switcher.
   A details/summary disclosure, so it opens and closes without JavaScript;
   main.js only adds outside-click and Escape, which are enhancements.
   ---------------------------------------------------------------------- */

.lang-switch {
	position: relative;
	flex: 0 0 auto;
}

.lang-switch__current {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 8px 4px 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	color: var(--text-3);
	border: 1px solid var(--line);
	border-radius: 6px;
	cursor: pointer;
	list-style: none;
	user-select: none;
	transition: color .15s ease, border-color .15s ease;
}

/* Hide the native disclosure triangle in every engine. */
.lang-switch__current::-webkit-details-marker { display: none; }
.lang-switch__current::marker { content: ""; }

.lang-switch__current:hover,
.lang-switch[open] .lang-switch__current {
	color: var(--text-1);
	border-color: rgba(243, 187, 65, .5);
}

.lang-switch__current:focus-visible {
	outline: 2px solid var(--c-gold, #f3bb41);
	outline-offset: 2px;
}

.lang-switch__caret {
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid currentColor;
	transition: transform .18s ease;
}

.lang-switch[open] .lang-switch__caret { transform: rotate(180deg); }

.lang-switch__list {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	z-index: 60;
	min-width: 168px;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: #12142f;
	border: 1px solid var(--line);
	border-radius: 10px;
	box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}

.lang-switch__item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	border-radius: 7px;
	color: var(--text-2);
	text-decoration: none;
	font-size: 14px;
	transition: background .15s ease, color .15s ease;
}

.lang-switch__item:hover,
.lang-switch__item:focus-visible {
	background: rgba(255, 255, 255, .06);
	color: var(--text-1);
}

.lang-switch__item .lang-switch__code {
	flex: 0 0 auto;
	min-width: 26px;
	padding: 2px 5px;
	font-size: 11px;
	font-weight: 700;
	text-align: center;
	color: var(--c-gold, #f3bb41);
	background: rgba(243, 187, 65, .12);
	border-radius: 4px;
}

.lang-switch__name { white-space: nowrap; }

/* The switcher sits close to the right edge on small screens, so the panel
   stays right-aligned and is clamped to the viewport rather than flipped. */
@media (max-width: 1024px) {
	.lang-switch__list {
		right: 0;
		left: auto;
		max-width: calc(100vw - 24px);
	}
}
