/*
 * Vegas_1 — clone of vegas.ua slots lobby chrome.
 * Dark teal casino theme, Raleway typeface.
 * Colours sampled from source: bg #001b24, surface #00222e / #003d52,
 * text #fcfcfd, red accent #ff2b39, cyan #00bfff, gold #ffbd00.
 */

:root {
	--bg: #001b24;
	--bg-top: #00141b;
	--surface: #00222e;
	--surface-2: #003d52;
	--line: rgba(255, 255, 255, .08);
	--line-2: rgba(255, 255, 255, .16);
	--text: #fcfcfd;
	--muted: #8ba6b3;
	--red: #ff2b39;
	--red-2: #f22c0e;
	--cyan: #00bfff;
	--cyan-2: #66d9ff;
	--cyan-3: #99e6ff;
	--gold: #ffbd00;
	--gold-2: #ffd24d;
	--green: #39d98a;
	--radius: 16px;
	--radius-sm: 10px;
	--container: 1280px;
	--header-h: 74px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background:
		radial-gradient(1200px 600px at 50% -200px, rgba(0, 191, 255, .10), transparent 70%),
		var(--bg);
	color: var(--text);
	font-family: 'Raleway', system-ui, -apple-system, 'Segoe UI', sans-serif;
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: 'Raleway', sans-serif; font-weight: 800; line-height: 1.2; }

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

