/* ==========================================================================
   Casino Reviewer — dark premium theme
   ========================================================================== */

@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
	font-weight: 100 900;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
	font-weight: 100 900;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Sora";
	src: url("../fonts/sora-latin-wght-normal.woff2") format("woff2-variations");
	font-weight: 100 800;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Sora";
	src: url("../fonts/sora-latin-ext-wght-normal.woff2") format("woff2-variations");
	font-weight: 100 800;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--bg: #0b0d12;
	--bg-alt: #0f1218;
	--surface: #141821;
	--surface-2: #1b202b;
	--surface-3: #232937;
	--border: #262c39;
	--border-strong: #343b4c;
	--text: #eceef3;
	--text-soft: #c3c8d4;
	--muted: #8d95a6;
	--gold: #f2b544;
	--gold-strong: #ffcd6b;
	--gold-deep: #c98a17;
	--gold-soft: rgba(242, 181, 68, 0.12);
	--emerald: #34d399;
	--emerald-soft: rgba(52, 211, 153, 0.12);
	--danger: #f87171;
	--heading: #ffffff;
	--accent: var(--gold);
	--accent-strong: var(--gold-strong);
	--on-gold: #1a1204;
	--hover-bg: rgba(255, 255, 255, 0.05);
	--ghost-bg: rgba(255, 255, 255, 0.03);
	--grid-line: rgba(255, 255, 255, 0.025);
	--ring: rgba(255, 255, 255, 0.06);
	--header-bg: rgba(11, 13, 18, 0.82);
	--header-bg-solid: rgba(11, 13, 18, 0.94);
	--panel-top: rgba(27, 32, 43, 0.92);
	--panel-bottom: rgba(20, 24, 33, 0.92);
	--panel-shadow: rgba(0, 0, 0, 0.8);
	--footer-bg: #07080c;
	--title-gradient: linear-gradient(100deg, var(--gold-strong), var(--gold) 50%, #e8892a);

	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-display: "Sora", "Inter", system-ui, sans-serif;

	--radius-sm: 8px;
	--radius: 14px;
	--radius-lg: 20px;
	--shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 10px 30px -12px rgba(0, 0, 0, 0.6);
	--shadow-gold: 0 8px 28px -10px rgba(242, 181, 68, 0.55);
	--header-h: 68px;
	--gutter: 16px;
	--container: 1240px;
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);

	color-scheme: dark;
}

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

/* Reset & base
   ------------------------------------------------------------------------ */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 64px);
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

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

a { color: var(--accent); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--accent-strong); }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
	margin: 0 0 0.5em;
	color: var(--heading);
}

p { margin: 0 0 1em; }

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

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

.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }

.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: 16px; top: -100px;
	z-index: 100;
	padding: 10px 16px;
	background: var(--gold);
	color: var(--on-gold);
	font-weight: 600;
	border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: var(--on-gold); }

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

.muted { color: var(--muted); }

/* Stretched link: whole card clickable, nested actions stay on top. */
.card { position: relative; }
.stretched { color: inherit; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; }
.above-stretch { position: relative; z-index: 1; }

/* Buttons, labels, chips
   ------------------------------------------------------------------------ */

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	min-height: 44px;
	padding: 10px 20px;
	border: 1px solid transparent;
	border-radius: 999px;
	font: 600 15px/1.2 var(--font-body);
	text-align: center;
	cursor: pointer;
	transition: transform 0.15s var(--ease), box-shadow 0.15s, background 0.15s, border-color 0.15s, color 0.15s;
	white-space: nowrap;
}
.button:active { transform: translateY(1px); }
.button .icon { width: 1em; height: 1em; }

