@charset "utf-8";
/* === MOONGATE.STUDIO FORM (Centered Version + Spacing Fix) === */

/* Normalize box sizing for all elements */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Center entire form section on page */
body {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	min-height: 100vh;
	background: var(--bg);
	padding: 80px 0;
	margin: 0;
	background: linear-gradient(180deg, #070f16 0%, #273a45 100%);
}

/* === Centered Form Container === */
#moongate-intake {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: min(90%, 960px);
	margin: 0 auto;
	padding: 60px 40px;
	background: linear-gradient(180deg, #070f16 0%, #273a45 100%);
	border: 1px solid #8facc0;
	border-radius: 8px;
	box-shadow: 0 6px 18px rgba(0,0,0,0.6);
	font-family: 'Orbitron', monospace;
	color: #cfe8ff;
}

/* === Headings === */
#moongate-intake h2 {
	font-family: 'Nasalization', sans-serif;
	text-transform: uppercase;
	color: #fff;
	text-shadow: 0 0 10px rgba(0,245,255,.3);
	font-size: clamp(1.2rem, 2vw, 1.5rem);
	border-bottom: 1px solid rgba(143,172,192,.3);
	padding-bottom: 4px;
	margin: 40px 0 28px;
	width: 100%;
	max-width: 720px;
	text-align: left;
}

/* === Labels and Field Wrappers === */
#moongate-intake label {
	display: block;
	width: 100%;
	max-width: 720px;
	margin: 0 0 8px;
	font-family: 'Nasalization', sans-serif;
	font-size: 0.9rem;
	color: #fff;
	letter-spacing: 0.04em;
}

/* === Field Descriptions === */
#moongate-intake .field-desc {
	max-width: 720px;
	margin: 10px 0 10px;  /* tight gap under label, before field */
	font-size: 0.9rem;
	color: rgba(207,232,255,0.65);
	font-family: 'League Spartan', 'Nasalization', sans-serif;
	letter-spacing: 0.03em;
}

/* === Inputs, Selects, Textareas === */
#moongate-intake input,
#moongate-intake select,
#moongate-intake textarea {
  display: block;
  width: 100%;
  max-width: 720px;
  background: rgba(0,245,255,.06);
  border: 1px solid rgba(143,172,192,.4);
  border-radius: 5px;
  padding: 10px 14px;
  margin: 0 auto 24px; /* added bottom spacing */
  color: #fff;
  font-family: monospace;
  font-size: 0.9rem;
  box-shadow: inset 0 0 6px rgba(0,245,255,.08);
  transition: border-color .25s ease, box-shadow .25s ease;
}

#moongate-intake input:focus,
#moongate-intake select:focus,
#moongate-intake textarea:focus {
  outline: none;
  border-color: #00f5ff;
  box-shadow: 0 0 8px rgba(0,245,255,.25);
}

#moongate-intake textarea {
  resize: vertical;
  min-height: 80px;
}

/* === Fieldsets and Checkboxes === */
#moongate-intake fieldset {
  border: 1px solid rgba(143,172,192,.4);
  border-radius: 8px;
  padding: 18px 20px;
  margin: 1px 0 40px 0;
  background: rgba(0,245,255,.06);
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

#moongate-intake legend {
  font-family: 'Nasalization', sans-serif;
  font-size: 0.9rem;
  color: #fff;
  padding: 0 8px;
  margin-bottom: 10px; /* extra space below legend */
}

/* === Checkbox Alignment: Text Far Left, Box Far Right === */
#moongate-intake fieldset label {
  display: flex;
  flex-direction: row-reverse; /* flip visual order */
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 720px;
  margin: 4px auto;
  padding: 0px 4px;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  color: #fff;
  text-align: left;
}

#moongate-intake input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #00f5ff;
  flex-shrink: 0;
  margin: 0;
}

/* === Submit Button === */
#moongate-intake button {
  font-family: 'Nasalization', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(0,245,255,.06);
  color: #cfe8ff;
  border: 1px solid rgba(0,245,255,.35);
  border-radius: 10px;
  padding: 14px 28px;
  margin-top: 40px;
  cursor: pointer;
  transition: background .3s ease, box-shadow .3s ease;
  box-shadow: 0 6px 22px rgba(0,245,255,.25);
}

#moongate-intake button:hover {
  background: rgba(0,245,255,.12);
  box-shadow: 0 8px 28px rgba(0,245,255,.35);
}

/* === Dark Theme Dropdown Styling === */
#moongate-intake select {
  background: rgba(0,245,255,.06);
  color: #cfe8ff;
  border: 1px solid rgba(143,172,192,.4);
  border-radius: 8px;
  box-shadow: inset 0 0 6px rgba(0,245,255,.08);
  padding: 10px 14px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/* Dropdown arrow color (for browsers that support it) */
#moongate-intake select::-ms-expand {
  display: none;
}

/* Options inside dropdown list */
#moongate-intake select option {
  background-color: #071219;
  color: #cfe8ff;
}

/* Hovered or focused option */
#moongate-intake select option:hover,
#moongate-intake select option:checked,
#moongate-intake select:focus option:checked {
  background-color: rgba(0,245,255,.25);
  color: #071219;
}

/* === Brand Impression Sliders === */
#moongate-intake input[type="range"] {
	width: 65%;
	margin: 0;
	padding: 0;
	background: none;
	border: none;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	accent-color: #00f5ff;
	cursor: pointer;
}

#moongate-intake input[type="range"]:focus {
	outline: none; 
	box-shadow: none;
}

#moongate-intake input[type="range"]::-webkit-slider-runnable-track {
	height: 4px;
	background: rgba(0,245,255,.25);
	border-radius: 2px;
}

#moongate-intake input[type="range"]::-webkit-slider-thumb {
	appearance: none;
	width: 16px;
	height: 16px;
	border: none;
	border-radius: 50%;
	background: #00f5ff;
	box-shadow: 0 0 8px rgba(0,245,255,.6);
	margin-top: -6px;
	transition: transform .2s;
}

#moongate-intake input[type="range"]::-webkit-slider-thumb:hover {
	transform: scale(1.15);
}

#moongate-intake input[type="range"]::-moz-range-track {
	height: 4px;
	background: rgba(0,245,255,.25);
	border-radius: 2px;
}

#moongate-intake input[type="range"]::-moz-range-thumb {
	width: 16px;
	height: 16px;
	border: none;
	border-radius: 50%;
	background: #00f5ff;
	box-shadow: 0 0 8px rgba(0,245,255,.6);
}

/* === Rob Added (wink wink field)) === */
.hp-field {
  position: absolute !important;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* === Responsive Adjustments === */
@media (max-width: 640px) {
  body { padding: 40px 0; }

  #moongate-intake {
    padding: 40px 20px;
  }

  #moongate-intake h2,
  #moongate-intake label,
  #moongate-intake input,
  #moongate-intake select,
  #moongate-intake textarea,
  #moongate-intake fieldset {
    max-width: 100%;
  }
}
