/* Dog what are you even doing here stop looking */
@font-face {
  font-family: "Lucida Console";
  src: url("../font/lucon.ttf");
}

@font-face {
  font-family: "UTfont";
  src: url("../font/pixel.ttf");
}

/* Base styles */
body,
html {
  margin: 0;
  padding: 0;
  font-family: 'Lucida Console', Arial, sans-serif;
  font-size: 14px;
  color: #56D9EE;
  text-shadow: 0 0 5px #56D9EE, 0 0 10px #56D9EE;
  background-color: #111;
  line-height: 1.6;
}

body {
  padding: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

body.no-glow {
  text-shadow: none;
}

body.no-glow * {
  text-shadow: none !important;
}

/* Headers */
h1, h2, h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  text-align: center;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 1.8rem;
  margin-top: 2rem;
}

h3 {
  font-size: 1.5rem;
  margin-top: 1.5rem;
}

/* Header section */
header {
  margin-bottom: 2rem;
  border-bottom: 1px solid #56D9EE;
  padding-bottom: 1rem;
}

/* Instructions section */
.instructions {
  max-width: 800px;
  margin: 1.5rem auto;
  padding: 1rem;
  border: 1px solid #56D9EE;
  border-radius: 4px;
  background-color: rgba(86, 217, 238, 0.1);
}

.instructions ul {
  text-align: left;
  padding-left: 2rem;
}

.instructions li {
  margin-bottom: 0.5rem;
}

/* Calculator form */
.calculator-form {
  margin-bottom: 2rem;
}

.input-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.input-field {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 250px;
  max-width: 400px;
}

.input-field label {
  margin-bottom: 0.5rem;
  font-weight: bold;
}

