/* Nyitó választó (views/pages/home/choose.php). Színek a ba-site.css tokenjeiből. */
:root {
	--ch-o: #f58220;
	--ch-o-hi: #ff9a3d;
	--ch-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; background: #000; }
body.ch {
	min-height: 100vh; min-height: 100svh;
	color: #fff; font-family: var(--ch-font); -webkit-font-smoothing: antialiased;
	display: flex; align-items: center; justify-content: center;
	padding: max(48px, env(safe-area-inset-top)) 20px max(48px, env(safe-area-inset-bottom));
	position: relative; overflow-x: hidden;
}
.ch-glow {
	position: fixed; left: 50%; top: 58%; width: 900px; max-width: 140vw; height: 520px;
	transform: translate(-50%, -50%);
	background: radial-gradient(closest-side, rgba(245,130,32,.18), transparent);
	pointer-events: none;
}
.ch-cars {
	position: fixed; left: 0; right: 0; bottom: 0; height: 42vh;
	background-position: center bottom; background-size: cover; background-repeat: no-repeat;
	opacity: .22;
	-webkit-mask-image: linear-gradient(transparent, #000 70%); mask-image: linear-gradient(transparent, #000 70%);
	pointer-events: none;
}
.ch-main { position: relative; width: 100%; max-width: 820px; display: flex; flex-direction: column; align-items: center; animation: chIn .7s cubic-bezier(.2,.8,.2,1) both; }
.ch-logo { margin: 0 0 44px; line-height: 0; }
.ch-logo img { display: block; height: 24px; width: auto; }
.ch-title { font-size: clamp(32px, 4.6vw, 54px); letter-spacing: -.025em; line-height: 1.05; margin: 0 0 44px; text-align: center; font-weight: 700; }
.ch-title em { font-style: normal; color: var(--ch-o); }

.ch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; width: 100%; }
.ch-card {
	display: flex; flex-direction: column; gap: 18px;
	padding: 30px 30px 26px; border-radius: 24px;
	background: rgba(40,40,44,.55); border: 1px solid rgba(255,255,255,.1);
	-webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
	color: #fff; text-decoration: none;
	transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s, background .35s;
}
.ch-card:hover, .ch-card:focus-visible { transform: translateY(-4px); border-color: rgba(245,130,32,.6); background: rgba(50,50,54,.7); color: #fff; }
.ch-card:focus-visible { outline: 0; box-shadow: 0 0 0 3px rgba(245,130,32,.35); }
.ch-ic { width: 52px; height: 52px; border-radius: 14px; background: rgba(245,130,32,.14); display: grid; place-items: center; color: var(--ch-o-hi); }
.ch-body { display: flex; flex-direction: column; gap: 6px; }
.ch-h { font-size: 26px; letter-spacing: -.015em; font-weight: 700; }
.ch-p { color: #ccc; font-size: 15px; line-height: 1.5; }
.ch-go {
	margin-top: auto; display: flex; align-items: center; justify-content: space-between;
	padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1);
	font-weight: 600; font-size: 15px; color: var(--ch-o-hi);
}
.ch-ar { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 999px; background: #fff; color: #000; display: grid; place-items: center; transition: background .3s, color .3s, transform .3s; }
.ch-card:hover .ch-ar, .ch-card:focus-visible .ch-ar { background: var(--ch-o); color: #fff; transform: translateX(3px); }
.ch-ext { color: #6e6e73; font-weight: 400; font-size: 12px; }

.ch-langs { margin-top: 40px; font-size: 13px; color: #6e6e73; display: flex; gap: 10px; }
.ch-langs a { color: #a1a1a6; text-decoration: none; }
.ch-langs a:hover { color: #fff; }

@keyframes chIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ch-main { animation: none; } .ch-card, .ch-ar { transition: none; } }

@media (max-width: 680px) {
	.ch-grid { grid-template-columns: 1fr; gap: 14px; }
	.ch-logo { margin-bottom: 32px; }
	.ch-logo img { height: 20px; }
	.ch-title { margin-bottom: 28px; }
	.ch-card { padding: 22px; gap: 14px; }
	.ch-h { font-size: 23px; }
	.ch-langs { margin-top: 28px; }
}
