/* Game Grid */
.ssd-game-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 20px;
	margin-bottom: 30px;
}

.ssd-game-item {
	border: 1px solid #eee;
	border-radius: 8px;
	overflow: hidden;
	transition: transform 0.2s;
}

.ssd-game-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.ssd-game-thumb img {
	width: 100%;
	height: auto;
	display: block;
}

.ssd-game-title {
	padding: 10px;
	text-align: center;
	font-weight: bold;
	font-size: 16px;
	background: #fff;
}

/* Pagination */
.ssd-pagination {
	text-align: center;
	margin-top: 20px;
}

.ssd-pagination a,
.ssd-pagination span {
	display: inline-block;
	padding: 8px 12px;
	margin: 0 5px;
	border: 1px solid #ddd;
	text-decoration: none;
	color: #333;
}

.ssd-pagination .current {
	background: #0073aa;
	color: #fff;
	border-color: #0073aa;
}

/* Single Game Page */
.ssd-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
}

.ssd-game-frame-container {
	position: relative;
	padding-bottom: 56.25%;
	/* 16:9 Aspect Ratio */
	height: 0;
	overflow: hidden;
	background: #000;
	margin-bottom: 20px;
}

.ssd-game-frame-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.ssd-game-description {
	margin-top: 30px;
	padding: 20px;
	background: #f9f9f9;
	border-radius: 8px;
	font-size: 16px;
	line-height: 1.6;
	color: #333;
}

/* Game Description Styling */
.ssd-game-description-content {
	font-family: inherit;
	color: #444;
}

.ssd-desc-title {
	font-size: 1.3em;
	color: #2c3e50;
	margin-top: 25px;
	margin-bottom: 15px;
	padding-bottom: 5px;
	border-bottom: 2px solid #e1e8ed;
	font-weight: 600;
}

.ssd-desc-title:first-child {
	margin-top: 0;
}

.ssd-desc-text {
	font-size: 1em;
	line-height: 1.7;
	margin-bottom: 20px;
	color: #555;
	word-break: keep-all;
	/* Korean readability */
}

.ssd-desc-list {
	margin: 20px 0;
	padding: 0;
	list-style: none;
}

.ssd-desc-list li {
	background: #fff;
	border: 1px solid #eee;
	border-left: 4px solid #3498db;
	border-radius: 4px;
	padding: 15px 20px;
	margin-bottom: 15px;
	line-height: 1.6;
	overflow: hidden;
	/* Clearfix */
}

/* Remove old pseudo-element bullet */
.ssd-desc-list li:before {
	display: none;
}

/* Feature Image Styling */
.ssd-feature-img {
	float: left;
	max-width: 80px !important;
	width: 80px !important;
	/* Force width */
	height: auto !important;
	display: block;
	margin-right: 20px;
	margin-bottom: 5px;
	border-radius: 6px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Responsive: stack on very small screens */
@media (max-width: 480px) {
	.ssd-feature-img {
		float: none;
		display: block;
		margin: 0 auto 10px auto;
		max-width: 100px;
	}

	.ssd-desc-list li {
		text-align: center;
	}
}