/* ===================================
   RESET & BASE STYLES
   =================================== */

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

/* Prevent deprecated h1 auto-sizing in sectioning elements */
h1 {
	font-size: 2em;
}

:root {
	/* Colors */
	--color-primary: #ff9500;
	--color-primary-hover: #ff7c18;
	--color-dark: #1c1c1c;
	--color-dark-alt: #2d323b;
	--color-light: #f0f0f547;
	--color-white: #ffffff;
	--color-text: #1c1c1c;
	--color-text-secondary: #797b8b;
	--color-text-muted: #888a98;
	--color-border: #e5e5e5;

	/* Gradients */
	--gradient-hero: linear-gradient(270.34deg, #cbfff1 51.82%, #beddff 91.15%);

	/* Typography */
	--font-primary: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	--font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;

	/* Spacing */
	--container-max-width: 1440px;
	--container-padding: 20px;
	--section-padding-mobile: 40px 0;
	--section-padding-tablet: 60px 0;
	--section-padding-desktop: 80px 0;

	/* Transitions */
	--transition-speed: 0.3s;
	--transition-easing: ease;

	/* Z-index layers */
	--z-header: 999;
	--z-modal: 1000;
	--z-tooltip: 1001;
    /* Layout offsets */
    --header-offset: 126px;
}

html {
	font-size: 16px;
	scroll-behavior: smooth;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

body {
	font-family: var(--font-primary);
	font-size: 16px;
	line-height: 1.6;
	color: var(--color-text);
	background-color: var(--color-white);
	overflow-x: hidden;
	position: relative;
	width: 100%;
}

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

a {
	color: inherit;
	text-decoration: none;
	transition: color var(--transition-speed) var(--transition-easing);
}

button {
	font-family: inherit;
	cursor: pointer;
	border: none;
	background: none;
}

ul, ol {
	list-style-type: disc;
	margin-left: 50px;
}

/* ===================================
   UTILITIES
   =================================== */

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Add vertical rhythm between sections by spacing containers,
   but keep the very first content container flush */
.content-section > .container {
    margin-top: 0;
    margin-bottom: 40px;
    padding-top: 40px;
    padding-bottom: 40px;
}

.content-section:first-of-type > .container {
    margin-top: 0;
    padding-top: 0;
}

@media (min-width: 768px) {
	.container {
		--container-padding: 60px;
	}
}

@media (min-width: 1200px) {
	.container {
		--container-padding: 80px;
	}
}

.section {
	padding: var(--section-padding-mobile);
}

@media (min-width: 768px) {
	.section {
		padding: var(--section-padding-tablet);
	}
}

@media (min-width: 1200px) {
	.section {
		padding: var(--section-padding-desktop);
	}
}

.visually-hidden,
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ===================================
   HEADER / NAVIGATION
   =================================== */

.header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background: var(--color-white);
	z-index: var(--z-header);
}

.header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 20px;
	max-width: var(--container-max-width);
	margin: 0 auto;
	height: 80px;
	min-height: 80px;
}

.logo-link {
	display: flex;
	align-items: center;
	position: relative;
	min-width: 280px;
	min-height: 80px;
}

.logo {
	display: flex;
	align-items: center;
	height: 200px;
	width: 200px;
	min-height: 200px;
	min-width: 200px;
	position: absolute;
	margin-left: -64px;
}

.logo canvas {
	display: block;
	width: 200px;
	height: 200px;
	min-width: 200px;
	min-height: 200px;
}

.logo__image {
	width: 160px;
	max-width: 100%;
	height: auto;
	margin-top: -4px;
}

@media (max-width: 768px) {
	.header-content {
		padding: 10px;
		height: 50px;
		min-height: 60px;
		border-bottom: 1px #EEE solid;
		box-shadow: 0 0 30px rgba(0,0,0,0.15);
	}
	.article-wrapper {
		margin-top: 90px;
	}
	.homepage-section {
		padding: 10px;
	}
	.section-title {
		font-size: 25px;
	}
	.section-subtitle {
		font-size: 17px;
		line-height: 21px;
		margin-top: 10px;
	}
	.logo-link {
		min-width: auto;
		height: 50px;
		min-height: 50px;
	}
	.logo {
		width: 50px;
		height: 50px;
		min-width: 50px;
		min-height: 50px;
		margin-left: 0;
	}
	.logo canvas {
		width: 50px;
		height: 50px;
		min-width: 50px;
		min-height: 50px;
	}
	.logo #logo-preview {
		width: 48px !important;
		height: 48px !important;
		margin-left: 0 !important;
	}
	.logo-link > img {
		margin-left: 53px !important;
		width: 133px !important;
		height: 44px !important;
	}
}

@media (min-width: 768px) {
	.logo__image {
		width: 228px;
		margin-top: -8px;
		margin-left: -11px;
	}
}

/* Desktop Navigation */
.nav-desktop {
	display: none;
}

@media (min-width: 768px) {
	.nav-desktop {
		display: flex;
		align-items: center;
		gap: 10px;
		padding: 10px;
		border-radius: 50px;
	}
}

.nav-link {
	color: var(--color-dark);
	font-size: 17px;
	font-weight: 500;
	padding: 8px 16px;
	border-radius: 50px;
	white-space: nowrap;
	transition: all var(--transition-speed) var(--transition-easing);
}

.nav-link:hover {
	background: var(--color-light);
	color: var(--color-dark);
}

.nav-link.active {
	background: #000;
	color: #FFF;
	padding: 7px 12px 9px 11px;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 15px;
}

.search-toggle {
	background: none;
	border: none;
	color: var(--color-dark);
	cursor: pointer;
	padding: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color var(--transition-speed) var(--transition-easing);
}

.search-toggle:hover {
	color: var(--color-primary);
}

.language-dropdown {
	position: relative;
}

.language-toggle {
	background: none;
	border: none;
	color: var(--color-dark);
	cursor: pointer;
	padding: 8px 12px;
	display: flex;
	align-items: center;
	gap: 6px;
	border-radius: 8px;
	transition: all var(--transition-speed) var(--transition-easing);
}

.language-toggle:hover {
	background: var(--color-light);
}

.language-text {
	font-size: 14px;
	font-weight: 600;
}

.language-arrow {
	transition: transform var(--transition-speed) var(--transition-easing);
}

.language-menu.active + .language-toggle .language-arrow {
	transform: rotate(180deg);
}

.language-menu {
	position: absolute;
	top: 100%;
	right: 0;
	margin-top: 10px;
	background: var(--color-white);
	border-radius: 12px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
	padding: 10px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all var(--transition-speed) var(--transition-easing);
	z-index: 1000;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 4px;
	width: auto;
	min-width: min(600px, calc(100vw - 40px));
}

.language-menu.active {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.language-option {
	display: block;
	padding: 12px 16px;
	color: var(--color-dark);
	font-size: 16px;
	font-weight: 400;
	border-radius: 8px;
	transition: all var(--transition-speed) var(--transition-easing);
	text-align: center;
	white-space: nowrap;
}

.language-option:hover {
	background: var(--color-light);
	color: var(--color-primary);
}

.language-option.active {
	background: var(--color-light);
	color: var(--color-primary);
	font-weight: 600;
}

@media (max-width: 768px) {
	.language-menu {
		grid-template-columns: repeat(3, 1fr);
		min-width: min(340px, calc(100vw - 40px));
		max-height: 60vh;
		overflow-y: auto;
	}

	.language-option {
		min-height: 44px;
		display: flex;
		align-items: center;
		justify-content: center;
	}
}

@media (max-width: 480px) {
	.language-menu {
		grid-template-columns: repeat(2, 1fr);
		min-width: min(280px, calc(100vw - 40px));
		right: 0;
	}
}

@media (max-width: 360px) {
	.language-menu {
		grid-template-columns: repeat(2, 1fr);
		right: 0;
		min-width: calc(100vw - 40px);
	}
}

.search-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 100vh;
	background: rgba(0, 0, 0, 0.9);
	z-index: 9999;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding-top: 120px;
	opacity: 0;
	visibility: hidden;
	transition: all var(--transition-speed) var(--transition-easing);
}

.search-overlay.active {
	opacity: 1;
	visibility: visible;
}

.search-overlay-content {
	width: 90%;
	max-width: 700px;
	position: relative;
}

.search-close {
	position: absolute;
	top: -60px;
	right: 0;
	background: none;
	border: none;
	color: white;
	cursor: pointer;
	padding: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: opacity var(--transition-speed) var(--transition-easing);
}

.search-close:hover {
	opacity: 0.7;
}

.search-wrapper {
	position: relative;
	width: 100%;
}

.search-input {
	width: 100%;
	padding: 20px 60px 20px 24px;
	font-size: 20px;
	border: none;
	border-radius: 12px;
	background: white;
	color: var(--color-dark);
	outline: none;
}

.search-input::placeholder {
	color: rgba(28, 28, 28, 0.4);
}

.search-submit {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	color: var(--color-dark);
	cursor: pointer;
	padding: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color var(--transition-speed) var(--transition-easing);
}

.search-submit:hover {
	color: var(--color-primary);
}

.search-results {
	margin-top: 24px;
	background: rgba(255, 255, 255, 0.06);
	border-radius: 16px;
	padding: 8px;
	max-height: 420px;
	overflow-y: auto;
	box-shadow: 0 12px 42px rgba(0, 0, 0, 0.35);
	backdrop-filter: blur(6px);
}

.search-result-item {
	display: block;
	padding: 16px 20px;
	border-radius: 12px;
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
	transition: background var(--transition-speed) var(--transition-easing), color var(--transition-speed) var(--transition-easing);
}

.search-result-item + .search-result-item {
	margin-top: 8px;
}

.search-result-item:hover,
.search-result-item:focus {
	background: rgba(255, 255, 255, 0.18);
	color: #ffffff;
}

.search-result-type {
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.6);
	margin-bottom: 6px;
}

.search-result-title {
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
	margin-bottom: 4px;
}

.search-result-desc {
	font-size: 14px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.72);
	margin: 0;
}

.search-no-results {
	padding: 24px;
	border-radius: 14px;
	text-align: center;
	font-size: 16px;
	color: rgba(255, 255, 255, 0.75);
	background: rgba(255, 255, 255, 0.04);
}

@media (max-width: 768px) {
	.search-toggle {
		padding: 8px;
		min-width: 44px;
		min-height: 44px;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.language-toggle {
		padding: 8px 10px;
		min-width: 44px;
		min-height: 44px;
	}

	.language-text {
		display: none;
	}

	.language-toggle svg {
		width: 20px;
		height: 20px;
	}

	.search-input {
		font-size: 16px;
		padding: 16px 50px 16px 20px;
	}

	.search-overlay {
		padding-top: 80px;
	}

	.search-results {
		max-height: calc(100vh - 220px);
	}

	.search-result-item {
		padding: 14px 16px;
	}

	.search-result-title {
		font-size: 16px;
	}

	.search-result-desc {
		font-size: 13px;
	}
}

.btn-signup {
	display: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
	display: block;
	width: 40px;
	height: 40px;
	position: relative;
	z-index: 1001;
}

@media (min-width: 768px) {
	.mobile-menu-toggle {
		display: none;
	}
}

@media (min-width: 768px) and (max-width: 1400px) {
	.nav-desktop {
		display: none;
	}

	.mobile-menu-toggle {
		display: block;
	}
}

.mobile-menu-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--color-dark);
	margin: 5px auto;
	transition: all var(--transition-speed) var(--transition-easing);
}

/* Mobile Menu */
.nav-mobile {
	display: none;
	position: fixed;
	top: var(--header-offset, 121px);
	left: 0;
	right: 0;
	width: 100%;
	height: calc(100vh - var(--header-offset, 121px));
	background: var(--color-white);
	flex-direction: column;
	padding: 20px;
	z-index: 998;
	overflow-y: auto;
}

.nav-mobile.active {
	display: flex;
}

.nav-mobile-links {
	display: flex;
	flex-direction: column;
	gap: 0;
	width: 100%;
	flex: 1;
}

.nav-mobile-link {
	font-size: 18px;
	font-weight: 500;
	color: var(--color-dark);
	padding: 16px 0;
	border-bottom: 1px solid var(--color-light);
	display: block;
	text-align: left;
}

.nav-mobile-actions {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding-top: 20px;
	border-top: 2px solid var(--color-light);
}

/* Crypto Ticker */
.crypto-ticker-container {
	width: 100%;
	background: #1a1a1a;
	color: #fff;
	overflow: hidden;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	border-bottom: 1px solid #333;
	/* Pre-calculated heights to prevent layout shift on load */
	min-height: 40.2px;
}

@media (max-width: 768px) {
	.crypto-ticker-container {
		min-height: 30px;
	}
}

.crypto-ticker-empty {
	padding: 12px 16px;
	text-align: center;
	font-size: 12px;
	color: #ff4444;
	background: rgba(255, 68, 68, 0.1);
}

.crypto-ticker-wrapper {
	overflow: hidden;
	position: relative;
	padding: 8px 0;
}

.crypto-ticker {
	display: flex;
	gap: 24px;
	padding: 0 12px;
	width: max-content;
	will-change: transform;
	animation: crypto-ticker-scroll var(--ticker-duration, 60s) linear infinite;
}

@keyframes crypto-ticker-scroll {
	from { transform: translate3d(0, 0, 0); }
	to { transform: translate3d(-50%, 0, 0); }
}

.crypto-ticker-wrapper:hover .crypto-ticker,
.crypto-ticker-wrapper:focus-within .crypto-ticker {
	animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
	.crypto-ticker { animation: none; }
}

.crypto-ticker-item {
	display: flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
	flex-shrink: 0;
}

.crypto-ticker-icon {
	width: 20px;
	height: 20px;
	border-radius: 50%;
}

.crypto-ticker-symbol {
	font-weight: 600;
	font-size: 13px;
	color: #fff;
}

.crypto-ticker-sparkline {
	margin-left: 6px;
	margin-right: 2px;
	vertical-align: middle;
	flex-shrink: 0;
}

.crypto-ticker-price {
	font-size: 13px;
	color: #ddd;
	margin-left: 4px;
	font-variant-numeric: tabular-nums;
	font-feature-settings: 'tnum' 1, 'lnum' 1;
}

.crypto-ticker-change {
	font-size: 12px;
	font-weight: 500;
	padding: 2px 6px;
	border-radius: 3px;
	margin-left: 4px;
	font-variant-numeric: tabular-nums;
	font-feature-settings: 'tnum' 1, 'lnum' 1;
}

.crypto-ticker-change.positive {
	color: #00ff88;
	background: rgba(0, 255, 136, 0.1);
}

.crypto-ticker-change.negative {
	color: #ff4444;
	background: rgba(255, 68, 68, 0.1);
}

.crypto-ticker-change.neutral {
	color: #888;
	background: rgba(136, 136, 136, 0.1);
}

/* Hover pause handled in JS */

@media (max-width: 768px) {
	.crypto-ticker {
		gap: 16px;
	}

	.crypto-ticker-icon {
		width: 16px;
		height: 16px;
	}

	.crypto-ticker-symbol,
	.crypto-ticker-price {
		font-size: 11px;
	}

	.crypto-ticker-change {
		font-size: 10px;
		padding: 1px 4px;
	}

	.crypto-ticker-wrapper {
		padding: 6px 0;
	}

	.crypto-ticker-sparkline {
		width: 45px;
		height: 16px;
	}
}

/* Desktop Dropdown Menus */
.nav-item {
	position: relative;
	display: inline-block;
}

.nav-item.has-dropdown:hover .dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	margin-top: 10px;
	background: var(--color-white);
	border-radius: 12px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
	min-width: 240px;
	padding: 10px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all var(--transition-speed) var(--transition-easing);
	z-index: 1000;
}

.dropdown-link {
	display: block;
	padding: 12px 16px;
	color: var(--color-dark);
	font-size: 16px;
	font-weight: 400;
	border-radius: 8px;
	transition: all var(--transition-speed) var(--transition-easing);
}

a.dropdown-link {
	padding: 5px 10px;
}

.dropdown-link:hover {
	background: var(--color-light);
	color: var(--color-primary);
}

/* Mobile Submenu */
.nav-mobile-item {
	width: 100%;
	border-bottom: 1px solid var(--color-light);
}

.nav-mobile-link.has-submenu {
	position: relative;
	cursor: pointer;
	background: none;
	border: none;
	color: var(--color-dark);
	font-family: inherit;
	font-size: 18px;
	font-weight: 500;
	padding: 16px 0;
	width: 100%;
	text-align: left;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.nav-mobile-link.has-submenu::after {
	content: '▼';
	display: inline-block;
	font-size: 12px;
	transition: transform var(--transition-speed) var(--transition-easing);
}

.nav-mobile-item.active .has-submenu::after {
	transform: rotate(180deg);
}

.nav-mobile-submenu {
	display: none;
	flex-direction: column;
	gap: 0;
	padding-left: 20px;
	padding-bottom: 12px;
}

.nav-mobile-item.active .nav-mobile-submenu {
	display: flex;
}

.nav-mobile-sublink {
	font-size: 16px;
	font-weight: 400;
	color: rgba(28, 28, 28, 0.7);
	padding: 12px 0;
	transition: color var(--transition-speed) var(--transition-easing);
	display: block;
}

.nav-mobile-sublink:hover {
	color: var(--color-primary);
}

/* ===================================
   MAIN WRAPPER
   =================================== */

.main-wrapper {
	margin-top: var(--header-offset, 126px);
}

/* ===================================
   CTA BUTTONS
   =================================== */

.homepage-hero {
	position: relative;
	padding: clamp(72px, 14vw, 140px) 0 clamp(56px, 10vw, 112px);
	background: var(--gradient-hero);
	color: #041128;
	overflow: hidden;
}

.homepage-hero::after {
	content: '';
	position: absolute;
	inset: 0;
	opacity: 0.35;
	background:
		radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.65), transparent 55%),
		radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.45), transparent 55%);
	pointer-events: none;
}

.homepage-hero .container {
	position: relative;
	z-index: 1;
}

.homepage-hero__inner {
	display: grid;
	gap: clamp(32px, 6vw, 72px);
	align-items: flex-start;
}

@media (min-width: 1024px) {
	.homepage-hero__inner {
		grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	}
}

.homepage-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	border-radius: 9999px;
	background: rgba(4, 17, 40, 0.08);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.homepage-hero__headline {
	margin-top: 16px;
	font-size: clamp(36px, 5vw, 56px);
	line-height: 1.05;
	font-weight: 700;
}

.homepage-hero__primary p {
	margin: 16px 0 0;
	font-size: 17px;
	line-height: 1.7;
}

.homepage-hero__promise-title {
	margin: 32px 0 12px;
	font-size: 18px;
	font-weight: 700;
}

.homepage-hero__promise {
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 10px;
}

.homepage-hero__promise li {
	font-size: 15px;
	font-weight: 600;
	background: rgba(4, 17, 40, 0.08);
	border-radius: 12px;
	padding: 10px 14px;
}

.homepage-hero__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.homepage-hero__secondary {
	display: grid;
	gap: 28px;
}

.homepage-hero__stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 16px;
}

.homepage-hero__stat {
	background: rgba(4, 17, 40, 0.08);
	border-radius: 16px;
	padding: 18px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.homepage-hero__stat-value {
	font-size: 28px;
	font-weight: 700;
}

.homepage-hero__stat-label {
	font-size: 14px;
	font-weight: 500;
	opacity: 0.8;
}

.homepage-hero__links,
.homepage-hero__support {
	background: rgba(255, 255, 255, 0.78);
	border-radius: 18px;
	padding: 20px 22px;
	box-shadow: 0 18px 45px rgba(4, 17, 40, 0.08);
}

.homepage-hero__links-title,
.homepage-hero__support-title {
	margin: 0 0 12px;
	font-size: 16px;
	font-weight: 700;
}

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

.homepage-hero__links-list a {
	color: inherit;
	text-decoration: none;
	font-weight: 500;
	transition: opacity var(--transition-speed) var(--transition-easing);
}

.homepage-hero__links-list a:hover {
	opacity: 0.7;
}

.homepage-hero__disclosure {
	margin-top: 40px;
	font-size: 12px;
	line-height: 1.6;
	color: rgba(4, 17, 40, 0.7);
}

@media (max-width: 768px) {
	.homepage-hero__links,
	.homepage-hero__support {
		padding: 18px;
	}
}

.homepage-hero {
	position: relative;
	padding: clamp(72px, 14vw, 140px) 0 clamp(56px, 10vw, 112px);
	background: var(--gradient-hero);
	color: #041128;
	overflow: hidden;
}

.homepage-hero::after {
	content: '';
	position: absolute;
	inset: 0;
	opacity: 0.35;
	background:
		radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.65), transparent 55%),
		radial-gradient(circle at 80% 10%, rgba(255, 255, 255, 0.45), transparent 55%);
	pointer-events: none;
}

