/*!******************************************************************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./src/scss/index.scss ***!
  \******************************************************************************************************************************************/
/* CSS Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  line-height: 1.5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Stats UI */
#stats-ui {
  position: fixed;
  top: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.7);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  padding: 12px;
  min-width: 200px;
  max-width: 220px;
  font-family: "Courier New", monospace;
  color: #fff;
  backdrop-filter: blur(5px);
  z-index: 1000;
  pointer-events: auto;
}

.stat-bar {
  margin-bottom: 12px;
}
.stat-bar:last-child {
  margin-bottom: 0;
}
.stat-bar.compact {
  margin-bottom: 8px;
}
.stat-bar.compact label {
  font-size: 10px;
  margin-bottom: 3px;
}
.stat-bar.compact .bar-container {
  height: 14px;
}
.stat-bar.compact .stat-value {
  font-size: 9px;
}
.stat-bar label {
  display: block;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 4px;
  letter-spacing: 1px;
}
.stat-bar .bar-container {
  position: relative;
  width: 100%;
  height: 20px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 2px;
}
.stat-bar .bar-fill {
  height: 100%;
  transition: width 0.3s ease;
  position: relative;
}
.stat-bar .bar-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.2) 100%);
}
.stat-bar .health-bar {
  background: linear-gradient(90deg, #dc143c 0%, #ff6347 100%);
}
.stat-bar .stamina-bar {
  background: linear-gradient(90deg, #228b22 0%, #32cd32 100%);
}
.stat-bar .stat-value {
  display: block;
  text-align: right;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}

/* Minimap */
#minimap-canvas {
  position: fixed;
  top: 20px;
  right: 20px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  pointer-events: none;
  image-rendering: crisp-edges;
  image-rendering: -moz-crisp-edges;
  image-rendering: pixelated;
}
