:root {
	--bg-light: #f9f9f9;
	--bg-dark: #1f2235;
	--text-light: #111;
	--text-dark: #eee;
}
body {
	margin: 0;
	font-family: 'Jua', sans-serif;
	transition: background 0.3s, color 0.3s;
	min-height: 100vh;
	background: var(--bg-dark);
	color: var(--text-dark);
	display: flex;
	flex-direction: column;
	text-align: center;
}
body.light {
	background: var(--bg-light);
	color: var(--text-light);
}
header, footer {
	padding: 1rem 2rem;
	border-bottom: 1px solid rgba(255,255,255,0.1);
}
header {
	display: flex;
	justify-content: space-between;
	align-items: center; /* 중앙 정렬 */
	flex-wrap: wrap; /* 좁은 화면에서 줄바꿈 대응 */
	padding: 1rem 2rem;
	gap: 1rem;
}

header h1 {
	margin: 0;
	font-size: 2rem;
}nav ul {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
	list-style: none;
	padding: 0;
	margin: 0;
}

nav a, nav button {
	color: inherit;
	text-decoration: none;
	border: 1px solid currentColor;
	padding: 0.4em 1em;
	border-radius: 5px;
	transition: background 0.3s;
	background: transparent;
	cursor: pointer;
}
nav a:hover, nav button:hover {
	background: rgba(255,255,255,0.1);
}
main {
	flex: 1;
	padding: 2rem;
}
footer {
	border-top: 1px solid rgba(255,255,255,0.1);
	font-size: 0.9rem;
}
#result {
	font-size: 1.5rem;
	margin-top: 1.5rem;
	font-weight: bold;
}
.btn-getNumber {
	cursor: pointer;
}
.contry-wrapper {
	border-top: 1px solid rgba(255,255,255,0.1);
	margin-top: 50px;
}
/* 국가별 추천 nav 전용 스타일 */
.contry-wrapper nav {
	margin-top: 1.5rem;
}

.contry-wrapper nav ul {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
	list-style: none;
	padding: 0;
	margin: 0;
}

.foonterInfo-disclaimer {
	max-width: 700px;
	margin: 1em auto 0;
	font-size: 0.85rem;
	line-height: 1.5;
}
