/* ORIONAS.LT – hero (Oriono žvaigždynas) ir planetos horizonto footer'is.
   Reikia: orionas-tokens.css + orionas-base.css. JS: orionas-constellation.js (hero), orionas-planet.js (miestų šviesos). */

/* ───────────── HERO ───────────── */
.ox-hero { position: relative; }
.ox-constellation {                             /* <canvas data-orionas-constellation class="ox-constellation"> */
	position: absolute; inset: 0; width: 100%; height: 100%;
	-webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent);
	mask-image: linear-gradient(to bottom, #000 80%, transparent);
}
.ox-hero__inner {
	position: relative; display: flex; flex-direction: column; justify-content: center;
	max-width: 1040px; margin: 0 auto; padding: 80px 24px 128px;
	min-height: clamp(540px, 78svh, 720px);
}
.ox-hero__title { display: flex; align-items: center; gap: 16px; margin: 0 0 32px; }
.ox-hero__title img { width: clamp(72px, 12vw, 120px); height: auto; object-fit: contain; filter: drop-shadow(0 0 18px rgba(120,165,255,.42)); }
@media (min-width: 640px) { .ox-hero__title { gap: 24px; } }
.ox-hero__tagline {
	max-width: 520px; margin: 0; font-size: clamp(18px, 2.1vw, 22px); line-height: 1.3; font-weight: 500; color: rgba(255,255,255,.9);
	text-shadow: 0 1px 18px rgba(7,10,16,.95), 0 0 3px rgba(7,10,16,.8);
}
.ox-hero__tagline .ox-year { font-weight: 700; white-space: nowrap; color: #9dbcff; text-shadow: 0 0 22px rgba(91,141,239,.75), 0 1px 14px rgba(7,10,16,.9); }
.ox-hero__tagline .ox-punch {
	display: inline-block; margin-top: 6px; font-weight: 700; letter-spacing: .02em; color: transparent;
	background: linear-gradient(to right, #8fb2ff, #c8d9ff, #fff); -webkit-background-clip: text; background-clip: text;
	text-shadow: none; filter: drop-shadow(0 1px 10px rgba(7,10,16,.85));
}

/* ───────────── PLANETOS HORIZONTAS (footer) ─────────────
   HTML: žr. snippets/planet-footer.html. Planetos dydis auga kartu su ekranu (140 % pločio, 900–3200 px). */
.ox-planet { position: relative; height: 370px; overflow: hidden; }
@media (min-width: 640px) { .ox-planet { height: 400px; } }

.ox-planet__sky {                               /* apkarpytas konteineris, kad naršyklei nereikėtų piešti viso rutulio */
	position: absolute; left: 0; right: 0; top: 112px; bottom: 0; overflow: hidden; contain: paint; pointer-events: none;
}
.ox-planet__ring {                              /* išorinis blankesnis atmosferos žiedas */
	position: absolute; top: 0; left: 50%; aspect-ratio: 1 / 1;
	width: calc(clamp(900px, 140vw, 3200px) + 44px); transform: translateX(-50%);
	border-radius: 50%; border-top: 1px solid rgba(91,141,239,.25);
}
.ox-planet__body {
	--R: clamp(450px, 70vw, 1600px);            /* planetos spindulys (miestų šviesoms) */
	position: absolute; top: 18px; left: 50%; aspect-ratio: 1 / 1; width: clamp(900px, 140vw, 3200px);
	transform: translateX(-50%); overflow: hidden; border-radius: 50%;
	border-top: 1px solid rgba(169,195,255,.45);
	background:
		radial-gradient(ellipse 44% 15% at 50% 0%, #2b4a96, transparent),
		radial-gradient(ellipse 34% 22% at 10% 6%, rgba(91,141,239,.18), transparent),
		radial-gradient(ellipse 34% 22% at 90% 6%, rgba(91,141,239,.18), transparent),
		radial-gradient(ellipse 60% 14% at 50% 16%, rgba(120,90,200,.16), transparent),
		linear-gradient(to bottom, var(--ox-planet-1), var(--ox-planet-2) 28%, var(--ox-planet-3) 55%, var(--ox-planet-4) 80%, var(--ox-planet-5));
	box-shadow: 0 -2px 34px rgba(91,141,239,.5), inset 0 1px 0 rgba(205,222,255,.45), inset 0 10px 40px -14px rgba(91,141,239,.5);
}
.ox-planet__city {                              /* viena „miesto šviesa“ – vieta nustatoma JS (orionas-planet.js) */
	position: absolute; border-radius: 50%; background: var(--ox-city); box-shadow: 0 0 8px 2px rgba(255,200,120,.7);
}
.ox-planet__logo {
	position: absolute; top: 130px; left: 50%; transform: translate(-50%, -62%);
}
.ox-planet__logo img { display: block; width: 80px; height: 80px; object-fit: contain; filter: drop-shadow(0 0 14px rgba(120,165,255,.42)); }
.ox-planet__copy {
	position: absolute; top: 216px; left: 50%; transform: translateX(-50%); margin: 0; white-space: nowrap;
	font-size: 13px; font-weight: 500; letter-spacing: .3em; color: rgba(236,238,241,.85);
}
.ox-planet__discord {
	position: absolute; top: 246px; left: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px;
	font-size: 12px; font-weight: 600; letter-spacing: .18em; color: var(--ox-link); transition: color .15s;
}
.ox-planet__discord:hover { color: #fff; }
.ox-planet__discord svg { width: 16px; height: 16px; }
.ox-planet__fade {                              /* puslapio pabaiga tolygiai ištirpsta į tamsą */
	position: absolute; left: 0; right: 0; bottom: 0; height: 160px; pointer-events: none;
	background: linear-gradient(to top, var(--ox-bg-deep), rgba(4,6,11,.7), transparent);
}
