:root {
	--bg: #090b18;
	--surface: #0b0d1c;
	--surface-2: #12152a;
	--surface-3: #1a1e3a;
	--surface-4: #232845;
	--green: #05c489;
	--green-d: #04ac79;
	--red: #d73c2c;
	--red-d: #bf3122;
	--text: #ffffff;
	--muted: #7c8099;
	--muted-2: #565b75;
	--line: rgba(255, 255, 255, .07);
	--line-2: rgba(255, 255, 255, .12);
	--radius: 8px;
	--radius-sm: 6px;
	--header-h: 60px;
	--container: 1400px;
}

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

html { scroll-behavior: smooth; }

body {
	font-family: 'Roboto Condensed', Arial, Helvetica, sans-serif;
	background: var(--bg);
	color: var(--text);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	font-family: inherit;
	font-weight: 700;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: .3px;
	line-height: 1;
	padding: 0 18px;
	height: 38px;
	border: none;
	border-radius: var(--radius-sm);
	cursor: pointer;
	white-space: nowrap;
	transition: filter .15s ease, background .15s ease, transform .05s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--green); color: #06122a; }
.btn-primary:hover { background: var(--green-d); }

.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: var(--red-d); }

.btn-outline {
	background: transparent;
	color: var(--text);
	box-shadow: inset 0 0 0 1px var(--red);
}
.btn-outline:hover { background: rgba(215, 60, 44, .14); }

.btn-ghost { background: var(--surface-3); color: var(--text); }
.btn-ghost:hover { background: var(--surface-4); }

.btn-large { height: 50px; font-size: 16px; padding: 0 30px; }
.btn-small { height: 32px; font-size: 12px; padding: 0 14px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--surface);
	border-bottom: 1px solid var(--line);
	height: var(--header-h);
}
.header .container {
	display: flex;
	align-items: center;
	height: 100%;
	gap: 18px;
	max-width: 1640px;
}

.logo {
	display: inline-flex;
	align-items: baseline;
	font-weight: 800;
	font-size: 26px;
	letter-spacing: -.5px;
	line-height: 1;
	flex-shrink: 0;
	font-style: italic;
}
.logo .logo-fav { color: var(--red); }
.logo .logo-num { color: #fff; }

.main-nav { display: flex; align-items: center; gap: 4px; flex: 1; min-width: 0; }
.main-nav a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--text);
	border-radius: var(--radius-sm);
	white-space: nowrap;
	transition: color .15s ease, background .15s ease;
	position: relative;
}
.main-nav a:hover { color: var(--green); }
.main-nav a.active { color: var(--green); }
.main-nav a.active::after {
	content: '';
	position: absolute;
	left: 12px; right: 12px; bottom: -19px;
	height: 2px;
	background: var(--green);
}
.nav-badge {
	font-size: 9px;
	font-weight: 700;
	background: var(--red);
	color: #fff;
	padding: 1px 4px;
	border-radius: 3px;
	text-transform: uppercase;
	position: relative;
	top: -6px;
	margin-left: -2px;
}

.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin-left: auto; }

.mobile-bottom-bar, .mobile-only { display: none; }

/* Burger */
.burger {
	width: 34px; height: 34px;
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	padding: 0 6px;
	background: transparent;
	border: none;
	cursor: pointer;
	flex-shrink: 0;
}
.burger span {
	display: block;
	height: 2px;
	width: 100%;
	background: var(--text);
	border-radius: 2px;
	transition: transform .2s ease, opacity .2s ease;
}

/* Mobile drawer */
.drawer {
	position: fixed;
	top: 0; left: 0; bottom: 0;
	width: 280px;
	max-width: 84vw;
	z-index: 210;
	background: var(--surface);
	border-right: 1px solid var(--line);
	padding: 16px;
	display: flex;
	flex-direction: column;
	transform: translateX(-100%);
	transition: transform .25s ease;
	overflow-y: auto;
}
.drawer.open { transform: translateX(0); }
.drawer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 14px;
	margin-bottom: 8px;
	border-bottom: 1px solid var(--line);
}
.drawer-head .logo { font-size: 24px; }
.drawer-close {
	background: transparent;
	border: none;
	color: var(--text);
	cursor: pointer;
	display: flex;
	padding: 4px;
}
.drawer-nav { display: flex; flex-direction: column; gap: 2px; margin: 8px 0; }
.drawer-nav a {
	padding: 12px 10px;
	font-size: 15px;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--text);
	border-radius: var(--radius-sm);
	transition: background .15s ease, color .15s ease;
}
.drawer-nav a:hover { background: var(--surface-2); }
.drawer-nav a.active { color: var(--green); }
.drawer-actions { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 14px; }
.drawer-overlay {
	position: fixed;
	inset: 0;
	z-index: 205;
	background: rgba(5, 6, 16, .6);
	opacity: 0;
	visibility: hidden;
	transition: opacity .25s ease, visibility .25s ease;
}
.drawer-overlay.open { opacity: 1; visibility: visible; }

