/* ======================== */
/* RESET & GLOBAL */
/* ======================== */
body, html {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  font-family: Arial, sans-serif;
  min-height: 100vh;
  transition: background-color 0.9s ease, color 0.9s ease;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ======================== */
/* Button Level */
/* ======================== */
.border-box {
  border: 3px solid #333;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
  width: 80%;
  max-width: 300px;
  min-width: 300px;
  transition: border-color 0.5s ease;
}

.border-box h1 {
  margin-top: 3px;
  font-size: 25px;
  font-weight: 900;
  padding: 10px;
}

.level-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.level-btn {
  padding: 12px 25px;
  border: 2px solid #222;
  border-radius: 10px;
  background: #fff;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  color: #222;
}

.level-btn:hover,
.level-btn.active {
  background: #222;
  color: white;
}

/* ======================== */
/* DARK MODE */
/* ======================== */
body.dark {
  background-color: #121212;
  color: white;
}

body.dark .border-box {
  border-color: #00ff00;
  background: rgba(30, 30, 30, 0.9);
}

body.dark .level-btn {
  background: #1e1e1e;
  color: white;
  border-color: #00ff00;
  -webkit-text-stroke: 0px #00ff00;
  text-shadow: 0 0 1px #00ff00;
}

body.dark .level-btn:hover {
  background: #00ff00;
  color: #000;
}