.button--primary {
	background: linear-gradient(180deg, var(--gold-strong), var(--gold) 55%, var(--gold-deep));
	color: #1a1204;
	box-shadow: var(--shadow-gold);
}
.button--primary:hover { color: #1a1204; filter: brightness(1.06); box-shadow: 0 10px 34px -10px rgba(242, 181, 68, 0.75); }

.button--ghost {
	background: var(--ghost-bg);
	border-color: var(--border-strong);
	color: var(--text);
}
.button--ghost:hover { border-color: var(--accent); color: var(--accent-strong); }

.button--lg { min-height: 52px; padding: 14px 26px; font-size: 16px; }
.button--block { display: flex; width: 100%; }

.kicker {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 10px;
	color: var(--accent);
	font: 600 12px/1.3 var(--font-body);
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
a.kicker:hover { color: var(--accent-strong); }

.badge {
	display: inline-block;
	padding: 3px 9px;
	border-radius: 999px;
	font: 700 11px/1.4 var(--font-body);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.badge--new { background: var(--emerald-soft); color: var(--emerald); }
.badge--restricted { background: color-mix(in srgb, var(--danger) 14%, transparent); color: var(--danger); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--surface);
	color: var(--text-soft);
	font-size: 13px;
}
.chip .icon { color: var(--muted); }
.chip--accent { border-color: rgba(52, 211, 153, 0.35); color: var(--emerald); background: var(--emerald-soft); }
.chip--accent .icon { color: var(--emerald); }

.stars { display: inline-flex; gap: 1px; color: var(--gold); line-height: 1; }
.stars .icon { width: 16px; height: 16px; }
.stars .icon.is-empty { color: rgba(242, 181, 68, 0.22); }
.stars--lg .icon { width: 22px; height: 22px; }

.score { font: 700 14px/1 var(--font-display); color: var(--heading); }
.score--lg { font-size: 28px; }
.score small { color: var(--muted); font-size: 0.55em; font-weight: 600; margin-left: 2px; }

.logo-box {
	display: grid;
	place-items: center;
	width: 96px;
	aspect-ratio: 2 / 1;
	padding: 8px 10px;
	border-radius: var(--radius-sm);
	/* Legacy logos are designed for light backgrounds. */
	background: linear-gradient(180deg, #fbfbfc, #e9ebf0);
	box-shadow: 0 0 0 1px var(--ring);
	overflow: hidden;
	flex: none;
}
.logo-box { position: relative; }
.logo-box img {
	position: absolute;
	inset: 8%;
	width: 84%;
	height: 84%;
	object-fit: contain;
}
.logo-box--monogram {
	background: radial-gradient(circle at 30% 20%, #2b3242, #161a23);
	color: var(--accent);
	font: 800 20px/1 var(--font-display);
	letter-spacing: 0.04em;
}
.logo-box--lg { width: 180px; padding: 14px 18px; border-radius: var(--radius); }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	font-size: 15px;
}
.link-arrow .icon { transition: transform 0.2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow--sm { font-size: 14px; }

.notice {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin: 24px 0 0;
	padding: 14px 16px;
	border: 1px solid var(--border);
	border-left: 3px solid var(--gold);
	border-radius: var(--radius-sm);
	background: var(--surface);
	color: var(--text-soft);
	font-size: 14px;
}
.notice .icon { color: var(--accent); margin-top: 3px; flex: none; }

.rg-note { margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.rg-note a { color: var(--text-soft); text-decoration: underline; text-underline-offset: 2px; }

.empty-state { padding: 48px 0; text-align: center; color: var(--muted); }

/* Header
   ------------------------------------------------------------------------ */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	height: var(--header-h);
	background: var(--header-bg);
	backdrop-filter: saturate(140%) blur(14px);
	-webkit-backdrop-filter: saturate(140%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color 0.2s, background 0.2s;
}
.site-header.is-scrolled { border-bottom-color: var(--border); background: var(--header-bg-solid); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.site-header__inner { display: flex; align-items: center; gap: 24px; height: 100%; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--heading); flex: none; }
.brand:hover { color: var(--heading); }
.brand__mark { width: 34px; height: 34px; }
.brand__text { font: 700 19px/1 var(--font-display); letter-spacing: -0.02em; }
.brand__text span { color: var(--accent); }

.primary-nav__list { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.primary-nav__list a {
	display: block;
	padding: 8px 12px;
	border-radius: 999px;
	color: var(--text-soft);
	font-size: 15px;
	font-weight: 500;
}
.primary-nav__list a:hover { color: var(--heading); background: var(--hover-bg); }
.primary-nav__list .current-menu-item > a,
.primary-nav__list a[aria-current="page"] { color: var(--accent); background: var(--gold-soft); }

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

.icon-button {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--surface);
	color: var(--text);
	cursor: pointer;
}
.icon-button:hover { border-color: var(--accent); color: var(--accent); }
.icon-button .icon { width: 20px; height: 20px; }

.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: block; }

.primary-nav .search-form--nav { display: none; }

@media (max-width: 1079px) {
	.primary-nav {
		position: fixed;
		inset: var(--header-h) 0 0 0;
		z-index: 49;
		display: flex;
		flex-direction: column;
		gap: 20px;
		padding: 20px var(--gutter) 40px;
		background: var(--bg);
		overflow-y: auto;
		visibility: hidden;
		opacity: 0;
		transform: translateY(-8px);
		transition: opacity 0.2s, transform 0.2s var(--ease), visibility 0s 0.2s;
	}
	.admin-bar .primary-nav { top: calc(var(--header-h) + 46px); }
	.nav-open .primary-nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
	.nav-open { overflow: hidden; }

	.primary-nav__list { flex-direction: column; gap: 2px; }
	.primary-nav__list a { padding: 14px 12px; font-size: 18px; border-radius: var(--radius-sm); border-bottom: 1px solid var(--border); }

	.primary-nav .search-form--nav { display: flex; order: -1; }
	[data-search-toggle] { display: none; }
}

@media (min-width: 1080px) {
	.nav-toggle { display: none; }
	.primary-nav { margin-left: 8px; }
}

/* Search forms */

.search-form {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	padding: 6px 6px 6px 16px;
	border: 1px solid var(--border-strong);
	border-radius: 999px;
	background: var(--surface);
	transition: border-color 0.15s, box-shadow 0.15s;
}
.search-form:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--gold-soft); }
.search-form > .icon { color: var(--muted); }
.search-form input {
	flex: 1;
	min-width: 0;
	height: 42px;
	border: 0;
	background: transparent;
	color: var(--text);
	font: 16px var(--font-body);
	outline: none;
}
.search-form input::placeholder { color: var(--muted); }
.search-form--nav button {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 999px;
	background: var(--gold);
	color: var(--on-gold);
	cursor: pointer;
}

/* Sections & grids
   ------------------------------------------------------------------------ */

.section { padding-block: 56px; }
.section--tight { padding-block: 32px 56px; }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
@media (min-width: 900px) {
	.section { padding-block: 80px; }
	.section--tight { padding-block: 40px 72px; }
}

.section__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 28px;
}
.section__head--stacked { display: block; margin-bottom: 20px; }
.section__title { margin: 0; font-size: clamp(24px, 3vw, 34px); }
.section__title--sm { margin: 48px 0 16px; font-size: 22px; }

.grid { display: grid; gap: 16px; }
.grid--3, .grid--4 { grid-template-columns: 1fr; }
.grid--6 { grid-template-columns: repeat(2, 1fr); }
.grid--tiles { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; margin-bottom: 20px; }
.grid--tiles-lg { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }

@media (min-width: 600px) {
	.grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
	.grid--6 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
	.grid { gap: 20px; }
	.grid--3 { grid-template-columns: repeat(3, 1fr); }
	.grid--4 { grid-template-columns: repeat(4, 1fr); }
	.grid--6 { grid-template-columns: repeat(6, 1fr); }
}

.split { display: grid; gap: 48px; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } }

