:root {
	--font-family-base: "Titillium Web", "Arial Narrow", Arial, sans-serif;
	--color-green: #1f873c;
	--color-green-dark: #166a2e;
	--color-page-top: #08111d;
	--color-page-bottom: #0d2e56;
	--color-text: #f4f5f7;
	--color-text-soft: rgba(244, 245, 247, 0.84);
	--color-card-border: rgba(126, 193, 255, 0.35);
	--color-card-bg: rgba(7, 20, 37, 0.78);
	--color-card-shadow: rgba(0, 0, 0, 0.24);
	--color-focus: #8fd2ff;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	min-height: 100vh;
	font-family: var(--font-family-base);
	background:
		radial-gradient(circle at 80% 22%, rgba(61, 124, 203, 0.35), transparent 22%),
		linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.88) 24%, rgba(8, 22, 39, 0.76) 48%, rgba(13, 46, 86, 0.96) 100%),
		linear-gradient(180deg, var(--color-page-top) 0%, var(--color-page-bottom) 100%);
	color: var(--color-text);
}

a {
	color: inherit;
}

button {
	font: inherit;
}

.top-banner {
	position: relative;
	z-index: 4;
	background: linear-gradient(90deg, var(--color-green) 0%, var(--color-green-dark) 100%);
	color: #ffffff;
}

.top-banner__inner,
.site-header__inner,
.hero {
	width: min(1280px, calc(100% - 32px));
	margin: 0 auto;
}

.top-banner__inner {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	min-height: 44px;
}

.language-switcher {
	position: relative;
}

.language-switcher__trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 126px;
	padding: 8px 16px;
	border: 2px solid rgba(28, 54, 28, 0.45);
	border-radius: 10px;
	background: transparent;
	color: #ffffff;
	cursor: pointer;
}

.language-switcher__current {
	font-size: 1rem;
	font-weight: 600;
}

.language-switcher__panel {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	width: min(640px, calc(100vw - 24px));
	padding: 28px 38px 38px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 14px;
	background: rgba(25, 27, 27, 0.98);
	box-shadow: 0 22px 48px rgba(0, 0, 0, 0.36);
}

.language-switcher__panel-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
}

.language-switcher__title {
	margin: 0;
	font-size: clamp(2rem, 3.5vw, 2.7rem);
	font-weight: 600;
	line-height: 1.1;
	color: rgba(245, 238, 227, 0.9);
}

.language-switcher__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border: 0;
	border-radius: 50%;
	background: rgba(245, 238, 227, 0.9);
	color: #2b2d2d;
	cursor: pointer;
	font-size: 1.25rem;
	line-height: 1;
}

.language-switcher__options {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 34px;
}

.language-option {
	min-width: 126px;
	padding: 12px 18px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.02);
	color: #ffffff;
	text-align: left;
	cursor: pointer;
}

.language-option.is-active {
	border-color: rgba(255, 255, 255, 0.4);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.site-header {
	background: rgba(23, 25, 25, 0.94);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 92px;
	padding: 18px 0;
}

.site-header__logo {
	display: block;
	width: min(152px, 42vw);
	height: auto;
	padding: 8px 14px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.95);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
	align-items: center;
	gap: 34px;
	padding: 72px 0 84px;
}

.hero__content {
	max-width: 520px;
	padding: 24px 0;
	text-align: left;
}

.hero__eyebrow {
	margin: 0 0 16px;
	font-size: clamp(1.2rem, 1.8vw, 1.45rem);
	font-weight: 600;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.82);
}

h1 {
	margin: 0;
	font-size: clamp(3rem, 7vw, 5.2rem);
	line-height: 0.95;
	font-weight: 700;
	letter-spacing: -0.03em;
}

.hero__description {
	max-width: 540px;
	margin: 24px 0 0;
	font-size: clamp(1.15rem, 2vw, 1.65rem);
	line-height: 1.35;
	color: var(--color-text-soft);
}

.hero__visual {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	grid-column: 1 / -1;
	padding-top: 6px;
}

.hero__visual-image {
	display: block;
	width: min(100%, 168px);
	height: auto;
	border-radius: 18px;
	opacity: 0.86;
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.download-panel {
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	backdrop-filter: none;
}

#qrcode-container {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.qrcode-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 24px 18px 20px;
	border: 1px solid rgba(143, 210, 255, 0.18);
	border-radius: 22px;
	background: var(--color-card-bg);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.qrcode-image,
.store-image,
.click-image {
	display: block;
	border-radius: 12px;
}

.qrcode-image {
	width: 128px;
	height: 128px;
}

.store-link {
	display: block;
	width: 100%;
	margin-top: 18px;
	text-decoration: none;
}

.store-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.store-image {
	width: min(220px, 100%);
	height: auto;
}

.click-image {
	width: 44px;
	height: 44px;
}

.language-switcher__trigger:focus-visible,
.language-switcher__close:focus-visible,
.language-option:focus-visible,
.store-link:focus-visible {
	outline: 3px solid var(--color-focus);
	outline-offset: 4px;
}

@media (max-width: 1180px) {
	.hero {
		grid-template-columns: minmax(0, 1fr) minmax(300px, 400px);
	}
}

@media (max-width: 980px) {
	.hero {
		grid-template-columns: 1fr;
		padding-top: 48px;
	}

	.hero__content {
		max-width: none;
		text-align: center;
	}

	.hero__description {
		margin-left: auto;
		margin-right: auto;
	}

	.hero__visual {
		order: 3;
		justify-content: center;
	}

	.download-panel {
		order: 2;
		max-width: 540px;
		width: 100%;
		margin: 0 auto;
	}
}

@media (max-width: 640px) {
	.top-banner__inner,
	.site-header__inner,
	.hero {
		width: min(100%, calc(100% - 24px));
	}

	.top-banner__inner {
		min-height: 52px;
	}

	.language-switcher__trigger {
		min-width: 112px;
		padding: 8px 14px;
	}

	.language-switcher__current {
		font-size: 0.92rem;
	}

	.language-switcher__panel {
		right: 0;
		padding: 20px;
	}

	.language-switcher__options {
		margin-top: 24px;
	}

	.language-option {
		min-width: 116px;
	}

	.site-header__inner {
		min-height: 80px;
		padding: 14px 0;
	}

	.site-header__logo {
		width: min(132px, 46vw);
		padding: 7px 12px;
		border-radius: 14px;
	}

	.hero {
		gap: 28px;
		padding-top: 36px;
		padding-bottom: 48px;
	}

	.hero__visual-image {
		width: min(100%, 138px);
		border-radius: 16px;
	}

	.download-panel {
		padding: 0;
	}

	#qrcode-container {
		grid-template-columns: 1fr;
	}

	.qrcode-wrapper {
		padding: 20px 14px 16px;
	}

	h1 {
		font-size: clamp(2.7rem, 14vw, 4.1rem);
	}

	.hero__description {
		font-size: 1.1rem;
	}
}
