/* Space Game Room home: approved final visual system. */

body.home {
	background: #f9f8f5;
}

body.home .sgr-site-header {
	background: #f9f8f5;
	color: #020305;
	border-bottom: 1px solid #ececec;
}

body.home .sgr-header-inner {
	width: min(1280px, calc(100% - 40px));
	position: relative;
	min-height: 62px;
	padding-block: 3px;
}

body.home .sgr-brand a {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
	color: #020305;
	font-family: Arial, sans-serif;
	text-decoration: none;
	line-height: 1;
}

.sgr-home-brand-word {
	display: block;
	font-size: 0.98rem;
	font-weight: 950;
	letter-spacing: 0.06em;
	line-height: 1;
}

.sgr-home-brand-sub {
	display: block;
	margin-top: 3px;
	font-family: Arial, sans-serif;
	font-size: 0.39rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	line-height: 1;
}

body.home .sgr-menu a {
	color: #020305;
	font-size: 0.88rem;
	font-weight: 700;
	border-radius: 999px;
}

body.home .sgr-menu a:hover,
body.home .sgr-menu .current-menu-item > a {
	color: #020305;
	background: #ece9e2;
}

body.home .sgr-menu a[href*="reservation"] {
	background: #e62578;
	color: #fff;
	padding-inline: 20px;
}

body.home .sgr-menu a[href*="reservation"]:hover {
	background: #c91b65;
	color: #fff;
}

body.home .sgr-nav-toggle {
	display: none;
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	margin-left: 2px;
	padding: 0;
	border: 0;
	border-color: transparent;
	background: transparent;
}

body.home .sgr-nav-toggle span[aria-hidden] {
	background: #020305;
}

body.home .sgr-primary-nav .sgr-menu a {
	padding: 10px 12px;
	border-radius: 3px;
}

body.home .sgr2-home-main {
	margin: 0;
	width: 100%;
	overflow-x: clip;
}

body.home .site-content > .ast-container,
body.home .site-content .ast-container,
body.home .content-area,
body.home #primary {
	max-width: none;
	width: 100%;
	padding-left: 0;
	padding-right: 0;
}

.sgr2-home {
	--sgr2-bg: #f9f8f5;
	--sgr2-bg-soft: #fff;
	--sgr2-ink: #020305;
	--sgr2-ink-soft: #656565;
	--sgr2-line: #e5e5e5;
	--sgr2-pink: #e62578;
	--sgr2-pink-dark: #c91b65;
	--sgr2-dark: #020305;
	--sgr2-focus: #e62578;
	--sgr2-radius: 3px;
	--sgr2-shell: min(1240px, calc(100% - 40px));
	background: var(--sgr2-bg);
	color: var(--sgr2-ink);
	font-family: "Noto Sans KR", "Noto Sans", Arial, sans-serif;
	word-break: keep-all;
	overflow-wrap: break-word;
}

.sgr2-shell {
	width: var(--sgr2-shell);
	margin-inline: auto;
}

.sgr2-home section {
	scroll-margin-top: 84px;
}

.sgr2-section-head {
	max-width: 560px;
	margin: 0 0 34px;
}

.sgr2-section-title {
	margin: 0 0 14px;
	color: var(--sgr2-ink);
	font-family: "Do Hyeon", "Noto Sans KR", sans-serif;
	font-size: clamp(2rem, 4vw, 3.35rem);
	font-weight: 400;
	line-height: 1.08;
	letter-spacing: -0.035em;
	text-wrap: balance;
}

.sgr2-section-note {
	margin: 0;
	color: var(--sgr2-ink-soft);
	font-size: clamp(0.98rem, 1.45vw, 1.1rem);
	line-height: 1.65;
	white-space: normal;
}

.sgr2-eyebrow,
.sgr2-space-number {
	margin: 0;
	color: currentColor;
	font-family: Arial, sans-serif;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	line-height: 1.35;
}

.sgr2-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 23px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 0.94rem;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.sgr2-btn-primary {
	background: var(--sgr2-pink);
	color: #fff;
}

.sgr2-btn-primary:hover,
.sgr2-btn-primary:focus-visible {
	background: var(--sgr2-pink-dark);
	color: #fff;
	transform: translateY(-1px);
}

.sgr2-btn-secondary {
	background: transparent;
	border-color: var(--sgr2-ink);
	color: var(--sgr2-ink);
}

.sgr2-btn-secondary:hover,
.sgr2-btn-secondary:focus-visible {
	background: var(--sgr2-ink);
	color: #fff;
}

.sgr2-btn-dark {
	background: var(--sgr2-dark);
	color: #fff;
}

.sgr2-btn-dark:hover,
.sgr2-btn-dark:focus-visible {
	background: #242424;
	color: #fff;
	transform: translateY(-1px);
}

.sgr2-btn:focus-visible,
.sgr2-finder-card a:focus-visible,
.sgr2-space-photo:focus-visible,
.sgr2-space-feature-link:focus-visible,
.sgr2-space-list a:focus-visible,
.sgr2-finder-map:focus-visible {
	outline: 3px solid var(--sgr2-focus);
	outline-offset: 3px;
}

body.home .sgr-site-footer {
	background: #020305;
	color: rgba(255, 255, 255, 0.76);
}

/* Site-wide footer lives in global/header.css (unified homepage footer). */

@media (prefers-reduced-motion: reduce) {
	.sgr2-home *,
	.sgr2-home *::before,
	.sgr2-home *::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}