/* Hero (homepage)
   ------------------------------------------------------------------------ */

.hero {
	position: relative;
	padding-block: 48px 56px;
	overflow: hidden;
	isolation: isolate;
}
.hero::before {
	content: "";
	position: absolute;
	inset: -20% -10% auto;
	height: 140%;
	z-index: -1;
	background:
		radial-gradient(ellipse 45% 50% at 78% 30%, rgba(242, 181, 68, 0.18), transparent 70%),
		radial-gradient(ellipse 35% 45% at 10% 10%, rgba(52, 211, 153, 0.08), transparent 70%);
}
.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 40%, transparent 100%);
}

.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
@media (min-width: 1000px) {
	.hero { padding-block: 80px 48px; }
	.hero__inner { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 64px; }
}

.hero__title { font-size: clamp(36px, 6vw, 64px); line-height: 1.05; letter-spacing: -0.035em; margin-bottom: 20px; }
.hero__title em {
	font-style: normal;
	background: var(--title-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.hero__lead { max-width: 560px; color: var(--text-soft); font-size: 18px; margin-bottom: 28px; }
.search-form--hero { max-width: 560px; padding-left: 18px; }
.search-form--hero .button { flex: none; }
@media (max-width: 479px) { .search-form--hero .button { padding-inline: 14px; } }

.hero__stats { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 32px 0 0; }
.hero__stats div { display: flex; flex-direction: column-reverse; }
.hero__stats dt { color: var(--muted); font-size: 13px; }
.hero__stats dd { margin: 0; font: 700 28px/1.1 var(--font-display); color: var(--heading); }

.hero__panel {
	padding: 22px;
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-lg);
	background: linear-gradient(180deg, var(--panel-top), var(--panel-bottom));
	box-shadow: 0 30px 80px -30px var(--panel-shadow), 0 0 0 1px rgba(242, 181, 68, 0.05);
}
.hero__panel-title { display: flex; align-items: center; gap: 8px; font-size: 16px; margin-bottom: 14px; color: var(--text-soft); }
.hero__panel-title .icon { color: var(--accent); }

.mini-list { margin: 0 0 16px; padding: 0; list-style: none; display: grid; gap: 10px; }
.mini-list__item {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--surface);
	transition: border-color 0.15s, transform 0.15s var(--ease);
}
.mini-list__item:hover { border-color: rgba(242, 181, 68, 0.5); transform: translateY(-1px); }
.mini-list__rank {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	flex: none;
	border-radius: 999px;
	background: var(--gold-soft);
	color: var(--accent);
	font: 700 13px/1 var(--font-display);
}
.mini-list .logo-box { width: 72px; padding: 6px; }
.mini-list__text { display: flex; flex-direction: column; min-width: 0; }
.mini-list__text a { color: var(--heading); font-weight: 600; }
.mini-list__text small { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-list__text .badge { align-self: flex-start; margin-top: 4px; }
.mini-list__arrow { margin-left: auto; color: var(--muted); }

/* Ranked casino list
   ------------------------------------------------------------------------ */

.casino-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: none; }

.casino-row {
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-areas:
		"logo main"
		"bonus bonus"
		"actions actions";
	gap: 14px 16px;
	align-items: center;
	padding: 16px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--surface);
	transition: border-color 0.15s, box-shadow 0.2s;
}
.casino-row:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }
.casino-row.is-top { border-color: rgba(242, 181, 68, 0.45); background: linear-gradient(180deg, rgba(242, 181, 68, 0.06), var(--surface) 60%); }

.casino-row__rank {
	position: absolute;
	top: -9px;
	left: -9px;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 999px;
	background: var(--surface-3);
	border: 1px solid var(--border-strong);
	color: var(--heading);
	font: 700 13px/1 var(--font-display);
}
.casino-row.is-top .casino-row__rank { background: var(--gold); border-color: var(--accent); color: var(--on-gold); }

.casino-row__logo { grid-area: logo; }
.casino-row__main { grid-area: main; min-width: 0; }
.casino-row__name { margin: 0 0 4px; font-size: 18px; }
.casino-row__name a { color: var(--heading); }
.casino-row__name a:hover { color: var(--accent-strong); }
.casino-row__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.casino-row__bonus { grid-area: bonus; display: flex; flex-direction: column; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--surface-2); }
.casino-row__bonus:empty { display: none; }
.casino-row__bonus-label { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.casino-row__bonus strong { color: var(--heading); font-size: 15px; line-height: 1.4; }
.casino-row__actions { grid-area: actions; display: flex; align-items: center; gap: 16px; }
.casino-row__actions .button { flex: 1; }
.casino-row__review { color: var(--text-soft); font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--border-strong); white-space: nowrap; }
.casino-row__review:hover { color: var(--accent); }

