:root {
	--background: #8f1a0a;
	--button-background: rgba(255, 239, 195, 0.96);
	--button-border: #f6d58b;
	--button-text: #9d1e0d;
	--button-focus: #ffffff;
}

* {
	box-sizing: border-box;
}

html,
body {
	min-height: 100%;
}

body {
	margin: 0;
	background: var(--background);
	font-family: Arial, "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
}

.language-page {
	width: 100%;
	min-height: 100vh;
}

.invitation-cover {
	position: relative;
	width: min(100%, 920px);
	margin: 0 auto;
	overflow: hidden;
	background: #ad230e;
}

.invitation-cover-image {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
}

.language-buttons {
	position: absolute;
	top: 49%;
	left: 50%;
	display: flex;
	width: clamp(150px, 32%, 230px);
	transform: translate(-50%, -50%);
	flex-direction: column;
	gap: clamp(12px, 2vw, 20px);
}

.language-button {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: clamp(48px, 7.2vw, 66px);
	padding: 10px 18px;
	border: 2px solid var(--button-border);
	border-radius: 999px;
	background: var(--button-background);
	box-shadow: 0 8px 24px rgba(65, 5, 0, 0.28);
	color: var(--button-text);
	font-size: clamp(17px, 3vw, 25px);
	font-weight: 800;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
	-webkit-tap-highlight-color: transparent;
}

.language-button:hover {
	transform: translateY(-2px);
	background: #fff5d5;
	box-shadow: 0 11px 28px rgba(65, 5, 0, 0.36);
}

.language-button:focus-visible {
	outline: 4px solid var(--button-focus);
	outline-offset: 4px;
}

.language-button:active {
	transform: translateY(1px);
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 480px) {
	.language-buttons {
		top: 48%;
		width: 42%;
	}

	.language-button {
		border-width: 1px;
		box-shadow: 0 5px 16px rgba(65, 5, 0, 0.3);
	}
}

@media (prefers-reduced-motion: reduce) {
	.language-button {
		transition: none;
	}
}
