/* 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: 15px 0;
    padding-left: 20px;
    background: #fff;
    border-left: 4px solid #3498db;
    padding: 15px 20px;
    list-style: none; /* remove default dot, use custom or none */
}

.ssd-desc-list li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 15px;
}

.ssd-desc-list li:before {
    content: "•";
    color: #3498db;
    font-weight: bold;
    position: absolute;
    left: 0;
}