@media (min-width: 860px) {
	.casino-row {
		grid-template-columns: 120px minmax(180px, 1.1fr) minmax(200px, 1.3fr) 190px;
		grid-template-areas: "logo main bonus actions";
		gap: 24px;
		padding: 18px 24px 18px 28px;
	}
	.casino-row .logo-box { width: 120px; }
	.casino-row__bonus { background: none; padding: 0; }
	.casino-row__actions { flex-direction: column; gap: 8px; }
	.casino-row__actions .button { width: 100%; }
}

/* Cards
   ------------------------------------------------------------------------ */

.casino-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 20px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--surface);
	transition: border-color 0.15s, transform 0.2s var(--ease), box-shadow 0.2s;
}
.casino-card:hover { border-color: rgba(242, 181, 68, 0.45); transform: translateY(-2px); box-shadow: var(--shadow); }
.casino-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.casino-card__head .logo-box { width: 120px; }
.casino-card__name { margin: 4px 0 0; font-size: 18px; }
.casino-card__geo { align-self: flex-start; }
.casino-card__rating { display: flex; align-items: center; gap: 8px; }
.casino-card__bonus {
	display: flex;
	gap: 8px;
	margin: 0;
	padding: 10px 12px;
	border-radius: var(--radius-sm);
	background: var(--gold-soft);
	color: var(--text);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.45;
}
.casino-card__bonus .icon { color: var(--accent); margin-top: 2px; }
.casino-card__actions { margin-top: auto; padding-top: 4px; }

.post-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--surface);
	overflow: hidden;
	transition: border-color 0.15s, transform 0.2s var(--ease);
}
.post-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.post-card__media { aspect-ratio: 16 / 9; background: var(--surface-2); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__placeholder { display: grid; place-items: center; height: 100%; color: var(--border-strong); }
.post-card__placeholder .icon { width: 44px; height: 44px; }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.post-card__body .kicker { margin-bottom: 6px; font-size: 11px; }
.post-card__title { margin: 0 0 8px; font-size: 18px; line-height: 1.3; }
.post-card__title a:hover { color: var(--accent-strong); }
.post-card__excerpt { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.post-card__meta { margin: auto 0 0; color: var(--muted); font-size: 13px; }

.post-card--compact .post-card__title { font-size: 16px; }

.post-card--row { flex-direction: row; align-items: stretch; }
.post-card--row .post-card__media { width: 38%; max-width: 180px; aspect-ratio: auto; flex: none; }
.post-card--row .post-card__body { padding: 14px 16px; }
.post-card--row .post-card__title { font-size: 15px; }
.post-card--row .post-card__excerpt { display: none; }

.news-layout { display: grid; gap: 16px; }
.news-layout__list { display: grid; gap: 12px; }
@media (min-width: 960px) {
	.news-layout { grid-template-columns: 1.2fr 1fr; gap: 20px; }
	.post-card--feature .post-card__title { font-size: 26px; }
	.post-card--feature .post-card__media { aspect-ratio: 16 / 10; }
}

.tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 14px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--surface);
	color: var(--text-soft);
	text-align: center;
	transition: border-color 0.15s, color 0.15s, transform 0.2s var(--ease);
}
.tile:hover { border-color: rgba(242, 181, 68, 0.45); color: var(--heading); transform: translateY(-2px); }
.tile .logo-box { width: 100%; }
.tile__name { font-size: 14px; font-weight: 600; line-height: 1.3; }

/* Page hero, breadcrumbs, filters
   ------------------------------------------------------------------------ */

.page-hero {
	position: relative;
	padding-block: 28px 36px;
	background: radial-gradient(ellipse 60% 120% at 85% 0%, rgba(242, 181, 68, 0.1), transparent 60%), var(--bg-alt);
	border-bottom: 1px solid var(--border);
}
@media (min-width: 900px) { .page-hero { padding-block: 36px 52px; } }
.page-hero__title { font-size: clamp(30px, 4.5vw, 48px); margin-bottom: 12px; }
.page-hero__intro { max-width: 760px; color: var(--text-soft); font-size: 17px; }
.page-hero__intro p:last-child { margin-bottom: 0; }

