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

:root {
	--accent: #f5a623;
	--accent-dark: #d9870b;
	--text: #f4f4f6;
	--muted: #c3c6d1;
	--panel: rgba(16, 20, 38, 0.82);
	--border: rgba(255, 255, 255, 0.12);
}

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

body {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
	padding: 2rem 1rem;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	color: var(--text);
	background:
		linear-gradient(rgba(8, 10, 24, 0.45), rgba(8, 10, 24, 0.75)),
		url("background.jpg") center / cover no-repeat fixed #0b0e1c;
}

.card {
	width: 100%;
	max-width: 600px;
	padding: 2rem 1.75rem;
	text-align: center;
	background: var(--panel);
	border: 1px solid var(--border);
	border-radius: 18px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}

.logo {
	display: block;
	width: 100%;
	max-width: 280px;
	height: auto;
	margin: -0.5rem auto 0.5rem;
	filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5));
}

h1 {
	margin: 0 0 0.35rem;
	font-size: clamp(1.5rem, 5vw, 2rem);
	letter-spacing: 0.02em;
}

.tagline {
	margin: 0 0 1.75rem;
	color: var(--muted);
}

.downloads {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.85rem;
}

.btn {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	padding: 0.95rem 1rem;
	border-radius: 12px;
	background: linear-gradient(180deg, var(--accent), var(--accent-dark));
	color: #1b1206;
	text-decoration: none;
	box-shadow: 0 4px 0 #a5620a;
	transition: transform 0.1s ease, box-shadow 0.1s ease, filter 0.15s ease;
}

.btn:hover { filter: brightness(1.08); }

.btn:active {
	transform: translateY(3px);
	box-shadow: 0 1px 0 #a5620a;
}

.btn:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

.btn-title { font-weight: 700; font-size: 1.05rem; }
.btn-note  { font-size: 0.85rem; opacity: 0.8; }

.notice {
	margin-top: 1.75rem;
	padding: 0.9rem 1rem;
	text-align: left;
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--muted);
	background: rgba(245, 166, 35, 0.1);
	border-left: 3px solid var(--accent);
	border-radius: 8px;
}

.notice strong { display: block; color: var(--text); margin-bottom: 0.2rem; }

code {
	padding: 0.1em 0.35em;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.1);
	color: var(--text);
	font-size: 0.9em;
}

footer {
	font-size: 0.8rem;
	color: var(--muted);
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.section-title {
	margin: 2rem 0 0.85rem;
	font-size: 1.1rem;
	letter-spacing: 0.02em;
}

.showcase {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	text-align: left;
}

.showcase input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.tab {
	flex: 1 1 22%;
	padding: 0.6rem 0.5rem;
	text-align: center;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--muted);
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid var(--border);
	border-radius: 10px;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.tab:hover {
	color: var(--text);
	background: rgba(255, 255, 255, 0.12);
}

.showcase input:checked + .tab {
	color: #1b1206;
	background: linear-gradient(180deg, var(--accent), var(--accent-dark));
	border-color: transparent;
	box-shadow: 0 3px 0 #a5620a;
}

.showcase input:focus-visible + .tab {
	outline: 3px solid #fff;
	outline-offset: 2px;
}

.panel {
	display: none;
	order: 1;
	width: 100%;
	margin-top: 0.5rem;
}

.showcase input:checked + .tab + .panel { display: block; }

.panel img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid var(--border);
	border-radius: 10px;
	transition: filter 0.15s ease;
}

.panel a:hover img { filter: brightness(1.1); }

.panel h3 {
	margin: 0.85rem 0 0.3rem;
	font-size: 1rem;
	color: var(--accent);
}

.panel p {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--muted);
}

@media (max-width: 480px) {
	body { background-attachment: scroll; justify-content: flex-start; }
	.card { padding: 1.5rem 1.1rem; }
	.downloads { grid-template-columns: 1fr; }
	.logo { max-width: 220px; }
	.tab { flex-basis: 28%; font-size: 0.85rem; }
}