/* Checkboxes and special inputs */
.checkbox-field {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.checkbox-field input[type="checkbox"] {
  width: auto;
  height: auto;
  margin: 0.5rem 0;
}

/* Example values */
.example-value {
  font-size: 0.9rem;
  min-height: 1.5rem;
  padding: 0.2rem 0;
  margin: 0.5rem 0;
  color: rgba(86, 217, 238, 0.8);
}

/* Form elements */
input, select, button {
  width: 100%;
  height: auto;
  background-color: #111;
  border: 2px solid #56D9EE;
  padding: 10px;
  color: #56D9EE;
  text-shadow: 0 0 5px #56D9EE, 0 0 10px #56D9EE;
  font-family: 'UTfont', monospace;
  text-align: center;
  margin-bottom: 0.5rem;
  border-radius: 4px;
  font-size: 1rem;
}

input::placeholder {
  color: #af0000;
}

button {
  cursor: pointer;
  font-family: 'Lucida Console', monospace;
  transition: all 0.2s ease;
  padding: 15px;
  font-weight: bold;
  font-size: 1.2rem;
  margin-top: 1rem;
}

button:hover {
  background-color: rgba(86, 217, 238, 0.1);
}

button:active {
  background-color: #56D9EE;
  color: black;
  border-color: black;
}

.button2 {
  padding: 8px;
  font-size: 0.9rem;
  width: auto;
  display: inline-block;
  margin: 0.5rem auto;
}

/* Results section */
.results {
  padding: 1.5rem;
  border: 1px solid #56D9EE;
  border-radius: 4px;
  background-color: rgba(86, 217, 238, 0.05);
  margin-bottom: 2rem;
}

.results ul {
  text-align: left;
  padding-left: 1.5rem;
}

.results li {
  margin-bottom: 0.8rem;
  line-height: 1.5;
}

.error {
  color: #ff5555;
  text-shadow: 0 0 5px #ff5555, 0 0 10px #ff5555;
}

/* Footer */
footer {
  font-size: 0.9rem;
  text-align: center;
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid #56D9EE;
  opacity: 0.7;
}

/* Special text effects */
.rgb {
  text-shadow: 0 0 5px rgb(86, 217, 238), 0 0 10px rgb(86, 217, 238), 0 0 30px rgb(86, 217, 238);
  color: rgb(86, 217, 238);
  animation: chroma-animation 5s infinite;
}

@keyframes chroma-animation {
  0%, 100% {
    text-shadow: 0 0 5px rgb(255, 0, 0), 0 0 10px rgb(255, 0, 0), 0 0 30px rgb(255, 0, 0);
    color: rgb(255, 0, 0);
  }
  16% {
    text-shadow: 0 0 5px rgb(255, 0, 255), 0 0 10px rgb(255, 0, 255), 0 0 30px rgb(255, 0, 255);
    color: rgb(255, 0, 255);
  }
  33% {
    text-shadow: 0 0 5px rgb(0, 0, 255), 0 0 10px rgb(0, 0, 255), 0 0 30px rgb(0, 0, 255);
    color: rgb(0, 0, 255);
  }
  50% {
    text-shadow: 0 0 5px rgb(0, 255, 255), 0 0 10px rgb(0, 255, 255), 0 0 30px rgb(0, 255, 255);
    color: rgb(0, 255, 255);
  }
  66% {
    text-shadow: 0 0 5px rgb(0, 255, 0), 0 0 10px rgb(0, 255, 0), 0 0 30px rgb(0, 255, 0);
    color: rgb(0, 255, 0);
  }
  83% {
    text-shadow: 0 0 5px rgb(255, 255, 0), 0 0 10px rgb(255, 255, 0), 0 0 30px rgb(255, 255, 0);
    color: rgb(255, 255, 0);
  }
}

/* Universe color themes */
.UnderTale {
  text-shadow: 0 0 5px #737373, 0 0 10px #737373;
  color: #737373;
}

.UnderFell {
  text-shadow: 0 0 5px #cf2323, 0 0 10px #cf2323;
  color: #cf2323;
}

.OuterTale {
  text-shadow: 0 0 5px #0534b3, 0 0 10px #0534b3;
  color: #0534b3;
}

.UnderSwap {
  text-shadow: 0 0 5px #fca503, 0 0 10px #fca503;
  color: #fca503;
}

.XTale {
  text-shadow: 0 0 5px #b516b8, 0 0 10px #b516b8;
  color: #b516b8;
}

.LostHall {
  text-shadow: 0 0 5px #3d8f14, 0 0 10px #3d8f14;
  color: #3d8f14;
}

.Abyss {
  text-shadow: 0 0 5px #702963, 0 0 10px #702963;
  color: #702963;
}

/* Special elements */
.level-color {
  text-shadow: 0 0 5px red, 0 0 10px red;
  color: red;
}

.gem-color {
  text-shadow: 0 0 5px purple, 0 0 10px purple;
  color: purple;
}

.timelines-color {
  text-shadow: 0 0 5px #ffee00, 0 0 10px #ffee00;
  color: #ffee00;
}

.dust-color {
  text-shadow: 0 0 5px #474747, 0 0 10px #474747;
  color: #474747;
}

/* Responsive styles */
@media (max-width: 768px) {
  body {
    padding: 10px;
  }
  
  .input-group {
    flex-direction: column;
    align-items: center;
  }
  
  .input-field {
    width: 100%;
    max-width: none;
  }
  
  h1 {
    font-size: 2rem;
  }
}

/* Dropdown styles */
.dropdown-container {
  position: relative;
  display: inline-block;
  width: 100%;
}

.dropdown-button {
  background-color: #2a2a2a;
  color: #fff;
  padding: 10px;
  border: 1px solid #444;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  text-align: left;
  font-family: "Lucida Console", monospace;
  font-size: 16px;
  transition: all 0.3s ease;
}

.dropdown-button:hover {
  background-color: #3a3a3a;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #2a2a2a;
  min-width: 200px;
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #444;
  border-radius: 4px;
  z-index: 1000;
  padding: 10px;
}

.dropdown-content.show {
  display: block;
}

.dropdown-content label {
  display: block;
  padding: 8px;
  cursor: pointer;
  color: #fff;
  font-family: "Lucida Console", monospace;
  font-size: 14px;
  transition: all 0.3s ease;
}

.dropdown-content label:hover {
  background-color: #3a3a3a;
}

.dropdown-content input[type="checkbox"] {
  margin-right: 8px;
}

.universe-group {
  margin-bottom: 10px;
}

.difficulty-options {
  margin-left: 20px;
  padding-left: 10px;
  border-left: 1px solid #444;
}

/* Scrollbar styles for dropdown */
.dropdown-content::-webkit-scrollbar {
  width: 8px;
}

.dropdown-content::-webkit-scrollbar-track {
  background: #2a2a2a;
}

.dropdown-content::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 4px;
}

.dropdown-content::-webkit-scrollbar-thumb:hover {
  background: #555;
}