
.terminal {
    --color: rgba(0, 200, 150, 0.99);
    --animation: terminal-glow;
    --glow: 1;
}
:root {
    --size: 1.4;
    --font: msdos;
}
@font-face {
    font-family: msdos;
    src: url("https://cdn.jsdelivr.net/gh/jcubic/static/assets/dos-vga.ttf");
}
.preloader {
    font-family: msdos;
}
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* The main overlay container */
#fullscreen-prompt {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85); /* Dark semi-transparent backdrop */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  font-family: monospace;
}

/* The box containing the message and button */
.prompt-box {
  background-color: #0d0d0d;
  padding: 2em 3em;
  text-align: center;
  max-width: 400px;
  /* The border will be a close match, but a separate gradient instance */
  border: 1px solid transparent;
  border-image: linear-gradient(to right, #0077ff, #00ff8a) 1;
}

/* --- Gradient Text Styling --- */
.prompt-box h2, .prompt-box p {
  background: linear-gradient(to right, #0077ff, #00ff8a);
  background-attachment: fixed; /* This is the magic property! */
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.prompt-box h2 {
  margin-top: 0;
}

/* --- New Button Styling --- */

/* Default "Outlined" State for both buttons */
.prompt-box button {
  padding: 12px 24px;
  font-size: 1em;
  font-weight: bold;
  font-family: monospace;
  cursor: pointer;
  margin: 1em 0.5em 0; /* Vertical and horizontal margin */
  
  /* The gradient for the text and outline */
  background: linear-gradient(to right, #0077ff, #00ff8a);
  background-attachment: fixed; /* This makes the gradient seamless */
  
  /* Create the gradient text */
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  
  /* Create the gradient border (will be a separate instance but visually close) */
  border: 1px solid;
  border-image: linear-gradient(to right, #0077ff, #00ff8a) 1;
  
  /* Smooth transition for the hover effect */
  transition: all 0.3s ease-in-out;
}

/* "Filled" State on Hover */
.prompt-box button:hover {
  /* Fill the background with the same fixed gradient */
  background: linear-gradient(to right, #0077ff, #00ff8a);
  background-attachment: fixed;
  
  /* Reset the background-clip and set a solid text color */
  background-clip: border-box; /* Default value */
  color: #ffffff; /* White text for contrast */
}