/* Makes the canvas stick to (0, 0) */
/* html, body {
    margin: 0;
    padding: 0;
} */


/* Makes the canvas centered on the page */
canvas {
  padding: 0;
  margin: auto;
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

body {
  margin: 0;
  padding: 0;
  background-color: #000;
  font-family: 'Arial', sans-serif;
  color: white;
  overflow: hidden;
}

canvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
}

.header-logo {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 2;
  height: 160px;
  width: auto;
  object-fit: contain;
}

.play-button {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2;
  height: 40px;
  width: auto;
  cursor: pointer;
  transition: transform 0.3s ease;
  object-fit: contain;
}

.play-button:hover {
  transform: scale(1.1);
}

.ui-container {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: auto;
  padding: 8px;
}

.world-cards {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: nowrap;
  align-items: center;
}

.world-card {
  width: 100px;
  height: 140px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.world-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.world-card.active {
  border-color: #fff;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.world-card .character-img {
  width: 100%;
  height: 80px;
  border-radius: 4px;
  margin-bottom: 6px;
  object-fit: cover;
  background-position: center;
  background-size: cover;
  position: relative;
  overflow: hidden;
  opacity: 0.5;
}

.world-card .character-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.world-card:hover .character-img img {
  transform: scale(1.1);
}

.world-card h3 {
  margin: 0 0 2px 0;
  font-size: 12px;
  color: #fff;
}

.world-card p {
  margin: 0;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
}

.controls {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  background: rgba(0, 0, 0, 0.7);
  padding: 10px 20px;
  border-radius: 20px;
  backdrop-filter: blur(5px);
}

.camera-controls {
  position: relative;
  background: rgba(0, 0, 0, 0.7);
  padding: 8px;
  border-radius: 6px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 200px;
  height: 140px;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  margin-left: 8px;
}

.camera-controls .control-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  align-items: center;
}

.camera-controls label {
  color: white;
  font-size: 12px;
  opacity: 0.8;
  text-align: center;
}

.camera-controls input[type="range"] {
  width: 90%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  outline: none;
  -webkit-appearance: none;
}

.camera-controls input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.camera-controls input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.controls-info {
  color: white;
  font-size: 12px;
  opacity: 0.8;
  text-align: center;
  width: 100%;
}

.controls-info p {
  margin: 2px 0;
  text-align: center;
}

.controls-info p:first-child {
  opacity: 1;
  font-weight: bold;
  margin-bottom: 4px;
}

/* Add title for camera controls */
.camera-controls::before {
  content: "Explore Miles POV";
  color: white;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 8px;
  opacity: 1;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Remove minimap styles */