.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 20px; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--border-strong); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current] { color: var(--text-soft); max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.filter-bar { display: flex; gap: 8px; margin-bottom: 28px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.filter-bar::-webkit-scrollbar { display: none; }
.filter-bar__item {
	flex: none;
	padding: 8px 16px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--surface);
	color: var(--text-soft);
	font-size: 14px;
	font-weight: 500;
}
.filter-bar__item:hover { color: var(--heading); border-color: var(--border-strong); }
.filter-bar__item.is-active { background: var(--gold); border-color: var(--accent); color: var(--on-gold); }

/* Casino review
   ------------------------------------------------------------------------ */

.casino-hero {
	padding-block: 28px 32px;
	background:
		radial-gradient(ellipse 55% 90% at 90% 10%, rgba(242, 181, 68, 0.12), transparent 60%),
		linear-gradient(180deg, var(--bg-alt), var(--bg));
	border-bottom: 1px solid var(--border);
}
.casino-hero__grid { display: grid; gap: 24px; }
.casino-hero__title { font-size: clamp(30px, 4.5vw, 46px); margin-bottom: 12px; }
.casino-hero__rating { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.casino-hero__logo .logo-box--lg { width: 160px; }

@media (min-width: 1000px) {
	.casino-hero { padding-block: 32px 48px; }
	.casino-hero__grid { grid-template-columns: auto minmax(0, 1fr) 360px; align-items: center; gap: 36px; }
	.casino-hero__logo .logo-box--lg { width: 190px; }
}

.offer-panel {
	padding: 22px;
	border: 1px solid rgba(242, 181, 68, 0.35);
	border-radius: var(--radius-lg);
	background: linear-gradient(160deg, rgba(242, 181, 68, 0.12), var(--panel-bottom) 55%);
	box-shadow: 0 24px 60px -30px rgba(242, 181, 68, 0.35);
}
.offer-panel__label { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.offer-panel__bonus { margin: 8px 0 18px; font: 700 22px/1.3 var(--font-display); color: var(--heading); letter-spacing: -0.01em; }
.offer-panel--inline { display: grid; gap: 8px; margin-bottom: 32px; }
.offer-panel--inline .offer-panel__bonus { margin: 4px 0 8px; font-size: 20px; }
.offer-panel--inline .button { justify-self: start; }

.section-nav {
	position: sticky;
	top: var(--header-h);
	z-index: 40;
	background: var(--header-bg-solid);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--border);
}
.admin-bar .section-nav { top: calc(var(--header-h) + 32px); }
.section-nav ul { display: flex; gap: 4px; margin: 0; padding: 10px 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.section-nav ul::-webkit-scrollbar { display: none; }
.section-nav a { display: block; padding: 7px 14px; border-radius: 999px; color: var(--text-soft); font-size: 14px; font-weight: 500; white-space: nowrap; }
.section-nav a:hover { color: var(--heading); background: var(--hover-bg); }
.section-nav a.is-active { color: var(--on-gold); background: var(--gold); }

.layout-sidebar { display: grid; gap: 40px; padding-block: 36px 64px; }
@media (min-width: 1000px) {
	.layout-sidebar { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; padding-block: 48px 80px; }
	.sidebar { position: sticky; top: calc(var(--header-h) + 72px); align-self: start; }
}

.review__section { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--border); }
.review__section:last-child { border-bottom: 0; margin-bottom: 0; }
.review__heading { display: flex; align-items: center; gap: 10px; font-size: 24px; margin-bottom: 20px; }
.review__heading .icon { color: var(--accent); width: 24px; height: 24px; }
.review__banner { display: block; margin-top: 24px; border-radius: var(--radius); overflow: hidden; }

.lead { font-size: 18px; color: var(--text); margin-bottom: 20px; }
.lead p { margin-bottom: 0.75em; }

.bonus-list { display: grid; gap: 14px; }
.bonus { padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.bonus__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.bonus__title { margin: 0 0 12px; font-size: 18px; }
.bonus__facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 12px; }
.bonus__facts div { padding: 8px 14px; border-radius: var(--radius-sm); background: var(--surface-2); }
.bonus__facts dt { color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.bonus__facts dd { margin: 0; font: 700 18px/1.3 var(--font-display); color: var(--accent-strong); }
.bonus__games { color: var(--text-soft); font-size: 15px; }
.bonus__desc { color: var(--text-soft); font-size: 15px; }
.bonus__note { color: var(--muted); font-size: 13px; }

.facts-table { margin: 0 0 16px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.facts-table div { display: grid; grid-template-columns: minmax(130px, 38%) 1fr; }
.facts-table div + div { border-top: 1px solid var(--border); }
.facts-table dt { padding: 12px 16px; background: var(--surface); color: var(--muted); font-size: 14px; }
.facts-table dd { margin: 0; padding: 12px 16px; color: var(--text); font-size: 15px; }

.tips { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.tips li { position: relative; padding: 16px 18px 16px 50px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--text-soft); }
.tips li::before {
	content: "";
	position: absolute;
	left: 18px;
	top: 20px;
	width: 18px;
	height: 18px;
	border-radius: 999px;
	background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f2b544' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.tips strong { display: block; margin-bottom: 4px; color: var(--heading); }
.tips p:last-child { margin-bottom: 0; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.gallery__item { display: block; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface-2); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s var(--ease), opacity 0.2s; }
.gallery__item:hover img { transform: scale(1.04); }

.lightbox { width: min(1100px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: var(--radius); background: var(--surface); color: var(--text); }
.lightbox::backdrop { background: rgba(5, 6, 9, 0.88); backdrop-filter: blur(4px); }
.lightbox img { width: 100%; max-height: 86vh; object-fit: contain; }
.lightbox__close { position: absolute; top: 10px; right: 10px; }

.faq { display: grid; gap: 10px; }
.faq__item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.faq__item[open] { border-color: var(--border-strong); }
.faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 20px;
	color: var(--heading);
	font-weight: 600;
	cursor: pointer;
	list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; color: var(--accent); font: 400 24px/1 var(--font-display); transition: transform 0.2s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__answer { padding: 0 20px 16px; color: var(--text-soft); }
.faq__answer p:last-child { margin-bottom: 0; }

.summary-card { padding: 20px; border: 1px solid var(--border-strong); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.summary-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.summary-card__head strong { display: block; color: var(--heading); font: 700 17px/1.3 var(--font-display); }
.summary-card__rating { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.summary-card__bonus { display: flex; gap: 8px; padding: 12px; border-radius: var(--radius-sm); background: var(--gold-soft); font-size: 14px; font-weight: 600; color: var(--heading); }
.summary-card__bonus .icon { color: var(--accent); margin-top: 2px; }
.summary-card__facts { margin: 0 0 16px; }
.summary-card__facts div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--border); font-size: 14px; }
.summary-card__facts dt { color: var(--muted); }
.summary-card__facts dd { margin: 0; text-align: right; color: var(--text); }

.side-block { margin-top: 20px; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--bg-alt); }
.side-block__title { display: flex; align-items: center; gap: 8px; font-size: 16px; margin-bottom: 12px; }
.side-block__title .icon { color: var(--accent); }
.side-links { margin: 0; padding: 0; list-style: none; }
.side-links li { padding: 10px 0; border-top: 1px solid var(--border); }
.side-links a { display: block; color: var(--text); font-size: 14px; font-weight: 500; line-height: 1.45; }
.side-links a:hover { color: var(--accent); }
.side-links time { color: var(--muted); font-size: 12px; }

/* Entity, spotlight, game
   ------------------------------------------------------------------------ */

.entity-hero { display: grid; gap: 24px; align-items: center; }
@media (min-width: 760px) { .entity-hero { grid-template-columns: auto 1fr; gap: 36px; } }
.entity-hero .lead { color: var(--text-soft); max-width: 720px; }

.spotlight {
	display: grid;
	gap: 28px;
	padding: 28px;
	border: 1px solid rgba(242, 181, 68, 0.4);
	border-radius: var(--radius-lg);
	background: radial-gradient(ellipse 80% 100% at 0% 0%, rgba(242, 181, 68, 0.12), transparent 60%), var(--surface);
}
@media (min-width: 800px) { .spotlight { grid-template-columns: auto 1fr; gap: 40px; padding: 40px; align-items: center; } }
.spotlight__title { font-size: 32px; margin-bottom: 8px; }
.spotlight__intro { color: var(--text-soft); margin: 14px 0 20px; }
.spotlight__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.history-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.history-list li { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 12px 18px; background: var(--surface); }
.history-list li + li { border-top: 1px solid var(--border); }
.history-list time { color: var(--muted); font-size: 14px; }

.game-frame {
	position: relative;
	display: grid;
	place-items: center;
	width: 100%;
	max-width: 960px;
	margin: 0 auto 36px;
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-lg);
	background: radial-gradient(circle at 50% 40%, var(--surface-3), var(--bg));
	overflow: hidden;
}
.game-frame__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.25; filter: blur(2px); }
.game-frame__play {
	position: relative;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	border: 0;
	background: none;
	color: var(--heading);
	font: 600 16px var(--font-body);
	cursor: pointer;
}
.game-frame__play .icon {
	box-sizing: content-box;
	width: 30px;
	height: 30px;
	padding: 22px 20px 22px 24px;
	border-radius: 999px;
	background: var(--gold);
	color: var(--on-gold);
	box-shadow: var(--shadow-gold);
	transition: transform 0.2s var(--ease);
}
.game-frame__play:hover .icon { transform: scale(1.06); }
.game-frame__note { position: absolute; bottom: 12px; left: 0; right: 0; margin: 0; color: var(--muted); font-size: 12px; text-align: center; }
.game-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.game-body { max-width: 780px; margin-inline: auto; }
.game-facts-section { margin: 32px 0; }
.game-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 0; }
.game-facts div { display: flex; flex-direction: column-reverse; gap: 4px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.game-facts dt { color: var(--muted); font-size: 13px; }
.game-facts dd { margin: 0; color: var(--heading); font-size: 17px; font-weight: 600; }

/* Article
   ------------------------------------------------------------------------ */

.article__header { padding-block: 28px 24px; }
@media (min-width: 900px) { .article__header { padding-block: 40px 32px; } }
.article__title { font-size: clamp(30px, 4.5vw, 46px); margin-bottom: 16px; }
.article__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 14px; }
.article__meta > * { display: inline-flex; align-items: center; gap: 6px; }
.article__image { margin: 0 auto 32px; }
/* Never upscale: most imported news images are only 200–400px wide. */
.article__image img { max-width: 100%; margin-inline: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.article__image--float { margin: 0 0 24px; }
.article__image--float + * { margin-top: 0; }
@media (min-width: 640px) {
	.article__image--float { float: right; max-width: 45%; margin: 6px 0 16px 28px; }
}

.casino-callout {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 16px;
	align-items: center;
	margin: 40px 0;
	padding: 20px;
	border: 1px solid rgba(242, 181, 68, 0.35);
	border-radius: var(--radius-lg);
	background: linear-gradient(160deg, rgba(242, 181, 68, 0.08), var(--surface) 60%);
}
.casino-callout__text { display: flex; flex-direction: column; gap: 2px; }
.casino-callout__text .kicker { margin-bottom: 2px; }
.casino-callout__text strong { color: var(--heading); font: 700 18px/1.3 var(--font-display); }
.casino-callout__text span:not(.kicker) { color: var(--text-soft); font-size: 14px; }
.casino-callout__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 700px) {
	.casino-callout { grid-template-columns: auto 1fr auto; }
	.casino-callout__actions { grid-column: auto; }
}

/* Entry content (imported and editor HTML)
   ------------------------------------------------------------------------ */

.entry-content { display: flow-root; color: var(--text-soft); font-size: 17px; line-height: 1.75; }
.entry-content > * { margin-block: 0 1.1em; }
.entry-content h2, .entry-content h3, .entry-content h4 { color: var(--heading); margin: 1.8em 0 0.6em; }
.entry-content h2 { font-size: 26px; }
.entry-content h3 { font-size: 21px; }
.entry-content h4 { font-size: 18px; }
.entry-content > :first-child { margin-top: 0; }
.entry-content strong, .entry-content b { color: var(--text); }
.entry-content a { text-decoration: underline; text-decoration-color: rgba(242, 181, 68, 0.4); text-underline-offset: 3px; }
.entry-content a:hover { text-decoration-color: currentColor; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li { margin-bottom: 0.4em; }
.entry-content li::marker { color: var(--accent); }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); }
.entry-content blockquote { margin-inline: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--gold); color: var(--text); font-style: italic; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { padding: 10px 12px; border: 1px solid var(--border); text-align: left; }
.entry-content th { background: var(--surface); color: var(--heading); }
.entry-content hr { border: 0; border-top: 1px solid var(--border); margin: 2em 0; }
.entry-content p:empty { display: none; }
.entry-content .alignleft { float: left; margin: 0.3em 1.2em 1em 0; }
.entry-content .alignright { float: right; margin: 0.3em 0 1em 1.2em; }
.entry-content .aligncenter { margin-inline: auto; }
.entry-content::after { content: ""; display: table; clear: both; }
@media (max-width: 599px) {
	.entry-content .alignleft, .entry-content .alignright { float: none; margin: 0 0 1em; }
	.entry-content img[style*="float"] { float: none !important; margin: 0 0 1em !important; }
}

/* About block (homepage) */

.about-block { display: grid; gap: 40px; }
@media (min-width: 960px) { .about-block { grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: start; } }
.pillars { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.pillars li { display: flex; gap: 14px; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.pillars .icon { width: 28px; height: 28px; padding: 8px; box-sizing: content-box; border-radius: var(--radius-sm); background: var(--gold-soft); color: var(--accent); }
.pillars strong { display: block; color: var(--heading); margin-bottom: 2px; }
.pillars span { color: var(--muted); font-size: 14px; }

/* Search results */

.search-form + .search-results { margin-top: 32px; }
.search-results { display: grid; gap: 0; margin: 32px 0 0; padding: 0; list-style: none; }
.search-result { display: flex; gap: 18px; align-items: flex-start; padding: 20px 0; border-top: 1px solid var(--border); }
.search-result .kicker { margin-bottom: 4px; font-size: 11px; }
.search-result__title { margin: 0 0 6px; font-size: 19px; }
.search-result__title a { color: var(--heading); }
.search-result__title a:hover { color: var(--accent); }
.search-result p { margin: 0; color: var(--muted); font-size: 15px; }

/* Pagination */

.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--border);
	border-radius: 999px;
	background: var(--surface);
	color: var(--text-soft);
	font-weight: 600;
}
.pagination a.page-numbers:hover { border-color: var(--accent); color: var(--accent); }
.pagination .page-numbers.current { background: var(--gold); border-color: var(--accent); color: var(--on-gold); }
.pagination .dots { border: 0; background: none; }

/* Comments
   ------------------------------------------------------------------------ */

.comments { margin-top: 8px; }
.comment-list { margin: 0 0 32px; padding: 0; list-style: none; }
.comment-list .children { list-style: none; padding-left: 24px; border-left: 1px solid var(--border); }
.comment-body { padding: 18px 0; border-bottom: 1px solid var(--border); }
.comment-author { display: flex; align-items: center; gap: 10px; color: var(--heading); font-weight: 600; }
.comment-author .avatar { border-radius: 999px; }
.comment-author .says { display: none; }
.comment-metadata { margin: 2px 0 10px 50px; font-size: 13px; }
.comment-metadata a { color: var(--muted); }
.comment-content { margin-left: 50px; color: var(--text-soft); }
.reply { margin-left: 50px; font-size: 14px; }

.comment-respond { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.comment-reply-title { font-size: 20px; margin-bottom: 12px; }
.comment-form { display: grid; gap: 14px; }
.comment-form p { margin: 0; }
.comment-form label { display: block; margin-bottom: 6px; color: var(--text-soft); font-size: 14px; font-weight: 500; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-sm);
	background: var(--bg);
	color: var(--text);
	font: 16px var(--font-body);
}
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--gold-soft); }
.comment-notes, .logged-in-as, .comment-form-cookies-consent { color: var(--muted); font-size: 13px; }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.comment-form-cookies-consent label { display: inline; margin: 0; font-size: 13px; color: var(--muted); }

