:root {
	--bg: #1b2038;
	--bg-dark: #111526;
	--surface: #171c31;
	--card: #111526;
	--card-hover: #1a2140;
	--accent: #5b6cff;
	--accent-2: #6f7eff;
	--pink: #d2326f;
	--pink-dark: #c8044f;
	--text: #ffffff;
	--muted: rgba(255, 255, 255, 0.74);
	--line: rgba(255, 255, 255, 0.08);
	--radius: 8px;
	--radius-lg: 14px;
	--shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
	--container: 1180px;
	--narrow: 1180px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: Montserrat, Arial, sans-serif;
	line-height: 1.45;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

body.menu-open {
	overflow: hidden;
}

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

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
textarea,
select {
	font: inherit;
}

.container {
	width: min(100% - 32px, var(--container));
	margin-inline: auto;
}

.hero-narrow,
.content-narrow,
.rating-shell {
	width: min(100%, var(--narrow));
	margin-inline: auto;
}

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 200;
	background: rgba(17, 21, 38, 0.96);
	border-bottom: 1px solid var(--line);
	backdrop-filter: blur(8px);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 62px;
	gap: 20px;
}

.site-branding {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.01em;
}

.site-branding img {
	width: 28px;
	height: 28px;
	object-fit: contain;
	flex-shrink: 0;
}

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

.header-burger {
	display: none;
	width: 42px;
	height: 42px;
	border: 0;
	background: transparent;
	padding: 0;
	cursor: pointer;
	align-items: center;
	justify-content: center;
}

.header-burger span {
	display: block;
	width: 18px;
	height: 2px;
	background: var(--pink);
	margin: 3px 0;
	border-radius: 2px;
	transition: 0.2s ease;
}

.mobile-menu-overlay {
	display: none;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 0 16px;
	border-radius: 10px;
	border: 1px solid transparent;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	transition: 0.2s ease;
	cursor: pointer;
	white-space: nowrap;
}

.btn-primary {
	background: linear-gradient(180deg, var(--pink), var(--pink-dark));
	color: #fff;
	box-shadow: 0 8px 18px rgba(200, 4, 79, 0.22);
}

.btn-primary:hover {
	filter: brightness(1.08);
	transform: translateY(-1px);
}

.btn-outline {
	background: transparent;
	color: #fff;
	border-color: var(--pink);
}

.btn-outline:hover {
	background: rgba(210, 50, 111, 0.12);
}

/* Hero */
.hero {
	padding: 42px 0 18px;
	text-align: center;
}

.hero-title {
	margin: 0 0 14px;
	font-size: clamp(32px, 4vw, 52px);
	line-height: 1.12;
	font-weight: 800;
}

.hero-subtitle {
	margin: 0 auto 10px;
	max-width: 760px;
	color: var(--muted);
	font-size: 15px;
}

.hero-date {
	font-size: 14px;
	color: #d9dcef;
}

.hero-date strong {
	display: block;
	margin-top: 2px;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
}

/* Banner */
.top-banner {
	padding: 0 0 16px;
}

.top-banner img {
	width: 100%;
	border-radius: 12px;
}

/* Rating */
.rating-section {
	padding: 8px 0 36px;
}

.rating-list {
	display: grid;
	gap: 10px;
}

/* Card like mockup */
.casino-card {
	position: relative;
	display: grid;
	grid-template-columns: 34px 115px 168px 1fr 150px;
	align-items: center;
	gap: 12px;
	min-height: 74px;
	padding: 8px 10px 8px 0;
	background: #111526;
	border: 1px solid rgba(255, 255, 255, 0.05);
	border-radius: 8px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
	cursor: pointer;
	transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
	overflow: hidden;
}

.casino-card:hover {
	background: #1a2140;
	border-color: rgba(91, 108, 255, 0.45);
	transform: translateY(-1px);
}

.casino-card__rank {
	position: relative;
	align-self: stretch;
	height: 100%;
	min-height: 58px;
}

.casino-card__rank-triangle {
	position: absolute;
	left: 0;
	top: -8px;
	width: 0;
	height: 0;
	border-top: 36px solid #5b6cff;
	border-right: 36px solid transparent;
}

.casino-card__rank-num {
	position: absolute;
	top: 0px;
	left: 7px;
	z-index: 2;
	font-size: 11px;
	font-weight: 800;
	color: #ffffff;
	line-height: 1;
}

.casino-card__name {
	font-size: 20px;
	font-weight: 700;
	line-height: 1.02;
	word-break: break-word;
	padding-left: 2px;
}

.casino-card__logo-wrap {
	position: relative;
	width: 168px;
}

