/* === Base Reset === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* === Page Layout === */
body {
  background: black;
  font-family: 'Zen Dots', sans-serif;
  height: 100vh;
  overflow: hidden;
}

.container {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  text-align: center;
}

/* === Electric Title === */
.electric-title {
  font-size: clamp(3rem, 9vw, 9rem);
  color: black;
  letter-spacing: 0.15rem;
  text-align: center;
  transition: all 0.4s ease;
  margin-bottom: 0.5rem;
}

.electric-title span {
  display: inline-block;
  transition: all 0.4s ease;
  color: black;
  text-shadow: none;
}

.electric-title span.glow {
  color: white;
  text-shadow:
    0 0 10px white,
    0 0 20px white;
}

.electric-title span.afterglow {
  text-shadow:
    0 0 2px rgba(255, 255, 255, 0.15),
    0 0 5px rgba(255, 255, 255, 0.07);
  animation: faint-pulse 3s ease-in-out infinite;
}

.electric-title span.space {
  width: 0.6em;
  display: inline-block;
}

/* === Nav Button Container === */
.nav-buttons {
  display: flex;
  flex-direction: row; /* ← Horizontal layout */
  justify-content: center;
  align-items: center;
  gap: 1rem; /* ← Adds space between buttons */
  margin-top: .5rem;
}


/* === Universal Button Styles === */
.nav-buttons button,
.footer-buttons a {
  background: black;
  border: 2px solid transparent;
  font-family: 'Zen Dots', sans-serif;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  display: inline-block;
}

/* === Middle Nav Buttons === */
.nav-buttons button {
  width: 300px;
  padding: 1.5rem 1.5rem;
  color: transparent; /* Hide text by default */
  border-style: solid;
}

/* Show text only on hover */
.nav-buttons button:hover {
  color: white;
  font-size: 1.2rem;
  text-shadow: 0 0 10px white;
}

/* === Animated Border Classes === */
.nav-buttons button.side-left,
.nav-buttons button.side-right {
  border-left: 2px solid white;
  border-right: 2px solid white;
}

.nav-buttons button.side-middle {
  border-top: 2px solid white;
  border-bottom: 2px solid white;
}

.nav-buttons button.alt-left,
.nav-buttons button.alt-right {
  border-top: 2px solid white;
  border-bottom: 2px solid white;
  border-left: 0 solid transparent;
  border-right: 0 solid transparent;
}

.nav-buttons button.alt-middle {
  border-left: 2px solid white;
  border-right: 2px solid white;
  border-top: 0 solid transparent;
  border-bottom: 0 solid transparent;
}

/* === Footer === */
.footer-buttons {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-buttons a {
  background: black;
  color: white;
  border: 2px solid white;
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  width: 160px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center; /* Vertically center the text */
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-buttons a:hover {
  text-shadow: 0 0 10px white;
}

/* === Title Afterglow Animation === */
@keyframes faint-pulse {
  0%, 100% {
    text-shadow:
      0 0 2px rgba(255, 255, 255, 0.1),
      0 0 5px rgba(255, 255, 255, 0.05);
  }
  50% {
    text-shadow:
      0 0 4px rgba(255, 255, 255, 0.2),
      0 0 8px rgba(255, 255, 255, 0.1);
  }
}


.analyze-button {
  display: none;
  margin-top: 3rem;
  padding: 1.2rem 3rem;
  font-size: 1.5rem;
  border: .1px solid #00aaff;
  border-radius: 8px;
  background: linear-gradient(145deg, #c0c0c0, #8f8f8f);
  color: #111;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 12px rgba(0, 170, 255, 0.2);
}

.analyze-button:hover {
  background: linear-gradient(145deg, #e0e0e0, #b0b0b0);
  color: #000;
  box-shadow: 0 0 18px rgba(0, 170, 255, 0.4);
}


/*Calendar stuff*/

.input-group-dates {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
}

.input-group-dates input[type="date"] {
  appearance: none;
  -webkit-appearance: none;
  width: 160px;
  height: 60px;
  padding: 0;
  font-size: 1rem;
  font-family: 'Orbitron', sans-serif;
  font-weight: 500;
  text-align: center;
  color: #cccccc;
  background: linear-gradient(135deg, #2e2e2e, #1c1c1c);
  border: 2px solid #00aaff;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow:
    inset 0 0 8px rgba(0, 255, 255, 0.05),
    0 0 8px rgba(0, 255, 255, 0.08);
}

.input-group-dates input[type="date"]:hover {
  box-shadow:
    0 0 12px rgba(0, 170, 255, 0.4),
    0 0 6px rgba(0, 255, 255, 0.2);
}


.input-group-dates {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.input-group-dates input {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  background: #111;
  border: 1px solid #00aaff;
  border-radius: 8px;
  color: #fff;
  width: 200px;
  text-align: center;
  cursor: pointer;
  transition: border 0.3s ease, background 0.3s ease;
}

.input-group-dates input:hover {
  border-color: #33ccff;
  background: #1a1a1a;
}
