/* Galactic Empires — signup page (scoped; load after home_index.css) */

body.body.ge-home.ge-signup .ge-signup-nav-current {
	opacity: 0.95;
	cursor: default;
	pointer-events: none;
}

body.body.ge-home.ge-signup .ge-home-nav-mobile .ge-home-nav-aux-cta.ge-signup-nav-current {
	display: block;
	width: 100%;
	text-align: center;
	box-sizing: border-box;
}

body.body.ge-home.ge-signup .ge-signup-main {
	position: relative;
	z-index: 1;
	padding-top: clamp(5.25rem, 11vw, 7.5rem);
	padding-bottom: clamp(1.5rem, 4vw, 2.75rem);
	min-height: 100vh;
	min-height: 100dvh;
}

body.body.ge-home.ge-signup .ge-signup-section {
	padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

body.body.ge-home.ge-signup .ge-signup-intro {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	height: 100%;
}

body.body.ge-home.ge-signup .ge-signup-eyebrow {
	font-family: "Orbitron", sans-serif;
	font-size: clamp(0.55rem, 0.65vw, 0.68rem);
	font-weight: 700;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: var(--ge-cyan);
	margin: 0 0 0.25rem;
	text-shadow: 0 0 14px rgba(0, 220, 255, 0.35);
}

body.body.ge-home.ge-signup .ge-signup-hero-title {
	font-family: "Orbitron", sans-serif;
	font-size: clamp(1.35rem, 2.4vw, 2.1rem);
	font-weight: 800;
	letter-spacing: 0.06em;
	line-height: 1.15;
	text-transform: uppercase;
	color: #f5fdff;
	margin: 0;
	text-shadow: 0 0 28px rgba(0, 200, 255, 0.25);
}

body.body.ge-home.ge-signup .ge-signup-lead {
	margin: 0;
	max-width: 36em;
	font-size: clamp(0.88rem, 1.05vw, 1rem);
	line-height: 1.55;
	color: rgba(210, 225, 255, 0.82);
	letter-spacing: 0.02em;
}

body.body.ge-home.ge-signup .ge-signup-art-wrap {
	position: relative;
	margin: 0.5rem 0 0.75rem;
	border: 1px solid var(--ge-line);
	box-shadow: 0 0 0 1px rgba(0, 60, 90, 0.2), var(--ge-glow);
	background: var(--ge-glass);
	overflow: hidden;
	aspect-ratio: 16 / 10;
	max-height: 220px;
}

body.body.ge-home.ge-signup .ge-signup-art {
	position: absolute;
	inset: 0;
	background-image: linear-gradient(105deg, rgba(0, 8, 22, 0.5) 0%, rgba(0, 4, 14, 0.15) 45%, transparent 70%),
		url("../images/homepage/card-fleet-command.png");
	background-size: cover;
	background-position: 72% 42%;
}

body.body.ge-home.ge-signup .ge-signup-features {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

body.body.ge-home.ge-signup .ge-signup-feature {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	padding: 0.65rem 0.7rem;
	border: 1px solid var(--ge-line);
	background: rgba(3, 12, 32, 0.45);
	box-shadow: inset 0 0 24px rgba(0, 30, 80, 0.12);
}

body.body.ge-home.ge-signup .ge-signup-feature-ico {
	flex: 0 0 auto;
	filter: drop-shadow(0 0 6px rgba(0, 220, 255, 0.35));
}

body.body.ge-home.ge-signup .ge-signup-feature-cap {
	display: block;
	font-family: "Orbitron", sans-serif;
	font-size: 0.58rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #fff;
	margin-bottom: 0.2rem;
}

body.body.ge-home.ge-signup .ge-signup-feature-txt {
	display: block;
	font-size: clamp(0.78rem, 0.9vw, 0.88rem);
	line-height: 1.45;
	color: rgba(200, 218, 255, 0.78);
}

/* Command panel */
body.body.ge-home.ge-signup .ge-signup-command-panel {
	padding: clamp(1.15rem, 2vw, 1.65rem) clamp(1rem, 2vw, 1.5rem) clamp(1.25rem, 2.2vw, 1.75rem);
}

body.body.ge-home.ge-signup .ge-signup-panel-head {
	margin-bottom: 1.25rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--ge-line);
}

body.body.ge-home.ge-signup .ge-signup-panel-eyebrow {
	font-family: "Orbitron", sans-serif;
	font-size: 0.52rem;
	font-weight: 700;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	color: rgba(0, 240, 255, 0.75);
	margin: 0 0 0.35rem;
}

body.body.ge-home.ge-signup .ge-signup-panel-title {
	font-family: "Orbitron", sans-serif;
	font-size: clamp(1.1rem, 2vw, 1.65rem);
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
	margin: 0 0 0.45rem;
	text-shadow: 0 0 22px rgba(0, 200, 255, 0.22);
}

body.body.ge-home.ge-signup .ge-signup-panel-sub {
	margin: 0;
	max-width: 42em;
	font-size: 0.88rem;
	line-height: 1.5;
	color: rgba(200, 218, 255, 0.78);
}

/* Fields */
body.body.ge-home.ge-signup .ge-signup-fields-col {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

body.body.ge-home.ge-signup .ge-signup-field {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

body.body.ge-home.ge-signup .ge-signup-label {
	font-family: "Orbitron", sans-serif;
	font-size: 0.52rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: rgba(200, 225, 255, 0.88);
	margin: 0;
}

body.body.ge-home.ge-signup .ge-signup-num {
	display: inline-block;
	margin-right: 0.35rem;
	color: var(--ge-cyan);
	letter-spacing: 0.12em;
}

body.body.ge-home.ge-signup .ge-signup-optional {
	font-weight: 600;
	letter-spacing: 0.12em;
	color: rgba(200, 225, 255, 0.45);
	text-transform: none;
}

body.body.ge-home.ge-signup .ge-signup-input-wrap {
	position: relative;
	display: flex;
	align-items: center;
}

body.body.ge-home.ge-signup .ge-signup-input {
	width: 100%;
	font-family: "Exo 2", system-ui, sans-serif;
	font-size: 0.92rem;
	padding: 0.65rem 2.5rem 0.65rem 0.85rem;
	color: #e4ecff;
	background: rgba(2, 8, 22, 0.72);
	border: 1px solid var(--ge-line);
	border-radius: 2px;
	box-shadow: inset 0 0 20px rgba(0, 40, 90, 0.15);
	outline: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.body.ge-home.ge-signup .ge-signup-input::placeholder {
	color: rgba(160, 185, 220, 0.45);
}

body.body.ge-home.ge-signup .ge-signup-input:focus {
	border-color: var(--ge-cyan);
	box-shadow: 0 0 0 1px rgba(0, 240, 255, 0.2), inset 0 0 22px rgba(0, 60, 100, 0.2);
}

body.body.ge-home.ge-signup .ge-signup-select {
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	color-scheme: dark;
	font-family: "Exo 2", system-ui, sans-serif;
	font-weight: 500;
	letter-spacing: 0.04em;
	line-height: 1.35;
}

/* Closed control: same language as text inputs, slightly tighter for selects */
body.body.ge-home.ge-signup select.ge-signup-select {
	background-color: rgba(2, 8, 22, 0.88);
	color: #e4ecff;
}

body.body.ge-home.ge-signup select.ge-signup-select:hover {
	border-color: rgba(0, 220, 255, 0.42);
}

body.body.ge-home.ge-signup select.ge-signup-select:focus {
	color: #fff;
}

/* Option list (Firefox + some WebKit; Windows Chrome may stay OS-themed) */
body.body.ge-home.ge-signup select.ge-signup-select option {
	font-family: "Exo 2", system-ui, sans-serif;
	font-weight: 500;
	letter-spacing: 0.03em;
	background-color: #071428;
	color: #e4ecff;
	padding: 0.4rem 0.65rem;
}

body.body.ge-home.ge-signup select.ge-signup-select option:checked,
body.body.ge-home.ge-signup select.ge-signup-select option:checked:focus {
	background: linear-gradient(95deg, rgba(46, 246, 255, 0.12) 0%, rgba(5, 119, 160, 0.28) 100%);
	color: #fff;
	font-weight: 600;
}

body.body.ge-home.ge-signup select.ge-signup-select option:hover,
body.body.ge-home.ge-signup select.ge-signup-select option:focus {
	background-color: rgba(0, 100, 140, 0.45);
	color: #fff;
}

body.body.ge-home.ge-signup .ge-signup-select-wrap .ge-signup-input-ico {
	pointer-events: none;
}

body.body.ge-home.ge-signup .ge-signup-input-ico {
	position: absolute;
	right: 0.65rem;
	top: 50%;
	transform: translateY(-50%);
	color: var(--ge-cyan-mid);
	opacity: 0.75;
	display: flex;
	align-items: center;
	justify-content: center;
}

body.body.ge-home.ge-signup .ge-signup-empire-type-info {
	margin-top: 0.5rem;
	padding: 0.65rem 0.75rem;
	border: 1px solid var(--ge-line);
	background: rgba(4, 14, 36, 0.55);
	box-shadow: inset 0 0 18px rgba(0, 40, 90, 0.12);
}

body.body.ge-home.ge-signup .ge-signup-empire-type-info-hd {
	font-family: "Orbitron", sans-serif;
	font-size: 0.48rem;
	font-weight: 800;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ge-cyan);
	margin-bottom: 0.4rem;
	display: flex;
	align-items: center;
	gap: 0.45rem;
}

body.body.ge-home.ge-signup .ge-signup-info-i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.1rem;
	height: 1.1rem;
	border: 1px solid var(--ge-cyan-dim);
	border-radius: 2px;
	font-size: 0.65rem;
	font-weight: 800;
	font-style: normal;
	color: #00121a;
	background: var(--ge-cta-grad);
}

body.body.ge-home.ge-signup .ge-signup-empire-type-info-body {
	font-size: 0.82rem;
	line-height: 1.55;
	color: rgba(205, 225, 250, 0.88);
	transition: opacity 0.2s ease;
}

body.body.ge-home.ge-signup .ge-signup-error {
	padding: 0.65rem 0.85rem;
	border: 1px solid rgba(255, 90, 90, 0.45);
	background: rgba(40, 0, 0, 0.35);
	color: #ffb4b4;
	font-size: 0.85rem;
}

body.body.ge-home.ge-signup .ge-signup-actions {
	margin-top: 0.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	align-items: stretch;
}

body.body.ge-home.ge-signup .ge-signup-submit {
	justify-content: center;
	width: 100%;
	max-width: 100%;
	border: 0;
	cursor: pointer;
	font: inherit;
}

body.body.ge-home.ge-signup .ge-signup-legal {
	margin: 0;
	font-size: 0.68rem;
	line-height: 1.55;
	color: rgba(180, 200, 235, 0.65);
	text-align: center;
}

body.body.ge-home.ge-signup .ge-signup-legal a {
	color: var(--ge-cyan);
	text-decoration: none;
}

body.body.ge-home.ge-signup .ge-signup-legal a:hover {
	text-decoration: underline;
}

/* Side column */
body.body.ge-home.ge-signup .ge-signup-side-col {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

/*
 * At lg+ the bootstrap 5/12 side column is too narrow for Turnstile. Pin the side column
 * wide enough for side-block padding (0.85rem each side), the dashed host (max ~322px
 * border-box), and a few pixels of cyan “breathing room” on both sides of the host.
 */
@media (min-width: 992px) {
	body.body.ge-home.ge-signup .ge-signup-panel-inner > .ge-signup-fields-col {
		flex: 1 1 0;
		width: auto;
		max-width: none;
	}

	body.body.ge-home.ge-signup .ge-signup-panel-inner > .ge-signup-side-col {
		flex: 0 0 380px;
		width: 380px;
		max-width: 380px;
	}
}

body.body.ge-home.ge-signup .ge-signup-side-block {
	padding: 0.85rem 0.85rem 1rem;
	border: 1px solid var(--ge-line);
	background: rgba(3, 12, 32, 0.5);
	box-shadow: inset 0 0 26px rgba(0, 30, 80, 0.12);
}

body.body.ge-home.ge-signup .ge-signup-side-cap {
	font-family: "Orbitron", sans-serif;
	font-size: 0.5rem;
	font-weight: 800;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: rgba(230, 240, 255, 0.92);
	margin: 0 0 0.65rem;
}

body.body.ge-home.ge-signup .ge-signup-side-msg {
	margin: 0 0 0.5rem;
	font-size: 0.78rem;
}

body.body.ge-home.ge-signup .ge-signup-carousel {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.65rem;
}

body.body.ge-home.ge-signup .ge-signup-portrait-inner,
body.body.ge-home.ge-signup .ge-signup-flag-inner {
	position: relative;
	width: 100%;
	max-width: 240px;
	aspect-ratio: 11 / 13;
	border: 1px solid var(--ge-border);
	box-shadow: 0 0 24px rgba(0, 200, 255, 0.12);
	background: radial-gradient(ellipse at 50% 20%, rgba(0, 120, 180, 0.15), transparent 55%), #020814;
	overflow: hidden;
}

body.body.ge-home.ge-signup .ge-signup-flag-inner {
	aspect-ratio: 1;
	max-width: 220px;
}

body.body.ge-home.ge-signup .ge-signup-portrait-inner::before,
body.body.ge-home.ge-signup .ge-signup-flag-inner::before {
	content: "";
	position: absolute;
	inset: 0;
	border: 1px solid rgba(0, 240, 255, 0.12);
	pointer-events: none;
	margin: 6px;
}

body.body.ge-home.ge-signup .ge-signup-portrait-img,
body.body.ge-home.ge-signup .ge-signup-flag-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

body.body.ge-home.ge-signup .ge-signup-carousel-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	max-width: 260px;
}

body.body.ge-home.ge-signup .ge-signup-carousel-btn {
	flex: 0 0 auto;
	width: 2.35rem;
	height: 2.35rem;
	font-family: "Orbitron", sans-serif;
	font-size: 1.1rem;
	font-weight: 800;
	line-height: 1;
	color: var(--ge-cyan);
	background: rgba(2, 10, 28, 0.85);
	border: 1px solid var(--ge-line);
	border-radius: 2px;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

body.body.ge-home.ge-signup .ge-signup-carousel-btn:hover {
	border-color: var(--ge-cyan);
	color: #fff;
	background: rgba(0, 40, 70, 0.55);
}

body.body.ge-home.ge-signup .ge-signup-dots {
	flex: 1 1 auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.28rem;
	min-height: 0.5rem;
}

body.body.ge-home.ge-signup .ge-signup-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: rgba(0, 200, 255, 0.22);
	border: 1px solid rgba(0, 200, 255, 0.35);
}

body.body.ge-home.ge-signup .ge-signup-dot.is-active {
	background: var(--ge-cyan);
	box-shadow: 0 0 8px rgba(0, 240, 255, 0.55);
}

body.body.ge-home.ge-signup .ge-signup-verify-block {
	width: 100%;
	max-width: 100%;
	border-color: rgba(0, 220, 255, 0.35);
}

body.body.ge-home.ge-signup .ge-signup-verify-lead {
	margin: 0 0 0.65rem;
	font-size: 0.78rem;
	line-height: 1.45;
	color: rgba(195, 215, 245, 0.75);
}

/*
 * Turnstile "flexible" has a ~300px intrinsic minimum. Fix the dashed host at 320px
 * (border-box) so the 300px iframe plus ~8px horizontal padding and 1px border always
 * fits cleanly. max-width: 100% keeps it inside very narrow mobile columns.
 */
body.body.ge-home.ge-signup .ge-signup-turnstile-host {
	width: 320px;
	max-width: 100%;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.35rem 0.5rem;
	border: 1px dashed rgba(0, 220, 255, 0.28);
	background: rgba(0, 8, 20, 0.4);
	box-sizing: border-box;
}

body.body.ge-home.ge-signup .ge-signup-turnstile-host [data-ge-turnstile-container] {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
}

body.body.ge-home.ge-signup .ge-signup-turnstile-host iframe {
	display: block;
	vertical-align: bottom;
}

body.body.ge-home.ge-signup .ge-signup-verify-fail {
	margin: 0;
	text-align: center;
}

@media (max-width: 991px) {
	body.body.ge-home.ge-signup .ge-signup-command-panel {
		padding: 1rem 0.85rem 1.15rem;
	}

	body.body.ge-home.ge-signup .ge-signup-side-col {
		flex-direction: column;
	}

	body.body.ge-home.ge-signup .ge-signup-portrait-inner,
	body.body.ge-home.ge-signup .ge-signup-flag-inner {
		max-width: 280px;
		margin-left: auto;
		margin-right: auto;
	}
}

@media (max-width: 575px) {
	body.body.ge-home.ge-signup .ge-signup-art-wrap {
		max-height: 180px;
	}
}