/* ---------- buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: 44px; padding: 0 22px; border: 0; border-radius: 999px;
	font-family: 'Raleway', sans-serif; font-size: 15px; font-weight: 700;
	cursor: pointer; white-space: nowrap; transition: transform .15s ease, filter .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn-primary { background: linear-gradient(180deg, var(--red), var(--red-2)); color: #fff; box-shadow: 0 6px 18px rgba(255, 43, 57, .35); }
.btn-gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #2a1c00; font-weight: 800; box-shadow: 0 6px 18px rgba(255, 189, 0, .32); }
.btn-cyan { background: linear-gradient(180deg, var(--cyan-2), var(--cyan)); color: #00222e; font-weight: 800; box-shadow: 0 6px 18px rgba(0, 191, 255, .32); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: var(--text); border: 1px solid var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }
.btn-lg { height: 52px; padding: 0 32px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.topbar {
	position: sticky; top: 0; z-index: 50;
	height: var(--header-h);
	display: flex; align-items: center; gap: 18px;
	padding: 0 22px;
	background:
		linear-gradient(180deg, rgba(0, 20, 27, .97), rgba(0, 20, 27, .86));
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}
.burger {
	width: 42px; height: 42px; border: 0; border-radius: var(--radius-sm);
	background: rgba(255, 255, 255, .06); color: var(--text);
	display: none; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer;
}
.burger span { width: 20px; height: 2px; background: currentColor; border-radius: 2px; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { height: 34px; width: auto; }
.brand__word { font-family: 'Raleway', sans-serif; font-weight: 800; font-size: 24px; letter-spacing: -.5px; color: var(--gold); }

.topnav { display: flex; align-items: center; gap: 4px; min-width: 0; overflow: hidden; }
.navlink {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 9px 13px; border-radius: var(--radius-sm);
	font-size: 15px; font-weight: 600; color: #d3e2ea; white-space: nowrap;
	transition: background .15s ease, color .15s ease;
}
.navlink:hover, .navlink.is-active { background: rgba(0, 191, 255, .12); color: #fff; }
.navlink .ico { width: 22px; height: 22px; color: var(--cyan-2); }
.navlink img.ico { object-fit: contain; }

.topbar__spacer { flex: 1 1 auto; }
.topbar__actions { display: flex; align-items: center; gap: 10px; }

/* ---------- bonus / promo block ---------- */
.promo {
	position: relative; overflow: hidden;
	display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 20px;
	margin: 22px 0 8px; padding: 30px 34px;
	border-radius: 20px; border: 1px solid var(--line-2);
	background:
		radial-gradient(600px 300px at 100% 0%, rgba(255, 189, 0, .16), transparent 65%),
		radial-gradient(500px 300px at 0% 100%, rgba(0, 191, 255, .18), transparent 60%),
		linear-gradient(120deg, #00222e, #003d52);
}
.promo::after {
	content: ''; position: absolute; inset: 0; pointer-events: none;
	background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .03) 0 18px, transparent 18px 36px);
}
.promo__body { position: relative; z-index: 1; }
.promo__kicker {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 13px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase;
	color: #00222e; background: linear-gradient(180deg, var(--gold-2), var(--gold));
	padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.promo__title { margin: 0 0 8px; font-size: 34px; line-height: 1.08; }
.promo__title b { color: var(--gold); }
.promo__sub { margin: 0 0 20px; color: var(--cyan-3); font-size: 17px; font-weight: 600; }
.promo__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.promo__terms { display: block; margin-top: 12px; color: var(--muted); font-size: 12.5px; }
.promo__media { position: relative; z-index: 1; display: flex; justify-content: flex-end; }
.promo__media img { max-height: 190px; width: auto; filter: drop-shadow(0 12px 26px rgba(0, 0, 0, .45)); }

/* ---------- lobby heading ---------- */
.lobby-head { display: flex; align-items: center; gap: 12px; margin: 26px 0 16px; }
.lobby-head h1, .lobby-head h2 { margin: 0; font-size: 24px; font-weight: 800; }
.lobby-head .ico { width: 24px; height: 24px; color: var(--gold); }

/* ---------- game grid ---------- */
.game-grid {
	display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
}
.game {
	position: relative; display: block; border-radius: var(--radius); overflow: hidden;
	background: var(--surface); aspect-ratio: 285 / 320;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
	transition: transform .18s ease, box-shadow .18s ease;
}
.game:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(0, 191, 255, .25); }
.game__img { width: 100%; height: 100%; object-fit: cover; }
.game__badge {
	position: absolute; top: 8px; left: 8px; z-index: 2;
	font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 8px;
	background: linear-gradient(180deg, var(--red), var(--red-2)); color: #fff;
}
.game__ov {
	position: absolute; inset: 0; z-index: 3;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
	background: linear-gradient(180deg, rgba(0, 20, 27, .1), rgba(0, 20, 27, .85));
	opacity: 0; transition: opacity .18s ease;
	text-align: center; padding: 12px;
}
.game:hover .game__ov { opacity: 1; }
.game__ov .play {
	width: 52px; height: 52px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: linear-gradient(180deg, var(--cyan-2), var(--cyan)); color: #00222e;
	box-shadow: 0 6px 16px rgba(0, 191, 255, .45);
}
.game__name { font-weight: 700; font-size: 14px; color: #fff; }
.game__name small { display: block; font-weight: 500; font-size: 12px; color: var(--cyan-3); margin-top: 2px; }

/* ---------- pills row ---------- */
.filters {
	display: flex; flex-wrap: nowrap; gap: 10px; margin: 8px 0 20px;
	overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch;
	scrollbar-width: none; padding-bottom: 2px;
}
.filters::-webkit-scrollbar { display: none; }
.filter-pill {
	display: inline-flex; align-items: center; gap: 8px; flex: 0 0 auto; white-space: nowrap;
	padding: 9px 16px; border-radius: 999px;
	background: var(--surface); border: 1px solid var(--line);
	font-size: 14px; font-weight: 600; color: #cfe0e8; transition: all .15s ease;
}
.filter-pill:hover, .filter-pill.is-active { border-color: transparent; background: linear-gradient(180deg, var(--cyan-2), var(--cyan)); color: #00222e; }
.filter-pill .ico { width: 18px; height: 18px; }

/* ---------- CMS content ---------- */
.content { margin: 34px 0 10px; }
.prose { max-width: none; width: 100%; }
.prose .page-title { font-size: 30px; margin: 0 0 18px; }
.prose h2 { font-size: 24px; margin: 30px 0 12px; }
.prose h3 { font-size: 19px; margin: 24px 0 10px; color: #eef6fa; }
.prose p, .prose li { color: #c1d2da; font-size: 16px; }
.prose a { color: var(--cyan-2); text-decoration: underline; text-underline-offset: 2px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose img { height: auto; border-radius: var(--radius); margin: auto; }
.table-scroll { overflow-x: auto; margin: 18px 0; border-radius: var(--radius-sm); border: 1px solid var(--line); }
.prose table { width: 100%; border-collapse: collapse; min-width: 520px; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { background: var(--surface-2); font-weight: 700; }

/* ---------- toplist / review / landing shared cards ---------- */
.rank-card {
	display: grid; grid-template-columns: 48px 96px 1fr auto; align-items: center; gap: 18px;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	padding: 16px 20px; margin-bottom: 14px; transition: border-color .15s ease, transform .15s ease;
}
.rank-card:hover { border-color: var(--cyan); transform: translateY(-2px); }
.rank-card__pos { font-size: 26px; font-weight: 800; color: var(--gold); text-align: center; }
.rank-card__logo { width: 96px; height: 64px; object-fit: cover; border-radius: var(--radius-sm); background: var(--surface-2); }
.rank-card__name { font-weight: 800; font-size: 18px; }
.rank-card__rating { color: var(--muted); font-size: 14px; }
.rank-card__bonus { font-size: 14px; color: #cfe0e8; margin-top: 4px; }
.stars { color: var(--gold); letter-spacing: 1px; }

.review-card {
	display: grid; grid-template-columns: 140px 1fr; gap: 22px; align-items: center;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
	margin-bottom: 26px;
}
.review-card__logo { width: 140px; height: 100px; object-fit: cover; border-radius: var(--radius-sm); background: var(--surface-2); }
.review-card__meta { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 10px; color: var(--muted); font-size: 14px; }

.landing-hero {
	text-align: center; padding: 62px 20px;
	background: radial-gradient(circle at 50% 0%, rgba(0, 191, 255, .2), transparent 60%), var(--surface);
	border-radius: 20px; border: 1px solid var(--line-2); margin: 26px 0;
}
.landing-hero h1 { font-size: 42px; margin: 0 0 14px; }
.landing-hero p { color: var(--cyan-3); font-size: 18px; max-width: 640px; margin: 0 auto 26px; }

/* ---------- footer ---------- */
.footer { margin-top: 50px; border-top: 1px solid var(--line); background: var(--bg-top); }
.footer-ins { max-width: var(--container); margin: 0 auto; padding: 40px 20px 30px; }
.footer-crown { display: flex; justify-content: center; margin-bottom: 22px; }
.footer-crown img { height: 38px; width: auto; }
.footer-partners-title { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.footer-partners-title b { color: var(--gold); }
.footer-partners { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px; margin-bottom: 28px; opacity: .6; }
.footer-partners span {
	display: inline-flex; align-items: center; justify-content: center;
	height: 34px; padding: 0 12px; border-radius: 8px; background: rgba(255, 255, 255, .05);
	font-size: 12px; font-weight: 700; color: #cfe0e8;
}
.footer-legal { color: #7f97a3; font-size: 12.5px; line-height: 1.7; border-top: 1px solid var(--line); padding-top: 22px; }
.footer-legal p { margin: 0 0 10px; }
.footer-apps { display: flex; gap: 12px; margin: 22px 0; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 26px 0; border-top: 1px solid var(--line); }
.footer-col-title { font-size: 16px; font-weight: 800; margin-bottom: 14px; }
.footer-col-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col-menu a { color: var(--muted); font-size: 14px; }
.footer-col-menu a:hover { color: var(--text); }
.footer-pay { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; padding: 24px 0; border-top: 1px solid var(--line); }
.footer-pay span { color: #a0b6c0; font-size: 13px; font-weight: 700; letter-spacing: .3px; }
.footer-copy { text-align: center; color: #708691; font-size: 13px; padding-top: 20px; border-top: 1px solid var(--line); }

/* ---------- mobile drawer ---------- */
.overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .55); opacity: 0; visibility: hidden; transition: opacity .2s ease; z-index: 60; }
.overlay.is-open { opacity: 1; visibility: visible; }
.drawer {
	position: fixed; top: 0; left: 0; bottom: 0; width: 280px; max-width: 84vw; z-index: 70;
	background: var(--surface); border-right: 1px solid var(--line);
	transform: translateX(-100%); transition: transform .22s ease;
	display: flex; flex-direction: column; padding: 20px;
}
.drawer.is-open { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.drawer__close { width: 38px; height: 38px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .06); color: var(--text); cursor: pointer; }
.drawer__nav { display: grid; gap: 6px; }
.drawer__nav a { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: var(--radius-sm); color: #d3e2ea; }
.drawer__nav a:hover { background: rgba(0, 191, 255, .1); }
.drawer__nav .ico { width: 22px; height: 22px; color: var(--cyan-2); }
.drawer__cta { display: grid; gap: 10px; margin-top: auto; padding-top: 20px; }

/* back to top */
.to-top {
	position: fixed; right: 20px; bottom: 20px; z-index: 40;
	width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2);
	background: var(--surface); color: var(--text); cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease;
}
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { transform: translateY(-3px); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
	.game-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 980px) {
	.topnav { display: none; }
	.burger { display: flex; }
	.footer-cols { grid-template-columns: 1fr; gap: 22px; }
	.promo { grid-template-columns: 1fr; }
	.promo__media { display: none; }
}
@media (max-width: 720px) {
	.game-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
	.brand__word { font-size: 20px; }
	.review-card { grid-template-columns: 1fr; }
	.rank-card { grid-template-columns: 40px 1fr; grid-auto-flow: row; }
	.rank-card__logo { display: none; }
	.landing-hero h1 { font-size: 32px; }
	.promo { padding: 24px 20px; }
	.promo__title { font-size: 27px; }
}
@media (max-width: 600px) {
	.topbar { padding: 0 12px; gap: 10px; }
	.burger { width: 38px; height: 38px; }
	.topbar__actions { gap: 8px; }
	.btn { height: 40px; padding: 0 14px; font-size: 14px; }
}
@media (max-width: 460px) {
	.game-grid { grid-template-columns: repeat(2, 1fr); }
	.brand img { height: 28px; }
	.brand__word { font-size: 17px; }
	.btn { height: 38px; padding: 0 11px; font-size: 13px; }
	.btn-gold { gap: 4px; }
	.promo__cta .btn { width: 100%; }
}
@media (max-width: 360px) {
	.topbar { padding: 0 8px; gap: 8px; }
	.burger { width: 34px; height: 34px; }
	.brand { gap: 6px; }
	.brand img { height: 24px; }
	.brand__word { font-size: 15px; }
	.topbar__actions { gap: 6px; }
	.btn { height: 36px; padding: 0 9px; font-size: 12px; }
}
