/* ========== Global ========== */
body {
  background: url('../img/background.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #eee;
  display: flex;
  font-family: sans-serif;
  height: 100vh;
  justify-content: center;
  margin: 0;
  align-items: center;
}

/* ========== Container ========== */
.container {
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 2rem;
  padding: 1rem;
  position: relative;
  text-align: center;
}
.container a button {
  background: transparent;
  border: 1px solid #67f3da;
  color: #67f3da;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}
.container a button:hover {
  background: #67f3da;
  color: black;
}

/* ========== Forms & Inputs ========== */
form input,
form button {
  border: none;
  border-radius: 0.5rem;
  display: block;
  margin: 0.5rem auto;
  padding: 0.5rem;
  width: 60%;
}
form button {
  background: #67f3da;
  color: black;
  cursor: pointer;
}

/* ========== Push Button Animation ========== */
.push-btn:active {
  filter: brightness(85%);
  transform: scale(0.98);
}









/* ========== Container 2 ========== */

.container2 {
  margin-bottom: 1.2rem;
  padding: 0.8rem;
  background-color: #080808;
  border-radius: 8px;
  border: 1px solid #67f3da;
}

/* ========== Tools Section ========== */
#tools label,
#tools select,
#tools input,
#tools button {
  display: block;
  font-size: 1rem;
  margin: 10px auto;
  max-width: 300px;
  padding: 0.5rem;
  width: 80%;
}
#tools .result {
  font-weight: bold;
  margin-top: 1rem;
  text-align: center;
}

/* ========== Level Selector Buttons ========== */
.level-button-group {
  text-align: center;
  margin: 1rem 0;
}
.level-row {
  display: flex;
  justify-content: center;
  gap: 0.3rem;
  margin: 0.2rem 0;
}
.level-row button {
  width: 50px;
  height: 43px;
  font-size: 0.9rem;
  font-family: monospace;
  background: #222;
  color: #67f3da;
  border: 1px solid #000000;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;

  clip-path: polygon(
    25% 0%, 75% 0%, 
    100% 50%, 75% 100%, 
    25% 100%, 0% 50%
  );

  display: flex;               /* Use flexbox */
  justify-content: center;     /* Center horizontally */
  align-items: center;         /* Center vertically */
  user-select: none;
  box-sizing: border-box;
  padding: 0;
  border-radius: 0;
}
.level-row button:hover {
  background: #ffffff;
  color: black;
  box-shadow: 0 0 8px 2px rgba(103, 243, 218, 0.7);
}
.level-row button.selected {
  background: #67f3da;
  color: black;
}

/* ========== Dropdown / Input Style ========== */
select#clear,
input#score {
  background-color: #333;
  color: #67f3da;
  border: 1px solid #555;
  padding: 0.4rem;
  font-family: monospace;
  border-radius: 10px;
  width: 40%;
}
select#clear:focus,
input#score:focus {
  outline: none;
  border-color: #67f3da;    /* Highlight on focus */
  box-shadow: 0 0 5px rgba(103, 243, 218, 0.5);
}

/* ========== Volforce Result Glow ========== */
.pulse-glow {
  animation: pulseGlow 0.3s ease-in-out;
}
@keyframes pulseGlow {
  0% {
    text-shadow: 0 0 0px #67f3da;
  }
  50% {
    text-shadow: 
      0 0 4px #67f3da,
      0 0 8px #67f3da,
      0 0 12px #67f3da;
  }
  100% {
    text-shadow: 0 0 0px #67f3da;
  }
}

/* ========== Score Presets ========== */
.score-presets {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-bottom: 0.3rem;
}

.score-presets button {
  font-size: 0.6rem;
  padding: 0; /* remove padding to simplify centering */
  min-width: 32px;
  height: 20px;
  line-height: 0px; /* match button height */
  text-align: center;

  display: inline-block; /* or flex if you prefer */
  background-color: #222;
  color: #67f3da;
  border: 1px solid #444;
  font-family: monospace;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.score-presets button:hover {
  background-color: #67f3da;
  color: black;
  transform: scale(1.05);
}