:root {
	--bg:        #001b24;
	--bg-2:      #00222e;
	--bg-3:      #003d52;
	--line:      rgba(252, 252, 253, .08);
	--line-2:    rgba(252, 252, 253, .2);
	--txt:       #fff;
	--muted:     rgba(252, 252, 253, .6);
	--cyan:      #00bfff;
	--cyan-soft: #99e6ff;
	--red:       #ff2b39;
	--red-dark:  #e01524;
	--green:     #6abd23;
	--gold:      #ffe55c;
	--r:         10px;
	--r-lg:      16px;
	--head-h:    74px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--bg);
	background-image: linear-gradient(180deg, #001b24 0%, #002733 45%, #003243 100%);
	background-attachment: fixed;
	color: var(--txt);
	font: 400 15px/1.55 Raleway, "Segoe UI", sans-serif;
	-webkit-font-smoothing: antialiased;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--cyan-soft); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0 0 12px; font-weight: 700; line-height: 1.2; }

.page {
	max-width: 1400px;
	margin: 0 auto;
	padding: 24px 24px 60px;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

main { min-height: 60vh; padding-top: var(--head-h); }

/* ---------- buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 44px;
	padding: 0 22px;
	border: 0;
	border-radius: var(--r);
	font: 600 15px/1 Raleway, sans-serif;
	cursor: pointer;
	white-space: nowrap;
	transition: filter .15s, background .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-light { background: #fff; color: #06222c; }
.btn-light:hover { background: #dff2fb; color: #06222c; }
.btn-dark { background: rgba(252, 252, 253, .08); color: #fff; }
.btn-dark:hover { background: rgba(252, 252, 253, .16); color: #fff; }
.btn-ghost { background: transparent; color: var(--muted); border: 1px solid var(--line-2); }
.btn-lg { height: 52px; padding: 0 30px; font-size: 16px; }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }

/* ---------- top bar ---------- */
.topbar {
	position: fixed;
	inset: 0 0 auto;
	z-index: 60;
	height: var(--head-h);
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 0 24px;
	background: rgba(0, 22, 30, .92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}
.burger {
	width: 40px; height: 40px;
	display: flex; flex-direction: column; justify-content: center; gap: 5px;
	background: none; border: 0; cursor: pointer; padding: 0 6px;
}
.burger span { display: block; height: 3px; border-radius: 2px; background: #fff; }
.burger span:nth-child(2) { width: 70%; }
.brand img { height: 24px; width: auto; }
.pill-nav { display: flex; gap: 8px; margin-left: 12px; }
.pill {
	display: inline-flex; align-items: center; gap: 8px;
	height: 40px; padding: 0 14px;
	border-radius: var(--r);
	background: rgba(252, 252, 253, .08);
	color: #fff; font-weight: 600; font-size: 14px;
}
.pill:hover { background: rgba(252, 252, 253, .16); color: #fff; }
.pill img { width: 20px; height: 20px; }
.top-actions { margin-left: auto; display: flex; gap: 10px; }

/* ---------- drawer ---------- */
.drawer {
	position: fixed;
	top: 0; left: 0; bottom: 0;
	z-index: 90;
	width: 300px;
	padding: 16px;
	background: #00222e;
	border-right: 1px solid var(--line);
	overflow-y: auto;
	transform: translateX(-104%);
	transition: transform .25s ease;
}
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; height: 42px; margin-bottom: 16px; }
.drawer-close { background: none; border: 0; color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.drawer-promo {
	position: relative; display: block; border-radius: var(--r); overflow: hidden; margin-bottom: 16px;
}
.drawer-promo img { width: 100%; height: 110px; object-fit: cover; }
.drawer-promo:hover { filter: brightness(1.06); }
.drawer-nav { display: flex; flex-direction: column; gap: 2px; }
.drawer-link {
	display: flex; align-items: center; gap: 12px;
	padding: 10px 12px; border-radius: var(--r);
	color: #fff; font-weight: 600; font-size: 14px;
}
.drawer-link:hover, .drawer-link.active { background: rgba(252, 252, 253, .08); color: #fff; }
.drawer-link img { width: 32px; height: 32px; flex: 0 0 32px; }
.drawer-label { display: flex; flex-direction: column; }
.drawer-label em { font-style: normal; font-size: 12px; font-weight: 500; color: var(--cyan); }
.overlay {
	position: fixed; inset: 0; z-index: 80;
	background: rgba(0, 10, 14, .6);
	opacity: 0; visibility: hidden; transition: opacity .25s;
}
.overlay.show { opacity: 1; visibility: visible; }

/* ---------- banners ---------- */
.banners { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.banner {
	position: relative; display: block;
	border-radius: var(--r-lg); overflow: hidden;
	background: var(--bg-2);
}
/* The source banners carry their own baked-in copy — no caption overlay. */
.banner img { width: 100%; height: 100%; aspect-ratio: 692 / 370; object-fit: cover; }
.banner:hover { filter: brightness(1.06); }

/* ---------- toolbar ---------- */
.toolbar { display: flex; align-items: center; gap: 12px; }
.search { position: relative; flex: 0 0 270px; }
.search input {
	width: 100%; height: 44px;
	padding: 0 14px 0 42px;
	border: 1px solid var(--line); border-radius: var(--r);
	background: rgba(252, 252, 253, .06);
	color: #fff; font: 400 15px Raleway, sans-serif;
}
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: 0; border-color: var(--cyan); }
.search-ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); opacity: .6; font-size: 15px; }
.btn-prov { flex: 0 0 auto; }
.chips { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip {
	display: inline-flex; align-items: center; height: 40px;
	padding: 0 16px; border-radius: var(--r);
	background: rgba(252, 252, 253, .06);
	color: #fff; font-weight: 600; font-size: 14px; white-space: nowrap;
}
.chip:hover { background: rgba(252, 252, 253, .14); color: #fff; }
.chip.active { background: rgba(0, 191, 255, .16); color: var(--cyan-soft); }

/* ---------- game rows ---------- */
/* Decorative blocks carry no <h*> — headings are reserved for page content. */
.section-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.section-title { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; line-height: 1.2; }
.sh-ic { font-size: 22px; }
.count-pill {
	margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
	height: 36px; padding: 0 12px; border-radius: var(--r);
	background: rgba(252, 252, 253, .08); color: #fff; font-weight: 600; font-size: 14px;
}
.count-pill i { font-style: normal; color: var(--muted); }
.count-pill:hover { background: rgba(252, 252, 253, .16); color: #fff; }

/* 2-row horizontally scrolling grid — the source caps the visible tiles at
   two rows; no scroll-snap (it breaks LCP detection on image carousels). */
.games-rows {
	display: grid;
	grid-auto-flow: column;
	grid-template-rows: repeat(2, auto);
	grid-auto-columns: minmax(120px, 1fr);
	gap: 14px;
	overflow-x: auto;
	padding-bottom: 6px;
	scrollbar-width: thin;
	scrollbar-color: var(--line-2) transparent;
}
.games-rows::-webkit-scrollbar { height: 6px; }
.games-rows::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 3px; }
.game {
	position: relative; display: block;
	border-radius: var(--r); overflow: hidden;
	background: var(--bg-2);
	aspect-ratio: 326 / 400;
	transition: transform .15s;
}
.game:hover { transform: translateY(-3px); }
.game img { width: 100%; height: 100%; object-fit: cover; }
.game-badge {
	position: absolute; top: 6px; left: 6px; z-index: 2;
	padding: 3px 7px; border-radius: 5px;
	background: var(--red); color: #fff;
	font-size: 10px; font-weight: 800; letter-spacing: .5px;
}
.game-hover {
	position: absolute; inset: 0;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
	padding: 10px; text-align: center;
	background: rgba(0, 22, 30, .82);
	opacity: 0; transition: opacity .15s;
}
.game:hover .game-hover { opacity: 1; }
.game-hover b { font-size: 13px; }
.game-hover em { font-style: normal; font-size: 11px; color: var(--muted); }
.game-play {
	margin-top: 8px; padding: 7px 16px; border-radius: 8px;
	background: var(--red); color: #fff; font-size: 12px; font-weight: 700;
}

/* ---------- bonus strip ---------- */
.bonus-strip {
	display: flex; align-items: center; gap: 20px;
	padding: 22px 30px;
	border-radius: var(--r-lg);
	background: linear-gradient(90deg, #001b24 0%, #062a3a 40%, #7a1a33 100%);
	border: 1px solid var(--line);
}
.bonus-txt { display: flex; flex-direction: column; gap: 4px; }
.bonus-txt span { font-size: 20px; font-weight: 700; }
.bonus-txt b { color: var(--gold); font-size: 26px; font-weight: 800; }
.bonus-strip .btn { margin-left: auto; }

/* ---------- jackpot ---------- */
.jack-block { display: grid; grid-template-columns: 390px 1fr; gap: 20px; }
.jackpot {
	position: relative;
	padding: 22px;
	border-radius: var(--r-lg);
	background: radial-gradient(120% 90% at 50% 0%, #5a0d22 0%, #2a0a1c 55%, #10131f 100%);
	border: 1px solid var(--line);
	display: flex; flex-direction: column; gap: 14px;
}
.jack-title { display: block; font-size: 26px; font-weight: 800; line-height: 1.2; text-transform: uppercase; text-align: center; }
.jack-title span { color: var(--cyan); }
.jack-tiers { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.tier { display: flex; flex-direction: column; align-items: center; }
.tier b { font-size: 24px; font-weight: 800; }
.tier em { font-style: normal; font-weight: 700; font-size: 13px; letter-spacing: 1px; }
.tier--max b { font-size: 28px; }
.tier--max em { color: var(--red); }
.tier--prime em { color: var(--cyan); }
.tier--pro em { color: var(--cyan-soft); }
.tier--light em { color: var(--muted); }
.tier--pro b { font-size: 20px; }
.tier--light b { font-size: 16px; }
.jack-actions { margin-top: auto; display: flex; gap: 10px; }
.jack-actions .btn { flex: 1; }
.jack-games { align-content: start; }

/* ---------- hot & charged ---------- */
.hot-block {
	position: relative;
	padding: 34px 24px 40px;
	border-radius: var(--r-lg);
	background:
		radial-gradient(80% 120% at 0% 50%, rgba(226, 24, 48, .5) 0%, rgba(226, 24, 48, 0) 60%),
		radial-gradient(80% 120% at 100% 50%, rgba(0, 191, 255, .45) 0%, rgba(0, 191, 255, 0) 60%),
		#020c14;
	border: 1px solid var(--line);
	overflow: hidden;
}
.hot-title { display: block; text-align: center; font-size: clamp(24px, 3vw, 38px); font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.hot-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 26px; }
.hot-tab {
	height: 40px; padding: 0 22px; border: 0; border-radius: var(--r);
	background: transparent; color: var(--muted);
	font: 600 14px Raleway, sans-serif; cursor: pointer;
}
.hot-tab.active { background: rgba(252, 252, 253, .12); color: #fff; }
.hot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 900px; margin: 0 auto; }
.hot-col-title { display: block; text-align: center; font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.hot-head { display: flex; justify-content: space-between; padding: 0 12px 6px; color: var(--muted); font-size: 12px; }
.hot-row {
	display: flex; align-items: center; gap: 10px;
	padding: 6px 12px 6px 6px; margin-bottom: 6px;
	border-radius: var(--r);
	background: rgba(252, 252, 253, .06);
	color: #fff;
}
.hot-row:hover { background: rgba(252, 252, 253, .12); color: #fff; }
.hot-row img { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; }
.hot-name { flex: 1; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hot-rtp { font-weight: 700; font-size: 14px; }

/* ---------- content / prose ---------- */
.content {
	padding: 26px 30px;
	border-radius: var(--r-lg);
	background: var(--bg-2);
	border: 1px solid var(--line);
}
/* The article fills its block — the .container already caps it at --maxw. */
.prose { max-width: none; margin: 0; color: rgba(255, 255, 255, .88); }
.page-title { font-size: clamp(26px, 3vw, 34px); }
.prose h2 { margin: 28px 0 12px; font-size: 24px; }
.prose h3 { margin: 22px 0 10px; font-size: 19px; }
.prose p, .prose li { font-size: 16px; line-height: 1.7; }
.prose img { border-radius: var(--r); margin: 16px auto; height: auto; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose blockquote {
	margin: 20px 0; padding: 14px 18px;
	border-left: 3px solid var(--cyan);
	background: rgba(0, 191, 255, .07);
	border-radius: 0 var(--r) var(--r) 0;
}
.prose table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { background: rgba(252, 252, 253, .06); font-weight: 700; }
.prose a { text-decoration: underline; }
.prose a.btn { text-decoration: none; color: #fff; }
/* Wide content tables scroll inside their own box instead of crushing their
   columns: the table takes its natural width, cells keep their text on one
   line, and only genuinely long prose cells wrap (capped at 38ch). Content
   authors wrap each <table> in <div class="table-scroll">. */
.prose .table-scroll { overflow-x: auto; margin: 20px 0; -webkit-overflow-scrolling: touch; }
.prose .table-scroll table { width: max-content; min-width: 100%; margin: 0; }
.prose .table-scroll th { white-space: nowrap; }
.prose .table-scroll td { max-width: 38ch; }

/* ---------- toplist / review / landing ---------- */
.toplist-head { text-align: center; max-width: 760px; margin: 0 auto; }
.toplist-head h1 { font-size: clamp(28px, 3.4vw, 38px); }
.toplist-head p { color: var(--muted); }

.review-head {
	display: grid; grid-template-columns: 1fr 380px; gap: 24px;
	padding: 26px 30px; border-radius: var(--r-lg);
	background: var(--bg-2); border: 1px solid var(--line);
}
.review-main h1 { font-size: clamp(26px, 3vw, 34px); }
.review-rating { display: flex; align-items: baseline; gap: 8px; margin-bottom: 18px; }
.review-rating .stars { color: var(--gold); font-size: 18px; letter-spacing: 2px; }
.review-rating b { font-size: 26px; }
.review-rating em { font-style: normal; color: var(--muted); }
.review-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.review-facts { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.review-facts div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 14px; border-radius: var(--r); background: rgba(252, 252, 253, .06); }
.review-facts dt { color: var(--muted); font-size: 14px; }
.review-facts dd { margin: 0; font-weight: 700; font-size: 14px; text-align: right; }

.landing-hero {
	border-radius: var(--r-lg); overflow: hidden;
	border: 1px solid var(--line);
	background: linear-gradient(90deg, #001b24 0%, #062a3a 45%, #7a1a33 100%);
}
.landing-hero-txt {
	display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
	gap: 14px; padding: 46px 6%;
}
.landing-hero-txt h1, .landing-title { display: block; margin: 0; font-size: clamp(26px, 3.6vw, 42px); font-weight: 700; line-height: 1.2; max-width: 640px; }
.landing-hero-txt p { margin: 0; color: var(--gold); font-size: clamp(16px, 1.6vw, 20px); font-weight: 700; }
.landing-prose h1 { font-size: clamp(26px, 3vw, 34px); }
.landing-foot-cta { text-align: center; margin-top: 30px; }

/* ---------- footer ---------- */
.footer {
	margin-top: 40px;
	padding: 40px 24px 90px;
	background: linear-gradient(180deg, #002733 0%, #00465e 100%);
	border-top: 1px solid var(--line);
}
.footer .container { max-width: 900px; margin: 0 auto; text-align: center; }
.foot-logo { display: inline-block; }
.foot-logo img { height: 40px; width: auto; margin: 0 auto; }
.foot-social { display: flex; justify-content: center; gap: 14px; margin: 22px 0; }
.foot-social img { width: 32px; height: 32px; }
.foot-sep { height: 1px; background: var(--line-2); margin: 10px 0 22px; }
.foot-license { display: flex; gap: 14px; text-align: left; margin-bottom: 26px; }
.krail {
	flex: 0 0 46px; height: 46px;
	display: flex; align-items: center; justify-content: center;
	border-radius: 8px; border: 1px solid var(--line-2);
	font-weight: 800; font-size: 14px;
}
.foot-license p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.foot-acc { text-align: left; margin-bottom: 26px; }
.foot-acc details { border-bottom: 1px solid var(--line); }
.foot-acc summary { padding: 16px 4px; font-size: 17px; font-weight: 600; cursor: pointer; list-style: none; position: relative; }
.foot-acc summary::-webkit-details-marker { display: none; }
.foot-acc summary::after { content: '⌄'; position: absolute; right: 8px; top: 12px; color: var(--muted); }
.foot-links { display: flex; flex-direction: column; gap: 8px; padding: 0 4px 16px; }
.foot-links a { color: var(--muted); font-size: 14px; }
.foot-links a:hover { color: var(--cyan-soft); }
.foot-pay { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.pay-list { display: flex; gap: 12px; flex-wrap: wrap; }
.pay-list span {
	padding: 6px 10px; border-radius: 6px;
	background: rgba(252, 252, 253, .08);
	font-size: 12px; font-weight: 700; color: rgba(255, 255, 255, .85);
}
.pay-safe span { background: transparent; border: 1px solid var(--line-2); color: var(--muted); }
.foot-copy { color: var(--muted); font-size: 12px; margin: 0; }

/* ---------- bottom bar (mobile) ---------- */
.bottombar { display: none; }

/* ---------- cookie ---------- */
.cookie {
	position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 70;
	display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
	max-width: 720px; margin: 0 auto;
	padding: 14px 18px; border-radius: var(--r-lg);
	background: #00222e; border: 1px solid var(--line-2);
	box-shadow: 0 12px 40px rgba(0, 8, 12, .5);
}
.cookie.hidden { display: none; }
.cookie p { margin: 0; flex: 1; font-size: 13px; color: var(--muted); }
.cookie-actions { display: flex; gap: 8px; }

/* ---------- responsive ---------- */
@media (max-width: 1200px) {
	.pill-nav .pill span { display: none; }
	.pill { padding: 0 12px; }
	.jack-block { grid-template-columns: 320px 1fr; }
}

@media (max-width: 1024px) {
	.pill-nav { display: none; }
	.jack-block { grid-template-columns: 1fr; }
	.hot-cols { grid-template-columns: 1fr; }
	.review-head { grid-template-columns: 1fr; }
	.bottombar {
		position: fixed; inset: auto 0 0; z-index: 75;
		display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
		height: 62px;
		background: #00222e; border-top: 1px solid var(--line);
	}
	.bottombar a, .bottombar button {
		display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
		background: none; border: 0; cursor: pointer;
		color: var(--muted); font: 600 11px Raleway, sans-serif;
	}
	.bottombar .active, .bottombar a:hover { color: #fff; }
	.bb-ic { font-size: 16px; line-height: 1; }
	.cookie { bottom: 74px; }
	.footer { padding-bottom: 100px; }
}

@media (max-width: 900px) {
	:root { --head-h: 64px; }
	.topbar { padding: 0 14px; gap: 10px; }
	.page { padding: 16px 14px 40px; gap: 24px; }
	/* the burger stays for the drawer, but primary nav lives in the bottom bar */
	.banners {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: 88%;
		overflow-x: auto;
		gap: 12px;
		scrollbar-width: none;
	}
	.banners::-webkit-scrollbar { display: none; }
	/* wide desktop banners read as a flat strip on phones — crop taller, and
	   bias the crop left so the baked-in headline stays inside the frame */
	.banner img { aspect-ratio: 3 / 2; object-position: 18% center; }
	.toolbar { flex-wrap: wrap; }
	.search { flex: 1 1 55%; }
	.chips { flex: 1 1 100%; order: 3; }
	.games-rows { grid-auto-columns: minmax(100px, 26vw); gap: 10px; }
	.bonus-strip { flex-direction: column; align-items: flex-start; text-align: left; padding: 18px; }
	.bonus-strip .btn { margin-left: 0; width: 100%; }
	.bonus-txt b { font-size: 21px; }
	.content { padding: 20px 16px; }
	.foot-pay { justify-content: center; }
	.pay-list { justify-content: center; }
	.hot-block { padding: 26px 14px 30px; }
}

@media (max-width: 480px) {
	.top-actions .btn-light { padding: 0 14px; }
	.btn { padding: 0 16px; font-size: 14px; }
	.games-rows { grid-auto-columns: 28vw; }
	.drawer { width: 88vw; }
}
