/* ================= Header/Nav/Hamburger/Footer ================= */
body {
	margin: 0;
	font-family: "Segoe UI", "微軟正黑體", Arial, sans-serif;
	background: #f7fafd;
	color: #23272e;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}
.forum-header {
	background: linear-gradient(90deg, #4ad6e7 0%, #6a8ef7 100%);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 48px;
	height: 80px;
	position: sticky;
	top: 0;
	z-index: 100;
}
.logo-wrap {
	display: flex;
	align-items: center;
}
.forum-logo {
	height: 48px;
	margin-right: 18px;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.forum-title {
	font-size: 2rem;
	font-weight: bold;
	letter-spacing: 2px;
}
.hamburger {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 44px;
	height: 44px;
	background: none;
	border: none;
	cursor: pointer;
	z-index: 200;
}
.hamburger-bar {
	width: 28px;
	height: 4px;
	background: #fff;
	margin: 4px 0;
	border-radius: 2px;
	transition: 0.3s;
}
.hamburger.is-active .hamburger-bar:nth-child(1) {
	transform: translateY(10px) rotate(45deg);
}
.hamburger.is-active .hamburger-bar:nth-child(2) {
	opacity: 0;
}
.hamburger.is-active .hamburger-bar:nth-child(3) {
	transform: translateY(-10px) rotate(-45deg);
}
.forum-nav {
	display: flex;
	gap: 32px;
}
.nav-link {
	color: #fff;
	font-size: 1.1rem;
	text-decoration: none;
	font-weight: 500;
	padding: 8px 18px;
	border-radius: 8px;
	transition: background 0.2s;
}
.nav-link:hover {
	background: #00c6d7;
}
.nav-link.active {
	background: #fff;
	color: #00c6d7;
	box-shadow: 0 2px 8px rgba(0,198,215,0.15);
	font-weight: bold;
}
.forum-footer {
	background: linear-gradient(90deg, #4ad6e7 0%, #6a8ef7 100%);
	color: #fff;
	text-align: center;
	padding: 24px 0 12px 0;
}
.footer-inner {
	font-size: 1rem;
	font-weight: 500;
}

/* ================= 遊戲介紹卡片區塊 ================= */
.game-intro-main {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	flex: 1;
	background: linear-gradient(120deg, #eaf7fd 0%, #f7fafd 100%);
	min-height: 100vh;
}
.game-intro-section {
	width: 100%;
	max-width: 1000px;
	display: flex;
	flex-direction: column;
	gap: 40px;
	box-sizing: border-box;
	overflow-x: hidden;
	padding-left: 1rem;
	padding-right: 1rem;
}
.game-intro-title {
  color: #2e7be6;
  font-size: 2.2rem;
  margin-bottom: 32px;
  text-align: center;
}

.game-category {
  margin-bottom: 2rem;
}

.game-category-title {
	font-size: 1.7rem;
	color: #2e7be6;
	font-weight: bold;
	margin-bottom: 16px;
	letter-spacing: 1px;
}
.game-card-list {
	display: flex;
	gap: 32px;
	flex-wrap: wrap;
	margin-top: 12px;
	width: 100%;
	box-sizing: border-box;
	justify-content: center;
}
.game-card {
	background: #f7fafd;
	border-radius: 18px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.08);
	padding: 32px 24px;
	flex: 1 1 220px;
	min-width: 180px;
	max-width: 320px;
	display: flex;
	flex-direction: column;
	align-items: center;
	box-sizing: border-box;
}
.game-card img {
	max-width: 90%;
	height: auto;
	aspect-ratio: 1/1;
	margin-bottom: 18px;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
	object-fit: cover;
	display: block;
}
.game-card h3 {
	color: #2e7be6;
	font-size: 1.15rem;
	margin-bottom: 10px;
	font-weight: bold;
}
.game-card p {
	font-size: 1.05rem;
	color: #23272e;
	text-align: center;
}

.cta-wrap {
	display: flex;
	justify-content: center;
	margin: 48px 0 32px 0;
}
.cta-btn {
	display: inline-block;
	background: linear-gradient(90deg, #4ad6e7 0%, #6a8ef7 100%);
	color: #fff;
	font-size: 1.3rem;
	font-weight: bold;
	padding: 18px 48px;
	border-radius: 32px;
	box-shadow: 0 4px 16px rgba(74,214,231,0.12);
	text-decoration: none;
	letter-spacing: 2px;
	transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.cta-btn:hover {
	background: linear-gradient(90deg, #6a8ef7 0%, #4ad6e7 100%);
	box-shadow: 0 8px 32px rgba(106,142,247,0.18);
	transform: translateY(-2px) scale(1.04);
}
@media  (max-width: 1080px) {
	.forum-header {
		flex-direction: row;
		height: auto;
		padding: 8px 12px;
		position: relative;
	}
	.logo-wrap {
		margin-bottom: 0;
	}
	.forum-title {
		font-size: 1.1rem;
	}
	.hamburger {
		display: flex;
	}
	.forum-nav {
		position: absolute;
		top: 80px;
		right: 0;
		background: #fff;
		flex-direction: column;
		gap: 0;
		width: 180px;
		box-shadow: 0 8px 32px rgba(0,0,0,0.10);
		border-radius: 0 0 16px 16px;
		padding: 12px 0;
		display: none;
		z-index: 150;
	}
	.forum-nav.nav-open {
		display: flex;
	}
	.nav-link {
		color: #2e7be6;
		font-size: 1rem;
		text-align: left;
		padding: 12px 24px;
		border-radius: 0;
		border-bottom: 1px solid #eaf7fd;
		background: none;
		transition: border 0.2s;
		font-weight: 500;
	}
	.nav-link:last-child {
		border-bottom: none;
	}
	.nav-link:hover {
		background: #eaf7fd;
		color: #00c6d7;
	}
	.nav-link.active {
		background: #eaf7fd;
		color: #00c6d7;
		font-weight: bold;
	}
  
}
@media (min-width: 1081px) {

}
@media (max-width: 1080px) and (min-width: 769px) {
	.game-intro-section {
		max-width: 98vw;
		gap: 24px;
		padding: 0 8px;
	}
	.game-category {
		padding: 18px 8px 12px 8px;
		margin-bottom: 18px;
		border-left-width: 4px;
		font-size: 1rem;
	}
	.game-category-title {
		font-size: 1.5rem;
		margin-bottom: 10px;
    margin-left: 2rem;
	}
	.game-card-list {
		gap: 18px;
	}
	.game-card {
		width: 48vw;
		max-width: 320px;
		min-width: 180px;
		padding: 18px 8px;
	}
	.game-card img {
		max-width: 80%;
		margin-bottom: 12px;
	}
	.game-card h3 {
		font-size: 1.05rem;
		margin-bottom: 6px;
	}
	.game-card p {
		font-size: 0.98rem;
		line-height: 1.5;
	}
	.forum-header {
		padding: 0 12px;
		height: 64px;
	}
	.forum-logo {
		height: 36px;
		margin-right: 10px;
	}
	.forum-title {
		font-size: 1.2rem;
	}
	.forum-footer {
		padding: 16px 0 8px 0;
		font-size: 0.98rem;
	}
}

@media (max-width: 768px) {
	.game-card-list {
		gap: 10px;
	}
	.game-card {
		width: 90vw;
		max-width: 260px;
		min-width: 140px;
		padding: 12px 4px;
	}
	.game-intro-section {
		gap: 14px;
		margin-top: 8px;
		padding: 0 2px;
    max-width: 700px;
	}
	.game-category {
		padding: 8px 2px 6px 2px;
		border-left-width: 2px;
		font-size: 0.95rem;
	}
	.game-category-title {
		font-size: 1.5rem;
		margin-bottom: 6px;
    margin-left: 1rem;
	}
	.game-card h3 {
		font-size: 0.95rem;
		margin-bottom: 4px;
	}
	.game-card p {
		font-size: 0.95rem;
		line-height: 1.5;
	}
}
