/* Game Component Showcase - 5322c9e8 */

.gcs-5322c9e8-wrapper {
	position: relative;
}

.gcs-5322c9e8-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

/* --- Item Card --- */
.gcs-5322c9e8-item {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	transition: box-shadow 0.3s ease;
}

.gcs-5322c9e8-item:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

/* --- Image --- */
.gcs-5322c9e8-image {
	position: relative;
	height: 250px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	border-radius: 12px 12px 0 0;
	overflow: hidden;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Dark overlay on hover */
.gcs-5322c9e8-image::after {
	content: '';
	position: absolute;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.45);
	opacity: 0;
	transition: opacity 0.35s ease;
	pointer-events: none;
}

.gcs-5322c9e8-image:hover::after,
.gcs-5322c9e8-image:focus-visible::after {
	opacity: 1;
}

/* --- Pulse Badge (top-right corner) --- */
.gcs-5322c9e8-pulse {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 12px;
	height: 12px;
	background-color: #ffffff;
	border-radius: 50%;
	z-index: 2;
	box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
}

.gcs-5322c9e8-pulse::before {
	content: '';
	position: absolute;
	inset: -4px;
	border: 2px solid #ffffff;
	border-radius: 50%;
	animation: gcs5322c9e8Pulse 2s ease-in-out infinite;
}

@keyframes gcs5322c9e8Pulse {
	0% {
		transform: scale(1);
		opacity: 1;
	}
	50% {
		transform: scale(1.8);
		opacity: 0;
	}
	100% {
		transform: scale(1);
		opacity: 0;
	}
}

/* --- Hover Cue (centred icon + text) --- */
.gcs-5322c9e8-hover-cue {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.35s ease, transform 0.35s ease;
	pointer-events: none;
}

.gcs-5322c9e8-image:hover .gcs-5322c9e8-hover-cue,
.gcs-5322c9e8-image:focus-visible .gcs-5322c9e8-hover-cue {
	opacity: 1;
	transform: translateY(0);
}

.gcs-5322c9e8-hint-title {
    color: #ffffff;
    margin: 0 0 10px 0;
    font-size: 22px;
    font-weight: 700;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.gcs-5322c9e8-hint-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
}

.gcs-5322c9e8-hint-icon svg {
	width: 28px;
	height: 28px;
	stroke: currentColor;
}

.gcs-5322c9e8-hint-text {
	color: #ffffff;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* --- Text Box (grid-based expand for full content) --- */
.gcs-5322c9e8-textbox-wrap {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.gcs-5322c9e8-textbox-wrap.gcs-5322c9e8-active {
	grid-template-rows: 1fr;
}

.gcs-5322c9e8-textbox {
	background-color: #1a1a2e;
	overflow: hidden;
	border-radius: 0 0 12px 12px;
}

.gcs-5322c9e8-textbox-inner {
	padding: 16px 20px;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.gcs-5322c9e8-textbox-wrap.gcs-5322c9e8-active .gcs-5322c9e8-textbox-inner {
	opacity: 1;
}

.gcs-5322c9e8-textbox-title {
	margin: 0 0 8px 0;
	font-size: 18px;
	font-weight: 700;
	color: #ffffff;
	line-height: 1.3;
}

.gcs-5322c9e8-textbox-desc {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.8);
	word-wrap: break-word;
	overflow-wrap: break-word;
}