/* ---------- Banner slider ---------- */
.hero-slider { margin: 18px 0 0; }
.slider { position: relative; border-radius: 12px; overflow: hidden; }
.slider-track { display: flex; transition: transform .5s cubic-bezier(.4, 0, .2, 1); }
.slide {
	min-width: 100%;
	position: relative;
	aspect-ratio: 1852 / 350;
	background: var(--surface-2);
}
.slide img { width: 100%; height: 100%; object-fit: cover; }

.slider-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px; height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(9, 11, 24, .55);
	color: #fff;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	font-size: 16px;
	z-index: 3;
	transition: background .15s ease;
}
.slider-btn:hover { background: rgba(9, 11, 24, .85); }
.slider-btn.prev { left: 14px; }
.slider-btn.next { right: 14px; }

.slider-dots {
	position: absolute;
	bottom: 12px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 7px;
	z-index: 3;
}
.slider-dots button {
	width: 8px; height: 8px;
	border-radius: 50%;
	border: none;
	background: rgba(255, 255, 255, .4);
	cursor: pointer;
	padding: 0;
	transition: background .15s ease, width .15s ease;
}
.slider-dots button.active { background: var(--red); width: 20px; border-radius: 5px; }

/* ---------- Toolbar / category chips ---------- */
.toolbar { margin: 16px 0 0; }
.toolbar-row {
	display: flex;
	align-items: center;
	gap: 8px;
	overflow-x: auto;
	scrollbar-width: none;
	padding-bottom: 4px;
}
.toolbar-row::-webkit-scrollbar { display: none; }

.tool-pill {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 40px;
	padding: 0 16px;
	background: var(--surface-2);
	border-radius: var(--radius-sm);
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--text);
	white-space: nowrap;
	flex-shrink: 0;
	cursor: pointer;
	transition: background .15s ease, color .15s ease;
	border: none;
}
.tool-pill i { font-size: 14px; color: var(--muted); }
.tool-pill:hover { background: var(--surface-3); }

.chip {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	height: 64px;
	min-width: 78px;
	padding: 8px 10px;
	background: var(--surface-2);
	border-radius: var(--radius-sm);
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--muted);
	white-space: nowrap;
	flex-shrink: 0;
	cursor: pointer;
	transition: background .15s ease, color .15s ease;
	border: none;
}
.chip img { width: 26px; height: 26px; object-fit: contain; }
.chip:hover { background: var(--surface-3); color: var(--text); }
.chip.active { background: var(--red); color: #fff; }

/* ---------- Game section ---------- */
.games-section { margin: 26px 0; }
.section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
}
.section-head h2 {
	font-size: 20px;
	font-weight: 700;
	text-transform: uppercase;
	display: flex;
	align-items: center;
	gap: 8px;
}
.section-head h2 i { color: var(--red); }
.section-more {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--green);
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.section-more:hover { color: var(--green-d); }

.game-grid {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 12px;
}

.game-card {
	position: relative;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--surface-2);
	cursor: pointer;
}
.game-thumb { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.game-thumb img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .3s ease;
}
.game-card:hover .game-thumb img { transform: scale(1.05); }

.game-badge {
	position: absolute;
	top: 0; left: 0;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	color: #fff;
	background: var(--red);
	padding: 3px 8px;
	border-bottom-right-radius: 8px;
	z-index: 2;
}
.game-rtp {
	position: absolute;
	top: 7px; right: 7px;
	font-size: 10px;
	font-weight: 700;
	color: #fff;
	background: rgba(215, 60, 44, .92);
	padding: 2px 6px;
	border-radius: 4px;
	z-index: 2;
}

.game-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: rgba(9, 11, 24, .8);
	opacity: 0;
	transition: opacity .2s ease;
	z-index: 3;
}
.game-card:hover .game-overlay { opacity: 1; }
.game-overlay .btn { min-width: 96px; }

