.hc-game {
	background:
		radial-gradient(circle at center, rgba(21, 117, 81, 0.65), transparent 50%),
		linear-gradient(135deg, #0f503a, #082a25);
	border-radius: 18px;
	box-sizing: border-box;
	color: #fff;
	display: flex;
	flex-direction: column;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	min-height: 532px;
	overflow: hidden;
	padding: clamp(14px, 3vw, 30px);
	position: relative;
}

.hc-game::before {
	background-image:
		linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
	background-size: 24px 24px;
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
}

.hc-topbar {
	align-items: center;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	position: relative;
	text-align: center;
	z-index: 1;
}

.hc-topbar > div:first-child {
	text-align: left;
}

.hc-topbar > div:last-child {
	text-align: right;
}

.hc-topbar span,
.hc-title small {
	color: rgba(255, 255, 255, 0.7);
	display: block;
	font-size: 12px;
	font-weight: 750;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hc-topbar strong {
	color: #f6d36b;
	font-size: 34px;
	line-height: 1;
}

.hc-title h2 {
	color: #fff;
	font-size: clamp(26px, 4vw, 42px);
	margin: 3px 0 0;
}

.hc-table {
	align-items: center;
	display: grid;
	flex: 1;
	gap: 18px;
	grid-template-columns: 1fr minmax(150px, .7fr) 1fr;
	padding: 22px 0;
	position: relative;
	z-index: 1;
}

.hc-seat {
	align-items: center;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.hc-seat h3 {
	color: rgba(255,255,255,.86);
	font-size: 15px;
	margin: 0;
}

.hc-card-slot {
	filter: drop-shadow(0 18px 22px rgba(0,0,0,.34));
	perspective: 1000px;
}

.hc-card {
	background: #fff;
	border: 1px solid rgba(0,0,0,.14);
	border-radius: 12px;
	box-sizing: border-box;
	color: #101318;
	height: clamp(180px, 25vw, 245px);
	position: relative;
	width: clamp(126px, 17.5vw, 172px);
}

.hc-card--red {
	color: #d62f45;
}

.hc-card--back {
	align-items: center;
	background:
		linear-gradient(45deg, rgba(255,255,255,.13) 25%, transparent 25%) 0 0 / 18px 18px,
		linear-gradient(-45deg, rgba(255,255,255,.13) 25%, transparent 25%) 0 0 / 18px 18px,
		#162f66;
	border: 7px solid #f7f8fb;
	color: #f6d36b;
	display: flex;
	font-size: 24px;
	font-weight: 900;
	justify-content: center;
	letter-spacing: .1em;
}

.hc-card > strong {
	font-size: clamp(54px, 9vw, 90px);
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
}

.hc-card__corner {
	font-size: 22px;
	font-weight: 850;
	left: 10px;
	line-height: .85;
	position: absolute;
	top: 10px;
}

.hc-card__corner small {
	display: block;
	font-size: 18px;
	margin-top: 5px;
}

.hc-card__corner--bottom {
	bottom: 10px;
	left: auto;
	right: 10px;
	top: auto;
	transform: rotate(180deg);
}

.hc-status {
	background: rgba(4, 25, 20, .45);
	border: 1px solid rgba(255,255,255,.13);
	border-radius: 16px;
	padding: 18px;
	text-align: center;
}

.hc-status strong {
	color: #f6d36b;
	display: block;
	font-size: 20px;
}

.hc-status p {
	color: rgba(255,255,255,.78);
	line-height: 1.5;
	margin: 6px 0 0;
}

.hc-controls {
	display: flex;
	gap: 12px;
	justify-content: center;
	position: relative;
	z-index: 1;
}

.hc-button {
	background: linear-gradient(180deg, #f6d36b, #dca52a);
	border: 0;
	border-radius: 999px;
	box-shadow: 0 10px 24px rgba(0,0,0,.24);
	color: #122019;
	cursor: pointer;
	font-size: 16px;
	font-weight: 900;
	min-height: 48px;
	padding: 12px 24px;
}

.hc-button:hover {
	filter: brightness(1.05);
	transform: translateY(-1px);
}

.hc-button:disabled {
	cursor: not-allowed;
	opacity: .55;
	transform: none;
}

.hc-button--secondary {
	background: rgba(255,255,255,.1);
	border: 1px solid rgba(255,255,255,.2);
	box-shadow: none;
	color: #fff;
}

@media (max-width: 700px) {
	.hc-game {
		min-height: 486px;
	}

	.hc-table {
		gap: 10px;
		grid-template-columns: 1fr 1fr;
	}

	.hc-status {
		grid-column: 1 / -1;
		grid-row: 2;
		order: 3;
		padding: 10px;
	}

	.hc-seat:first-child {
		grid-column: 2;
		grid-row: 1;
	}

	.hc-seat:last-child {
		grid-column: 1;
		grid-row: 1;
	}

	.hc-card {
		height: 190px;
		width: 132px;
	}

	.hc-controls {
		flex-wrap: wrap;
	}

	.hc-button {
		flex: 1 1 150px;
	}
}