/* Footer
   ------------------------------------------------------------------------ */

.site-footer { padding-top: 56px; background: var(--footer-bg); border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }
.site-footer__grid { display: grid; gap: 32px; padding-bottom: 40px; grid-template-columns: repeat(2, 1fr); }
.site-footer__about { grid-column: 1 / -1; max-width: 360px; }
.site-footer__about p { margin-top: 16px; }
@media (min-width: 900px) {
	.site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; }
	.site-footer__about { grid-column: auto; }
}
.site-footer__heading { margin-bottom: 14px; color: var(--heading); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
.site-footer__links { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.site-footer__links a { color: var(--muted); }
.site-footer__links a:hover { color: var(--accent); }

.rg-bar { display: flex; gap: 16px; align-items: center; padding: 18px 0; border-top: 1px solid var(--border); }
.rg-bar p { margin: 0; font-size: 13px; line-height: 1.6; }
.rg-bar a { color: var(--text-soft); text-decoration: underline; text-underline-offset: 2px; }
.rg-bar__badge {
	display: grid;
	place-items: center;
	flex: none;
	width: 42px;
	height: 42px;
	border: 2px solid var(--danger);
	border-radius: 999px;
	color: var(--heading);
	font: 700 13px/1 var(--font-display);
}
.site-footer__bottom { padding: 18px 0 28px; border-top: 1px solid var(--border); font-size: 13px; }
.site-footer__bottom p { margin: 0; }

/* Motion preferences */

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

/* Single-column grids must not grow past the viewport on long content. */
.layout-sidebar, .casino-hero__grid, .split, .about-block, .news-layout, .entity-hero, .spotlight { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) {
	.layout-sidebar { grid-template-columns: minmax(0, 1fr) 340px; }
	.casino-hero__grid { grid-template-columns: auto minmax(0, 1fr) 360px; }
}
@media (min-width: 960px) {
	.split { grid-template-columns: 1fr 1fr; }
	.about-block { grid-template-columns: 1.3fr 1fr; }
	.news-layout { grid-template-columns: 1.2fr 1fr; }
}
@media (min-width: 760px) { .entity-hero { grid-template-columns: auto 1fr; } }
@media (min-width: 800px) { .spotlight { grid-template-columns: auto 1fr; } }

/* The hero already provides space above the first section. */
.hero + .section { padding-top: 32px; }

/* ==========================================================================
   Light theme (html[data-theme="light"], set by the header toggle)
   ========================================================================== */

:root[data-theme="light"] {
	--bg: #f6f5f1;
	--bg-alt: #efede6;
	--surface: #ffffff;
	--surface-2: #f4f2ec;
	--surface-3: #e9e6dd;
	--border: #e4e0d5;
	--border-strong: #d3cec1;
	--text: #1b1e25;
	--text-soft: #3e4350;
	--muted: #6a7080;
	--heading: #11141a;
	--accent: #9a6100;
	--accent-strong: #7a4c00;
	--gold-soft: rgba(201, 138, 23, 0.12);
	--emerald: #0d8a5c;
	--emerald-soft: rgba(13, 138, 92, 0.1);
	--danger: #c8323a;
	--hover-bg: rgba(17, 20, 26, 0.05);
	--ghost-bg: rgba(255, 255, 255, 0.7);
	--grid-line: rgba(17, 20, 26, 0.045);
	--ring: rgba(17, 20, 26, 0.1);
	--header-bg: rgba(246, 245, 241, 0.82);
	--header-bg-solid: rgba(246, 245, 241, 0.95);
	--panel-top: rgba(255, 255, 255, 0.96);
	--panel-bottom: rgba(250, 249, 245, 0.96);
	--panel-shadow: rgba(60, 50, 20, 0.18);
	--footer-bg: #ebe8df;
	--shadow: 0 1px 2px rgba(17, 20, 26, 0.04), 0 10px 30px -14px rgba(60, 50, 20, 0.25);
	--title-gradient: linear-gradient(100deg, #c2800f, #a86400 50%, #b4520f);

	color-scheme: light;
}

/* Gold glows read as dirty on light backgrounds; soften them. */
:root[data-theme="light"] .hero::before {
	background:
		radial-gradient(ellipse 45% 50% at 78% 30%, rgba(242, 181, 68, 0.22), transparent 70%),
		radial-gradient(ellipse 35% 45% at 10% 10%, rgba(52, 211, 153, 0.1), transparent 70%);
}
:root[data-theme="light"] .casino-row.is-top { background: linear-gradient(180deg, rgba(242, 181, 68, 0.1), var(--surface) 60%); }
:root[data-theme="light"] .logo-box { box-shadow: 0 0 0 1px var(--ring); }
:root[data-theme="light"] .rg-bar__badge { border-color: var(--danger); }

/* Theme toggle */

/* Shows the theme you will switch to: sun in dark mode, moon in light mode. */
.theme-toggle .icon-moon { display: none; }
:root[data-theme="light"] .theme-toggle .icon-moon { display: block; }
:root[data-theme="light"] .theme-toggle .icon-sun { display: none; }

/* LCB items without a page here: logo only, not a link. */
.tile--plain:hover { border-color: var(--border); color: var(--text-soft); transform: none; }

/* "Only casinos available in {country}" switch (template-parts/geo-toggle.php) */
[data-geo-empty][hidden] { display: none; }
.geo-toggle { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; color: var(--text-soft); font-size: 14px; cursor: pointer; user-select: none; }
.section__head:has(.geo-toggle) { flex-wrap: wrap; }
.section__head .geo-toggle { margin: 0 0 0 auto; }
@media (max-width: 639px) {
	.section__head .geo-toggle { order: 3; flex-basis: 100%; margin: 0; }
}
.geo-toggle strong { color: var(--heading); }
.geo-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.geo-toggle__track { position: relative; flex: none; width: 38px; height: 22px; border: 1px solid var(--border-strong); border-radius: 999px; background: var(--surface-3); transition: background 0.15s, border-color 0.15s; }
.geo-toggle__track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 999px; background: var(--muted); transition: transform 0.15s var(--ease), background 0.15s; }
.geo-toggle input:checked + .geo-toggle__track { border-color: var(--accent); background: var(--gold-soft); }
.geo-toggle input:checked + .geo-toggle__track::after { transform: translateX(16px); background: var(--accent); }
.geo-toggle input:focus-visible + .geo-toggle__track { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Bonuses per visitor country (cr_bonus_choices(), data-geo-codes): main.js picks. */
[data-geo-pick][hidden], [data-geo-pick] [hidden], [data-geo-filter] > [hidden], [data-geo-none][hidden] { display: none; }
