/* =========================================================================
   Casino templates — single-casino.php, archive-casino.php
   ====================================================================== */

.casino-hero {
	padding-block: clamp(20px, 3vw, 36px) clamp(20px, 3vw, 32px);
}

.casino-hero__inner {
	display: grid;
	gap: 20px;
	align-items: center;
}

@media (min-width: 800px) {
	.casino-hero__inner { grid-template-columns: minmax(0, 1fr) auto; gap: 32px; }
}

.casino-hero__brand {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	flex-wrap: wrap;
}

.casino-hero__logo {
	flex: none;
	display: grid;
	place-items: center;
	width: 132px;
	height: 72px;
	padding: 10px;
	background: rgba(255, 255, 255, .07);
	border: 1px solid var(--line);
	border-radius: var(--r-sm);
}

.casino-hero__logo img { max-height: 100%; width: auto; object-fit: contain; }

.casino-hero__title { margin: 8px 0 10px; }

.casino-hero__summary {
	max-width: 62ch;
	font-size: 15px;
	color: var(--text-3);
}

.casino-hero__score {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 18px 26px;
	background: var(--surface);
	border: 1px solid rgba(243, 187, 65, .35);
	border-radius: var(--r-card);
}

.casino-hero__score strong {
	font-family: var(--font-display);
	font-style: italic;
	font-weight: 900;
	font-size: 40px;
	line-height: 1;
	background: var(--grad-gold);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.casino-hero__score span {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--text-3);
}

.casino-main > .panel:last-child { margin-bottom: 0; }

.casino-body { margin-bottom: 28px; }

.casino-body h2,
.review-body h2,
.page-main h2 { scroll-margin-top: calc(var(--header-h) + 20px); }

/* Nested comparison table inside a panel loses its own card chrome. */
.panel .ctable__row {
	background: rgba(255, 255, 255, .04);
	box-shadow: none;
}

/* --------------------------------------------------------------- Archive */
.casino-archive .archive-hero__title { max-width: 24ch; }

@media (min-width: 900px) {
	.casino-archive .archive-hero__title { max-width: none; }
}

/* -------------------------------------------------------------------------
   Task sections (app, registration, login, how to play).
   ---------------------------------------------------------------------- */

.guide__subtitle {
	margin: 26px 0 10px;
	font-size: 17px;
	color: var(--c-gold);
}

.guide__steps {
	counter-reset: guide-step;
	list-style: none;
	margin: 14px 0 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.guide__step {
	counter-increment: guide-step;
	position: relative;
	padding: 12px 16px 12px 52px;
	border-radius: 12px;
	background: rgba(255, 255, 255, .04);
	line-height: 1.6;
}

.guide__step::before {
	content: counter(guide-step);
	position: absolute;
	left: 14px;
	top: 11px;
	width: 26px;
	height: 26px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--grad-gold, linear-gradient(100deg, #ffa01b, #fdf471, #ff9e16));
	color: #1a1200;
	font-size: 13px;
	font-weight: 800;
}

.guide__fixes {
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
	display: grid;
	gap: 8px;
}

.guide__fixes__item {
	position: relative;
	padding: 10px 14px 10px 34px;
	border-radius: 10px;
	background: rgba(204, 5, 0, .09);
	border: 1px solid rgba(204, 5, 0, .22);
	line-height: 1.55;
}

.guide__fixes__item::before {
	content: "!";
	position: absolute;
	left: 13px;
	top: 10px;
	width: 16px;
	height: 16px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: #cc0500;
	color: #fff;
	font-size: 11px;
	font-weight: 800;
}

.guide__cta { margin: 22px 0 0; }
