/* 🌌 GLOBAL BODY SETTINGS */
body {
  background-color: #001f3f; /* Deep space blue */
  color: white;
  font-family: monospace;    /* Clean code font for ritual vibes */
  text-align: center;
  padding-top: 20vh;         /* Vertical offset for mobile spacing */
  margin: 0;                 /* Remove default spacing */
}

/* 🧠 TITLE HEADER – "Moxie’s Bones™" */
.title {
  font-size: 9vw;            /* Responsive size: mobile-first */
  text-shadow: 0 0 3px #00ffff, 0 0 6px #0077ff; /* Glowy neon */
  font-weight: bold;
}

/* 🎯 PRIMARY BUTTONS */
button {
  background-color: #4da6ff; /* Moxie Blue */
  color: white;
  padding: 14px 28px;
  font-size: 5vw;
  border: none;
  border-radius: 10px;
  margin-bottom: 2rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

/* 🌀 Button Interaction */
button:active,
button:focus {
  background-color: #4da6ff;
  outline: none;
}

/* 🎲 ROLL RESULT TEXT */
#resultText {
  font-size: 6vw;
  margin-top: 1rem;
}

/* NOT Related to Levels. Button to enter Moxies Bones DO NOT REMOVE */
.btn-link {
  display: inline-block;
  background-color: #4da6ff;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 5vw;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

/* 🎨 RARITY COLORS */
.common    { color: #bbb; }         /* Default */
.rare      { color: #4c9aff; }      /* Blue glow */
.epic      { color: #c57aff; }      /* Lavender flex */
.legendary {
  color: gold;
  font-weight: bold;
  text-shadow: 0 0 5px gold;
}

/* 🧹 FOOTER NAV */
footer {
  margin-top: 8rem;
}

.back-home {
  display: inline-block;
  margin-top: 2rem;
  text-decoration: none;
  color: #4da6ff;
  font-size: 4.5vw;
  font-weight: bold;
  transition: color 0.2s ease;
}

.back-home:hover {
  color: #ffffff;
}

/* 💭 Subtext under "Back to Dojo" */
.back-sub {
  font-size: 3.5vw;
  color: #bbbbbb;
  margin-top: 0.5rem;
  text-align: center;
  font-style: italic;
}

/* 🧼 Reset Message Style */
.xp-reset-msg {
  font-size: 5vw;
  color: #bbbbbb;
  margin-top: 5rem;
  font-style: italic;
}

/* 🦴 Bone Count and Controls */
.token-controls {
  font-size: 5vw;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}