/* Global reset and base styles */
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  font-family: 'Courier New', Courier, 'Lucida Console', monospace;
  font-size: 14px;
  font-style: normal;
  font-weight: normal;
  text-align: center;
  background-color: #000;
  color: #e6f2ff;
}

/* Global Hyperlink Styling */
a, a:visited {
  color: #66b2ff;
  text-decoration: none;
  border-bottom: 1px dotted #66b2ff;
  transition: all 0.2s ease;
}

a:hover, a:focus {
  color: #ffffff;
  text-shadow: 0 0 6px #0080ff;
  border-bottom: 1px solid #ffffff;
}

/* Ensure main content doesn't go full width */
main {
  max-width: 700px;
  width: 100%;
  background-color: transparent;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* H2 font styling */
h2 {
  font-family: 'Courier New', Courier, 'Lucida Console', monospace;
  font-size: 20px;
  color: #0080ff;
  text-shadow: 0 0 6px #0080ff, 0 0 12px #0080ff;
}

/* Image styling */
img {
  border: 2px solid grey;
  border-radius: 2px;
  margin: 20px 0;
  max-width: 100%;
  height: auto;
  box-shadow: 0 0 7px #0080ff, 0 0 14px #0080ff, 0 0 21px #0080ff;
}

/* Form container */
details {
  margin-top: 15px;
  background-color: #333;
  padding: 10px;
  border: 1px solid #0080ff;
  border-radius: 10px;
  display: inline-block;
  text-align: left;
  color: #e6f2ff;
  box-shadow: 0 0 12px rgba(0, 128, 255, 0.4);
}

/* Clickable summary */
summary {
  font-weight: bold;
  cursor: pointer;
  padding: 6px 12px;
  background-color: #111;
  color: #0080ff;
  border: 1px solid #0080ff;
  border-radius: 3px;
  box-shadow: 0 0 8px #0080ff;
  transition: all 0.3s ease;
}

summary:hover {
  background-color: #000;
  box-shadow: 0 0 12px #0080ff;
}

/* Form layout */
form {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

/* Input fields */
input[type="text"],
input[type="email"],
textarea {
  padding: 5px;
  border: 1px solid #555;
  border-radius: 3px;
  background-color: #ccc;
  color: #000;
  font-family: 'Courier New', Courier, 'Lucida Console', monospace;
  font-size: 12px;
}

/* Submit button */
input[type="submit"] {
  background-color: #0080ff;
  color: #000;
  font-family: 'Courier New', Courier, 'Lucida Console', monospace;
  font-weight: bold;
  border: none;
  border-radius: 3px;
  padding: 6px;
  cursor: pointer;
}

input[type="submit"]:hover {
  background-color: #0080ff;
  color: #222;
}

/* Move honeypot off-screen instead of display:none so bots still fill it */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
  z-index: -1;
}

/* Navigation Button (Gate & Dossier) */
.enter-btn {
  margin-top: 18px;
  display: inline-block;
  font-weight: bold;
  text-decoration: none;
  padding: 6px 16px;
  background-color: #111;
  color: #0080ff;
  border: 1px solid #0080ff;
  border-radius: 3px;
  box-shadow: 0 0 8px #0080ff;
  transition: all 0.3s ease;
}

.enter-btn:hover {
  background-color: #000;
  color: #e6f2ff;
  border-bottom: 1px solid #0080ff;
  box-shadow: 0 0 12px #0080ff;
}

/* Static box matching contact form background and border */
.static-box {
  margin-top: 15px;
  background-color: #333;
  padding: 10px;
  border: 1px solid #0080ff;
  border-radius: 10px;
  display: inline-block;
  text-align: center;
  box-shadow: 0 0 12px rgba(0, 128, 255, 0.4);
}

.static-box .enter-btn {
  margin-top: 0;
}

/* Dossier Terminal Container */
.dossier-box {
  margin-top: 15px;
  background-color: #333;
  padding: 15px;
  border: 1px solid #0080ff;
  border-radius: 10px;
  max-width: 650px;
  width: 90%;
  box-sizing: border-box;
  text-align: left;
  color: #e6f2ff;
  line-height: 1.6;
  box-shadow: 0 0 12px rgba(0, 128, 255, 0.4);
}

.dossier-lead {
  border-bottom: 1px dashed #555;
  padding-bottom: 10px;
  margin-top: 0;
  color: #e6f2ff;
  font-size: 13px;
}

.status-active {
  color: #e6ffed;
  font-weight: bold;
  text-shadow: 0 0 5px #00ff66, 0 0 10px #00ff66;
}

.dossier-box h3 {
  color: #66b2ff;
  font-size: 15px;
  margin-top: 20px;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  text-shadow: 0 0 4px rgba(0, 128, 255, 0.5);
}

.dossier-box ul {
  padding-left: 18px;
  margin: 8px 0;
}

.dossier-box li {
  margin-bottom: 8px;
}

.dossier-box strong {
  color: #fff;
}

/* Copyright text and footer */
#copyright,
footer {
  font-family: 'Courier New', Courier, 'Lucida Console', monospace;
  font-size: 14px;
  margin-top: 20px;
  margin-bottom: 20px;
  text-align: center;
  color: #0080ff;
  text-shadow: 0 0 6px #0080ff, 0 0 12px #0080ff;
}