.homepage-hero .container {
	position: relative;
	z-index: 1;
}

.homepage-hero__inner {
	display: grid;
	gap: clamp(32px, 6vw, 72px);
	align-items: flex-start;
}

@media (min-width: 1024px) {
	.homepage-hero__inner {
		grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	}
}

.homepage-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	border-radius: 9999px;
	background: rgba(4, 17, 40, 0.08);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.homepage-hero__headline {
	margin-top: 16px;
	font-size: clamp(36px, 5vw, 56px);
	line-height: 1.05;
	font-weight: 700;
}

.homepage-hero__primary p {
	margin: 16px 0 0;
	font-size: 17px;
	line-height: 1.7;
}

.homepage-hero__promise {
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 10px;
}

.homepage-hero__promise li {
	font-size: 15px;
	font-weight: 600;
	background: rgba(4, 17, 40, 0.08);
	border-radius: 12px;
	padding: 10px 14px;
}

.homepage-hero__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.homepage-hero__secondary {
	display: grid;
	gap: 28px;
}

.homepage-hero__stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 16px;
}

.homepage-hero__stat {
	background: rgba(4, 17, 40, 0.08);
	border-radius: 16px;
	padding: 18px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.homepage-hero__stat-value {
	font-size: 28px;
	font-weight: 700;
}

.homepage-hero__stat-label {
	font-size: 14px;
	font-weight: 500;
	opacity: 0.8;
}

.homepage-hero__links,
.homepage-hero__support {
	background: rgba(255, 255, 255, 0.78);
	border-radius: 18px;
	padding: 20px 22px;
	box-shadow: 0 18px 45px rgba(4, 17, 40, 0.08);
}

.homepage-hero__links-title,
.homepage-hero__support-title {
	margin: 0 0 12px;
	font-size: 16px;
	font-weight: 700;
}

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

.homepage-hero__links-list a {
	color: inherit;
	text-decoration: none;
	font-weight: 500;
	transition: opacity var(--transition-speed) var(--transition-easing);
}

.homepage-hero__links-list a:hover {
	opacity: 0.7;
}

.homepage-hero__disclosure {
	margin-top: 40px;
	font-size: 12px;
	line-height: 1.6;
	color: rgba(4, 17, 40, 0.7);
}

@media (max-width: 768px) {
	.homepage-hero__links,
	.homepage-hero__support {
		padding: 18px;
	}
}

.hero-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 30px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 600;
	transition: transform var(--transition-speed) var(--transition-easing), box-shadow var(--transition-speed) var(--transition-easing);
}

.hero-btn-primary {
	background: var(--color-primary);
	color: var(--color-white);
	box-shadow: 0 8px 22px rgba(255, 149, 0, 0.22);
}

.hero-btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(255, 149, 0, 0.3);
}

.hero-btn-secondary {
	background: rgba(255, 149, 0, 0.12);
	color: var(--color-primary);
}

.hero-btn-secondary:hover {
	background: rgba(255, 149, 0, 0.18);
	transform: translateY(-2px);
}

/* ===================================
   FEATURES SECTION
   =================================== */

.features-section {
	background: var(--color-light);
	padding: 60px 0;
}

@media (min-width: 768px) {
	.features-section {
		padding: 80px 0;
	}
}

@media (min-width: 1200px) {
	.features-section {
		padding: 100px 0;
	}
}

.features-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
}

@media (min-width: 768px) {
	.features-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 40px;
	}
}

@media (min-width: 1200px) {
	.features-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 50px;
	}
}

.feature-card {
	background: var(--color-white);
	padding: 40px;
	border-radius: 20px;
	transition: transform var(--transition-speed) var(--transition-easing);
}

.feature-card:hover {
	transform: translateY(-5px);
}

.feature-icon {
	width: 60px;
	height: 60px;
	margin-bottom: 20px;
}

.feature-title {
	font-size: 24px;
	font-weight: 600;
	margin-bottom: 15px;
}

.feature-description {
	font-size: 16px;
	line-height: 1.6;
	color: var(--color-text-secondary);
}

/* ===================================
   PRODUCTS SECTION
   =================================== */

.products-section {
	background: var(--color-white);
	padding: 60px 0;
}

@media (min-width: 768px) {
	.products-section {
		padding: 80px 0;
	}
}

@media (min-width: 1200px) {
	.products-section {
		padding: 100px 0;
	}
}

.section-header {
	text-align: center;
	margin-bottom: 20px;
}

.section-title {
	font-size: 28px;
	font-weight: 700;
	line-height: 1.1;
	text-align: left;
	text-transform: none;
	padding-bottom: 0;
	margin-bottom: 0;
}

@media (min-width: 768px) {
	.section-title {
		font-size: 37px;
	}
}

@media (min-width: 1200px) {
	.section-title {
		font-size: 37px;
	}
}

.section-subtitle {
    font-size: 18px;
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: 0;
    text-align: left;
}

.products-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
}

@media (min-width: 768px) {
	.products-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 40px;
	}
}

@media (min-width: 1200px) {
	.products-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.product-card {
	background: var(--color-light);
	border-radius: 20px;
	overflow: hidden;
	transition: transform var(--transition-speed) var(--transition-easing);
}

.product-card:hover {
	transform: translateY(-5px);
}

.product-image {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.product-content {
	padding: 30px;
}

.product-title {
	font-size: 24px;
	font-weight: 600;
	margin-bottom: 15px;
}

.product-description {
	font-size: 16px;
	line-height: 1.6;
	color: var(--color-text-secondary);
	margin-bottom: 20px;
}

.product-link {
	color: var(--color-primary);
	font-weight: 500;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.product-link:hover {
	color: var(--color-primary-hover);
}

/* ===================================
   STATS SECTION
   =================================== */

.stats-section {
	background: var(--color-dark);
	color: var(--color-white);
	padding: 60px 0;
}

@media (min-width: 768px) {
	.stats-section {
		padding: 80px 0;
	}
}

.stats-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	text-align: center;
}

@media (min-width: 768px) {
	.stats-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 50px;
	}
}

.stat-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.stat-value {
	font-size: 48px;
	font-weight: 700;
	line-height: 1;
	color: var(--color-primary);
}

@media (min-width: 768px) {
	.stat-value {
		font-size: 60px;
	}
}

.stat-label {
	font-size: 18px;
	color: var(--color-text-muted);
}

/* ===================================
   NEWS SECTION
   =================================== */

.news-section {
	background: var(--color-white);
	padding: 60px 0;
	min-height: 800px; /* Reserve space to prevent layout shift */
}

@media (min-width: 768px) {
	.news-section {
		padding: 80px 0;
	}
}

@media (min-width: 1200px) {
	.news-section {
		padding: 100px 0;
	}
}

/* Featured News */
.news-featured {
	margin-bottom: 50px;
}

.news-featured-card {
	background: var(--color-light);
	border-radius: 20px;
	overflow: hidden;
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
}

@media (min-width: 768px) {
	.news-featured-card {
		grid-template-columns: 1.5fr 1fr;
	}
}

.news-featured-image {
	display: block;
	width: 100%;
	height: 300px;
	overflow: hidden;
}

@media (min-width: 768px) {
	.news-featured-image {
		height: 100%;
		max-height: 400px;
	}
}

.news-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.news-featured-content {
	padding: 30px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

@media (min-width: 768px) {
	.news-featured-content {
		padding: 40px;
	}
}

.news-featured-title {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 10px;
}
.news-featured-title a { color: inherit; text-decoration: none; }

@media (min-width: 768px) {
	.news-featured-title {
		font-size: 28px;
	}
}

.news-featured-meta {
	font-size: 14px;
	color: var(--color-text-muted);
	margin-bottom: 15px;
}

.news-featured-description {
	font-size: 16px;
	line-height: 1.6;
	color: var(--color-text-secondary);
	margin-bottom: 20px;
}

.news-featured-link {
	color: var(--color-primary);
	font-weight: 600;
	font-size: 16px;
	display: inline-block;
}

.news-featured-link:hover {
	color: var(--color-primary-hover);
}

/* News Grid */
.news-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
}

/* Cap the homepage news grid at 4 cards (1 featured + 4 grid = 5 items). */
.news-grid .news-card:nth-child(n+5) { display: none; }

@media (min-width: 768px) {
	.news-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 30px;
	}
}

@media (min-width: 1200px) {
	.news-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 30px;
	}
}

.news-card {
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: 16px;
	overflow: hidden;
	transition: transform var(--transition-speed) var(--transition-easing), box-shadow var(--transition-speed) var(--transition-easing);
}

.news-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.news-card-image {
	display: block;
	width: 100%;
	height: 200px;
	aspect-ratio: 16/9;
	overflow: hidden;
	background: var(--color-neutral-100); /* Placeholder background */
}

.news-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 16/9;
	transition: transform var(--transition-speed) var(--transition-easing);
}

.news-card:hover .news-card-image img {
	transform: scale(1.05);
}

.news-card-content {
	padding: 20px;
}

.news-card-title {
	font-size: 18px;
	font-weight: 600;
	line-height: 1.3;
	margin-bottom: 10px;
}
.news-card-title a {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card-title a { color: inherit; text-decoration: none; }

.news-card-meta {
	font-size: 13px;
	color: var(--color-text-muted);
	margin-bottom: 12px;
}

.news-card-description {
	font-size: 14px;
	line-height: 1.5;
	color: var(--color-text-secondary);
	margin-bottom: 15px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.news-card-link {
	color: var(--color-primary);
	font-weight: 500;
	font-size: 14px;
}

.news-card-link:hover {
	color: var(--color-primary-hover);
}

/* ===================================
   CTA SECTION
   =================================== */

.cta-section {
	background: var(--color-primary);
	padding: 60px 0;
}

@media (min-width: 768px) {
	.cta-section {
		padding: 80px 0;
	}
}

.cta-content {
	text-align: center;
	max-width: 800px;
	margin: 0 auto;
}

.cta-title {
	font-size: 36px;
	font-weight: 700;
	line-height: 1.1;
	text-transform: uppercase;
	margin-bottom: 20px;
	color: var(--color-dark);
}

@media (min-width: 768px) {
	.cta-title {
		font-size: 50px;
	}
}

.cta-description {
	font-size: 18px;
	line-height: 1.5;
	margin-bottom: 30px;
	color: var(--color-dark);
}

@media (min-width: 768px) {
	.cta-description {
		font-size: 20px;
	}
}

.cta-button {
	padding: 16px 40px;
	background: var(--color-dark);
	color: var(--color-white);
	border-radius: 50px;
	font-size: 18px;
	font-weight: 500;
	transition: all var(--transition-speed) var(--transition-easing);
}

.cta-button:hover {
	background: var(--color-dark-alt);
}

/* ===================================
   FOOTER
   =================================== */

.footer {
	background: var(--color-dark);
	color: var(--color-white);
	padding: 60px 0 40px;
}

@media (min-width: 768px) {
	.footer {
		padding: 80px 0 40px;
	}
}

@media (max-width: 768px) {
	.footer {
		padding-top: 2px;
	}
}

.footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
	margin-bottom: 40px;
}

.footer-summary {
	border-top: 20px rgba(0,0,0,0.05) solid;
	border-bottom: 20px rgba(0,0,0,0.05) solid;
	margin-bottom: 80px;
	margin-top: 30px;
	padding: 60px;
	text-align: center;
	background: rgba(0, 0, 0, 0.25);
	box-shadow: 0 0 90px rgba(0, 0, 0, 0.3);
}

.footer-summary__content {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.footer-summary__content h2 {
	margin: 0;
	font-size: 43px;
	font-weight: 700;
	color: var(--color-white);
}

.footer-summary__content p {
	margin: 0;
	color: rgba(255, 255, 255, 0.75);
	font-size: 15px;
	font-style: italic;
}

.footer-summary__intro {
	font-size: 17px;
	line-height: 1.5;
}

.footer-summary__list {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 30px 0;
	padding: 0;
	align-items: center;
	justify-content: center;
}

.footer-summary__list li {
	background: rgba(255, 255, 255, 0.12);
	border-radius: 999px;
	padding: 9px 20px;
	font-size: 15px;
	font-weight: 900;
}

.footer-summary__disclosure {
	font-size: 13px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.65);
}

.footer-summary__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	align-items: center;
	justify-content: space-between;
}

.footer-summary__stats ul {
	list-style: none;
	display: flex;
	gap: 18px;
	margin: 0;
	padding: 0;
}

.footer-summary__stats li {
	display: flex;
	flex-direction: column;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.65);
	text-transform: uppercase;
	letter-spacing: 0.6px;
}

.footer-summary__stats span {
	font-size: 29px;
	font-weight: 700;
	color: var(--color-white);
	text-transform: none;
	letter-spacing: 0;
}

.footer-summary__ctas {
	display: flex;
	gap: 12px;
}

@media (max-width: 768px) {
	.footer-summary {
		padding: 28px 24px;
	}

	.footer-summary__stats {
		gap: 16px;
		align-items: center;
		justify-content: center;
	}

	.footer-summary__stats ul {
		flex-direction: column;
		gap: 12px;
		margin-bottom: 40px;
	}

	.footer-summary__ctas {
		flex-direction: column;
		width: 100%;
	}
}

@media (min-width: 768px) {
	.footer-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 50px;
	}
}

@media (min-width: 1200px) {
	.footer-grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 60px;
	}
}

