/* =========================
   Base Styles
========================= */
body {
  font-family: Arial, sans-serif;
  background: #000;
  color: #fff;
  margin: 0;
  padding: 0;
}

.form-container {
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  background: #111;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,255,255,0.2);
  animation: pulseShadow 4s ease-in-out infinite;
}

p {
  margin-bottom: 1.5rem;
  text-align: center;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
}
.footer {
font-size: 14px;
  margin-bottom: 16px;
  font-family: 'AwakeRegular'; sans-serif;
  font-weight: normal;
  color: #ffffff;
align-items: center;
  justify-content: center;
}
  
 .footer a:hover {
  text-decoration: underline; /* optional hover effect */
}
 .footer a {
  font-size: inherit;               /* overrides global a{font-size:28px} */
  color: inherit;
  text-decoration: none;
} 

/* =========================
   Inputs & Selects
========================= */
input[type="text"],
input[type="url"],
select {
  width: 100%;
  padding: 0.6rem;
  border-radius: 5px;
  border: 1px solid #444;
  background: #222;
  color: #fff;
  transition: border-color 0.3s, box-shadow 0.3s;
}

input[type="text"]:focus,
input[type="url"]:focus,
select:focus {
  border-color: #0ff;
  box-shadow: 0 0 10px rgba(0,255,255,0.6);
  outline: none;
}

/* =========================
   Checkboxes
========================= */
input[type="checkbox"] {
  margin-right: 0.5rem;
  transform: scale(1.1);
  cursor: pointer;
}

.help-with label {
  display: block;
  margin-bottom: 0.75rem;  /* spacing between checkboxes */
}

input[type="checkbox"]:hover + label {
  color: #0ff;
  font-weight: bold;
}

input[type="checkbox"]:checked + label {
  color: #0cc;
}

/* =========================
   Submit Button
========================= */
button[type="submit"] {
  display: block;
  margin: 2rem auto 0 auto;
  padding: 0.8rem 2rem;
  background: linear-gradient(90deg, #0ff, #ff9955, #0ff);
  color: #000;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  background-size: 200% 100%;
  animation: buttonGradientShift 3s ease infinite;
}

button[type="submit"]:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px #0ff, 0 0 25px #ff9955;
}

@keyframes buttonGradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* =========================
   Form Shadow Animation
========================= */
@keyframes pulseShadow {
  0%   { box-shadow: 0 0 15px rgba(0,255,255,0.2); }
  50%  { box-shadow: 0 0 30px rgba(0,204,255,0.4); }
  100% { box-shadow: 0 0 15px rgba(0,255,255,0.2); }
}

/* =========================
   Animated Scratch Neon Header
========================= */
h1 {
  font-family: 'donovanregular', sans-serif;
  font-size: 4rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

.animated-header {
  display: block;
  width: 100%;
  background: linear-gradient(270deg, #0ff, #ff9955, #0ff);
  background-size: 600% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 1px #0ff, 0 0 2px #0ff, 0 0 4px #ff9955;
  animation: gradientMove 6s linear infinite, neonPulse 4s ease-in-out infinite alternate;
}

@keyframes gradientMove {
  0% { background-position: 0% 0; }
  100% { background-position: 100% 0; }
}

@keyframes neonPulse {
  0% { text-shadow: 0 0 1px #0ff, 0 0 2px #0ff, 0 0 4px #ff9955; }
  50% { text-shadow: 0 0 1.5px #0ff, 0 0 3px #0ff, 0 0 5px #ff9955; }
  100% { text-shadow: 0 0 1px #0ff, 0 0 2px #0ff, 0 0 4px #ff9955; }
}

/* =========================
   Subtitle H2
========================= */
h2 {
  text-align: center;
  font-size: 1.5rem;
  color: #fff;
  margin-top: 0.5rem;
  font-weight: normal;
}
/* =========================
   Mobile adjustments
========================= */
@media (max-width: 600px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 1.25rem; }
}

/* --- Planner header spacing & readability (ALL screens) --- */
.form-container h1 {
  margin: 40px 0 6px;   /* adds top space + tight gap under title */
}

.form-container h2 {
  margin: 0 0 10px;
  font-weight: 600;
}

/* Intro paragraph under the h2 */
.form-container h2 + p {
  margin: 8px auto 18px;
  max-width: 62ch;
  line-height: 1.55;
}

/* Space before first form field */
.form-container .form-group:first-of-type {
  margin-top: 14px;
}

/* Register animatable custom properties (top-level, once) */
@property --peach-alpha  { syntax: "<number>";     inherits: false; initial-value: 0.85; }
@property --peach-start  { syntax: "<percentage>"; inherits: false; initial-value: 49%;  }
@property --peach-end    { syntax: "<percentage>"; inherits: false; initial-value: 51%;  }
@property --peach-width  { syntax: "<percentage>"; inherits: false; initial-value: 2%;   }

/* Neon divider: feather increases when band is narrow, decreases when wide */
.form-container h2::after {
  /* REST values (narrow, centered) */
  --peach-alpha: 0.85;
  --peach-start: 49%;
  --peach-end:   51%;

  /* compute current band width */
  --peach-width: calc(var(--peach-end) - var(--peach-start));

  /* auto-feather:
     - when width ≈ 2%, feather ≈ up to 5%
     - when width ≈ 80%, feather ≈ ~2%
     tweak 6% and the multiplier (0.05) to taste */
  --peach-feather: clamp(2%, calc(20% - (var(--peach-width) * 0.08)), 5%);

  content: "";
  display: block;
  height: 1px;
  width: min(85%, 520px);
  margin: 10px auto 12px;

  /* Feathered cyan → peach → cyan */
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0,255,255,.45) calc(var(--peach-start) - var(--peach-feather)),
    rgba(255,153,85, var(--peach-alpha)) var(--peach-start),
    rgba(255,153,85, var(--peach-alpha)) var(--peach-end),
    rgba(0,255,255,.45) calc(var(--peach-end) + var(--peach-feather)),
    transparent 100%
  );

  /* Glow tracks intensity */
  box-shadow:
    0 0 14px rgba(255,153,85, calc(var(--peach-alpha) * 0.40)),
    0 0 28px rgba(255,153,85, calc(var(--peach-alpha) * 0.25));

  opacity: .9;
  animation: peachThrob 8s cubic-bezier(0.4,0,0.2,1) infinite;
}

/* Animate width + brightness only — feather derives from width */
@keyframes peachThrob {
  0%, 100% {
    --peach-alpha: 0.85;
    --peach-start: 49%;
    --peach-end:   51%;
  }
  45%, 55% {
    --peach-alpha: 1;
    --peach-start: 22%;
    --peach-end:   78%;
  }
  
