html, body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: "Trebuchet MS", system-ui, sans-serif;
  background: radial-gradient(circle at 50% 30%, #111826, #070a0f 70%);
  color: #fff;
}

#info {
  position: fixed;
  inset: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
#Logo {
  position: fixed;
  top: 20px;
  left: 1%;
  z-index: 10; 
  margin: 0;
  font-size: 32px;
}
#info img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#map {
  position: absolute;
  width: 120px;
  height: 180px;
  bottom: 24px;
  right: 24px;
  z-index: 5;
  transform-origin: bottom right;
  transition: all 220ms ease;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 18px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

#map:hover,
#map.isHovered {
  width: 320px;
  height: 420px;
  transform: scale(1.02);
  background: rgba(255, 255, 255, 0.08);
}

#stats {
  display: flex;
  gap: 14px;
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  transition: all 250ms ease;
}

.StatDisplay {
  padding: 12px 18px;
  font-size: 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
    transition: all 300ms linear;

}

#OptionsDiv {
  display: flex;
  gap: 14px;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}

#NewRoundBTN {
  padding: 10px 18px;
  font-size: 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03));
  color: rgba(255,255,255,0.9);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 180ms ease;
}

#NewRoundBTN:not(:disabled) {
  cursor: pointer;
}

#NewRoundBTN:not(:disabled):hover {
  transform: translateY(-2px) scale(1.03);
  background: linear-gradient(135deg, rgba(255,255,255,0.16), rgba(255,255,255,0.05));
}

#NewRoundBTN:disabled {
  opacity: 0.4;
  filter: grayscale(0.6);
  cursor: not-allowed;
}

#stats.centered {
  bottom: 50%;
  transform: translate(-50%, 50%) scale(1.05);
}

#RightHandInfo {
  position: fixed;
  top: 5px;
  right: 1%;
  z-index: 10; 
  margin: 0;

}
#RightHandInfo.h1 {
  font-size: 12px;

}
.endScreen {
  transform:translateX(-140vw);
  transition: all 300ms linear;
}
#TotalPointsDisplay.endScreen {
    transform:translateX(-10vw) !important;
    font-size: 50px;

}
@media (max-width: 768px) {

  #map {
    width: 110px;
    height: 160px;
    bottom: 14px;
    right: 14px;
  }

  #map.isHovered,
  #map:hover {
    width: min(92vw, 360px);
    height: min(55vh, 500px);
  }

  #stats {
    bottom: 80px;
    gap: 8px;
    padding: 0 10px;
    flex-wrap: wrap;
  }

  .StatDisplay {
    font-size: 14px;
    padding: 10px 12px;
  }

  #OptionsDiv {
    bottom: 12px;
    width: 100%;
    padding: 0 10px;
  }

  #NewRoundBTN {
    width: 100%;
    max-width: 360px;
    font-size: 16px;
    min-height: 48px;
  }

  #Logo {
    font-size: 24px;
  }

  #RightHandInfo {
    top: 10px;
    right: 10px;
  }
}

@media (max-width: 480px) {

  #map {
    width: 90px;
    height: 130px;
    bottom: 10px;
    right: 10px;
  }
  #info {
    overflow: auto;
  }

  #info img {
    width: 150%;
    height: 150%;
    max-width: none;
    max-height: none;
  }
  #stats {
    bottom: 70px;
    gap: 6px;
  }

  .StatDisplay {
    font-size: 12px;
    padding: 8px 10px;
  }

  #NewRoundBTN {
    font-size: 15px;
    min-height: 46px;
  }

  #Logo {
    font-size: 20px;
  }
}
