/* Steam-Inspired Game Page Styles */

.game-page {
	background: linear-gradient(to bottom, #1b2838 0%, #2a475e 100%);
	color: #c7d5e0;
}

.game-header {
	width: 100%;
	max-height: 300px;
	overflow: hidden;
	background: #000;
	display: flex;
	align-items: center;
}

.header-image {
	width: 100%;
	height: auto;
	display: block;
}

/* Main Container - Two Column Layout */
.game-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 20px;
	display: grid;
	grid-template-columns: 1fr 350px;
	gap: 20px;
}

/* Main Content Column */
.game-main {
	background: rgba(0, 0, 0, 0.2);
	padding: 10px 20px;
	border-radius: 4px;
	min-width: 0;
}

.game-title-section {
	margin-bottom: 20px;
}

.game-title {
	font-size: 2.5rem;
	color: #fff;
	font-weight: 300;
}

.game-tagline {
	font-size: 1.1rem;
	color: #b8c5cf;
	margin: 0;
	font-style: italic;
}

/* Screenshots Gallery */
.screenshots-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 15px;
	margin-bottom: 30px;
}

.screenshot {
	width: 100%;
	height: auto;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.screenshot:hover {
	transform: scale(1.02);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

/* Description Section */
.game-description {
	margin-bottom: 30px;
}

.game-description h2 {
	color: #fff;
	font-size: 1.8rem;
	margin-bottom: 8px;
	font-weight: 300;
}

.short-description {
	font-size: 1.1rem;
	line-height: 1.6;
	color: #c7d5e0;
	margin-bottom: 20px;
}

.long-description {
	line-height: 1.8;
	color: #b8c5cf;
}

.long-description h3 {
	color: #fff;
	font-size: 1.3rem;
	margin-top: 25px;
	margin-bottom: 10px;
	font-weight: 400;
}

.long-description p {
	margin-bottom: 15px;
}

/* System Requirements */
.system-requirements {
	background: rgba(0, 0, 0, 0.3);
	padding: 25px;
	border-radius: 4px;
}

.system-requirements h2 {
	color: #fff;
	font-size: 1.6rem;
	margin-top: 0px;
	font-weight: 300;
}

.requirements-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
}

.requirements-column h3 {
	color: #66c0f4;
	font-size: 1.1rem;
	margin-bottom: 15px;
	text-transform: uppercase;
	font-weight: 400;
}

.requirements-column ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.requirements-column li {
	padding: 8px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	color: #b8c5cf;
}

.requirements-column li:last-child {
	border-bottom: none;
}

.requirements-column strong {
	color: #c7d5e0;
}

.system-requirements summary {
	cursor: pointer;
	list-style: none;
	user-select: none;
}

.system-requirements summary::-webkit-details-marker {
	display: none;
}

.system-requirements summary h2 {
	display: inline-block;
	margin-bottom: 0;
}

.system-requirements summary h2::before {
	content: "▼ ";
	display: inline-block;
	transition: transform 0.2s ease;
	margin-right: 8px;
}

.system-requirements:not([open]) summary h2::before {
	transform: rotate(-90deg);
}

/* Sidebar */
.game-sidebar {
	position: sticky;
	top: 20px;
	height: fit-content;
}

.game-icon {
	width: 100%;
	margin-bottom: 20px;
	border-radius: 4px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.game-icon img {
	width: 100%;
	height: auto;
	display: block;
}

/* Purchase Section */
.purchase-section {
	background: rgba(0, 0, 0, 0.4);
	padding: 20px;
	border-radius: 4px;
	margin-bottom: 20px;
	text-align: center;
}

.game-price {
	font-size: 1.8rem;
	color: #beee11;
	font-weight: bold;
	margin-bottom: 15px;
}

.btn-purchase {
	width: 100%;
	padding: 12px 15px;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-weight: bold;
	cursor: pointer;
	transition: all 0.2s ease;
	display: block;
	box-sizing: border-box;
	margin-bottom: 0.8em;
	text-decoration: none;
	text-align: center;
}

.btn-main {
	background: linear-gradient(to bottom, #75b022 5%, #588a1b 100%);
	font-size: 1.2rem;
	padding: 16px 15px;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn-main:hover {
	background: linear-gradient(to bottom, #83c72a 5%, #75b022 100%);
	box-shadow: 0 0 15px rgba(117, 176, 34, 0.3);
}

.btn-secondary {
	background: rgba(103, 193, 245, 0.1);
	color: #67c1f5;
	font-size: 0.95rem;
	border: 1px solid rgba(103, 193, 245, 0.2);
}

.btn-secondary:hover {
	background: rgba(103, 193, 245, 0.2);
	color: #fff;
	border-color: #67c1f5;
}

/* Sidebar Sections */
.sidebar-section {
	background: rgba(0, 0, 0, 0.3);
	padding: 15px;
	border-radius: 4px;
	margin-bottom: 20px;
}

.sidebar-section:last-child {
	margin-bottom: 0;
}

.sidebar-section h3 {
	color: #fff;
	font-size: 1rem;
	margin: 0 0 10px 0;
	text-transform: uppercase;
	font-weight: 400;
	letter-spacing: 0.5px;
}

.sidebar-section p {
	margin: 0;
	color: #b8c5cf;
	font-size: 0.95rem;
	line-height: 1.5;
}

/* Platform Icons */
.platform-icons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.platform-icon {
	background: rgba(0, 0, 0, 0.3);
	padding: 8px 12px;
	border-radius: 3px;
	font-size: 0.9rem;
	color: #c7d5e0;
	display: inline-block;
}

/* Features List */
.features-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.features-list li {
	padding: 6px 0;
	color: #b8c5cf;
	font-size: 0.95rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.features-list li:last-child {
	border-bottom: none;
}

.features-list li:before {
	content: "✓ ";
	color: #66c0f4;
	font-weight: bold;
	margin-right: 8px;
}

/* Controls List */
.controls-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.controls-list li {
	padding: 6px 0;
	color: #b8c5cf;
	font-size: 0.95rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.controls-list li:last-child {
	border-bottom: none;
}

.controls-list li:before {
	content: "✓ ";
	color: #66c0f4;
	font-weight: bold;
	margin-right: 8px;
}

/* Controller Info */
.controller-info {
	color: #66c0f4;
	font-weight: 500;
}

/* Info Button */
.info-btn {
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	margin-left: 8px;
	vertical-align: baseline;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.2s ease;
	position: relative;
	top: 1px;
}

.info-btn:hover {
	opacity: 0.7;
}

.info-icon {
	color: #66c0f4;
	font-size: 1.2rem;
	font-weight: bold;
	display: inline-block;
	line-height: 1;
}

/* Controls Info Tooltip */
.info-tooltip {
	background: rgba(0, 0, 0, 0.5);
	border: 1px solid rgba(102, 192, 244, 0.3);
	border-radius: 4px;
	padding: 10px 12px;
	margin-top: 8px;
	margin-bottom: 10px;
	color: #b8c5cf;
	font-size: 0.9rem;
	line-height: 1.5;
	display: none;
}

.info-tooltip.show {
	display: block;
	animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(-5px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Genre Tags */
.genre-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.genre-tag {
	background: linear-gradient(to right, #05a0d6 0%, #205bc9 100%);
	padding: 6px 12px;
	border-radius: 3px;
	font-size: 0.85rem;
	color: #fff;
	display: inline-block;
}

/* Languages List */
.languages-list {
	font-size: 0.9rem;
	line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 968px) {
	.game-container {
		grid-template-columns: 1fr;
	}

	.game-sidebar {
		position: static;
	}

	.requirements-grid {
		grid-template-columns: 1fr;
	}

	.screenshots-gallery {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.game-title {
		font-size: 2rem;
	}

	.game-tagline {
		font-size: 1rem;
	}

	.game-main {
		padding: 20px;
	}

	.game-container {
		padding: 10px;
	}
}

.game-page a,
.game-page a:visited {
	color: white;
}


.image-wrapper {
	position: relative;
	display: inline-block;
	background-color: #333;
	border-radius: 8px;
	overflow: hidden;
	line-height: 0;
}

.spinner {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 30px;
	height: 30px;
	margin-left: -15px;
	margin-top: -15px;
	border: 3px solid rgba(255, 255, 255, 0.3);
	border-top: 3px solid #3498db;
	border-radius: 50%;
	animation: spin 1s linear infinite;
	z-index: 1;
}

.image-wrapper img {
	height: auto;
	opacity: 0;
	transition: opacity 0.5s ease-in;
	position: relative;
	z-index: 2;
}

.image-wrapper.loaded img {
	opacity: 1;
}

.image-wrapper.loaded .spinner {
	display: none;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

.center-horizontal {
	width: fit-content;
	margin-left: auto;
	margin-right: auto;
}

.expand,
.expand img {
	width: 100%;
}

main {
	padding: 0;
}

header {
	margin-bottom: 0;
}

h1 {
	text-align: left;
	margin: 0;
}

main.container {
	margin: 0;
	padding: 0;
	width: 100%;
	max-width: 100%;
}

/* Comments Section */
.comments-page-wrapper {
	padding: 20px 0;
}

.game-comments {
	background: rgba(0, 0, 0, 0.2);
	padding: 20px;
	border-radius: 4px;
	max-width: 1400px;
	margin: 0 auto;
	box-sizing: border-box;
}

.game-comments h2 {
	color: #fff;
	font-size: 1.6rem;
	margin-top: 0;
	margin-bottom: 20px;
	font-weight: 300;
}

.comments-list {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.comment-card {
	background: rgba(0, 0, 0, 0.3);
	padding: 15px;
	border-radius: 4px;
	border: 1px solid rgba(255, 255, 255, 0.05);
}

.comment-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 10px;
}

.comment-meta {
	display: flex;
	align-items: baseline;
	gap: 10px;
	flex-wrap: wrap;
}

.comment-author {
	color: #589dc5;
	font-size: 1.1rem;
	font-weight: bold;
}

.comment-date {
	color: #8f98a0;
}

.comment-score {
	color: #b8c5cf;
	background: rgba(255, 255, 255, 0.1);
	padding: 2px 6px;
	border-radius: 3px;
	font-weight: bold;
}

.comment-menu {
	position: relative;
}

.menu-dots {
	background: none;
	border: none;
	color: #8f98a0;
	font-size: 1.5rem;
	cursor: pointer;
	line-height: 0.5;
	padding: 5px;
	border-radius: 50%;
	transition: color 0.2s ease, background 0.2s ease;
}

.menu-dots:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.1);
}

.menu-dropdown {
	display: none;
	position: absolute;
	right: 0;
	top: 100%;
	background: #3d4450;
	border: 1px solid rgba(0, 0, 0, 0.5);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
	border-radius: 3px;
	min-width: 140px;
	z-index: 10;
}

.comment-menu:hover .menu-dropdown,
.comment-menu:focus-within .menu-dropdown {
	display: block;
}

.menu-dropdown a {
	display: block;
	padding: 10px 15px;
	color: #c7d5e0;
	text-decoration: none;
	font-size: 0.9rem;
	transition: background 0.2s ease;
}

.menu-dropdown a:hover {
	background: #4b5463;
	color: #fff;
}

.comment-content {
	color: #e6e6e6;
	line-height: 1.5;
	word-break: break-word;
}