/* Bookmaker Boxes – [bookmakers-boxes] */
.bbx {
	--bbx-text: #4b5563;
	--bbx-strong: #111827;
	--bbx-muted: #6b7280;
	--bbx-line: #e7e9ee;
	--bbx-panel: #f6f7f9;
	--bbx-red: #ce1126;
	--bbx-btn: #c62f2a;
	--bbx-btn-dark: #a5231f;
	--bbx-radius: 18px;
	container: bbx / inline-size;
	margin: 1.6em 0;
	color: var(--bbx-text);
	font-size: 16px;
	line-height: 1.5;
}
.bbx *,
.bbx *::before,
.bbx *::after { box-sizing: border-box; }

.bbx-list { display: flex; flex-direction: column; gap: 22px; }

/* ---------- Box (phone first: one column) ---------- */
.bbx-box {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
	padding: 20px 18px;
	background: #fff;
	border: 1px solid var(--bbx-line);
	border-radius: var(--bbx-radius);
	box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 6px 18px -8px rgba(16, 24, 40, .12);
}
.bbx-main {
	container: bbxmain / inline-size;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.bbx .bbx-name {
	margin: 0 0 8px;
	padding: 0;
	border: 0;
	color: var(--bbx-strong);
	font-size: 26px;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -.01em;
	text-transform: none;
}
.bbx .bbx-name::before,
.bbx .bbx-name::after { content: none; display: none; }

.bbx-desc { color: var(--bbx-text); font-size: 16px; line-height: 1.6; }
.bbx .bbx-desc p { margin: 0 0 .7em; }
.bbx .bbx-desc p:last-child { margin-bottom: 0; }
.bbx-desc a { color: var(--bbx-strong); text-decoration: underline; text-underline-offset: 3px; }

.bbx-label {
	display: block;
	margin: 0 0 8px;
	color: var(--bbx-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	line-height: 1.3;
	text-transform: uppercase;
}
.bbx-hl { color: var(--bbx-red); font-weight: 700; }

/* ---------- Best bonuses ---------- */
.bbx-bonuses {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 18px 0 22px;
	padding: 16px;
	background: var(--bbx-panel);
	border: 1px solid var(--bbx-line);
	border-radius: 14px;
}
.bbx-bonuses__body { flex: 1 1 auto; min-width: 0; }
.bbx .bbx-bonuses__list { margin: 0; padding: 0; list-style: none; }
.bbx .bbx-bonuses__list > li {
	position: relative;
	margin: 0 0 5px;
	padding: 0 0 0 18px;
	color: var(--bbx-strong);
	font-size: 16px;
	line-height: 1.45;
	list-style: none;
	background: none;
}
.bbx .bbx-bonuses__list > li:last-child { margin-bottom: 0; }
.bbx .bbx-bonuses__list > li::before {
	content: "";
	display: block;
	position: absolute;
	top: .58em;
	left: 2px;
	width: 7px;
	height: 7px;
	margin: 0;
	border: 0;
	border-radius: 50%;
	background: var(--bbx-red);
}
.bbx-gift {
	display: none;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 84px;
	height: 84px;
	background: #fff;
	border: 1px solid var(--bbx-line);
	border-radius: 14px;
}
.bbx-gift svg { width: 50px; height: 50px; }

/* ---------- Bottom row: logo · welcome bonus · button ---------- */
.bbx-foot {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: auto;
	padding-top: 20px;
	border-top: 1px solid var(--bbx-line);
}
.bbx-main > .bbx-name + .bbx-foot,
.bbx-main > .bbx-desc + .bbx-foot { margin-top: 20px; }

.bbx .bbx-logo {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 80px;
	height: 80px;
	padding: 9px;
	overflow: hidden;
	border-radius: 14px;
	background: var(--bbx-logo-bg, #1f2937);
	text-decoration: none;
}
.bbx .bbx-logo img { display: block; width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; object-fit: contain; }
.bbx-logo__text { overflow: hidden; color: #fff; font-size: 14px; font-weight: 800; line-height: 1.3; text-align: center; overflow-wrap: anywhere; }

.bbx-welcome {
	display: flex;
	flex: 1 1 0;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 0;
	min-height: 80px;
	padding: 8px 12px;
	background: var(--bbx-panel);
	border: 1px solid var(--bbx-line);
	border-radius: 14px;
	text-align: center;
}
.bbx-welcome .bbx-label { margin: 0 0 2px; font-size: 11px; }
.bbx-welcome__value { color: var(--bbx-strong); font-size: 18px; font-weight: 800; line-height: 1.2; }

.bbx a.bbx-btn {
	display: flex;
	flex: 1 1 100%;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 54px;
	padding: 10px 20px;
	border: 0;
	border-radius: 14px;
	background: var(--bbx-btn);
	box-shadow: 0 2px 0 var(--bbx-btn-dark);
	color: #fff;
	font-size: 17px;
	font-weight: 800;
	letter-spacing: .05em;
	line-height: 1.1;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	transition: background-color .15s ease;
}
.bbx a.bbx-btn:hover,
.bbx a.bbx-btn:focus-visible { background: var(--bbx-btn-dark); color: #fff; text-decoration: none; }
.bbx a.bbx-btn:active { transform: translateY(1px); box-shadow: none; }
.bbx-btn svg { flex: none; width: 20px; height: 20px; transition: transform .15s ease; }
.bbx a.bbx-btn:hover svg { transform: translateX(3px); }
.bbx-foot--nobtn .bbx-welcome { flex-basis: 0; }

.bbx a:focus-visible { outline: 2px solid var(--bbx-strong); outline-offset: 2px; }

/* ---------- Phone screenshot ---------- */
.bbx .bbx-shot {
  justify-self: center;
  width: min(100%, 100%);
  margin: 0;
  padding: 20px 5px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 5px 20px -10px rgba(16, 24, 40, .5);
  border: solid 1px #e7e9ee;
}
.bbx .bbx-shot img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 540 / 760;
	margin: 0;
	border-radius: 0px;
	object-fit: cover;
}

/* ---------- Wider ---------- */
@container bbxmain (min-width: 440px) {
	.bbx-gift { display: flex; }
}
/* Logo, bonus and button in one row once the text column is wide enough. */
@container bbxmain (min-width: 500px) {
	.bbx-foot { flex-wrap: nowrap; }
	.bbx a.bbx-btn { flex: 0 0 auto; min-width: 168px; min-height: 80px; padding: 0 22px; }
	.bbx-foot--nobtn .bbx-welcome,
	.bbx-foot:not(:has(.bbx-welcome)) .bbx-btn { flex: 1 1 auto; }
}
@container bbx (min-width: 600px) {
	.bbx-box { padding: 26px; }
	.bbx .bbx-name { font-size: 30px; }
}
/* Screenshot on the right. */
@container bbx (min-width: 760px) {
	.bbx-box { grid-template-columns: minmax(0, 1fr) 240px; gap: 32px; }
	.bbx-box.bbx-box--noshot { grid-template-columns: minmax(0, 1fr); }
	.bbx .bbx-shot { width: 100%; align-self: center; }
}
@container bbx (min-width: 900px) {
	.bbx-box { grid-template-columns: minmax(0, 1fr) 270px; gap: 40px; padding: 32px; }
	.bbx .bbx-name { font-size: 32px; }
	.bbx-desc { font-size: 17px; }
	.bbx .bbx-bonuses__list > li { font-size: inherit; }
	.bbx-welcome__value { font-size: 20px; }
}

/* One column (phone): screenshot above the logo / bonus / button row.
   .bbx-main stops being a box so its parts and the screenshot can be reordered;
   the bbxmain sizes above then no longer match, so they are repeated by box width. */
@container bbx (max-width: 759.98px) {
	.bbx-box:not(.bbx-box--noshot) { gap: 0; }
	.bbx-box:not(.bbx-box--noshot) .bbx-main { display: contents; }
	.bbx-box:not(.bbx-box--noshot) .bbx-bonuses { margin-bottom: 0; }
	.bbx-box:not(.bbx-box--noshot) .bbx-shot { margin: 22px auto; }
	.bbx-box:not(.bbx-box--noshot) .bbx-foot { order: 1; margin-top: 0; }
}
@container bbx (min-width: 478px) and (max-width: 759.98px) {
	.bbx-box:not(.bbx-box--noshot) .bbx-gift { display: flex; }
}
@container bbx (min-width: 538px) and (max-width: 759.98px) {
	.bbx-box:not(.bbx-box--noshot) .bbx-foot { flex-wrap: nowrap; }
	.bbx-box:not(.bbx-box--noshot) a.bbx-btn { flex: 0 0 auto; min-width: 168px; min-height: 80px; padding: 0 22px; }
	.bbx-box:not(.bbx-box--noshot) .bbx-foot--nobtn .bbx-welcome,
	.bbx-box:not(.bbx-box--noshot) .bbx-foot:not(:has(.bbx-welcome)) .bbx-btn { flex: 1 1 auto; }
}

/* Browsers without container queries: phone layout, plus the two columns on wide screens. */
@supports not (container-type: inline-size) {
	@media (min-width: 1000px) {
		.bbx-box { grid-template-columns: minmax(0, 1fr) 270px; gap: 40px; padding: 32px; }
		.bbx-box.bbx-box--noshot { grid-template-columns: minmax(0, 1fr); }
		.bbx-gift { display: flex; }
		.bbx-foot { flex-wrap: nowrap; }
		.bbx a.bbx-btn { flex: 0 0 auto; min-width: 168px; min-height: 80px; }
	}
}

.bbx-empty { padding: 12px 14px; border: 1px dashed #c3c4c7; border-radius: 8px; color: #50575e; }
