:root {
	--bg: #f5f3ee;
	--surface: rgba(255, 255, 255, 0.74);
	--surface-strong: #ffffff;
	--text: #141414;
	--muted: #5f5c58;
	--border: rgba(20, 20, 20, 0.08);
	--shadow: 0 20px 60px rgba(18, 18, 18, 0.08);
	--shadow-soft: 0 8px 24px rgba(18, 18, 18, 0.06);
	--accent: #111111;
	--accent-soft: #ebe7df;
	--radius-xl: 32px;
	--radius-lg: 24px;
	--radius-pill: 999px;
	--shell: 1200px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	min-width: 320px;
	background:
		radial-gradient(circle at top left, rgba(222, 214, 198, 0.55), transparent 32%),
		radial-gradient(circle at top right, rgba(227, 234, 222, 0.65), transparent 28%),
		linear-gradient(180deg, #f8f6f1 0%, #f1ede5 100%);
	color: var(--text);
	font-family: "Pretendard", sans-serif;
	line-height: 1.6;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	padding: 18px 18px 0;
}

.site-shell,
.site-main {
	width: min(calc(100% - 32px), var(--shell));
	margin: 0 auto;
}

.header-shell {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 16px 20px;
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: var(--radius-pill);
	background: rgba(255, 255, 255, 0.58);
	backdrop-filter: blur(16px);
	box-shadow: var(--shadow-soft);
}

.brand-pill,
.header-nav {
	display: inline-flex;
	align-items: center;
	border-radius: var(--radius-pill);
	background: rgba(250, 248, 243, 0.92);
	box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.04);
}

.brand-pill {
	gap: 12px;
	padding: 10px 18px;
	font-size: 1.1rem;
	font-weight: 700;
	letter-spacing: 0.03em;
}

.brand-pill img {
	width: 40px;
	height: 40px;
	object-fit: contain;
}

.header-nav {
	flex-wrap: wrap;
	gap: 8px;
	padding: 8px;
}

.header-nav a {
	padding: 10px 16px;
	border-radius: var(--radius-pill);
	color: var(--muted);
	font-size: 0.98rem;
	font-weight: 500;
	transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.header-nav a:hover,
.header-nav a:focus-visible {
	background: rgba(17, 17, 17, 0.06);
	color: var(--text);
	transform: translateY(-1px);
}

.site-main {
	padding: 26px 0 72px;
}

.section-card {
	margin-bottom: 28px;
	padding: clamp(28px, 4vw, 44px);
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
	background: var(--surface);
	backdrop-filter: blur(14px);
	box-shadow: var(--shadow);
}

.hero-section {
	position: relative;
	overflow: hidden;
	min-height: 70vh;
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(247, 241, 230, 0.72)),
		linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.02));
}

.hero-section::after {
	content: "";
	position: absolute;
	inset: auto -10% -20% auto;
	width: 320px;
	height: 320px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(225, 216, 195, 0.9) 0%, rgba(225, 216, 195, 0) 72%);
	filter: blur(10px);
}

.hero-inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 14px;
	max-width: 760px;
	margin: 0 auto;
}

.hero-logo {
	width: min(100%, 440px);
	margin-bottom: 12px;
	filter: drop-shadow(0 18px 40px rgba(17, 17, 17, 0.08));
}

.eyebrow {
	margin: 0;
	color: var(--muted);
	font-size: 0.92rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

h1,
h2,
h3 {
	margin: 0;
	line-height: 1.1;
}

h1 {
	font-size: clamp(3rem, 8vw, 5.8rem);
	letter-spacing: -0.04em;
}

h2 {
	font-size: clamp(2rem, 4vw, 3.2rem);
	letter-spacing: -0.03em;
}

h3 {
	font-size: 1.4rem;
}

p {
	margin: 0;
}

.hero-copy,
.section-heading p,
.game-copy p,
.notice-panel p,
.content-flow {
	color: var(--muted);
	font-size: 1.02rem;
}

.section-heading {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 720px;
	margin-bottom: 26px;
}

.games-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.game-card {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 22px;
	border: 1px solid rgba(17, 17, 17, 0.06);
	border-radius: var(--radius-lg);
	background: var(--surface-strong);
	box-shadow: var(--shadow-soft);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 28px 60px rgba(18, 18, 18, 0.12);
}

.video-frame {
	overflow: hidden;
	border-radius: 18px;
	aspect-ratio: 16 / 9;
	background: #d9d2c5;
}

.video-frame iframe {
	width: 100%;
	height: 100%;
	border: 0;
}

.game-copy {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.platform-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: auto;
}

.platform-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 16px;
	border: 1px solid rgba(17, 17, 17, 0.08);
	border-radius: var(--radius-pill);
	background: #faf8f3;
	font-weight: 600;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.platform-link:hover,
.platform-link:focus-visible {
	transform: translateY(-2px);
	border-color: rgba(17, 17, 17, 0.14);
	box-shadow: var(--shadow-soft);
}

.platform-link img {
	width: 28px;
	height: 28px;
	object-fit: contain;
}

.notice-panel,
.basic-page-card {
	background: rgba(255, 255, 255, 0.72);
}

.notice-panel {
	padding: 22px 24px;
	border-radius: var(--radius-lg);
	border: 1px dashed rgba(17, 17, 17, 0.12);
}

.page-shell {
	padding-top: 26px;
}

.content-flow > * + * {
	margin-top: 1em;
}

.site-footer {
	padding: 0 18px 48px;
	text-align: center;
	color: var(--muted);
	font-size: 0.92rem;
}

@media (max-width: 960px) {
	.games-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.site-header {
		padding-inline: 12px;
	}

	.site-shell,
	.site-main {
		width: min(calc(100% - 24px), var(--shell));
	}

	.header-shell {
		flex-direction: column;
		align-items: stretch;
		padding: 14px;
		border-radius: 26px;
	}

	.brand-pill,
	.header-nav {
		justify-content: center;
	}

	.header-nav {
		width: 100%;
	}

	.header-nav a {
		flex: 1 1 auto;
		text-align: center;
	}

	.site-main {
		padding-top: 18px;
	}

	.section-card {
		padding: 24px 18px;
		border-radius: 24px;
	}

	.games-grid {
		grid-template-columns: 1fr;
	}
}