.casino-card__badge {
	position: absolute;
	top: 5px;
	left: 4px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 14px;
	padding: 2px 7px;
	border-radius: 4px;
	font-size: 8px;
	line-height: 1;
	font-weight: 800;
	text-transform: uppercase;
	color: #08111d;
	letter-spacing: 0.02em;
	white-space: nowrap;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.casino-card__logo-box {
    width: 168px;
    height: 110px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 4px;
}

.casino-card__logo {
width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.casino-card__text {
	font-size: 16px;
	line-height: 1.35;
	color: rgba(255, 255, 255, 0.82);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	max-width: 100%;
	padding-right: 8px;
}

.casino-card__action {
	display: flex;
	justify-content: flex-end;
}

.casino-card__btn {
	min-width: 132px;
	min-height: 34px;
	padding: 0 12px;
	border-radius: 9px;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

/* Content */
.content-section {
	padding: 24px 0 34px;
}

.section-main-title {
	margin: 0 0 12px;
	font-size: clamp(28px, 3vw, 40px);
	line-height: 1.15;
	font-weight: 800;
}

.section-intro {
	color: var(--muted);
	font-size: 15px;
	margin-bottom: 24px;
}

.editor-content h2,
.editor-content h3,
.editor-content h4 {
	line-height: 1.15;
	margin-top: 0;
	color: #fff;
}

.editor-content h2 {
	font-size: 28px;
	margin-bottom: 14px;
}

.editor-content h3 {
	font-size: 24px;
	margin-bottom: 12px;
}

.editor-content h4 {
	font-size: 20px;
	margin-bottom: 10px;
}

.editor-content p,
.editor-content li {
	color: var(--muted);
	font-size: 15px;
}

.editor-content ul,
.editor-content ol {
	padding-left: 18px;
	margin-top: 0;
}

.editor-content li {
	margin-bottom: 8px;
}

.editor-content ul li::marker,
.editor-content ol li::marker {
	color: var(--pink);
}

.info-quote {
	margin: 24px 0;
	display: flex;
	align-items: center;
	gap: 12px;
	background: linear-gradient(90deg, #6d7bff, #5b6cff);
	border-radius: 8px;
	padding: 14px 16px;
	font-weight: 600;
	color: #fff;
}

.info-quote-icon {
	font-size: 22px;
	line-height: 1;
}

.content-image-wrap {
	margin: 24px 0;
	border-radius: 10px;
	overflow: hidden;
}

.content-image-wrap img {
	width: 100%;
	border-radius: 10px;
}

.rating-table-block {
	margin-top: 24px;
}

.rating-table-title {
	font-size: 24px;
	margin: 0 0 14px;
}

.table-responsive {
	overflow-x: auto;
	border-radius: 10px;
}

.rating-table {
	width: 100%;
	border-collapse: collapse;
	min-width: 740px;
}

.rating-table th,
.rating-table td {
	padding: 12px 14px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 14px;
}

.rating-table th {
	background: #5b6cff;
	color: #fff;
	text-align: left;
}

.rating-table td {
	background: #111526;
	color: rgba(255, 255, 255, 0.88);
}

.hidden-content-box {
	margin-top: 24px;
}

.hidden-content-toggle {
	min-height: 42px;
	padding: 0 16px;
	border-radius: 10px;
	border: 0;
	background: linear-gradient(180deg, #6f7eff, #5b6cff);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
}

.hidden-content {
	margin-top: 16px;
}

/* FAQ */
.faq-section {
	padding: 10px 0 56px;
}

.faq-title {
	margin: 0 0 18px;
	font-size: 30px;
	font-weight: 800;
}

.faq-list {
	display: grid;
	gap: 10px;
}

.faq-item {
	background: #151a31;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 10px;
	overflow: hidden;
}

.faq-item.is-open {
	border-color: rgba(91, 108, 255, 0.4);
}

.faq-question {
	width: 100%;
	padding: 14px 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	background: transparent;
	border: 0;
	color: #fff;
	font-weight: 700;
	text-align: left;
	cursor: pointer;
}

.faq-icon {
	width: 24px;
	height: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	font-size: 16px;
	flex-shrink: 0;
}

.faq-answer {
	padding: 0 16px 14px;
	color: var(--muted);
	font-size: 14px;
}

/* Inner */
.inner-page {
	padding: 48px 0 64px;
}

.inner-title {
	margin: 0 0 20px;
	font-size: 36px;
	font-weight: 800;
}

/* Footer */
.site-footer {
	padding: 32px 0;
	background: #111526;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	text-align: center;
}

.footer-inner {
	display: grid;
	gap: 14px;
	justify-items: center;
}

.footer-branding {
	display: grid;
	gap: 10px;
	justify-items: center;
}

.footer-branding img {
	width: 28px;
	height: 28px;
}

.footer-brand-name {
	font-weight: 700;
	font-size: 16px;
}

.footer-text {
	color: var(--muted);
	font-size: 14px;
	max-width: 680px;
}

.footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: center;
}

.footer-links a,
.footer-links span {
	font-size: 14px;
	color: #8f97c9;
}

.footer-copy {
	font-size: 12px;
	color: #cdd1ea;
}

/* Tablet */
@media (max-width: 991px) {
	.rating-shell {
		width: min(100%, 760px);
	}

	.casino-card {
		grid-template-columns: 34px 80px 132px 1fr 132px;
		gap: 10px;
	}

	.casino-card__name {
		font-size: 17px;
	}

	.casino-card__logo-wrap,
	.casino-card__logo-box {
		width: 132px;
	}

	.casino-card__logo-box {
		height: 52px;
	}

	.casino-card__btn {
		min-width: 120px;
	}
}

/* Mobile */
@media (max-width: 767px) {
	.container {
		width: min(100% - 16px, var(--container));
	}

	.site-header {
		position: sticky;
		top: 0;
	}

	.header-inner {
		min-height: 64px;
	}

	.site-branding {
		font-size: 13px;
		max-width: calc(100% - 52px);
	}

	.site-branding img {
		width: 26px;
		height: 26px;
	}

	.header-burger {
		display: flex;
		        flex-direction: column;
	}

	.header-actions {
		position: fixed;
		top: 0;
		right: -100%;
		width: min(100%, 375px);
		height: 100vh;
		background: #1a1f37;
		padding: 74px 16px 16px;
		display: flex;
		flex-direction: column;
		gap: 14px;
		transition: right 0.28s ease;
		z-index: 220;
	}

	.header-actions.is-open {
		right: 0;
	}

	.header-actions .btn {
		width: 100%;
		min-height: 48px;
		font-size: 14px;
		border-radius: 14px;
	}

	.header-actions .btn-outline {
		border-width: 2px;
	}

	.mobile-menu-overlay {
		display: block;
		position: fixed;
		inset: 0;
		background: rgba(0, 0, 0, 0.5);
		opacity: 0;
		visibility: hidden;
		transition: 0.2s ease;
		z-index: 210;
	}

	.mobile-menu-overlay.is-visible {
		opacity: 1;
		visibility: visible;
		        z-index: 2;
	}

	.hero {
		padding: 34px 0 14px;
	}

	.hero-title {
		font-size: 24px;
	}

	.hero-subtitle {
		font-size: 16px;
	}

	.hero-date {
		font-size: 16px;
	}

	.hero-date strong {
		font-size: 16px;
	}

	.rating-shell {
		width: min(100%, 100%);
	}

	.rating-list {
		gap: 10px;
	}

	.casino-card {
		grid-template-columns: 32px 1fr;
		grid-template-areas:
        "rank name"
        "logo logo"
        "text text"
        "action action";
		gap: 8px 10px;
		padding: 8px 8px 10px 0;
		min-height: auto;
		border-radius: 8px;
	}

	.casino-card__rank {
		grid-area: rank;
		min-height: 28px;
	}

	.casino-card__rank-triangle {
		border-top: 28px solid #5b6cff;
		border-right: 28px solid transparent;
	}

	.casino-card__rank-num {
		top: -3px;
		left: 5px;
		font-size: 10px;
	}

	.casino-card__name {
        grid-area: name;
        font-size: 18px;
        line-height: 1.05;
        padding-top: 2px;
        padding-right: 20px;
        text-align: center;
	}

	.casino-card__logo-wrap {
		grid-area: logo;
		width: 100%;
		padding-left: 8px;
	}

	.casino-card__logo-box {
		width: 100%;
		height: auto;
		padding: 6px 8px;
		border-radius: 4px;
	}

	.casino-card__badge {
		top: -6px;
		left: 10px;
		font-size: 7px;
		padding: 2px 6px;
	}

	.casino-card__text {
		grid-area: text;
		font-size: 14px;
		line-height: 1.32;
		padding-right: 8px;
		padding-top: 2px;
		-webkit-line-clamp: 3;
		        padding-left: 8px;
        padding-right: 8px;
	}

	.casino-card__action {
		grid-area: action;
		padding-left: 8px;
		padding-right: 8px;
		padding-top: 2px;
		justify-content: stretch;
	}

	.casino-card__btn {
		width: 100%;
		min-width: 0;
		min-height: 34px;
		font-size: 10px;
		border-radius: 9px;
	}

	.section-main-title {
		font-size: 24px;
	}

	.section-intro,
	.editor-content p,
	.editor-content li {
		font-size: 14px;
	}

	.editor-content h2 {
		font-size: 24px;
	}

	.editor-content h3 {
		font-size: 21px;
	}

	.info-quote {
		padding: 12px 14px;
		font-size: 14px;
	}

	.rating-table-title,
	.faq-title {
		font-size: 24px;
	}

	.rating-table th,
	.rating-table td {
		font-size: 13px;
		padding: 10px 12px;
	}
}

/* Small mobile */
@media (max-width: 420px) {
	.site-branding span {
		font-size: 12px;
	}

	.hero-title {
		font-size: 22px;
	}

	.casino-card {
		grid-template-columns: 30px 1fr;
		gap: 8px 8px;
	}

	.casino-card__name {
		font-size: 16px;
	}

	.casino-card__logo-wrap {
		width: 100%;
	}

	.casino-card__logo-box {
		width: 100%;
		height: auto;
	}

	.casino-card__text {
		font-size: 10px;
	}

	.casino-card__btn {
		font-size: 9px;
		min-height: 32px;
	}

	.section-main-title {
		font-size: 22px;
	}

	.faq-question {
		padding: 12px 14px;
		font-size: 14px;
	}

	.faq-answer {
		font-size: 13px;
	}
}