.game-info { padding: 8px 10px 10px; }
.game-name {
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.game-provider {
	font-size: 11px;
	color: var(--muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* ---------- Content / article body ---------- */
.content { padding: 12px 0 40px; }
.content-wrap { max-width: 1100px; margin: 0 auto; }
.page-title { font-size: 30px; font-weight: 800; margin: 10px 0 18px; line-height: 1.2; }
.article-body { color: #d6d9e6; font-size: 16px; line-height: 1.75; }
.article-body h2 { font-size: 24px; font-weight: 700; color: #fff; margin: 28px 0 12px; }
.article-body h3 { font-size: 19px; font-weight: 700; color: #fff; margin: 22px 0 10px; }
.article-body p { margin: 0 0 14px; }
.article-body ul, .article-body ol { margin: 0 0 14px 22px; }
.article-body li { margin-bottom: 6px; }
.article-body a { color: var(--green); }
.article-body a:hover { text-decoration: underline; }
.article-body table { width: 100%; border-collapse: collapse; margin: 0 0 18px; }
.article-body th, .article-body td { border: 1px solid var(--line-2); padding: 10px 12px; text-align: left; }
.article-body th { background: var(--surface-2); font-weight: 700; }
.article-body img { border-radius: var(--radius); margin: 8px 0; }

/* ---------- Review page ---------- */
.review-layout { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; }
.info-card {
	position: sticky;
	top: calc(var(--header-h) + 16px);
	background: var(--surface-2);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 22px;
}
.info-rating { display: flex; align-items: baseline; justify-content: center; gap: 2px; margin-bottom: 16px; }
.info-rating-num { font-size: 44px; font-weight: 800; color: var(--green); }
.info-rating span:last-child { font-size: 18px; color: var(--muted); }
.info-list { margin: 0 0 18px; }
.info-list dt { font-size: 12px; color: var(--muted); text-transform: uppercase; margin-top: 12px; }
.info-list dd { font-size: 15px; font-weight: 600; margin-top: 2px; }
.info-cta { width: 100%; }

/* ---------- Toplist page ---------- */
.toplist { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.toprow {
	display: grid;
	grid-template-columns: 50px 1.4fr 80px 1.4fr 130px;
	align-items: center;
	gap: 16px;
	background: var(--surface-2);
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 16px 20px;
}
.toprow.featured { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.toprow-rank { font-size: 24px; font-weight: 800; color: var(--muted); }
.toprow.featured .toprow-rank { color: var(--green); }
.toprow-brand { display: flex; flex-direction: column; gap: 5px; }
.toprow-name { font-size: 17px; font-weight: 700; }
.toprow-pill {
	align-self: flex-start;
	font-size: 10px; font-weight: 700; text-transform: uppercase;
	background: rgba(5, 196, 137, .15); color: var(--green);
	padding: 2px 8px; border-radius: 4px;
}
.toprow-rating { text-align: center; }
.toprow-rating-num { font-size: 22px; font-weight: 800; color: var(--green); }
.toprow-rating-label { font-size: 12px; color: var(--muted); }
.toprow-bonus { font-size: 14px; color: #d6d9e6; }

/* ---------- Landing page ---------- */
.landing-hero { text-align: center; padding: 50px 0 30px; }
.landing-h1 { font-size: 42px; font-weight: 800; margin-bottom: 16px; line-height: 1.15; }
.highlight { color: var(--green); }
.landing-lead { font-size: 19px; color: var(--muted); max-width: 640px; margin: 0 auto 26px; }
.landing-content { max-width: 900px; margin: 0 auto 30px; }

/* ---------- Footer ---------- */
.back-top { display: flex; justify-content: center; margin: 30px 0 0; }
.back-top button {
	width: 42px; height: 42px;
	border-radius: 50%;
	background: var(--surface-2);
	border: 1px solid var(--line);
	color: var(--text);
	cursor: pointer;
	font-size: 16px;
	transition: background .15s ease;
}
.back-top button:hover { background: var(--surface-3); }

.footer {
	background: var(--surface);
	border-top: 1px solid var(--line);
	margin-top: 30px;
	padding: 40px 0 30px;
}
.footer-cols {
	display: grid;
	grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
	gap: 30px;
	padding-bottom: 30px;
	border-bottom: 1px solid var(--line);
}
.footer-brand .logo { font-size: 30px; margin-bottom: 14px; }
.footer-about { font-size: 14px; color: var(--muted); max-width: 320px; }
.footer-col h4 {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--muted-2);
	margin-bottom: 14px;
	letter-spacing: .5px;
}
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul a { font-size: 14px; color: #c4c8d8; transition: color .15s ease; }
.footer-col ul a:hover { color: var(--green); }
.footer-contact-line { font-size: 14px; color: #c4c8d8; margin-bottom: 9px; display: flex; align-items: center; gap: 8px; }
.footer-contact-line i { color: var(--green); width: 16px; }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a {
	width: 36px; height: 36px;
	display: flex; align-items: center; justify-content: center;
	background: var(--surface-2);
	border-radius: 50%;
	color: #c4c8d8;
	transition: background .15s ease, color .15s ease;
}
.footer-social a:hover { background: var(--green); color: #06122a; }

.footer-bottom { display: flex; align-items: center; gap: 24px; padding-top: 26px; flex-wrap: wrap; }
.footer-disclaimer { font-size: 12.5px; color: var(--muted-2); line-height: 1.6; flex: 1; min-width: 280px; }
.footer-badges { display: flex; align-items: center; gap: 16px; }
.age-badge {
	width: 46px; height: 46px;
	border-radius: 50%;
	border: 2px solid var(--red);
	color: var(--red);
	font-weight: 800;
	font-size: 15px;
	display: flex; align-items: center; justify-content: center;
	flex-shrink: 0;
}
.license-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 700;
	color: var(--green);
	border: 1px solid var(--line-2);
	border-radius: 8px;
	padding: 8px 12px;
}
.footer-copyright { width: 100%; font-size: 12.5px; color: var(--muted-2); padding-top: 18px; }

/* ---------- Cookie notice ---------- */
.cookie-notice {
	position: fixed;
	left: 16px; right: 16px; bottom: 16px;
	z-index: 200;
	background: var(--surface-2);
	border: 1px solid var(--line-2);
	border-radius: 12px;
	padding: 16px 18px;
	max-width: 540px;
	margin: 0 auto;
	box-shadow: 0 12px 40px rgba(0, 0, 0, .5);
}
.cookie-notice.hidden { display: none; }
.cookie-content { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.cookie-text { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #c4c8d8; flex: 1; min-width: 220px; }
.cookie-text i { color: var(--green); font-size: 18px; }
.cookie-buttons { display: flex; gap: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.game-grid { grid-template-columns: repeat(5, 1fr); }
	.footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
	.review-layout { grid-template-columns: 1fr; }
	.info-card { position: static; }
}

@media (max-width: 768px) {
	.main-nav, .header-actions .btn-text-full { display: none; }
	.burger { display: flex; }
	.header .container { gap: 10px; }
	.header-actions { gap: 8px; }
	.header-actions .btn { height: 34px; font-size: 12px; padding: 0 12px; }
	.game-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
	.toprow {
		grid-template-columns: 40px 1fr 70px;
		grid-template-areas: 'rank brand rating' 'bonus bonus bonus' 'cta cta cta';
		gap: 10px;
	}
	.toprow-rank { grid-area: rank; }
	.toprow-brand { grid-area: brand; }
	.toprow-rating { grid-area: rating; }
	.toprow-bonus { grid-area: bonus; }
	.toprow-cta { grid-area: cta; width: 100%; }
	.page-title { font-size: 24px; }
	.landing-h1 { font-size: 30px; }
	.game-overlay { opacity: 1; background: linear-gradient(180deg, transparent 40%, rgba(9, 11, 24, .85)); justify-content: flex-end; padding-bottom: 8px; }
	.game-overlay .btn-demo { display: none; }
	.game-overlay .btn { height: 30px; font-size: 11px; min-width: 0; padding: 0 14px; }

	.mobile-bottom-bar {
		display: flex;
		position: fixed;
		left: 0; right: 0; bottom: 0;
		z-index: 120;
		background: var(--surface);
		border-top: 1px solid var(--line);
		height: 60px;
	}
	.mobile-bottom-bar a {
		flex: 1;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 3px;
		font-size: 10px;
		font-weight: 600;
		text-transform: uppercase;
		color: var(--muted);
	}
	.mobile-bottom-bar a i { font-size: 17px; }
	.mobile-bottom-bar a.active { color: var(--green); }
	.mobile-bottom-bar a.center i {
		width: 46px; height: 46px;
		display: flex; align-items: center; justify-content: center;
		background: var(--green); color: #06122a;
		border-radius: 50%;
		margin-top: -22px;
		font-size: 20px;
		box-shadow: 0 6px 16px rgba(5, 196, 137, .4);
	}
	.mobile-bottom-bar a.center { color: var(--green); }
	body { padding-bottom: 60px; }
	.footer { margin-bottom: 60px; }
	.cookie-notice { bottom: 76px; }
}

@media (max-width: 480px) {
	.footer-cols { grid-template-columns: 1fr; }
	.logo { font-size: 22px; }
}