.footer-column {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.footer-title {
	font-size: 20px;
	font-weight: 500;
	margin-bottom: 10px;
}

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

.footer-link {
	color: var(--color-text-muted);
	font-size: 16px;
	transition: color var(--transition-speed) var(--transition-easing);
}

.footer-link:hover {
	color: var(--color-white);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-brand {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--color-primary);
    color: var(--color-dark);
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-brand-name {
    font-weight: 600;
    margin-bottom: 4px;
}

.footer-note {
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
    margin: 0;
}

.footer-note--center {
    text-align: center;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social .social-link {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	transition: background var(--transition-speed) var(--transition-easing);
	border: none;
	padding: 0;
	font-size: inherit;
	font-weight: inherit;
	text-decoration: none;
}

.footer-social .social-link:hover {
	background: var(--color-primary);
	transform: none;
	color: inherit;
}

.footer__segment--contact {
	flex: 1;
	display: flex;
	align-items: center;
}

.footer__main {
	width: 100%;
}

.footer__logo--brand {
	display: flex;
	justify-content: center;
	margin-bottom: 16px;
}

.footer__logoItem {
	display: flex;
	align-items: center;
	justify-content: center;
}

.footer__logoImage {
	max-width: 180px;
	height: auto;
	opacity: 0.9;
	transition: opacity var(--transition-speed) var(--transition-easing);
}

.footer__logoImage:hover {
	opacity: 1;
}

.footer__contact {
	color: rgba(255, 255, 255, 0.7);
	font-size: 13px;
	line-height: 1.6;
	text-align: center;
}

.footer__contact p {
	margin: 0;
}

.footer__contact strong {
	color: var(--color-white);
	font-weight: 600;
}

.footer__contact-info {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
}

.footer__contact-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: rgba(255, 255, 255, 0.7);
	text-decoration: none;
	transition: color 0.2s ease;
}

.footer__contact-link:hover {
	color: var(--color-white);
}

.footer__contact-link svg {
	flex-shrink: 0;
	opacity: 0.8;
}

@media (min-width: 768px) {
	.footer__logo--brand {
		justify-content: flex-start;
		margin-bottom: 12px;
	}

	.footer__contact {
		text-align: left;
		font-size: 14px;
	}
}

.footer-disclaimer {
	margin-top: 40px;
	padding-top: 32px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	text-align: center;
}

.footer-disclaimer .footer-note {
	margin: 0 auto;
	font-size: 13px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.6);
}

/* Footer Mobile Styles */
@media (max-width: 767px) {
	.footer-logo2 img {
		display: none !important;
	}

	.footer-logo-box {
		margin-left: 0 !important;
	}
}

/* ===================================
   RESPONSIVE UTILITIES
   =================================== */

.hide-mobile {
	display: none;
}

@media (min-width: 768px) {
	.hide-mobile {
		display: block;
	}
}

.hide-desktop {
	display: block;
}

@media (min-width: 768px) {
	.hide-desktop {
		display: none;
	}
}

/* ===================================
   ANIMATIONS & TRANSITIONS
   =================================== */

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.fade-in {
	animation: fadeIn 0.6s var(--transition-easing) forwards;
}

@keyframes slideInLeft {
	from {
		opacity: 0;
		transform: translateX(-30px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.slide-in-left {
	animation: slideInLeft 0.6s var(--transition-easing) forwards;
}

@keyframes slideInRight {
	from {
		opacity: 0;
		transform: translateX(30px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.slide-in-right {
	animation: slideInRight 0.6s var(--transition-easing) forwards;
}

/* ===================================
   PERFORMANCE OPTIMIZATIONS
   =================================== */

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

/* ===================================
   CASINO TOPLIST STYLES
   =================================== */

.top-casinos {
	padding: var(--section-padding-mobile);
}

@media (min-width: 768px) {
	.top-casinos {
		padding: var(--section-padding-tablet);
	}
}

@media (min-width: 1200px) {
	.top-casinos {
		padding: var(--section-padding-desktop);
	}
}

.section-header {
	text-align: center;
	margin-bottom: 20px;
}

.section-header h2 {
	font-size: 28px;
	font-weight: 700;
	margin-bottom: 0;
	color: var(--color-dark);
}

@media (min-width: 768px) {
	.section-header h2 {
		font-size: 37px;
	}
}

.section-header .subtitle {
	font-size: 18px;
	color: var(--color-text-secondary);
}

.casino-list {
	display: flex;
	flex-direction: column;
	gap: 24px;
	max-width: 1000px;
	margin: 0 auto;
}

.casino-card {
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: 12px;
	padding: 24px;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 20px;
	align-items: start;
	transition: box-shadow var(--transition-speed) var(--transition-easing),
	            transform var(--transition-speed) var(--transition-easing);
	position: relative;
	cursor: pointer;
}

.casino-card:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

@media (max-width: 767px) {
	.casino-card {
		grid-template-columns: 1fr;
		gap: 16px;
	}
}

.casino-rank {
	position: absolute;
	top: 16px;
	left: 16px;
	background: var(--color-primary);
	color: var(--color-white);
	font-size: 14px;
	font-weight: 700;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
}

.casino-image {
	width: 120px;
	height: 120px;
	flex-shrink: 0;
	border-radius: 8px;
	overflow: hidden;
	background: var(--color-light);
}

@media (max-width: 767px) {
	.casino-image {
		width: 100%;
		height: 180px;
		margin-top: 20px;
	}
}

.casino-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.casino-info {
	display: flex;
	flex-direction: column;
	gap: 16px;
	flex: 1;
}

.casino-name {
	font-size: 24px;
	font-weight: 700;
	color: var(--color-dark);
	margin: 0;
}

.casino-ratings {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.rating-item {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.rating-label {
	font-size: 12px;
	color: var(--color-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.rating-value {
	font-size: 20px;
	font-weight: 700;
}

.rating-overall {
	color: var(--color-primary);
}

.rating-bonus {
	color: #4caf50;
}

.casino-bonus {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 16px;
	background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
	border-radius: 8px;
	border: 1px solid #ffd54f;
}

.bonus-icon {
	font-size: 20px;
}

.bonus-text {
	font-size: 16px;
	font-weight: 600;
	color: var(--color-dark);
}

.casino-description {
	font-size: 15px;
	line-height: 1.6;
	color: var(--color-text-secondary);
	margin: 0;
}

.casino-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 4px;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 24px;
	font-size: 16px;
	font-weight: 600;
	border-radius: 8px;
	transition: all var(--transition-speed) var(--transition-easing);
	text-decoration: none;
	cursor: pointer;
	border: none;
}

.btn-primary {
	background: var(--color-primary);
	color: var(--color-white);
}

.btn-primary:hover {
	background: var(--color-primary-hover);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(255, 149, 0, 0.3);
}

.btn-secondary {
	background: transparent;
	color: var(--color-dark);
	border: 2px solid var(--color-border);
}

.btn-secondary:hover {
	border-color: var(--color-dark);
	background: var(--color-light);
}

@media (max-width: 767px) {
	.btn {
		flex: 1;
		min-width: 140px;
	}
}

/* ===================================
   CATEGORY LISTING PAGE STYLES
   =================================== */

.category-page {
	margin: 0 auto;
}

.category-header {
	text-align: center;
	margin-bottom: 48px;
}

/* Hide category header on casino category pages that already have a content-hero */
.content-hero ~ #casinos .category-header {
	display: none;
}

.category-title {
	font-size: 40px;
	font-weight: 700;
	color: var(--color-dark);
	margin-bottom: 16px;
}

@media (min-width: 768px) {
	.category-title {
		font-size: 56px;
	}
}

.category-subtitle {
	font-size: 24px;
	font-weight: 600;
	color: var(--color-dark);
	margin: 12px 0 0;
}

.category-subtitle {
	font-size: 24px;
	font-weight: 600;
	color: var(--color-dark);
	margin-top: 12px;
}

.category-description {
	font-size: 18px;
	color: var(--color-text-secondary);
	max-width: 700px;
	margin: 0 auto 20px;
	line-height: 1.6;
}

.category-stats {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}

.stat-badge {
	background: var(--color-light);
	padding: 8px 16px;
	border-radius: 20px;
	font-size: 14px;
	font-weight: 600;
	color: var(--color-text);
}

.casino-grid-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.casino-list-item {
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: 12px;
	padding: 20px;
	display: grid;
	grid-template-columns: minmax(36px, max-content) minmax(72px, 96px) minmax(0, 1fr) max-content;
	column-gap: 20px;
	row-gap: 12px;
	align-items: flex-start;
	transition: transform var(--transition-speed) var(--transition-easing),
	            box-shadow var(--transition-speed) var(--transition-easing);
	position: relative;
}

.casino-list-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

@media (max-width: 767px) {
	.casino-list-item {
		grid-template-columns: minmax(36px, max-content) minmax(0, 1fr);
		column-gap: 16px;
		row-gap: 12px;
	}
}

.casino-list-rank {
	font-size: 24px;
	font-weight: 700;
	color: var(--color-primary);
	min-width: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	align-self: flex-start;
}

@media (max-width: 767px) {
	.casino-list-rank {
		position: absolute;
		top: 16px;
		right: 16px;
		font-size: 18px;
	}
}

.casino-list-image {
	width: 80px;
	height: 80px;
	border-radius: 8px;
	overflow: hidden;
	background: var(--color-light);
	flex-shrink: 0;
}

.casino-list-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.casino-list-info {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

@media (max-width: 767px) {
	.casino-list-info {
		grid-column: 1 / -1;
	}
}

.casino-list-name {
	font-size: 20px;
	font-weight: 700;
	color: var(--color-dark);
	margin: 0;
}
.casino-list-name a { color: inherit; text-decoration: none; }

.casino-list-meta {
	font-size: 14px;
	color: var(--color-mid);
	margin: 0;
}

.casino-list-ratings {
	display: flex;
	gap: 8px;
}

.rating-badge {
	padding: 6px 12px;
	border-radius: 8px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
}

.rating-label {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	color: rgba(28, 28, 28, 0.7);
}

.rating-value {
	font-size: 16px;
	font-weight: 700;
	color: var(--color-dark);
}

.rating-badge.overall {
	background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
	color: var(--color-dark);
}

.rating-badge.bonus {
	background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
	color: var(--color-dark);
}

.casino-list-bonus {
	font-size: 14px;
	color: var(--color-text-secondary);
	font-weight: 600;
}

.casino-list-description {
	font-size: 14px;
	line-height: 1.5;
	color: var(--color-text-secondary);
	margin: 0;
}

.casino-list-usps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.casino-list-usps li {
	background: var(--color-light);
	border-radius: 16px;
	padding: 4px 10px;
	font-size: 12px;
	font-weight: 600;
	color: var(--color-text-secondary);
}

.casino-list-terms {
	margin: 12px 0 0;
	font-size: 12px;
	color: var(--color-text-tertiary, #6b6d7e);
	grid-column: 1 / -1;
	line-height: 1.4;
}

.casino-list-actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 120px;
	align-self: flex-start;
}

@media (max-width: 767px) {
	.casino-list-actions {
		grid-column: 1 / -1;
		flex-direction: row;
	}
}

.btn-sm {
	padding: 8px 16px;
	font-size: 14px;
}

/* ===================================
   CATEGORY ANCHOR NAVIGATION
   =================================== */

.category-anchor-nav {
	display: none;
	background: var(--color-white);
	border-bottom: 1px solid var(--color-border);
	position: sticky;
	top: 80px;
	z-index: 5;
}

@media (max-width: 767px) {
	.category-anchor-nav {
		top: 68px;
		overflow-x: auto;
	}
}

.category-anchor-nav__list {
	list-style: none;
	display: flex;
	gap: 16px;
	margin: 0;
	padding: 14px 0;
	overflow-x: auto;
}

.category-anchor-nav__item {
	flex: 0 0 auto;
}

.category-anchor-nav__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 18px;
	border-radius: 999px;
	background: var(--color-light);
	font-size: 14px;
	font-weight: 600;
	color: var(--color-text);
	transition: background var(--transition-speed) var(--transition-easing),
	            color var(--transition-speed) var(--transition-easing);
}

.category-anchor-nav__link:hover {
	background: rgba(255, 149, 0, 0.16);
	color: var(--color-primary);
}

/* ===================================
   CATEGORY SORTING
   =================================== */


.category-sort {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	margin: 20px 0;
}

.category-sort__group {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.category-sort__pill {
	background: var(--color-light);
	border: none;
	border-radius: 999px;
	padding: 8px 18px;
	font-size: 14px;
	font-weight: 600;
	color: var(--color-text-secondary);
	cursor: pointer;
	transition: background var(--transition-speed) var(--transition-easing),
	            color var(--transition-speed) var(--transition-easing),
	            transform var(--transition-speed) var(--transition-easing);
}

.category-sort__pill:hover {
	transform: translateY(-1px);
	background: rgba(255, 149, 0, 0.14);
	color: var(--color-primary);
}

.category-sort__pill--active {
	background: var(--color-primary);
	color: var(--color-dark);
}

@media (max-width: 767px) {
	.category-sort__group {
		gap: 8px;
	}

	.category-sort__pill {
		padding: 8px 14px;
		font-size: 13px;
	}
}

.category-filter-toggle {
	background: transparent;
	border: 1px solid var(--color-border);
	border-radius: 999px;
	padding: 8px 18px;
	font-size: 14px;
	font-weight: 600;
	color: var(--color-text);
	cursor: pointer;
	transition: background var(--transition-speed) var(--transition-easing),
	            color var(--transition-speed) var(--transition-easing),
	            transform var(--transition-speed) var(--transition-easing);
}

.category-filter-toggle:hover {
	background: rgba(255, 149, 0, 0.12);
	color: var(--color-primary);
	transform: translateY(-1px);
}

.category-filter-toggle--active {
	background: var(--color-primary);
	border-color: var(--color-primary);
	color: var(--color-dark);
}

.category-filter-toggle--highlight {
	border-color: rgba(255, 149, 0, 0.4);
	color: var(--color-primary);
}

/* ===================================
   CATEGORY FILTER BADGES
   =================================== */

.category-filter-badges {
	display: none;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-right: 12px;
}

.category-filter-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(255, 149, 0, 0.12);
	border: 1px solid rgba(255, 149, 0, 0.3);
	border-radius: 999px;
	padding: 6px 10px 6px 12px;
	font-size: 13px;
	font-weight: 600;
	color: var(--color-primary);
	cursor: pointer;
	transition: background var(--transition-speed) var(--transition-easing),
	            border-color var(--transition-speed) var(--transition-easing),
	            transform var(--transition-speed) var(--transition-easing);
}

.category-filter-badge:hover {
	background: rgba(255, 149, 0, 0.18);
	border-color: rgba(255, 149, 0, 0.5);
	transform: translateY(-1px);
}

.category-filter-badge__remove {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: rgba(255, 149, 0, 0.2);
	color: var(--color-primary);
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	transition: background var(--transition-speed) var(--transition-easing);
}

.category-filter-badge:hover .category-filter-badge__remove {
	background: rgba(255, 149, 0, 0.3);
}

/* ===================================
   CATEGORY FILTER PANEL
   =================================== */


.category-filter {
	display: none;
	margin: 24px 0;
	padding: 20px;
	border: 1px solid var(--color-border);
	border-radius: 12px;
	background: var(--color-white);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.category-filter--open {
	display: block;
}

.category-filter--active {
	border-color: rgba(255, 149, 0, 0.4);
}

.category-filter__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
}

.category-filter__title {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	color: var(--color-dark);
}

.category-filter__clear {
	background: transparent;
	border: none;
	color: var(--color-primary);
	font-weight: 600;
	cursor: pointer;
	padding: 6px 12px;
	border-radius: 999px;
	transition: background var(--transition-speed) var(--transition-easing);
}

.category-filter__clear:hover {
	background: rgba(255, 149, 0, 0.12);
}

.category-filter__group + .category-filter__group {
	margin-top: 16px;
}

.category-filter__label {
	margin: 0 0 12px;
	font-size: 16px;
	font-weight: 600;
	color: var(--color-dark);
}

.category-filter__options {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.category-filter__option {
	display: flex;
	align-items: center;
	gap: 6px;
	background: var(--color-light);
	padding: 6px 12px;
	border-radius: 999px;
}

.category-filter__checkbox {
	width: 16px;
	height: 16px;
}

.category-filter__option label {
	font-size: 13px;
	font-weight: 600;
}

@media (max-width: 767px) {
	.category-filter {
		padding: 16px;
	}

	.category-filter__options {
		gap: 8px;
	}

	.category-filter__option {
		padding: 6px 10px;
	}
}

/* ===================================
   CASINO FILTERS V2 — Desktop Panel + Mobile Modal
   =================================== */

.cf2 {
	display: none;
	margin: 24px 0;
	padding: 24px;
	border: 1px solid var(--color-border);
	border-radius: 12px;
	background: var(--color-white);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.cf2--open {
	display: block;
}

.cf2__backdrop {
	display: none;
}

/* --- Header --- */
.cf2__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--color-border);
}

.cf2__title {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	color: var(--color-dark);
}

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

.cf2__clear-btn {
	background: transparent;
	border: none;
	color: var(--color-primary);
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	padding: 6px 12px;
	border-radius: 999px;
	transition: background var(--transition-speed) var(--transition-easing);
}

.cf2__clear-btn:hover {
	background: rgba(255, 149, 0, 0.12);
}

.cf2__close-btn {
	display: none;
}

.cf2__apply-btn {
	display: none;
}

/* --- Grid layout: 3 columns on desktop --- */
.cf2__body {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px 28px;
}

/* --- Group --- */
.cf2__group {
	min-width: 0;
	border: 1px solid #ccc;
	border-radius: 10px;
	padding: 10px;
}

.cf2__group--wide {
	grid-column: span 2;
}

.cf2__group--full {
	grid-column: 1 / -1;
}

.cf2__group-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
	cursor: default;
}

.cf2__group-label {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	color: var(--color-dark);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.cf2__group-count {
	font-size: 12px;
	color: var(--color-text-muted);
	font-weight: 600;
}

.cf2__group-chevron {
	display: none;
}

.cf2__group-body {
	display: block;
}

.cf2__group--collapsed .cf2__group-body {
	display: none;
}

/* --- Checkbox options (pills style) --- */
.cf2__options {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.cf2__option {
	display: flex;
	align-items: center;
	gap: 5px;
	background: var(--color-light);
	padding: 6px 12px;
	border-radius: 999px;
	border: 1px solid transparent;
	transition: all var(--transition-speed) var(--transition-easing);
	cursor: pointer;
}

.cf2__option:hover {
	border-color: rgba(255, 149, 0, 0.3);
	background: rgba(255, 149, 0, 0.06);
}

.cf2__option:has(input:checked) {
	background: rgba(255, 149, 0, 0.12);
	border-color: rgba(255, 149, 0, 0.4);
}

.cf2__checkbox {
	width: 15px;
	height: 15px;
	accent-color: var(--color-primary);
	cursor: pointer;
}

.cf2__option-label {
	font-size: 13px;
	font-weight: 600;
	color: var(--color-dark);
	cursor: pointer;
	white-space: nowrap;
}

/* --- Radio-style pills --- */
.cf2__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.cf2__pill {
	background: var(--color-light);
	border: 1px solid transparent;
	border-radius: 999px;
	padding: 7px 14px;
	font-size: 13px;
	font-weight: 600;
	color: var(--color-dark);
	cursor: pointer;
	transition: all var(--transition-speed) var(--transition-easing);
}

.cf2__pill:hover {
	border-color: rgba(255, 149, 0, 0.3);
	background: rgba(255, 149, 0, 0.06);
}

.cf2__pill--active {
	background: rgba(255, 149, 0, 0.15);
	border-color: rgba(255, 149, 0, 0.5);
	color: var(--color-primary);
}

/* --- Provider searchable dropdown --- */
.cf2__provider-dropdown {
	position: relative;
}

.cf2__provider-search {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid var(--color-border);
	border-radius: 8px;
	font-size: 14px;
	font-family: var(--font-primary);
	color: var(--color-dark);
	background: var(--color-white);
	outline: none;
	transition: border-color var(--transition-speed) var(--transition-easing);
}

.cf2__provider-search::placeholder {
	color: var(--color-text-muted);
}

.cf2__provider-search:focus {
	border-color: var(--color-primary);
}

.cf2__provider-list {
	margin-top: 8px;
	max-height: 200px;
	overflow-y: auto;
	border: 1px solid var(--color-border);
	border-radius: 8px;
	background: var(--color-white);
}

.cf2__provider-item {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	cursor: pointer;
	transition: background 0.15s ease;
}

.cf2__provider-item:hover {
	background: rgba(255, 149, 0, 0.06);
}

.cf2__provider-item:has(input:checked) {
	background: rgba(255, 149, 0, 0.1);
}

.cf2__provider-item + .cf2__provider-item {
	border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.cf2__provider-name {
	font-size: 13px;
	font-weight: 600;
	color: var(--color-dark);
}

.cf2__provider-count {
	font-size: 12px;
	color: var(--color-text-muted);
	margin-left: auto;
}

/* Scrollbar styling for provider list */
.cf2__provider-list::-webkit-scrollbar {
	width: 6px;
}

.cf2__provider-list::-webkit-scrollbar-track {
	background: transparent;
}

.cf2__provider-list::-webkit-scrollbar-thumb {
	background: rgba(0, 0, 0, 0.15);
	border-radius: 3px;
}

/* ===================================
   MOBILE: Full-screen modal
   =================================== */
@media (max-width: 767px) {
	.cf2 {
		position: fixed;
		inset: 0;
		z-index: var(--z-modal);
		margin: 0;
		padding: 0;
		border: none;
		border-radius: 0;
		box-shadow: none;
		background: transparent;
		overflow: hidden;
	}

	.cf2--open {
		display: flex;
		flex-direction: column;
	}

	.cf2__backdrop {
		display: block;
		position: absolute;
		inset: 0;
		background: rgba(0, 0, 0, 0.5);
		z-index: 0;
	}

	.cf2__inner {
		position: relative;
		z-index: 1;
		display: flex;
		flex-direction: column;
		margin-top: 48px;
		height: calc(100% - 48px);
		background: var(--color-white);
		border-radius: 16px 16px 0 0;
		overflow: hidden;
		animation: cf2SlideUp 0.3s ease forwards;
	}

	@keyframes cf2SlideUp {
		from { transform: translateY(100%); }
		to { transform: translateY(0); }
	}

	/* Mobile header */
	.cf2__header {
		flex-shrink: 0;
		padding: 16px 20px;
		margin: 0;
		border-bottom: 1px solid var(--color-border);
		background: var(--color-white);
	}

	.cf2__close-btn {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 32px;
		height: 32px;
		border: none;
		border-radius: 50%;
		background: var(--color-light);
		color: var(--color-dark);
		font-size: 18px;
		font-weight: 700;
		cursor: pointer;
		transition: background 0.15s ease;
	}

	.cf2__close-btn:hover {
		background: rgba(0, 0, 0, 0.08);
	}

	/* Scrollable body */
	.cf2__body {
		flex: 1;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		padding: 16px 20px 100px;
		display: flex;
		flex-direction: column;
		gap: 20px;
	}

	.cf2__group--wide,
	.cf2__group--full {
		grid-column: auto;
	}

	/* Accordion groups on mobile */
	.cf2__group-header {
		cursor: pointer;
		padding: 4px 0;
	}

	.cf2__group-chevron {
		display: block;
		font-size: 12px;
		color: var(--color-text-muted);
		transition: transform 0.2s ease;
	}

	.cf2__group--collapsed .cf2__group-chevron {
		transform: rotate(-90deg);
	}

	/* Start groups collapsed except first two */
	.cf2__group:nth-child(n+3) {
		/* Groups are open by default; JS collapses them */
	}

	/* Mobile sticky footer */
	.cf2__footer {
		position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
		display: flex;
		gap: 12px;
		padding: 16px 20px;
		background: var(--color-white);
		border-top: 1px solid var(--color-border);
		box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
	}

	.cf2__apply-btn {
		display: block;
		flex: 1;
		padding: 14px 24px;
		border: none;
		border-radius: 999px;
		background: var(--color-primary);
		color: var(--color-dark);
		font-size: 16px;
		font-weight: 700;
		font-family: var(--font-primary);
		cursor: pointer;
		transition: background var(--transition-speed) var(--transition-easing);
	}

	.cf2__apply-btn:hover {
		background: var(--color-primary-hover);
	}

	.cf2__clear-mobile {
		display: block;
		padding: 14px 20px;
		border: 1px solid var(--color-border);
		border-radius: 999px;
		background: transparent;
		color: var(--color-dark);
		font-size: 16px;
		font-weight: 600;
		font-family: var(--font-primary);
		cursor: pointer;
	}

	/* Adjust provider list height on mobile */
	.cf2__provider-list {
		max-height: 180px;
	}

	.cf2__options {
		gap: 6px;
	}

	.cf2__option {
		padding: 6px 10px;
	}
}

/* Hide mobile-only footer on desktop */
.cf2__footer {
	display: none;
}

@media (min-width: 768px) {
	.cf2__footer {
		display: none;
	}

	/* Wrap inner div is just transparent on desktop */
	.cf2__inner {
		display: contents;
	}
}

.content-with-sidebox {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.content-with-sidebox__main {
	flex: 1 1 auto;
}

.content-with-sidebox__aside {
	flex: 0 0 auto;
}

.content-sidebox {
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: 12px;
	padding: 20px;
	box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.content-sidebox + .content-sidebox {
	margin-top: 16px;
}

.content-sidebox__image {
	margin: -20px -20px 16px;
}

.content-sidebox__image img {
	display: block;
	width: 100%;
	height: auto;
	border-top-left-radius: 12px;
	border-top-right-radius: 12px;
}

.content-sidebox__title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 12px;
    color: var(--color-dark);
}

.content-sidebox__subtitle {
    font-size: 16px;
    font-weight: 600;
    margin: 12px 0 8px;
    color: var(--color-dark);
}

.content-sidebox__body p {
	margin: 0 0 12px;
	color: var(--color-text-secondary);
}

.content-sidebox__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.content-sidebox__item {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 14px;
	color: var(--color-text-secondary);
}

.content-sidebox__item strong {
	color: var(--color-dark);
}

.content-sidebox__tags {
	margin: 0 0 12px;
	font-size: 14px;
	font-weight: 600;
	color: var(--color-primary);
}

.content-sidebox__link {
	margin: 0 0 12px;
}

.content-sidebox__link a {
	color: var(--color-primary);
	font-weight: 600;
	text-decoration: none;
}

.content-sidebox__link a:hover {
	text-decoration: underline;
}

@media (min-width: 992px) {
	.content-with-sidebox {
		flex-direction: row;
		align-items: flex-start;
		justify-content: space-between;
	}

	.content-with-sidebox__main {
		flex: 1 1 0%;
	}

	.content-with-sidebox__aside {
		flex: 0 0 475px;
	}

	.content-with-sidebox__main .section-header {
		max-width: 820px;
	}
}

/* ===================================
   GAME CATEGORY LIST STYLES
   =================================== */

.game-grid-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 24px;
}

.card-media.image {
	padding: 0;
	overflow: hidden;
}

.card-media.image img {
	display: block;
	width: 64px;
	height: 64px;
	object-fit: contain;
	background: rgba(148, 163, 184, 0.12);
	border-radius: var(--image-radius);
}

.item-editor {
	border: 1px solid var(--color-border);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.85);
	margin-bottom: 12px;
	overflow: hidden;
}

.item-editor summary {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 16px;
	cursor: pointer;
	font-weight: 600;
	font-size: 13px;
}

.item-editor summary::-webkit-details-marker {
	display: none;
}

.item-editor summary button {
	border: none;
	background: rgba(239, 68, 68, 0.12);
	color: #ef4444;
	font-size: 12px;
	padding: 6px 12px;
	border-radius: 999px;
	cursor: pointer;
	transition: background 160ms ease;
}

.item-editor summary button:hover {
	background: rgba(239, 68, 68, 0.2);
}

.item-editor[open] > summary {
	border-bottom: 1px solid var(--color-border);
}

.item-editor-body {
	padding: 16px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.item-editor-body textarea {
	grid-column: 1 / -1;
	min-height: 50px;
	resize: vertical;
}

@media (max-width: 767px) {
	.game-grid-list {
		grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
		gap: 16px;
	}
}

.game-list-item {
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: 12px;
	overflow: hidden;
	transition: transform var(--transition-speed) var(--transition-easing),
	            box-shadow var(--transition-speed) var(--transition-easing);
}

.game-list-item:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.game-list-image {
	width: 100%;
	height: 180px;
	overflow: hidden;
	background: var(--color-light);
}

.game-list-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.game-list-info {
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.game-list-name {
	font-size: 18px;
	font-weight: 700;
	color: var(--color-dark);
	margin: 0;
}
.game-list-name a { color: inherit; text-decoration: none; }

.game-list-provider {
	font-size: 13px;
	color: var(--color-text-secondary);
}

.provider-label {
	font-weight: 600;
}

.game-list-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.stat-badge {
	padding: 4px 10px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 600;
	background: var(--color-light);
	color: var(--color-dark);
}

.stat-badge.volatility-1 {
	background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
}

.stat-badge.volatility-2 {
	background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
}

.stat-badge.volatility-3 {
	background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
}

.game-list-actions {
	padding: 0 16px 16px;
}

.game-list-actions .btn {
	width: 100%;
}

/* ===================================
   GAME DETAIL PAGE STYLES
   =================================== */

.game-detail {
	width: 100%;
	margin: 0 auto;
	padding: 40px 0;
}

@media (min-width: 768px) {
	.game-detail {
		padding: 60px 0;
	}
}

/* Game Header Section */
/* Game Header Section */
.game-header {
	border-radius: 16px;
	padding: 40px;
	margin: 0 auto 40px;
	max-width: var(--container-max-width);
}

@media (max-width: 767px) {
	.game-header {
		padding: 24px 20px;
	}
}

.game-header.tropical {
	background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 50%, #ffe0b2 100%);
	border: 2px solid #ffd54f;
	box-shadow: 0 20px 45px rgba(255, 213, 79, 0.3);
}

.game-header:not(.tropical) {
	background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.game-header-content {
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: 40px;
	align-items: start;
}

@media (max-width: 767px) {
	.game-header-content {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}

.game-image-large {
	width: 300px;
	height: 300px;
	border-radius: 12px;
	overflow: hidden;
	background: var(--color-white);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

@media (max-width: 767px) {
	.game-image-large {
		width: 100%;
		height: 280px;
		margin: 0 auto;
	}
}

.game-image-large img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.game-header-info {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.game-title {
	font-size: 42px;
	font-weight: 700;
	color: var(--color-dark);
	margin: 0;
	line-height: 1.2;
}

@media (min-width: 768px) {
	.game-title {
		font-size: 52px;
	}
}

.game-selling-line {
	font-size: 20px;
	font-weight: 400;
	color: var(--color-text-secondary);
	margin: 0;
	line-height: 1.5;
}

@media (min-width: 768px) {
	.game-selling-line {
		font-size: 24px;
	}
}

.game-provider-info {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px;
	background: var(--color-white);
	border-radius: 12px;
	max-width: 400px;
}

.provider-logo {
	width: 60px;
	height: 60px;
	border-radius: 8px;
	overflow: hidden;
	flex-shrink: 0;
}

.provider-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.provider-details {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.provider-label {
	font-size: 12px;
	color: var(--color-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.provider-name {
	font-size: 18px;
	font-weight: 700;
	color: var(--color-dark);
}

/* Game Stats Section */
.game-stats-section {
	margin: 0;
}

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

@media (max-width: 767px) {
	.stats-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}
}

.stat-box {
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: 12px;
	padding: 20px;
	text-align: center;
	transition: transform var(--transition-speed) var(--transition-easing);
}

.stat-box:hover {
	transform: translateY(-2px);
}

.stat-box-highlight {
	background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
	border-color: #ffd54f;
}

.stat-label {
	font-size: 12px;
	color: var(--color-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 8px;
}

.stat-value {
	font-size: 24px;
	font-weight: 700;
	color: var(--color-dark);
}

/* Game Content Sections */
.game-section {
	margin: 0;
}

.game-section h2 {
	font-size: 32px;
	font-weight: 700;
	color: var(--color-dark);
	margin-bottom: 20px;
}

@media (max-width: 767px) {
	.game-section h2 {
		font-size: 28px;
	}
}

/* Screenshots Section */
.screenshots-section {
	background: var(--color-light);
	border-radius: 12px;
	padding: 32px;
}

.screenshots-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 24px;
}

@media (max-width: 767px) {
	.screenshots-grid {
		grid-template-columns: 1fr;
	}
}

.screenshot-item {
	background: var(--color-white);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.screenshot-item img {
	width: 100%;
	height: auto;
	display: block;
}

.screenshot-label {
	padding: 12px;
	font-size: 14px;
	color: var(--color-text-secondary);
	text-align: center;
	margin: 0;
}

/* Features Section */
.features-section {
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: 12px;
	padding: 32px;
}

.features-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.feature-tag {
	background: var(--color-light);
	border: 1px solid var(--color-border);
	border-radius: 20px;
	padding: 8px 16px;
	font-size: 14px;
	color: var(--color-dark);
	font-weight: 500;
	transition: all var(--transition-speed) var(--transition-easing);
}

.feature-tag:hover {
	background: var(--color-primary);
	color: var(--color-white);
	border-color: var(--color-primary);
}

/* Side Components */
.side-component {
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: 12px;
	padding: 32px;
}

.side-component-text {
	font-size: 16px;
	line-height: 1.8;
	color: var(--color-text);
}

.side-component img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	margin: 20px 0;
}

/* Layout wrappers */
.game-detail-body {
	max-width: var(--container-max-width);
	margin: 0 auto;
	padding: 0 20px 60px;
	display: flex;
	flex-direction: column;
	gap: 40px;
}

@media (min-width: 768px) {
	.game-detail-body {
		padding: 0 0 80px;
	}
}

@media (min-width: 1024px) {
	.game-detail-body {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 380px;
		gap: 48px;
		align-items: start;
	}

	.game-detail-body.game-detail-body--single {
		display: flex;
	}
}

.game-content-column,
.game-sidebar {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.game-content-column > *,
.game-sidebar > * {
	margin: 0;
}

@media (max-width: 1023px) {
	.game-sidebar {
		order: 2;
	}
}

/* ===================================
   CONTENT BLOCK LIST STYLES
   =================================== */

.content-block-text ul,
.content-block-text ol,
.bonus-terms-content ul,
.bonus-terms-content ol,
.side-component-text ul,
.side-component-text ol {
	margin: 16px 0;
	padding-left: 28px;
}

.content-block-text ul {
	list-style-type: disc;
}

.content-block-text ol {
	list-style-type: decimal;
}

.content-block-text li,
.bonus-terms-content li,
.side-component-text li {
	margin-bottom: 8px;
	line-height: 1.8;
	color: var(--color-text);
}

.content-block-text li:last-child,
.bonus-terms-content li:last-child,
.side-component-text li:last-child {
	margin-bottom: 0;
}

/* Nested lists */
.content-block-text ul ul,
.content-block-text ul ol,
.content-block-text ol ul,
.content-block-text ol ol {
	margin: 8px 0;
}

.content-block-text ul ul {
	list-style-type: circle;
}

.content-block-text ul ul ul {
	list-style-type: square;
}

/* List items with bold content */
.content-block-text li strong:first-child,
.side-component-text li strong:first-child {
	color: var(--color-dark);
}

/* Spacing between paragraphs and lists */
.content-block-text p + ul,
.content-block-text p + ol,
.side-component-text p + ul,
.side-component-text p + ol {
	margin-top: 16px;
}

.content-block-text ul + p,
.content-block-text ol + p,
.side-component-text ul + p,
.side-component-text ol + p {
	margin-top: 16px;
}

/* Content block headings */
.content-block-text h3,
.side-component-text h3 {
	font-size: 1.6em;
	padding: 20px 0 10px;
	font-weight: 700;
	color: var(--color-dark);
}

.content-block-text h2,
.side-component-text h2 {
	font-size: 1.8em;
	padding: 24px 0 12px;
	font-weight: 700;
	color: var(--color-dark);
}

/* Headings before lists */
.content-block-text h3 + ul,
.content-block-text h3 + ol,
.content-block-text h2 + ul,
.content-block-text h2 + ol {
	margin-top: 12px;
}

/* Better table spacing */
.content-block-text .markdown-table,
.side-component-text .markdown-table {
	margin: 24px 0;
}

.content-block-text p + .markdown-table,
.side-component-text p + .markdown-table {
	margin-top: 24px;
}

.content-block-text .markdown-table + p,
.side-component-text .markdown-table + p {
	margin-top: 24px;
}

.game-section {
	margin: 0;
}

@media (min-width: 1024px) {
	.game-section {
		margin: 0;
	}
}

/* Responsive table wrapper */
@media (max-width: 767px) {
	.markdown-table {
		font-size: 14px;
	}
	
	.markdown-table th,
	.markdown-table td {
		padding: 8px;
	}
}

/* Nested list items */
.content-block-text li.nested-list-item,
.side-component-text li.nested-list-item {
	margin-left: 28px;
	list-style-type: circle;
}

/* ===================================
   GAME DETAIL V2 - ENHANCED SECTIONS
   =================================== */

/* Stats Dashboard - Visual stats with gauges */
.game-stats-dashboard {
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: 16px;
	padding: 32px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 32px;
	margin-bottom: 32px;
}

@media (max-width: 767px) {
	.game-stats-dashboard {
		padding: 24px 20px;
		grid-template-columns: 1fr 1fr;
		gap: 24px;
	}
}

/* RTP Gauge - Semi-circular gauge */
.game-rtp-gauge {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.game-rtp-gauge-wrapper {
	position: relative;
	width: 140px;
	height: 80px;
	overflow: hidden;
}

.game-rtp-gauge-track {
	position: absolute;
	width: 140px;
	height: 140px;
	border-radius: 50%;
	border: 12px solid var(--color-light);
	border-bottom-color: transparent;
	border-right-color: transparent;
	transform: rotate(-45deg);
	box-sizing: border-box;
}

.game-rtp-gauge-fill {
	position: absolute;
	width: 140px;
	height: 140px;
	border-radius: 50%;
	border: 12px solid transparent;
	border-top-color: var(--color-primary);
	border-left-color: var(--color-primary);
	transform: rotate(-45deg);
	box-sizing: border-box;
	transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-rtp-gauge-value {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	font-size: 28px;
	font-weight: 700;
	color: var(--color-dark);
}

.game-rtp-gauge-label {
	margin-top: 8px;
	font-size: 14px;
	font-weight: 500;
	color: var(--color-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Volatility Meter - 5-segment meter */
.game-volatility-meter {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.game-volatility-segments {
	display: flex;
	gap: 6px;
	height: 60px;
	align-items: flex-end;
}

.game-volatility-segment {
	width: 18px;
	border-radius: 4px;
	background: var(--color-light);
	transition: all 0.3s ease;
}

.game-volatility-segment:nth-child(1) { height: 20%; }
.game-volatility-segment:nth-child(2) { height: 40%; }
.game-volatility-segment:nth-child(3) { height: 60%; }
.game-volatility-segment:nth-child(4) { height: 80%; }
.game-volatility-segment:nth-child(5) { height: 100%; }

.game-volatility-segment.active {
	background: var(--color-primary);
}

.game-volatility-segment.active.low {
	background: #4caf50;
}

.game-volatility-segment.active.medium {
	background: #ff9800;
}

.game-volatility-segment.active.high {
	background: #f44336;
}

.game-volatility-value {
	margin-top: 12px;
	font-size: 18px;
	font-weight: 700;
	color: var(--color-dark);
}

.game-volatility-label {
	font-size: 14px;
	color: var(--color-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Grid Visualization */
.game-grid-viz {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.game-grid-display {
	display: grid;
	gap: 4px;
	padding: 12px;
	background: var(--color-light);
	border-radius: 8px;
}

.game-grid-cell {
	width: 12px;
	height: 12px;
	background: var(--color-primary);
	border-radius: 2px;
	opacity: 0.7;
}

.game-grid-text {
	margin-top: 12px;
	font-size: 18px;
	font-weight: 700;
	color: var(--color-dark);
}

.game-grid-label {
	font-size: 14px;
	color: var(--color-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Max Win Badge */
.game-max-win-badge {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.game-max-win-value {
	font-size: 36px;
	font-weight: 800;
	color: var(--color-primary);
	line-height: 1;
}

.game-max-win-suffix {
	font-size: 20px;
	font-weight: 600;
}

.game-max-win-label {
	margin-top: 8px;
	font-size: 14px;
	font-weight: 500;
	color: var(--color-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* Quick Badges in Header */
.game-quick-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 16px;
}

.game-quick-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	background: var(--color-white);
	border-radius: 24px;
	font-size: 14px;
	font-weight: 600;
	color: var(--color-dark);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.game-quick-badge-icon {
	font-size: 16px;
}

.game-quick-badge-value {
	color: var(--color-primary);
}

/* Feature Cards Grid */
.game-features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 24px;
}

@media (max-width: 767px) {
	.game-features-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}
}

.game-feature-card {
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: 12px;
	padding: 24px;
	transition: all var(--transition-speed) var(--transition-easing);
}

.game-feature-card:hover {
	border-color: var(--color-primary);
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.game-feature-icon {
	width: 48px;
	height: 48px;
	background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	margin-bottom: 16px;
}

.game-feature-name {
	font-size: 18px;
	font-weight: 700;
	color: var(--color-dark);
	margin-bottom: 8px;
}

.game-feature-trigger {
	font-size: 13px;
	color: var(--color-primary);
	font-weight: 600;
	margin-bottom: 12px;
	padding: 6px 12px;
	background: rgba(255, 149, 0, 0.1);
	border-radius: 6px;
	display: inline-block;
}

.game-feature-description {
	font-size: 14px;
	line-height: 1.6;
	color: var(--color-text-secondary);
}

/* Symbol Showcase Section */
.game-symbols-section {
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: 16px;
	padding: 32px;
}

.game-symbols-grid {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.game-symbols-category {
	margin-bottom: 0;
}

.game-symbols-category-title {
	font-size: 16px;
	font-weight: 700;
	color: var(--color-dark);
	margin-bottom: 16px;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--color-light);
}

.game-symbols-list {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.game-symbol-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	background: var(--color-light);
	border-radius: 8px;
	flex: 0 0 auto;
}

.game-symbol-icon {
	width: 40px;
	height: 40px;
	background: var(--color-white);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
}

.game-symbol-info {
	display: flex;
	flex-direction: column;
}

.game-symbol-name {
	font-size: 14px;
	font-weight: 600;
	color: var(--color-dark);
}

.game-symbol-payouts {
	font-size: 12px;
	color: var(--color-text-muted);
}

/* Ratings Breakdown Section */
.game-ratings-section {
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: 16px;
	padding: 32px;
}

.game-ratings-grid {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.game-rating-row {
	display: flex;
	align-items: center;
	gap: 16px;
}

.game-rating-label {
	flex: 0 0 120px;
	font-size: 14px;
	font-weight: 500;
	color: var(--color-text);
}

.game-rating-bar-container {
	flex: 1;
	height: 12px;
	background: var(--color-light);
	border-radius: 6px;
	overflow: hidden;
}

.game-rating-bar {
	height: 100%;
	background: linear-gradient(90deg, #ff9500 0%, #ffb94d 100%);
	border-radius: 6px;
	transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-rating-value {
	flex: 0 0 50px;
	font-size: 16px;
	font-weight: 700;
	color: var(--color-dark);
	text-align: right;
}

.game-rating-overall {
	margin-top: 24px;
	padding-top: 24px;
	border-top: 2px solid var(--color-light);
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.game-rating-overall-label {
	font-size: 18px;
	font-weight: 700;
	color: var(--color-dark);
}

.game-rating-overall-value {
	font-size: 36px;
	font-weight: 800;
	color: var(--color-primary);
}

.game-rating-overall-max {
	font-size: 18px;
	font-weight: 500;
	color: var(--color-text-muted);
}

/* Screenshots Gallery - Enhanced */
.game-screenshots-gallery {
	margin-bottom: 32px;
}

.game-screenshots-main {
	width: 100%;
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 16px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.game-screenshots-main img {
	width: 100%;
	height: auto;
	display: block;
}

.game-screenshots-thumbs {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	padding-bottom: 8px;
}

.game-screenshots-thumb {
	flex: 0 0 100px;
	height: 70px;
	border-radius: 8px;
	overflow: hidden;
	cursor: pointer;
	opacity: 0.6;
	transition: all var(--transition-speed) var(--transition-easing);
	border: 2px solid transparent;
}

.game-screenshots-thumb.active,
.game-screenshots-thumb:hover {
	opacity: 1;
	border-color: var(--color-primary);
}

.game-screenshots-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Auto-generated Content Block */
.game-auto-content {
	background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
	border-radius: 12px;
	padding: 32px;
}

.game-auto-content-title {
	font-size: 24px;
	font-weight: 700;
	color: var(--color-dark);
	margin-bottom: 16px;
}

.game-auto-content-text {
	font-size: 16px;
	line-height: 1.8;
	color: var(--color-text);
}

/* FAQ Section - Dedicated */
.game-faq-section {
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: 16px;
	padding: 32px;
}

.game-faq-section h2 {
	margin-bottom: 24px;
}

/* Similar Games Cards - Enhanced */
.similar-games-section .similar-game-card {
	border-radius: 12px;
	overflow: hidden;
	transition: all var(--transition-speed) var(--transition-easing);
}

.similar-games-section .similar-game-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.similar-game-image {
	position: relative;
	padding-top: 75%;
	overflow: hidden;
}

.similar-game-image img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Related Casinos - Compact Cards */
.related-casinos-section .related-casino-card {
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: 12px;
	padding: 16px;
	display: flex;
	gap: 16px;
	transition: all var(--transition-speed) var(--transition-easing);
}

.related-casinos-section .related-casino-card:hover {
	border-color: var(--color-primary);
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* ===================================
   FAQ / EXPANDABLE QUESTIONS STYLES
   =================================== */

.faq-item {
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: 8px;
	margin-bottom: 12px;
	overflow: hidden;
	transition: all var(--transition-speed) var(--transition-easing);
}

.faq-item:hover {
	border-color: var(--color-primary);
}

.faq-item.active {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.faq-question {
	width: 100%;
	background: none;
	border: none;
	padding: 16px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	text-align: left;
	transition: background-color var(--transition-speed) var(--transition-easing);
}

.faq-question:hover {
	background: var(--color-light);
}

.faq-question-text {
	font-size: 16px;
	font-weight: 600;
	color: var(--color-dark);
	padding-right: 16px;
	flex: 1;
}

.faq-toggle {
	font-size: 24px;
	font-weight: 700;
	color: var(--color-primary);
	min-width: 32px;
	text-align: center;
	transition: transform var(--transition-speed) var(--transition-easing);
}

.faq-item.active .faq-toggle {
	transform: rotate(45deg);
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s var(--transition-easing);
}

.faq-item.active .faq-answer {
	max-height: 1000px;
}

.faq-answer-content {
	padding: 0 20px 20px 20px;
	font-size: 15px;
	line-height: 1.7;
	color: var(--color-text);
}

.faq-answer-content p {
	margin-bottom: 12px;
}

.faq-answer-content p:last-child {
	margin-bottom: 0;
}

.faq-answer-content strong {
	color: var(--color-dark);
	font-weight: 600;
}

.faq-answer-content a {
	color: var(--color-primary);
	text-decoration: underline;
}

.faq-answer-content a:hover {
	color: var(--color-dark);
}

/* Spacing between FAQs and other content */
.content-block-text .faq-item:first-child {
	margin-top: 16px;
}

.content-block-text h3 + .faq-item {
	margin-top: 12px;
}

/* Mobile responsive */
@media (max-width: 767px) {
	.faq-question {
		padding: 14px 16px;
	}
	
	.faq-question-text {
		font-size: 15px;
	}
	
	.faq-toggle {
		font-size: 20px;
		min-width: 28px;
	}
	
	.faq-answer-content {
		padding: 0 16px 16px 16px;
		font-size: 14px;
	}
}

/* ===================================
   MARKDOWN TABLE STYLES
   =================================== */

.markdown-table {
	width: 100%;
	text-align: center;
	border-collapse: collapse;
	margin: 24px 0;
}

.markdown-table th,
.markdown-table td {
	padding: 10px;
	border: 1px solid var(--color-border);
}

.markdown-table th {
	background: var(--color-light);
	font-weight: 600;
	color: var(--color-dark);
}

.markdown-table tr:hover {
    background: rgba(0, 0, 0, 0.02);
}

/* ===================================
   CONTENT FAQ (details/summary variant)
   Used by casinos/index.html and some category pages
   =================================== */

.content-faq {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.content-faq-item {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    transition: all var(--transition-speed) var(--transition-easing);
}

.content-faq-item summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    transition: background-color var(--transition-speed) var(--transition-easing);
}

.content-faq-item summary:hover { background: var(--color-light); }
.content-faq-item summary::-webkit-details-marker { display: none; }
.content-faq-item summary::after {
    content: '+';
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    min-width: 24px;
    text-align: center;
    transition: transform var(--transition-speed) var(--transition-easing);
}

.content-faq-item[open] summary::after { transform: rotate(45deg); }

.content-faq-question {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-dark);
}

.content-faq-answer {
    padding: 20px 20px 20px 20px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-text);
}

@media (max-width: 767px) {
    .content-faq-item summary { padding: 14px 16px; }
    .content-faq-question { font-size: 15px; }
    .content-faq-answer { padding: 16px 16px 16px 16px; font-size: 14px; }
}

/* ===================================
   RELATED CASINOS SECTION
   =================================== */

.related-casinos-section {
	background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
	border: 2px solid #ffd54f;
	border-radius: 16px;
	padding: 32px;
	text-align: left;
}

.related-casinos-section h2 {
	font-size: 28px;
	font-weight: 700;
	color: var(--color-dark);
	margin-bottom: 24px;
	text-align: left;
}

.related-casinos-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
}

@media (max-width: 767px) {
	.related-casinos-grid {
		grid-template-columns: 1fr;
	}
}

.related-casino-card {
	background: var(--color-white);
	border-radius: 12px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 16px;
	transition: transform var(--transition-speed) var(--transition-easing),
	            box-shadow var(--transition-speed) var(--transition-easing);
}

.related-casino-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.related-casino-image {
	width: 120px;
	height: 120px;
	border-radius: 12px;
	overflow: hidden;
	background: var(--color-light);
	flex-shrink: 0;
}

.related-casino-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.related-casino-info {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
}

.related-casino-name {
	font-size: 20px;
	font-weight: 700;
	color: var(--color-dark);
	margin: 0;
}

.related-casino-bonus {
	font-size: 15px;
	font-weight: 600;
	color: var(--color-dark);
	padding: 8px 12px;
	background: rgba(255, 213, 79, 0.3);
	border-radius: 8px;
}

.related-casino-rating {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	font-size: 14px;
}

.related-casino-rating .rating-label {
	color: var(--color-text-secondary);
}

.related-casino-rating .rating-value {
	font-size: 24px;
	font-weight: 700;
	color: var(--color-primary);
}

/* ===================================
   SIMILAR GAMES SECTION WITH TABS
   =================================== */

.similar-games-section {
	margin: 0;
}

.similar-games-section h2 {
	font-size: 32px;
	font-weight: 700;
	color: var(--color-dark);
	margin-bottom: 24px;
}

.similar-games-tabs {
	display: flex;
	gap: 12px;
	margin-bottom: 24px;
	border-bottom: 2px solid var(--color-border);
	flex-wrap: wrap;
}

.tab-button {
	padding: 12px 24px;
	background: none;
	border: none;
	border-bottom: 3px solid transparent;
	font-size: 16px;
	font-weight: 600;
	color: var(--color-text-secondary);
	cursor: pointer;
	transition: all var(--transition-speed) var(--transition-easing);
	margin-bottom: -2px;
}

.tab-button:hover {
	color: var(--color-dark);
	background: var(--color-light);
}

.tab-button.active {
	color: var(--color-primary);
	border-bottom-color: var(--color-primary);
}

.similar-games-content {
	position: relative;
}

.tab-content {
	display: none;
}

.tab-content.active {
	display: block;
}

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

@media (max-width: 767px) {
	.similar-games-grid {
		grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
		gap: 16px;
	}
}

.similar-game-card {
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform var(--transition-speed) var(--transition-easing),
	            box-shadow var(--transition-speed) var(--transition-easing);
	text-decoration: none;
	color: inherit;
}

.similar-game-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.similar-game-image {
	width: 100%;
	height: 180px;
	overflow: hidden;
	background: var(--color-light);
}

.similar-game-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--transition-speed) var(--transition-easing);
}

.similar-game-card:hover .similar-game-image img {
	transform: scale(1.05);
}

.similar-game-info {
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex: 1;
}

.similar-game-name {
	font-size: 18px;
	font-weight: 700;
	color: var(--color-dark);
	margin: 0;
	line-height: 1.3;
}

.similar-game-description {
	font-size: 14px;
	color: var(--color-text-secondary);
	line-height: 1.5;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.similar-game-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: auto;
	justify-content: space-around;
}

.similar-game-stats .stat-item {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.similar-game-stats .stat-label {
	font-size: 11px;
	color: var(--color-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.similar-game-stats .stat-value {
	font-size: 14px;
	font-weight: 600;
	color: var(--color-dark);
}

/* ===================================
   EDITORIAL LISTING PAGES (NEWS & ARTICLES)
   =================================== */

.editorial-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 32px;
	margin-top: 40px;
}

@media (max-width: 767px) {
	.editorial-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}

.editorial-card {
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: 16px;
	overflow: hidden;
	transition: transform var(--transition-speed) var(--transition-easing),
	            box-shadow var(--transition-speed) var(--transition-easing);
}

.editorial-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.editorial-card-link {
	display: flex;
	flex-direction: column;
	height: 100%;
	text-decoration: none;
	color: inherit;
}

.editorial-card-image {
	width: 100%;
	height: 220px;
	overflow: hidden;
	background: var(--color-light);
}

.editorial-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--transition-speed) var(--transition-easing);
}

.editorial-card:hover .editorial-card-image img {
	transform: scale(1.05);
}

.editorial-card-content {
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex: 1;
}

.editorial-card-title {
	font-size: 22px;
	font-weight: 700;
	color: var(--color-dark);
	line-height: 1.3;
	margin: 0;
}

.editorial-card-meta {
	font-size: 13px;
	color: var(--color-text-muted);
	margin: 0;
}

.editorial-card-description {
	font-size: 15px;
	line-height: 1.6;
	color: var(--color-text-secondary);
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.editorial-card-cta {
	font-size: 15px;
	font-weight: 600;
	color: var(--color-primary);
	margin-top: auto;
	padding-top: 8px;
	transition: color var(--transition-speed) var(--transition-easing);
}

.editorial-card:hover .editorial-card-cta {
	color: var(--color-primary-hover);
}

/* ===================================
   PRIMARY NAV LANDING PAGES
   =================================== */

.content-hero {
	padding: 56px 0 48px;
	background: linear-gradient(180deg, #f9f9f9, transparent);
	text-align: center;
}

/* Hide section-header on pages with bonus-toplist */
body:has(.bonus-toplist) .section-header {
	display: none;
}

.content-hero__title {
	font-size: 48px;
	line-height: 1.1;
	margin-bottom: 16px;
	color: var(--color-dark);
}

.content-hero__intro {
	max-width: 780px;
	font-size: 18px;
	color: var(--color-text-secondary);
	margin: 0 auto;
}

.content-section {
	padding: 0;
	background: #FFF;
}

.content-section--alt {
	background: #FFF;
}

/* Hide first content-section immediately after hero (typically contains affiliate disclosure or intro text) */
.content-hero + .content-section {
	display: none;
}
.content-hero + .content-section--games-listing {
	display: block;
}

.table-wrapper {
	overflow-x: auto;
	background: var(--color-white);
	border-radius: 16px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.table-wrapper .markdown-table {
	min-width: 0;
	width: 100%;
	margin: 0;
}

.currency-cell {
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 600;
}

.currency-cell img {
	width: 36px;
	height: 36px;
	border-radius: 12px;
	object-fit: cover;
	background: var(--color-light);
	padding: 4px;
}

.currency-cell span {
	display: inline-block;
    text-align: left;
}

.content-body {
	max-width: 820px;
	font-size: 16px;
	line-height: 1.75;
	color: var(--color-text);
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.content-body p {
    margin-top: 0;
    margin-bottom: 1em;
}

.content-block-text p,
.bonus-terms-content p,
.side-component-text p {
    margin-top: 0;
    margin-bottom: 1em;
}

.content-body a {
	color: var(--color-primary);
	text-decoration: underline;
}

.content-body a:hover {
	color: var(--color-primary-hover);
}

.content-body strong {
	font-weight: 600;
}

.content-list {
	padding-left: 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.content-list li {
	list-style: disc;
	margin-left: 16px;
}

.content-body ul ul {
	margin-top: 8px;
}

.content-body ul ul li {
	list-style: circle;
}

.content-body h3 {
	font-size: 22px;
	margin: 24px 0 8px;
	color: var(--color-dark);
}

.content-read-more {
	margin-top: 24px;
	border: 1px solid var(--color-border);
	border-radius: 14px;
	padding: 18px 22px;
	background: var(--color-white);
	box-shadow: 0 4px 14px rgba(17, 24, 39, 0.08);
	transition: box-shadow 0.2s ease;
}

.content-read-more[open] {
	box-shadow: 0 6px 18px rgba(17, 24, 39, 0.12);
}

.content-read-more summary {
	cursor: pointer;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 10px;
	list-style: none;
}

.content-read-more summary::-webkit-details-marker {
	display: none;
}

.content-read-more summary::after {
	content: '+';
	margin-left: auto;
	font-size: 20px;
	line-height: 1;
	transition: transform 0.2s ease;
}

.content-read-more[open] summary::after {
	content: '-';
	transform: rotate(180deg);
}

.content-read-more__body {
	margin-top: 14px;
	color: var(--color-text-secondary);
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.content-read-more__body .content-list {
	margin-top: 8px;
}

@media (max-width: 767px) {
	.content-hero {
		padding: 30px 0 0 0;
	}

	.content-hero__title {
		font-size: 36px;
	}

	.content-hero__intro {
		font-size: 16px;
	}

	.content-section {
		padding: 0;
	}

	.content-section .container {
		margin-top: 0;
	}

	.footer-summary {
		padding: 32px 24px;
		border-top-width: 10px;
		border-bottom-width: 10px;
		margin-bottom: 40px;
	}

	.footer-summary__content h2 {
		font-size: 28px;
	}

	.table-wrapper .markdown-table {
		min-width: 0;
	}
}

/* --------------------------------------------- */
/* Homepage Sections                             */
/* --------------------------------------------- */

.homepage-section {
	padding: 72px 0;
}

.homepage-section:nth-of-type(even) {
	background: var(--color-lightest);
}

.section-empty {
	text-align: center;
	padding: 48px;
	color: #888;
	background: rgba(255, 255, 255, 0.6);
	border-radius: 16px;
}

.section-footer {
	margin-top: 32px;
	text-align: center;
}

/* Casino Detail Header */

.casino-header {
	background: #1a1a1a !important;
	color: #ffffff !important;
	padding: 40px 0;
	border-radius: 20px;
	margin-bottom: 40px;
}

.casino-header *:not(.btn-primary) {
	color: #ffffff !important;
	border-color: rgba(255, 255, 255, 0.2) !important;
}

.casino-header .score-card,
.casino-header .bonus-banner,
.casino-header .casino-header-content,
.casino-header .casino-header-info,
.casino-header .score-grid,
.casino-header .hero-badge,
.casino-header .fact-rail,
.casino-header div:not(.btn) {
	background: transparent !important;
}

.casino-header .score-label,
.casino-header .bonus-label {
	color: rgba(255, 255, 255, 0.7) !important;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.casino-header .score-value,
.casino-header .bonus-value {
	color: #ffffff !important;
	font-weight: 700;
}

.casino-header .score-max {
	color: rgba(255, 255, 255, 0.5) !important;
	font-weight: 400;
}

.casino-header .btn-primary {
	background: #ffffff !important;
	color: #1a1a1a !important;
	border: 2px solid #ffffff !important;
}

.casino-header .btn-primary:hover {
	background: #f0f0f0 !important;
	color: #1a1a1a !important;
}

/* Casino Header Mobile Styles */
@media (max-width: 768px) {
	.casino-header {
		padding: 24px 16px !important;
		border-radius: 12px !important;
		margin-bottom: 24px !important;
	}

	.casino-header .casino-header-content {
		flex-direction: column !important;
		gap: 20px !important;
	}

	.casino-header .casino-media {
		order: 1;
		text-align: center;
	}

	.casino-header .casino-image-large {
		max-width: 200px !important;
		margin: 0 auto !important;
	}

	.casino-header .casino-header-info {
		order: 2;
	}

	.casino-header .casino-title-group {
		text-align: center;
	}

	.casino-header .casino-title {
		font-size: 24px !important;
	}

	.casino-header .score-grid {
		display: flex !important;
		flex-direction: column !important;
		gap: 12px !important;
		align-items: center !important;
	}

	.casino-header .score-card {
		width: 100% !important;
		max-width: 300px !important;
		text-align: center !important;
		padding: 16px !important;
		background: rgba(255, 255, 255, 0.1) !important;
		border-radius: 12px !important;
	}

	.casino-header .bonus-banner {
		text-align: center !important;
		padding: 16px !important;
		background: rgba(255, 255, 255, 0.1) !important;
		border-radius: 12px !important;
	}

	.casino-header .header-actions {
		text-align: center !important;
	}

	.casino-header .btn-primary {
		width: 100% !important;
		padding: 16px 24px !important;
		font-size: 16px !important;
	}

	.casino-header .fact-rail {
		padding: 16px !important;
	}

	.casino-header .hero-badge {
		justify-content: center !important;
	}
}

/* Casino Toplist */

.casino-toplist {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}

.casino-top-card {
	background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
	border-radius: 20px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
	transition: all 0.3s ease;
	overflow: hidden;
	border: 2px solid transparent;
	position: relative;
}

.casino-top-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #eeb220, #f6ba23);
}

.casino-top-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
	border-color: #eeb220;
}

.casino-top-card__header {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 28px 24px 0 24px;
}

.casino-top-card__rank {
	width: 56px;
	height: 56px;
	background: linear-gradient(135deg, #eeb220, #f6ba23);
	color: #fff;
	font-weight: 800;
	font-size: 24px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-shadow: 0 4px 16px rgba(238, 178, 32, 0.4);
}

.casino-top-card__meta {
	flex: 1;
	min-width: 0;
}

.casino-top-card__name {
	font-size: 22px;
	font-weight: 800;
	margin: 0 0 4px 0;
	line-height: 1.2;
}

.casino-top-card__name a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.casino-top-card__name a:hover {
	color: var(--color-primary);
}

.casino-top-card__usps {
	margin: 8px 0 0 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: row;
	gap: 16px;
	flex-wrap: wrap;
}

.casino-top-card__usps li {
	color: #000;
	font-size: 15px;
	line-height: 1.4;
	padding-left: 16px;
	position: relative;
}

.casino-top-card__usps li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: #28a745;
	font-weight: bold;
}

.casino-top-card__body {
	display: grid;
	grid-template-columns: 200px 1fr auto;
	gap: 24px;
	padding: 20px 24px;
}

.casino-top-card__image {
	width: 200px;
	height: 140px;
	border-radius: 12px;
	overflow: hidden;
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.06);
}

.casino-top-card__image img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.casino-top-card__info {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
}

.casino-top-card__scores {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.casino-top-card__scores .score-item {
	background: linear-gradient(135deg, #f8f9fa, #e9ecef);
	border-radius: 16px;
	padding: 12px 20px;
	text-align: center;
	min-width: 90px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
	transition: all 0.3s ease;
}

/* Premium score (9.5+) with golden glow */
.casino-top-card__scores .score-item--premium {
	background: linear-gradient(135deg, #ffd700, #ffed4e, #ffd700);
	box-shadow:
		0 0 20px rgba(255, 215, 0, 0.5),
		0 0 40px rgba(255, 215, 0, 0.3),
		0 4px 12px rgba(0, 0, 0, 0.15);
	border: 2px solid rgba(255, 223, 0, 0.8);
	position: relative;
	animation: premiumGlow 2s ease-in-out infinite;
}

@keyframes premiumGlow {
	0%, 100% {
		box-shadow:
			0 0 15px rgba(255, 215, 0, 0.4),
			0 0 35px rgba(255, 215, 0, 0.25),
			0 4px 12px rgba(0, 0, 0, 0.15);
	}
	50% {
		box-shadow:
			0 0 30px rgba(255, 215, 0, 0.7),
			0 0 60px rgba(255, 215, 0, 0.5),
			0 6px 16px rgba(0, 0, 0, 0.2);
	}
}

.casino-top-card__scores .score-item--premium .score-label {
	color: #8B6914;
}

.casino-top-card__scores .score-item--premium .score-value {
	color: #8B6914;
	text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

/* High-quality score (9.0-9.4) with silver glow */
.casino-top-card__scores .score-item--silver {
	background: linear-gradient(135deg, #e8e8e8, #f5f5f5, #e8e8e8);
	box-shadow:
		0 0 15px rgba(192, 192, 192, 0.4),
		0 0 30px rgba(192, 192, 192, 0.25),
		0 4px 12px rgba(0, 0, 0, 0.12);
	border: 2px solid rgba(200, 200, 200, 0.7);
	position: relative;
	animation: silverGlow 2s ease-in-out infinite;
}

@keyframes silverGlow {
	0%, 100% {
		box-shadow:
			0 0 12px rgba(192, 192, 192, 0.3),
			0 0 25px rgba(192, 192, 192, 0.2),
			0 4px 12px rgba(0, 0, 0, 0.12);
	}
	50% {
		box-shadow:
			0 0 25px rgba(192, 192, 192, 0.6),
			0 0 50px rgba(192, 192, 192, 0.4),
			0 6px 16px rgba(0, 0, 0, 0.15);
	}
}

.casino-top-card__scores .score-item--silver .score-label {
	color: #5a5a5a;
}

.casino-top-card__scores .score-item--silver .score-value {
	color: #4a4a4a;
	text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

.casino-top-card__scores .score-label {
	display: block;
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--color-text-secondary);
	margin-bottom: 4px;
	font-weight: 600;
}

.casino-top-card__scores .score-value {
	display: block;
	font-size: 26px;
	font-weight: 800;
	color: #eeb220;
	line-height: 1;
}

.casino-top-card__bonus {
	font-weight: 600;
	font-size: 15px;
	margin: 0;
	color: var(--color-text-primary);
	line-height: 1.5;
}

.casino-top-card__bonus::before {
	content: '🎁 ';
}

.casino-top-card__description {
	margin: 0;
	color: var(--color-text-secondary);
	font-size: 14px;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Parameter-specific descriptions: show in full with larger font */
.casino-top-card__description--parameter {
	font-size: 16px;
	line-height: 1.6;
	display: block;
	-webkit-line-clamp: unset;
	-webkit-box-orient: unset;
	overflow: visible;
	color: var(--color-text-primary);
	font-weight: 400;
}

.casino-top-card__screenshots {
	display: none;
	flex-direction: column;
	gap: 8px;
	width: 270px;
}

.casino-top-card__screenshots .screenshot-thumb {
	width: 270px;
	padding: 0;
	height: auto;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.casino-top-card__screenshots .screenshot-thumb:hover {
	transform: scale(1.05);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.casino-top-card__screenshots .screenshot-thumb img {
	width: 100%;
	height: auto;
	display: block;
}

.casino-top-card__footer {
	padding: 0 24px 24px 24px;
}

.casino-top-card__actions {
	display: flex;
	gap: 12px;
}

.casino-top-card__actions .btn {
	flex: 1;
	white-space: nowrap;
}

.casino-top-card__actions .btn-primary {
	background: linear-gradient(135deg, #eeb220, #f6ba23);
	border: none;
	font-weight: 700;
	box-shadow: 0 4px 12px rgba(238, 178, 32, 0.3);
	position: relative;
	overflow: hidden;
}

.casino-top-card__actions .btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(238, 178, 32, 0.4);
}

@media (max-width: 768px) {
	.casino-top-card__header {
		padding: 20px 20px 0 20px;
	}

	.casino-top-card__rank {
		width: 48px;
		height: 48px;
		font-size: 20px;
	}

	.casino-top-card__name {
		font-size: 19px;
	}

	.casino-top-card__body {
		grid-template-columns: 1fr;
		gap: 16px;
		padding: 16px 20px;
	}

	.casino-top-card__image {
		width: 100%;
		max-width: 200px;
		margin: 0 auto;
	}

	.casino-top-card__scores {
		justify-content: center;
	}

	.casino-top-card__footer {
		padding: 0 20px 20px 20px;
	}

	.casino-top-card__actions {
		flex-direction: column;
	}

	.casino-top-card__screenshots {
		width: 100%;
		max-width: 270px;
		margin: 0 auto;
	}

	.casino-top-card__screenshots .screenshot-thumb {
		width: 100%;
	}
}

/* Hidden casino cards */
.casino-top-card--hidden {
	display: none;
}

/* Show All Button */
.casino-show-all {
	display: flex;
	justify-content: center;
	margin: 32px 0 24px 0;
}

.casino-show-all__button {
	min-width: 200px;
	padding: 14px 32px;
	font-size: 16px;
	font-weight: 600;
	transition: all 0.3s ease;
}

.casino-show-all__button:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ──────────────────────────────────────────
   Promoted Cards (featured casinos above listings)
   ────────────────────────────────────────── */

.promoted-cards {
	padding: 0 0 8px 0;
}

.promoted-cards .container {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.promoted-card {
	display: grid;
	grid-template-columns: 120px 1fr auto auto;
	align-items: center;
	gap: 24px;
	padding: 20px 24px;
	background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
	border-radius: 20px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
	border: 2px solid transparent;
	position: relative;
	transition: all 0.3s ease;
}

.promoted-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #eeb220, #f6ba23);
	border-radius: 20px 20px 0 0;
}

.promoted-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
	border-color: #eeb220;
}

.promoted-card__logo {
	width: 120px;
	height: 80px;
	border-radius: 12px;
	overflow: hidden;
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.06);
	flex-shrink: 0;
}

.promoted-card__logo img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.promoted-card__content {
	min-width: 0;
	flex: 1;
}

.promoted-card__name {
	font-size: 20px;
	font-weight: 800;
	margin: 0 0 6px 0;
	line-height: 1.2;
}

.promoted-card__name a {
	color: inherit;
	text-decoration: none;
	transition: color 0.2s ease;
}

.promoted-card__name a:hover {
	color: var(--color-primary);
}

.promoted-card__usps {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: row;
	gap: 16px;
	flex-wrap: wrap;
}

.promoted-card__usps li {
	color: #000;
	font-size: 14px;
	line-height: 1.4;
	padding-left: 16px;
	position: relative;
}

.promoted-card__usps li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: #28a745;
	font-weight: bold;
}

.promoted-card__score {
	flex-shrink: 0;
}

.promoted-card__score .score-item {
	background: linear-gradient(135deg, #f8f9fa, #e9ecef);
	border-radius: 16px;
	padding: 12px 20px;
	text-align: center;
	min-width: 90px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
	transition: all 0.3s ease;
}

.promoted-card__score .score-item--premium {
	background: linear-gradient(135deg, #ffd700, #ffed4e, #ffd700);
	box-shadow:
		0 0 20px rgba(255, 215, 0, 0.5),
		0 0 40px rgba(255, 215, 0, 0.3),
		0 4px 12px rgba(0, 0, 0, 0.15);
	border: 2px solid rgba(255, 223, 0, 0.8);
	animation: premiumGlow 2s ease-in-out infinite;
}

.promoted-card__score .score-item--premium .score-label {
	color: #8B6914;
}

.promoted-card__score .score-item--premium .score-value {
	color: #8B6914;
	text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.promoted-card__score .score-item--silver {
	background: linear-gradient(135deg, #e8e8e8, #f5f5f5, #e8e8e8);
	box-shadow:
		0 0 15px rgba(192, 192, 192, 0.4),
		0 0 30px rgba(192, 192, 192, 0.2),
		0 4px 12px rgba(0, 0, 0, 0.1);
	border: 2px solid rgba(192, 192, 192, 0.6);
}

.promoted-card__score .score-item--silver .score-label {
	color: #666;
}

.promoted-card__score .score-item--silver .score-value {
	color: #555;
}

.promoted-card__score .score-label {
	display: block;
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #888;
	margin-bottom: 4px;
}

.promoted-card__score .score-value {
	display: block;
	font-size: 26px;
	font-weight: 800;
	color: #eeb220;
	line-height: 1;
}

.promoted-card__actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex-shrink: 0;
}

.promoted-card__actions .btn {
	min-width: 140px;
	text-align: center;
	font-size: 14px;
	padding: 10px 20px;
}

.promoted-card__actions .btn-primary {
	background: linear-gradient(135deg, #eeb220, #f6ba23);
	color: #fff;
	font-weight: 700;
	border: none;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(238, 178, 32, 0.3);
}

.promoted-card__actions .btn-primary:hover {
	background: linear-gradient(135deg, #f6ba23, #eeb220);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(238, 178, 32, 0.4);
}

/* Responsive: tablet */
@media (max-width: 1024px) {
	.promoted-card {
		grid-template-columns: 100px 1fr auto;
		grid-template-rows: auto auto;
		gap: 16px;
	}

	.promoted-card__logo {
		width: 100px;
		height: 68px;
	}

	.promoted-card__actions {
		grid-column: 1 / -1;
		flex-direction: row;
		justify-content: center;
	}
}

/* Responsive: mobile */
@media (max-width: 767px) {
	.promoted-card {
		grid-template-columns: 80px 1fr;
		gap: 12px;
		padding: 16px;
	}

	.promoted-card__logo {
		width: 80px;
		height: 56px;
		grid-row: 1;
	}

	.promoted-card__content {
		grid-row: 1;
	}

	.promoted-card__name {
		font-size: 17px;
	}

	.promoted-card__usps {
		flex-direction: column;
		gap: 4px;
	}

	.promoted-card__usps li {
		font-size: 13px;
	}

	.promoted-card__score {
		grid-column: 1 / -1;
		display: flex;
		justify-content: center;
	}

	.promoted-card__actions {
		grid-column: 1 / -1;
		flex-direction: row;
	}

	.promoted-card__actions .btn {
		flex: 1;
		min-width: 0;
	}
}

/* Featured Partners Toplist */

.featured-toplist {
	padding: 24px 0 8px 0;
}

.featured-toplist__header {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
	flex-wrap: wrap;
}

.featured-toplist__star {
	color: #eeb220;
	font-size: 20px;
	line-height: 1;
}

.featured-toplist__header-label {
	font-size: 16px;
	font-weight: 800;
	color: #dc2626;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.featured-toplist__header-sub {
	font-size: 13px;
	color: #6b7280;
	margin-left: 4px;
}

.featured-toplist__grid {
	display: grid;
	gap: 16px;
}

.featured-toplist__grid--1 {
	grid-template-columns: 1fr;
	max-width: 600px;
}

.featured-toplist__grid--2 {
	grid-template-columns: repeat(2, 1fr);
}

.featured-toplist__grid--3 {
	grid-template-columns: repeat(3, 1fr);
}

.featured-toplist__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 20px 16px 16px;
	background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
	border-radius: 16px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
	border: 1px solid #e5e7eb;
	transition: all 0.25s ease;
	position: relative;
}

.featured-toplist__card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
	border-color: #d1d5db;
}

/* Dark variant — applied on /trading so cards match the dark wrapper. */
.featured-toplist--dark .featured-toplist__card {
	background: linear-gradient(135deg, #1f1f1f 0%, #171717 100%);
	border-color: #2a2a2a;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.featured-toplist--dark .featured-toplist__card:hover {
	border-color: #3a3a3a;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
}

.featured-toplist--dark .featured-toplist__name a {
	color: #f4f4f5;
}

.featured-toplist--dark .featured-toplist__name a:hover {
	color: var(--color-primary, #eeb220);
}

.featured-toplist--dark .featured-toplist__usps li {
	color: #d4d4d8;
}

.featured-toplist--dark .featured-toplist__usps li::before {
	color: #34d399;
}

.featured-toplist--dark .featured-toplist__score-circle {
	background: linear-gradient(135deg, #2a2a2a, #1d1d1d);
	color: #fbbf24;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.featured-toplist--dark .featured-toplist__logo {
	background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
}

.featured-toplist__logo {
	width: 96px;
	height: 64px;
	border-radius: 12px;
	overflow: hidden;
	background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 12px;
	flex-shrink: 0;
}

.featured-toplist__logo img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.featured-toplist__info {
	flex: 1;
	min-width: 0;
	margin-bottom: 12px;
}

.featured-toplist__name-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-bottom: 8px;
	flex-wrap: wrap;
}

.featured-toplist__name {
	font-size: 16px;
	font-weight: 800;
	margin: 0;
	line-height: 1.2;
}

.featured-toplist__name a {
	color: #111827;
	text-decoration: none;
	transition: color 0.2s ease;
}

.featured-toplist__name a:hover {
	color: var(--color-primary, #eeb220);
}

.featured-toplist__badge {
	display: inline-block;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 3px 8px;
	border-radius: 4px;
	white-space: nowrap;
}

.featured-toplist__badge--gold {
	background: #fef3c7;
	color: #92400e;
	border: 1px solid #fcd34d;
}

.featured-toplist__badge--teal {
	background: #ccfbf1;
	color: #065f46;
	border: 1px solid #5eead4;
}

.featured-toplist__badge--purple {
	background: #ede9fe;
	color: #5b21b6;
	border: 1px solid #c4b5fd;
}

.featured-toplist__usps {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 4px;
	align-items: center;
}

.featured-toplist__usps li {
	color: #4b5563;
	font-size: 13px;
	line-height: 1.3;
	padding-left: 16px;
	position: relative;
	text-align: left;
}

.featured-toplist__usps li::before {
	content: '✓';
	position: absolute;
	left: 0;
	color: #10b981;
	font-weight: bold;
	font-size: 12px;
}

.featured-toplist__score-circle {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	font-weight: 800;
	color: #eeb220;
	margin: 8px 0 12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.featured-toplist__score-circle--premium {
	background: linear-gradient(135deg, #ffd700, #ffed4e, #ffd700);
	color: #8B6914;
	box-shadow: 0 0 16px rgba(255, 215, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.1);
	border: 2px solid rgba(255, 223, 0, 0.6);
	animation: premiumGlow 2s ease-in-out infinite;
}

.featured-toplist__score-circle--silver {
	background: linear-gradient(135deg, #e8e8e8, #f5f5f5, #e8e8e8);
	color: #555;
	box-shadow: 0 0 12px rgba(192, 192, 192, 0.3), 0 2px 8px rgba(0, 0, 0, 0.08);
	border: 2px solid rgba(192, 192, 192, 0.5);
}

.featured-toplist__cta {
	display: block;
	width: 100%;
	text-align: center;
	font-size: 14px;
	font-weight: 700;
	padding: 10px 16px;
	border-radius: 10px;
	text-decoration: none;
	transition: all 0.2s ease;
}

.featured-toplist__cta--gold {
	background: linear-gradient(135deg, #eeb220, #f6ba23);
	color: #fff;
	box-shadow: 0 4px 12px rgba(238, 178, 32, 0.25);
}

.featured-toplist__cta--gold:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(238, 178, 32, 0.35);
}

.featured-toplist__cta--teal {
	background: linear-gradient(135deg, #14b8a6, #0d9488);
	color: #fff;
	box-shadow: 0 4px 12px rgba(20, 184, 166, 0.25);
}

.featured-toplist__cta--teal:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(20, 184, 166, 0.35);
}

/* Featured Toplist responsive: tablet */
@media (max-width: 1024px) {
	.featured-toplist__grid--3 {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* Featured Toplist responsive: mobile */
@media (max-width: 767px) {
	.featured-toplist__grid--2,
	.featured-toplist__grid--3 {
		grid-template-columns: 1fr;
	}

	.featured-toplist__card {
		flex-direction: row;
		text-align: left;
		gap: 14px;
		padding: 14px;
		flex-wrap: wrap;
	}

	.featured-toplist__logo {
		width: 72px;
		height: 48px;
		margin-bottom: 0;
	}

	.featured-toplist__info {
		flex: 1;
		margin-bottom: 0;
	}

	.featured-toplist__name-row {
		justify-content: flex-start;
	}

	.featured-toplist__usps {
		align-items: flex-start;
	}

	.featured-toplist__score-circle {
		width: 48px;
		height: 48px;
		font-size: 18px;
		margin: 0;
	}

	.featured-toplist__cta {
		width: 100%;
	}
}

/* Featured Toplist: scroll-snap carousel on narrow viewports */
.featured-toplist__cards-row {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	overflow-y: visible;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	scroll-padding-inline: 16px;
}

.featured-toplist__cards-row::-webkit-scrollbar {
	display: none;
}

.featured-toplist__cards-row .featured-toplist__card {
	scroll-snap-align: start;
	flex: 0 0 auto;
	flex-direction: column;
	width: min(85%, 360px);
}

@media (min-width: 900px) {
	.featured-toplist__cards-row {
		scroll-snap-type: none;
		justify-content: space-between;
	}

	.featured-toplist__cards-row .featured-toplist__card {
		width: calc((100% - 20px) / 3);
	}
}

/* Bonus Toplist */

.bonus-toplist {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
}

.bonus-card {
	background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
	border-radius: 24px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
	border: 2px solid transparent;
	overflow: hidden;
	transition: all 0.3s ease;
	position: relative;
}

.bonus-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 6px;
	background: linear-gradient(90deg, #eeb220, #f6ba23);
}

.bonus-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
	border-color: #eeb220;
}

.bonus-card__header {
	display: grid;
	grid-template-columns: auto 1fr auto;
	gap: 24px;
	align-items: center;
	padding: 32px 32px 24px 32px;
	background: #fff;
}

.bonus-card__rank {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: linear-gradient(135deg, #eeb220, #f6ba23);
	color: #fff;
	font-size: 22px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 16px rgba(238, 178, 32, 0.4);
	flex-shrink: 0;
}

.bonus-card__header-info {
	min-width: 0;
}

.bonus-card__title {
	font-size: 26px;
	font-weight: 800;
	margin: 0 0 8px 0;
	color: var(--color-text-primary);
	line-height: 1.2;
}

.bonus-card__summary {
	font-size: 14px;
	line-height: 1.6;
	color: var(--color-text-secondary);
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.bonus-card__scores {
	display: flex;
	gap: 12px;
	flex-shrink: 0;
}

.bonus-card__scores .score-item {
	background: linear-gradient(135deg, #f8f9fa, #e9ecef);
	border-radius: 16px;
	padding: 12px 20px;
	text-align: center;
	min-width: 90px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.bonus-card__scores .score-label {
	display: block;
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--color-text-secondary);
	margin-bottom: 4px;
	font-weight: 600;
}

.bonus-card__scores .score-value {
	display: block;
	font-size: 28px;
	font-weight: 800;
	color: #eeb220;
	line-height: 1;
}

/* Premium score (9.5+) with golden glow */
.bonus-card__scores .score-item--premium {
	background: linear-gradient(135deg, #ffd700, #ffed4e, #ffd700);
	box-shadow:
		0 0 20px rgba(255, 215, 0, 0.5),
		0 0 40px rgba(255, 215, 0, 0.3),
		0 4px 12px rgba(0, 0, 0, 0.15);
	border: 2px solid rgba(255, 215, 0, 0.4);
}

.bonus-card__scores .score-item--premium .score-label {
	color: #8B6914;
}

.bonus-card__scores .score-item--premium .score-value {
	color: #8B6914;
	text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

/* High-quality score (9.0-9.4) with silver glow */
.bonus-card__scores .score-item--silver {
	background: linear-gradient(135deg, #e8e8e8, #f5f5f5, #e8e8e8);
	box-shadow:
		0 0 15px rgba(192, 192, 192, 0.4),
		0 0 30px rgba(192, 192, 192, 0.2),
		0 4px 12px rgba(0, 0, 0, 0.1);
	border: 2px solid rgba(192, 192, 192, 0.3);
}

.bonus-card__scores .score-item--silver .score-label {
	color: #666;
}

.bonus-card__scores .score-item--silver .score-value {
	color: #444;
	text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.bonus-card__body {
	padding: 24px 32px;
	background: rgba(238, 178, 32, 0.03);
	border-top: 1px solid rgba(0, 0, 0, 0.06);
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.bonus-card__offer h4 {
	font-size: 22px;
	font-weight: 800;
	margin: 0 0 16px 0;
	color: #eeb220;
	display: flex;
	align-items: center;
	gap: 8px;
}

.bonus-card__offer h4::before {
	content: '🎁';
	font-size: 24px;
}

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

.bonus-card__details li {
	padding: 12px 16px;
	background: #fff;
	border-radius: 12px;
	font-size: 14px;
	font-weight: 600;
	color: var(--color-text-primary);
	border-left: 4px solid #eeb220;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
	position: relative;
	padding-left: 48px;
}

.bonus-card__details li::before {
	content: '✓';
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: linear-gradient(135deg, #eeb220, #f6ba23);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	font-weight: 800;
}

.bonus-card__terms {
	display: flex;
	gap: 12px;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #eee;
}

.bonus-term {
	text-align: center;
	padding: 12px 20px;
	background: #f8f9fa;
	border-radius: 8px;
	flex: 1;
}

.bonus-term__value {
	display: block;
	font-size: 18px;
	font-weight: 700;
	color: #1a1a2e;
	margin-bottom: 4px;
}

.bonus-term__label {
	display: block;
	font-size: 11px;
	color: #666;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.bonus-card__footer {
	padding: 24px 32px 32px 32px;
	background: #fff;
}

.bonus-card__actions {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 12px;
}

.bonus-card__actions .btn-primary {
	background: linear-gradient(135deg, #eeb220, #f6ba23);
	border: none;
	font-size: 16px;
	font-weight: 700;
	padding: 16px 32px;
	box-shadow: 0 4px 16px rgba(238, 178, 32, 0.3);
	position: relative;
	overflow: hidden;
}

.bonus-card__actions .btn-primary::before {
	content: '→';
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 20px;
	font-weight: 700;
	opacity: 0;
	transition: all 0.3s ease;
}

.bonus-card__actions .btn-primary:hover::before {
	opacity: 1;
	right: 16px;
}

.bonus-card__actions .btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(238, 178, 32, 0.5);
}

.bonus-card__actions .btn-secondary {
	font-weight: 600;
	border: 2px solid var(--color-border);
	background: #fff;
}

.bonus-card__actions .btn-secondary:hover {
	border-color: #eeb220;
	background: rgba(238, 178, 32, 0.05);
	transform: translateY(-2px);
}

@media (max-width: 768px) {
	.bonus-card__header {
		grid-template-columns: 1fr;
		gap: 20px;
		padding: 24px 20px 20px 20px;
	}

	.bonus-card__rank {
		width: 48px;
		height: 48px;
		font-size: 18px;
	}

	.bonus-card__title {
		font-size: 22px;
	}

	.bonus-card__summary {
		-webkit-line-clamp: 3;
	}

	.bonus-card__scores {
		justify-content: flex-start;
		width: 100%;
	}

	.bonus-card__scores .score-item {
		flex: 1;
		min-width: 0;
	}

	.bonus-card__body {
		padding: 20px;
	}

	.bonus-card__offer h4 {
		font-size: 18px;
	}

	.bonus-card__details li {
		font-size: 13px;
		padding: 10px 12px 10px 40px;
	}

	.bonus-card__details li::before {
		width: 20px;
		height: 20px;
		font-size: 10px;
		left: 12px;
	}

	.bonus-card__footer {
		padding: 20px;
	}

	.bonus-card__actions {
		grid-template-columns: 1fr;
	}

	.bonus-card__actions .btn {
		width: 100%;
	}
}

/* Guides */

.guides-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

@media (min-width: 640px) {
	.guides-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
}

@media (min-width: 1024px) {
	.guides-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 24px;
	}
}

.guide-card {
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.guide-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.guide-card__link-wrap {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.guide-card__image {
	position: relative;
}

.guide-card__image img {
	width: 100%;
	height: 160px;
	object-fit: cover;
	display: block;
}

.guide-card__hub {
	position: absolute;
	bottom: 8px;
	left: 8px;
	background: rgba(0, 0, 0, 0.65);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	padding: 3px 8px;
	border-radius: 4px;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}

.guide-card__content {
	padding: 14px 16px 16px;
	flex: 1;
}

.guide-card__title {
	margin: 0 0 8px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.guide-card__meta {
	margin: 0;
	color: var(--color-text-secondary);
	font-size: 12px;
}

.guide-card__difficulty {
	font-weight: 600;
}

/* Editor Picks */

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

.pick-card {
	background: #fff;
	border-radius: 18px;
	padding: 24px;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.pick-card__badge {
	display: inline-block;
	background: rgba(255, 149, 0, 0.12);
	color: var(--color-primary);
	font-weight: 600;
	font-size: 13px;
	padding: 6px 12px;
	border-radius: 999px;
}

.pick-card__title {
	margin: 0;
	font-size: 20px;
}

.pick-card__category {
	margin: 0;
	color: var(--color-text-secondary);
	font-size: 14px;
	text-transform: uppercase;
}

.pick-card__description {
	margin: 0;
	color: var(--color-text-secondary);
}

.pick-card__highlight {
	margin: 0;
	font-weight: 600;
}

.pick-card__link {
	font-weight: 600;
	color: var(--color-primary);
}

/* New Slots (homepage section) */

.new-slots-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

#new-slots .section-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	text-align: left;
	margin-bottom: 24px;
}

#new-slots .section-header__text {
	flex: 1;
}

#new-slots .section-header__cta {
	flex-shrink: 0;
	margin-left: 24px;
	white-space: nowrap;
}

#new-slots .section-title {
	margin-bottom: 4px;
}

@media (max-width: 639px) {
	.new-slots-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}

	#new-slots .section-header {
		gap: 12px;
	}

	#new-slots .section-header__cta {
		margin-left: 12px;
	}
}

/* Games */

.games-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 24px;
}

.game-card {
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.game-card__image img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.game-card__content {
	padding: 20px 24px;
}

.game-card__header {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 12px;
}

.game-card__title {
	margin: 0;
	font-size: 20px;
}
.game-card__title a { color: inherit; text-decoration: none; }

.game-card__provider {
	color: var(--color-text-secondary);
	font-size: 14px;
}

.game-card__description {
	margin: 12px 0;
	color: var(--color-text-secondary);
}

.game-card__stats {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	gap: 16px;
}

.game-card__stats li {
	background: var(--color-lightest);
	border-radius: 12px;
	padding: 10px 14px;
	text-align: center;
}

.game-card__stats span {
	display: block;
	font-size: 12px;
	color: var(--color-text-secondary);
}

.game-card__stats strong {
	display: block;
	font-size: 16px;
	font-weight: 700;
}

.game-card__footer {
	padding: 20px 24px 24px;
}

.game-card__actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* FAQ */

.faq-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.faq-item {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
	overflow: hidden;
}

.faq-question {
	width: 100%;
	text-align: left;
	padding: 18px 20px;
	background: none;
	border: none;
	font-size: 16px;
	font-weight: 600;
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
}

.faq-toggle {
	font-size: 22px;
	transition: transform 0.3s ease;
}

.faq-item.is-open .faq-toggle {
	transform: rotate(45deg);
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
	padding: 0 20px;
	color: var(--color-text-secondary);
}

.faq-item.is-open .faq-answer {
	max-height: 220px;
	padding-bottom: 18px;
}

.author-section {
	padding: 72px 0 96px;
	background: var(--color-lightest, #f6f8fb);
}

.author-page {
	display: flex;
	flex-direction: column;
	gap: 64px;
}

.author-page > .section-empty {
	margin: 0;
}

.author-hero {
	display: grid;
	grid-template-columns: 180px 1fr;
	gap: 32px;
	align-items: center;
	margin-bottom: 48px;
	padding: 32px;
	background: #fff;
	border-radius: 24px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.author-hero__media img {
	width: 180px;
	height: 180px;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.author-avatar {
	width: 180px;
	height: 180px;
	border-radius: 50%;
	background: var(--color-primary);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 72px;
	font-weight: 700;
}

.author-hero__content h1 {
	margin: 0 0 12px;
	font-size: 30px;
}

.author-title {
	margin: 0 0 12px;
	color: var(--color-primary);
	font-weight: 600;
}

.author-bio {
	margin: 0 0 18px;
	color: var(--color-text-secondary);
}

.author-metrics {
	list-style: none;
	padding: 0;
	margin: 0 0 18px;
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
}

.author-metrics li {
	font-size: 14px;
	color: var(--color-text-secondary);
}

.author-metrics span {
	display: block;
	font-size: 20px;
	font-weight: 700;
	color: var(--color-text);
}

.author-social {
	display: flex;
	gap: 16px;
}

.author-social a {
	font-weight: 600;
	color: var(--color-primary);
}

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

.author-card {
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.author-card__title {
	margin: 0;
	font-size: 18px;
}

.author-card__meta {
	margin: 0;
	color: var(--color-text-secondary);
	font-size: 14px;
}

.author-card__description {
	margin: 0;
	color: var(--color-text-secondary);
	flex-grow: 1;
}

.author-card__link {
	font-weight: 600;
	color: var(--color-primary);
}

.author-section-block {
	margin-top: 56px;
}

@media (max-width: 768px) {
	.author-section {
		padding: 48px 0 64px;
	}

	.author-page {
		gap: 40px;
	}

	.casino-top-card__body {
		grid-template-columns: 1fr;
	}

	.game-card__stats {
		flex-wrap: wrap;
	}

	.game-card__actions,
	.author-hero {
		flex-direction: column;
		align-items: stretch;
	}

	.author-hero {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.author-hero__media,
	.author-hero__content {
		justify-self: center;
	}

	.author-social {
		justify-content: center;
	}
}

/* ============================================
   GUIDES SYSTEM STYLES
   ============================================ */

/* Hub Grid */
.guide-hubs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 24px;
	margin-top: 32px;
}

@media (max-width: 768px) {
	.guide-hubs-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

/* Hub Card */
.guide-hub-card {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: 12px;
	padding: 32px 24px;
	text-align: center;
	text-decoration: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	transition: all 0.2s ease;
	position: relative;
}

.guide-hub-card:hover {
	border-color: var(--color-primary);
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.guide-hub-card__title {
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--color-dark);
	margin: 0;
}

.guide-hub-card__description {
	font-size: 0.9rem;
	color: var(--color-text-muted);
	line-height: 1.5;
	margin: 0;
	flex-grow: 1;
}

.guide-hub-card__count {
	font-size: 0.875rem;
	color: var(--color-text-muted);
	font-weight: 500;
}

/* Section Title Override */
.section-title {
	text-align: left;
	font-size: 1.75rem;
	font-weight: 600;
	color: var(--color-dark);
	margin: 40px 0 24px;
}

/* Hub Header (individual hub pages) */
.guide-hub-header {
	text-align: center;
	padding: 32px 0;
	max-width: 700px;
	margin: 0 auto 48px;
}

.guide-hub-title {
	font-size: 2rem;
	font-weight: 700;
	color: var(--color-dark);
	margin-bottom: 12px;
}

.guide-hub-description {
	font-size: 1.05rem;
	color: var(--color-text-muted);
	line-height: 1.6;
	margin-bottom: 8px;
}

.guide-hub-count {
	font-size: 0.9rem;
	color: var(--color-text-muted);
}

/* Guide Article Badge */
.guide-article-hub-badge {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 600;
	color: white;
	padding: 4px 12px;
	border-radius: 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 12px;
}

/* Breadcrumbs */
.breadcrumbs {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.875rem;
	color: var(--color-text-muted);
	margin-bottom: 24px;
	flex-wrap: wrap;
}

.breadcrumbs a {
	color: var(--color-text);
	text-decoration: none;
	transition: color 0.2s ease;
}

.breadcrumbs a:hover {
	color: var(--color-primary);
}

.breadcrumb-separator {
	color: var(--color-text-muted);
}

.breadcrumbs [aria-current="page"] {
	color: var(--color-dark);
	font-weight: 500;
}

/* Hide horizontal rules */
hr {
	display: none;
}

/* ===================================
   GAME DETAIL V1 - LIGHT THEME FALLBACK
   For games without rich V2 data
   =================================== */

.game-detail-v1 {
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem;
}

.game-detail-v1 .game-header {
	display: flex;
	gap: 2rem;
	margin-bottom: 2rem;
	background: none;
	border-radius: 0;
	padding: 0;
	max-width: none;
	border: none;
	box-shadow: none;
}

.game-detail-v1 .game-image {
	flex: 0 0 280px;
}

.game-detail-v1 .game-image img {
	width: 100%;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.game-detail-v1 .game-info {
	flex: 1;
}

.game-detail-v1 .game-provider {
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--primary);
	margin-bottom: 0.5rem;
}

.game-detail-v1 .game-title {
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 0.75rem;
	color: var(--color-text);
}

.game-detail-v1 .game-tagline {
	font-size: 1rem;
	color: var(--color-text-secondary);
	margin-bottom: 1.5rem;
	line-height: 1.6;
}

.game-detail-v1 .game-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.game-detail-v1 .game-stat {
	background: var(--color-bg-light, #f5f5f5);
	padding: 0.75rem 1rem;
	border-radius: 8px;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.game-detail-v1 .game-stat .label {
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--color-text-secondary);
}

.game-detail-v1 .game-stat .value {
	font-size: 1rem;
	font-weight: 600;
	color: var(--color-text);
}

.game-detail-v1 .game-casinos {
	margin-top: 2rem;
	padding: 1.5rem;
	background: var(--color-bg-light, #f9f9f9);
	border-radius: 12px;
}

.game-detail-v1 .game-casinos h3 {
	font-size: 1.1rem;
	margin-bottom: 1rem;
}

.game-detail-v1 .casino-list {
	display: flex;
	gap: 1rem;
}

.game-detail-v1 .casino-item {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	background: white;
	border-radius: 8px;
	text-decoration: none;
	color: inherit;
	box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.game-detail-v1 .casino-item img {
	width: 32px;
	height: 32px;
	border-radius: 6px;
}

.game-detail-v1 .game-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1.5rem;
}

.game-detail-v1 .tag {
	background: var(--color-bg-light, #eee);
	padding: 0.35rem 0.75rem;
	border-radius: 20px;
	font-size: 0.8rem;
	color: var(--color-text-secondary);
}

@media (max-width: 768px) {
	.game-detail-v1 .game-header {
		flex-direction: column;
	}
	.game-detail-v1 .game-image {
		flex: none;
		max-width: 200px;
		margin: 0 auto;
	}
	.game-detail-v1 .game-info {
		text-align: center;
	}
	.game-detail-v1 .game-stats {
		justify-content: center;
	}
	.game-detail-v1 .casino-list {
		flex-direction: column;
	}
}

/* V1 content blocks */
.game-detail-v1 .game-v1-section {
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: 1px solid var(--color-border);
}

.game-detail-v1 .game-v1-section__title {
	font-size: 1.375rem;
	font-weight: 700;
	margin-bottom: 1rem;
	color: var(--color-text);
}

.game-detail-v1 .game-v1-section__content {
	font-size: 0.9375rem;
	line-height: 1.75;
	color: var(--color-text);
}

.game-detail-v1 .game-v1-section__content p {
	margin-bottom: 1rem;
}

.game-detail-v1 .game-v1-section__content h3,
.game-detail-v1 .game-v1-section__content h4 {
	margin-top: 1.25rem;
	margin-bottom: 0.5rem;
	font-weight: 700;
}

.game-detail-v1 .game-v1-section__content ul,
.game-detail-v1 .game-v1-section__content ol {
	margin: 0.75rem 0;
	padding-left: 1.5rem;
}

.game-detail-v1 .game-v1-section__content li {
	margin-bottom: 0.35rem;
}

/* ===================================
   GAME DETAIL V2 - SCOUT REPORT STYLE
   Dark theme with orange/gold accents
   =================================== */

/* CSS Variables for the dark theme */
.gd2 {
	--gd2-bg-dark: #0a0a0c;
	--gd2-bg-card: #111114;
	--gd2-bg-elevated: #18181c;
	--gd2-bg-hover: #1f1f24;
	--gd2-text-primary: #fafafa;
	--gd2-text-secondary: #a1a1aa;
	--gd2-text-muted: #71717a;
	--gd2-accent: #ff9500;
	--gd2-accent-dim: rgba(255, 149, 0, 0.15);
	--gd2-gold: #fbbf24;
	--gd2-gold-dim: rgba(251, 191, 36, 0.15);
	--gd2-success: #22c55e;
	--gd2-danger: #ef4444;
	--gd2-border: rgba(255, 255, 255, 0.06);
	--gd2-border-hover: rgba(255, 255, 255, 0.12);
	--gd2-glow: 0 0 60px rgba(168, 85, 247, 0.15);
}

.gd2 {
	background: var(--gd2-bg-dark);
	color: var(--gd2-text-primary);
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	margin: calc(-1 * var(--header-offset, 126px)) -20px -60px;
	padding: 0;
}

@media (min-width: 768px) {
	.gd2 {
		margin: calc(-1 * var(--header-offset, 126px)) calc(-50vw + 50%) -80px;
	}
}

/* Hero Section */
.gd2-hero {
	position: relative;
	overflow: hidden;
	padding-top: var(--header-offset, 126px);
}

.gd2-hero-bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.gd2-hero-bg > img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(0.15);
}

.gd2-hero-gradient {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(10,10,12,0.5) 0%, var(--gd2-bg-dark) 100%);
	z-index: 1;
}

.gd2-hero-inner {
	position: relative;
	z-index: 2;
	max-width: 1400px;
	margin: 0 auto;
	padding: 3rem 2rem 4rem;
	display: flex;
	align-items: flex-start;
	gap: 3rem;
}

.gd2-hero-content {
	flex: 1;
	min-width: 0;
}

.gd2-hero-video-wrap {
	flex: 0 0 340px;
	position: sticky;
	top: 2rem;
}

.gd2-hero-video,
.gd2-hero-image {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 0 30px var(--gd2-accent-dim);
	border: 1px solid var(--gd2-border-hover);
	background: #000;
}

.gd2-hero-video video,
.gd2-hero-image img {
	display: block;
	width: 100%;
	height: auto;
}

.gd2-video-controls {
	position: absolute;
	bottom: 10px;
	right: 10px;
	display: flex;
	gap: 6px;
}

.gd2-video-btn {
	width: 32px;
	height: 32px;
	background: rgba(0,0,0,0.6);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255,255,255,0.15);
	border-radius: 6px;
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.gd2-video-btn:hover {
	background: rgba(0,0,0,0.8);
	border-color: rgba(255,255,255,0.3);
}

.gd2-video-btn svg {
	width: 16px;
	height: 16px;
}

.gd2-hero-header {
	display: flex;
	align-items: flex-start;
	gap: 1.5rem;
	margin-bottom: 1.5rem;
}

.gd2-hero-info {
	flex: 1;
	min-width: 0;
}

.gd2-hero-logo {
	flex-shrink: 0;
	width: 160px;
	height: 160px;
	border-radius: 16px;
	object-fit: cover;
	box-shadow: 0 8px 32px rgba(0,0,0,0.5), 0 0 20px var(--gd2-accent-dim);
	border: 2px solid var(--gd2-border-hover);
}

.gd2-hero-provider {
	display: inline-block;
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: var(--gd2-accent);
	background: var(--gd2-accent-dim);
	padding: 0.35rem 0.875rem;
	border-radius: 100px;
	margin-bottom: 0.75rem;
}

.gd2-hero-title {
	font-size: clamp(2rem, 5vw, 3.25rem);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.03em;
	margin-bottom: 1rem;
	color: var(--gd2-text-primary);
}

.gd2-hero-tagline {
	font-size: 0.95rem;
	color: var(--gd2-text-secondary);
	line-height: 1.6;
	margin-bottom: 1.75rem;
}

/* Hero Stats Card */
.gd2-hero-stats {
	background: var(--gd2-bg-card);
	border: 1px solid var(--gd2-border);
	border-radius: 12px;
	padding: 0.5rem 1.25rem;
	margin-bottom: 2rem;
}

.gd2-hero-stat {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.5rem 0;
	border-bottom: 1px solid var(--gd2-border);
	flex-wrap: wrap;
}

.gd2-hero-stat:last-child {
	border-bottom: none;
}

.gd2-hero-stat-label {
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--gd2-text-muted);
}

.gd2-hero-stat-value {
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--gd2-text-primary);
}

.gd2-hero-stat-value.gold {
	color: var(--gd2-gold);
}

.gd2-hero-stat-value.accent {
	color: var(--gd2-accent);
}

.gd2-hero-stat-modes {
	width: 100%;
	margin-top: 0.35rem;
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.gd2-hero-stat-mode {
	display: flex;
	justify-content: space-between;
	gap: 0.5rem;
	font-size: 0.7rem;
	color: var(--gd2-text-muted);
}

.gd2-hero-stat-mode .mode-name {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	max-width: 120px;
}

.gd2-hero-stat-mode .mode-rtp {
	color: var(--gd2-accent);
	font-weight: 600;
	white-space: nowrap;
}

/* Hero Features Glance */
.gd2-hero-features {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
}

.gd2-hero-features-title {
	font-size: 1.125rem;
	font-weight: 700;
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	color: var(--gd2-text-primary);
}

.gd2-hero-features-title::before {
	content: '';
	width: 4px;
	height: 1.25em;
	background: var(--gd2-accent);
	border-radius: 2px;
}

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

.gd2-glance-list li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.5rem 0;
	border-bottom: 1px solid var(--gd2-border);
	font-size: 0.9rem;
}

.gd2-glance-list li:last-child {
	border-bottom: none;
}

.gd2-glance-feature {
	flex-direction: column !important;
	align-items: flex-start !important;
	gap: 0.25rem;
	padding: 0.75rem 0 !important;
}

.gd2-glance-label {
	color: var(--gd2-text-primary);
	font-weight: 600;
}

.gd2-glance-feature .gd2-glance-label {
	color: var(--gd2-text-primary);
	font-weight: 600;
}

.gd2-glance-value {
	color: var(--gd2-text-secondary);
	font-weight: 400;
	line-height: 1.5;
}

.gd2-glance-trigger {
	display: inline-block;
	font-size: 0.7rem;
	font-weight: 600;
	color: var(--gd2-gold);
	background: var(--gd2-gold-dim);
	padding: 0.2rem 0.5rem;
	border-radius: 100px;
	margin-top: 0.25rem;
}

@media (max-width: 1100px) {
	.gd2-hero-inner {
		flex-direction: column;
	}

	.gd2-hero-video-wrap {
		position: static;
		flex: none;
		width: 100%;
		max-width: 400px;
		margin: 0 auto;
		order: -1;
	}
}

/* Container */
.gd2-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 2rem;
}

/* Content Wrap - Main + Sidebar */
.gd2-content-wrap {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 3rem;
	padding: 3rem 0;
}

@media (max-width: 1000px) {
	.gd2-content-wrap {
		grid-template-columns: 1fr;
	}
}

/* Main Content */
.gd2-main-content {
	min-width: 0;
}

/* Section Styling */
.gd2-section {
	margin-bottom: 3rem;
}

.gd2-section-title {
	font-size: 1.375rem;
	font-weight: 700;
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	color: var(--gd2-text-primary);
}

.gd2-section-title::before {
	content: '';
	width: 4px;
	height: 1.25em;
	background: var(--gd2-accent);
	border-radius: 2px;
}

.gd2-section-content {
	color: var(--gd2-text-secondary);
	font-size: 1rem;
}

.gd2-section-content p {
	margin-bottom: 1rem;
}

.gd2-section-content h3 {
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--gd2-text-primary);
	margin: 1.5rem 0 0.75rem;
}

.gd2-section-content ul,
.gd2-section-content ol {
	margin: 1rem 0;
	padding-left: 1.5rem;
}

.gd2-section-content li {
	margin-bottom: 0.5rem;
	color: var(--gd2-text-secondary);
}

.gd2-section-content strong {
	color: var(--gd2-text-primary);
	font-weight: 600;
}

.gd2-section-content a {
	color: var(--gd2-accent);
	text-decoration: none;
}

.gd2-section-content a:hover {
	text-decoration: underline;
}

/* Bonus Feature Blocks */
.gd2-bonus-feature {
	margin-bottom: 1.5rem;
}

.gd2-bonus-feature:last-child {
	margin-bottom: 0;
}

.gd2-bonus-feature-title {
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--gd2-text-primary);
	margin-bottom: 0.5rem;
}

.gd2-feature-trigger {
	display: inline-block;
	font-size: 0.7rem;
	font-weight: 600;
	color: var(--gd2-gold);
	background: var(--gd2-gold-dim);
	padding: 0.25rem 0.625rem;
	border-radius: 100px;
	margin-bottom: 0.75rem;
}

/* Paytable Section */
.gd2-paytable-section {
	margin: 2.5rem 0;
}

.gd2-paytable-grid {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.gd2-paytable-row {
	display: flex;
	align-items: center;
	background: var(--gd2-bg-card);
	border: 1px solid var(--gd2-border);
	border-radius: 10px;
	padding: 0.75rem 1rem;
	gap: 1rem;
	transition: all 0.2s;
}

.gd2-paytable-row:hover {
	background: var(--gd2-bg-elevated);
	border-color: var(--gd2-border-hover);
}

.gd2-paytable-row.scatter {
	border-color: var(--gd2-gold);
	background: linear-gradient(135deg, var(--gd2-bg-card), var(--gd2-gold-dim));
}

.gd2-paytable-row.wild {
	border-color: var(--gd2-success);
	background: linear-gradient(135deg, var(--gd2-bg-card), rgba(34,197,94,0.1));
}

.gd2-paytable-row.bonus {
	border-color: var(--gd2-accent);
	background: linear-gradient(135deg, var(--gd2-bg-card), var(--gd2-accent-dim));
}

.gd2-paytable-symbol {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-width: 150px;
}

.gd2-paytable-symbol-info {
	display: flex;
	flex-direction: column;
}

.gd2-paytable-symbol-name {
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--gd2-text-primary);
}

.gd2-paytable-symbol-type {
	font-size: 0.65rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--gd2-text-muted);
}

.gd2-paytable-pays {
	display: flex;
	flex-wrap: wrap;
	gap: 0.375rem;
	flex: 1;
	justify-content: flex-end;
}

.gd2-pay-chip {
	display: flex;
	flex-direction: column;
	align-items: center;
	background: var(--gd2-bg-elevated);
	padding: 0.35rem 0.5rem;
	border-radius: 6px;
	min-width: 46px;
}

.gd2-pay-count {
	font-size: 0.6rem;
	color: var(--gd2-text-muted);
}

.gd2-pay-value {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--gd2-gold);
}

@media (max-width: 700px) {
	.gd2-paytable-row {
		flex-direction: column;
		align-items: flex-start;
	}

	.gd2-paytable-pays {
		justify-content: flex-start;
		width: 100%;
		margin-top: 0.5rem;
	}
}

/* Sidebar */
.gd2-sidebar {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

/* Card Component */
.gd2-card {
	background: var(--gd2-bg-card);
	border: 1px solid var(--gd2-border);
	border-radius: 14px;
	padding: 1.5rem;
}

.gd2-card-title {
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--gd2-text-muted);
	margin-bottom: 1rem;
}

/* Rating Card */
.gd2-rating-card {
	background: var(--gd2-bg-card);
}

.gd2-rating-hero {
	display: flex;
	align-items: baseline;
	gap: 0.375rem;
	margin-bottom: 1.5rem;
}

.gd2-rating-score {
	font-size: 3.5rem;
	font-weight: 800;
	color: var(--gd2-gold);
	line-height: 1;
}

.gd2-rating-max {
	font-size: 1.25rem;
	color: var(--gd2-text-muted);
}

.gd2-rating-bars {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.gd2-rating-bar {
	display: grid;
	grid-template-columns: 90px 1fr 28px;
	align-items: center;
	gap: 0.75rem;
}

.gd2-rating-bar-label {
	font-size: 0.8rem;
	color: var(--gd2-text-secondary);
}

.gd2-rating-bar-track {
	height: 5px;
	background: var(--gd2-bg-elevated);
	border-radius: 3px;
	overflow: hidden;
}

.gd2-rating-bar-fill {
	height: 100%;
	background: linear-gradient(90deg, var(--gd2-accent), var(--gd2-gold));
	border-radius: 3px;
	transition: width 0.6s ease;
}

.gd2-rating-bar-value {
	font-size: 0.8rem;
	font-weight: 600;
	text-align: right;
	color: var(--gd2-text-primary);
}

/* Theme Tags */
.gd2-theme-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.gd2-theme-tag {
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--gd2-accent);
	background: var(--gd2-accent-dim);
	padding: 0.3rem 0.75rem;
	border-radius: 100px;
}

/* Casino List */
.gd2-casino-list {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.gd2-casino-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.75rem;
	background: var(--gd2-bg-elevated);
	border-radius: 8px;
	transition: background 0.2s;
}

.gd2-casino-item:hover {
	background: var(--gd2-bg-hover);
}

.gd2-casino-info {
	display: flex;
	align-items: center;
	gap: 0.625rem;
}

.gd2-casino-logo {
	width: 32px;
	height: 32px;
	background: var(--gd2-bg-dark);
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.7rem;
	color: var(--gd2-text-muted);
	flex-shrink: 0;
	overflow: hidden;
}

.gd2-casino-logo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gd2-casino-name {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--gd2-text-primary);
}

.gd2-casino-bonus {
	font-size: 0.7rem;
	color: var(--gd2-gold);
}

.gd2-casino-play {
	font-size: 0.7rem;
	font-weight: 600;
	color: var(--gd2-bg-dark);
	background: var(--gd2-gold);
	padding: 0.375rem 0.75rem;
	border-radius: 6px;
	text-decoration: none;
	transition: opacity 0.2s;
	white-space: nowrap;
}

.gd2-casino-play:hover {
	opacity: 0.9;
}

/* Similar Games */
.gd2-similar-games {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.gd2-similar-game {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.625rem;
	background: var(--gd2-bg-elevated);
	border-radius: 8px;
	transition: background 0.2s;
	text-decoration: none;
	color: inherit;
}

.gd2-similar-game:hover {
	background: var(--gd2-bg-hover);
}

.gd2-similar-game-thumb {
	width: 48px;
	height: 36px;
	background: var(--gd2-bg-dark);
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	flex-shrink: 0;
}

.gd2-similar-game-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gd2-similar-game-thumb span {
	font-size: 0.65rem;
	color: var(--gd2-text-muted);
}

.gd2-similar-game-info {
	flex: 1;
	min-width: 0;
}

.gd2-similar-game-name {
	font-size: 0.85rem;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	color: var(--gd2-text-primary);
}

.gd2-similar-game-provider {
	font-size: 0.7rem;
	color: var(--gd2-text-muted);
}

/* FAQ Section */
.gd2-faq-section {
	margin-top: 2rem;
}

.gd2-faq-item {
	background: var(--gd2-bg-card);
	border: 1px solid var(--gd2-border);
	border-radius: 8px;
	margin-bottom: 0.5rem;
	overflow: hidden;
}

.gd2-faq-item:hover {
	border-color: var(--gd2-border-hover);
}

.gd2-faq-question {
	width: 100%;
	background: none;
	border: none;
	padding: 1rem 1.25rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	text-align: left;
	color: var(--gd2-text-primary);
}

.gd2-faq-question:hover {
	background: var(--gd2-bg-elevated);
}

.gd2-faq-question-text {
	font-size: 0.95rem;
	font-weight: 600;
	padding-right: 1rem;
	flex: 1;
}

.gd2-faq-toggle {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--gd2-accent);
	min-width: 24px;
	text-align: center;
	transition: transform 0.3s;
}

.gd2-faq-item.active .gd2-faq-toggle {
	transform: rotate(45deg);
}

.gd2-faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
}

.gd2-faq-item.active .gd2-faq-answer {
	max-height: 500px;
}

.gd2-faq-answer-content {
	padding: 0 1.25rem 1.25rem;
	font-size: 0.9rem;
	color: var(--gd2-text-secondary);
	line-height: 1.6;
}

/* Gallery Section */
.gd2-gallery-section {
	padding: 3rem 0;
	border-top: 1px solid var(--gd2-border);
}

.gd2-gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 1rem;
	align-items: start;
}

.gd2-gallery-item {
	border-radius: 10px;
	overflow: hidden;
	margin: 0;
}

.gd2-gallery-item img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 10px;
	transition: transform 0.3s;
}

.gd2-gallery-item:hover img {
	transform: scale(1.02);
}

/* Screenshot inline */
.gd2-screenshot {
	width: 100%;
	max-width: 100%;
	height: auto;
	border-radius: 10px;
	margin: 1rem 0;
}

/* Tables */
.gd2-table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5rem 0;
	background: var(--gd2-bg-card);
	border-radius: 8px;
	overflow: hidden;
}

.gd2-table th,
.gd2-table td {
	padding: 0.75rem 1rem;
	text-align: left;
	border-bottom: 1px solid var(--gd2-border);
}

.gd2-table th {
	background: var(--gd2-bg-elevated);
	font-weight: 600;
	color: var(--gd2-text-primary);
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.gd2-table td {
	color: var(--gd2-text-secondary);
	font-size: 0.9rem;
}

.gd2-table tr:last-child td {
	border-bottom: none;
}

.gd2-table tr:hover td {
	background: var(--gd2-bg-elevated);
}

/* Theme Tags */
.gd2-theme-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.gd2-theme-tag {
	display: inline-block;
	padding: 0.3rem 0.75rem;
	background: var(--gd2-accent-dim);
	color: var(--gd2-accent);
	border: 1px solid var(--gd2-accent);
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.02em;
}

/* Gallery Captions */
.gd2-gallery-item figcaption {
	color: var(--gd2-text-muted);
	font-size: 0.8rem;
	font-style: italic;
	text-align: center;
	padding: 0.5rem 0.25rem;
}

/* Verdict Box */
.gd2-verdict-box {
	background: linear-gradient(135deg, var(--gd2-bg-elevated), var(--gd2-bg-card));
	border: 1px solid var(--gd2-accent);
	border-radius: 14px;
	padding: 2rem;
	margin-top: 1rem;
	box-shadow: 0 0 40px var(--gd2-accent-dim);
}

/* Mobile Responsive */
@media (max-width: 767px) {
	.gd2-hero-inner {
		padding: 2rem 1rem 3rem;
	}

	.gd2-hero-logo {
		width: 140px;
		height: 140px;
	}

	.gd2-hero-title {
		font-size: 1.75rem;
	}

	.gd2-container {
		padding: 0 1rem;
	}

	.gd2-content-wrap {
		gap: 2rem;
		padding: 2rem 0;
	}

	.gd2-section-title {
		font-size: 1.25rem;
	}

	.gd2-rating-bar {
		grid-template-columns: 70px 1fr 24px;
	}

	.gd2-gallery-grid {
		grid-template-columns: 1fr;
	}
}

/* ===================================
   GAMES LISTING PAGE
   =================================== */

/* Toolbar: search + sort + filter toggle */
.games-listing-toolbar {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-bottom: 24px;
}

.games-listing-toolbar__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.games-listing-toolbar__count {
	font-size: 0.875rem;
	color: var(--color-text-secondary);
	white-space: nowrap;
}

/* Search */
.games-search {
	position: relative;
	flex: 1 1 260px;
}

.games-search--hero {
	max-width: 520px;
	margin: 24px auto 0;
	flex: none;
}

.games-search--hero .games-search__input {
	padding: 12px 16px 12px 44px;
	font-size: 1rem;
	border-radius: 999px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.games-search__icon {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--color-text-muted);
	pointer-events: none;
}

.games-search__input {
	width: 100%;
	padding: 10px 14px 10px 40px;
	border: 1px solid var(--color-border);
	border-radius: 8px;
	font-size: 0.9375rem;
	font-family: var(--font-primary);
	background: var(--color-white);
	transition: border-color var(--transition-speed);
}

.games-search__input:focus {
	outline: none;
	border-color: var(--color-primary);
}

/* Sort pills (matches casino category-sort style) */
.games-sort-group {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.games-sort-pill {
	background: var(--color-light);
	border: none;
	border-radius: 999px;
	padding: 8px 18px;
	font-size: 14px;
	font-weight: 600;
	color: var(--color-text-secondary);
	cursor: pointer;
	transition: background var(--transition-speed) var(--transition-easing),
	            color var(--transition-speed) var(--transition-easing),
	            transform var(--transition-speed) var(--transition-easing);
}

.games-sort-pill:hover {
	transform: translateY(-1px);
	background: rgba(255, 149, 0, 0.14);
	color: var(--color-primary);
}

.games-sort-pill--active {
	background: var(--color-primary);
	color: var(--color-dark);
}

/* Filter toggle (mobile) */
.games-filter-toggle {
	display: none;
	align-items: center;
	gap: 6px;
	padding: 8px 18px;
	border: 1px solid var(--color-border);
	border-radius: 999px;
	background: transparent;
	font-size: 14px;
	font-weight: 600;
	font-family: var(--font-primary);
	cursor: pointer;
	color: var(--color-text);
	transition: background var(--transition-speed) var(--transition-easing),
	            color var(--transition-speed) var(--transition-easing),
	            transform var(--transition-speed) var(--transition-easing);
}

.games-filter-toggle:hover {
	background: rgba(255, 149, 0, 0.12);
	color: var(--color-primary);
	transform: translateY(-1px);
}

.games-filter-toggle svg {
	flex-shrink: 0;
}

/* Layout: sidebar + grid */
.games-listing-layout {
	display: flex;
	gap: 32px;
	align-items: flex-start;
}

.games-listing-main {
	flex: 1;
	min-width: 0;
}

/* Filter sidebar */
.games-filter-sidebar {
	width: 260px;
	flex-shrink: 0;
}

/* Filter panels */
.games-filter-panel {
	margin-bottom: 20px;
}

.games-filter-panel__title {
	font-size: 0.8125rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--color-text-secondary);
	margin-bottom: 10px;
}

.games-filter-panel__options {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.games-filter-panel__options--segments {
	flex-direction: row;
	flex-wrap: wrap;
	gap: 6px;
}

/* Checkbox filter items */
.games-filter-check {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 4px 0;
	font-size: 0.875rem;
	cursor: pointer;
	color: var(--color-text);
}

.games-filter-check input[type="checkbox"] {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	accent-color: var(--color-primary);
	cursor: pointer;
}

.games-filter-check span {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.games-filter-check small {
	color: var(--color-text-muted);
	font-size: 0.75rem;
	flex-shrink: 0;
}

/* Segmented button filters (RTP, Max Win) */
.games-filter-segment {
	display: inline-flex;
	cursor: pointer;
}

.games-filter-segment input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.games-filter-segment span {
	padding: 6px 12px;
	border: 1px solid var(--color-border);
	border-radius: 6px;
	font-size: 0.8125rem;
	color: var(--color-text-secondary);
	background: var(--color-white);
	transition: all var(--transition-speed);
	white-space: nowrap;
}

.games-filter-segment input:checked + span {
	background: var(--color-primary);
	color: var(--color-white);
	border-color: var(--color-primary);
}

/* Clear filters button */
.games-filter-clear {
	display: block;
	width: 100%;
	padding: 10px;
	margin-top: 8px;
	border: 1px solid var(--color-border);
	border-radius: 8px;
	background: transparent;
	font-size: 0.8125rem;
	font-family: var(--font-primary);
	color: var(--color-text-secondary);
	cursor: pointer;
	transition: all var(--transition-speed);
}

.games-filter-clear:hover {
	border-color: var(--color-primary);
	color: var(--color-primary);
}

/* Compact game grid */
.games-compact-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 16px;
}

/* Compact game card */
.game-compact-card {
	border: 1px solid var(--color-border);
	border-radius: 10px;
	overflow: hidden;
	background: var(--color-white);
	transition: box-shadow var(--transition-speed), transform var(--transition-speed);
}

.game-compact-card:hover {
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

.game-compact-card a {
	display: block;
	text-decoration: none;
	color: inherit;
}

.game-compact-card__image {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #f5f5f5;
}

.game-compact-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.game-compact-card__body {
	padding: 10px 12px 12px;
}

.game-compact-card__name {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--color-text);
	line-height: 1.3;
	min-height: 2.6em;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.game-compact-card__provider {
	font-size: 0.75rem;
	color: var(--color-text-muted);
	margin-top: 2px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.game-compact-card__data {
	display: inline-block;
	background: var(--color-primary);
	color: #fff;
	border-radius: 10px;
	font-size: 0.6875rem;
	font-weight: 700;
	padding: 2px 7px;
	margin-top: 4px;
	line-height: 1.4;
}

.game-compact-card__data:empty {
	display: none;
}

.game-compact-card__meta {
	display: flex;
	gap: 6px;
	margin-top: 8px;
	flex-wrap: wrap;
}

.game-compact-card__badge {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 4px;
	font-size: 0.6875rem;
	font-weight: 600;
	background: #f0f0f5;
	color: var(--color-text-secondary);
	white-space: nowrap;
}

.game-compact-card__badge--vol-1 {
	background: #e8f5e9;
	color: #2e7d32;
}

.game-compact-card__badge--vol-2 {
	background: #fff8e1;
	color: #f57f17;
}

.game-compact-card__badge--vol-3 {
	background: #fce4ec;
	color: #c62828;
}

/* Sentinel & loading */
.games-sentinel {
	height: 1px;
}

.games-loading {
	text-align: center;
	padding: 32px;
	color: var(--color-text-muted);
	font-size: 0.875rem;
}

.games-no-results {
	text-align: center;
	padding: 48px 24px;
	color: var(--color-text-secondary);
	font-size: 1rem;
}

/* Mobile overlay when filter sidebar is open */
.games-filter-overlay-active::after {
	content: '';
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.4);
	z-index: 99;
}

/* --- Responsive --- */
@media (max-width: 1023px) {
	.games-filter-toggle {
		display: flex;
	}

	.games-filter-sidebar {
		position: fixed;
		top: 0;
		left: 0;
		bottom: 0;
		width: 300px;
		max-height: 100vh;
		overflow-y: auto;
		background: var(--color-white);
		z-index: 100;
		padding: 24px 20px;
		transform: translateX(-100%);
		transition: transform var(--transition-speed) var(--transition-easing);
		box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
	}

	.games-filter-sidebar--open {
		transform: translateX(0);
	}

	.games-listing-layout {
		display: block;
	}
}

@media (max-width: 767px) {
	.games-sort-group {
		gap: 8px;
	}

	.games-sort-pill {
		padding: 8px 14px;
		font-size: 13px;
	}
}

@media (max-width: 639px) {
	.games-listing-toolbar__bottom {
		flex-wrap: wrap;
	}

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

	.game-compact-card__body {
		padding: 8px 10px 10px;
	}

	.game-compact-card__name {
		font-size: 0.8125rem;
	}

	.game-compact-card__badge {
		font-size: 0.625rem;
		padding: 2px 6px;
	}
}

/* ── Compact toplist view ──────────────────────────────────────────────────── */

.casino-grid-list--compact .casino-top-card__header {
	padding: 14px 18px 0;
	gap: 10px;
}

.casino-grid-list--compact .casino-top-card__rank {
	width: 36px;
	height: 36px;
	font-size: 15px;
}

.casino-grid-list--compact .casino-top-card__name {
	font-size: 16px;
}

.casino-grid-list--compact .casino-top-card__usps {
	display: none;
}

.casino-grid-list--compact .casino-top-card__body {
	grid-template-columns: 120px 1fr auto;
	gap: 14px;
	padding: 12px 18px;
}

.casino-grid-list--compact .casino-top-card__image {
	width: 120px;
	height: 80px;
}

.casino-grid-list--compact .casino-top-card__footer {
	padding: 0 18px 14px;
}

/* Mobile homepage compaction — reduces excess section/footer/news padding
   so the front page isn't ~48 viewport-heights tall on a 390px screen. */
@media (max-width: 767px) {
	.homepage-section { padding: 40px 0; }
	.homepage-section h2 { margin-top: 0; font-size: 24px; }
	.section-header { margin-bottom: 12px; }

	.news-grid,
	.homepage-section [class*="__grid"],
	.homepage-section [class*="__list"] { gap: 16px; }

	.news-grid .news-card:nth-child(n+4) { display: none; }

	.news-card-image,
	.news-card-image img { height: 160px; }
	.news-card-image img { object-fit: cover; width: 100%; }
	.news-card-content { padding: 14px; }
	.news-card-title { font-size: 17px; margin-bottom: 8px; }
	.news-card-meta { margin-bottom: 6px; }
	.news-card-description {
		margin-bottom: 10px;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	.footer { padding: 40px 0 24px; }
	.footer-summary { padding: 32px 0; margin: 16px 0 32px; }
}
