/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* BODY */
body {
  background: #0d0d0d;
  color: #fff;
  overflow: hidden;
}

/* TOP BAR */
#topBar {
  height: 60px;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  border-bottom: 1px solid #222;
}

#topBar button {
  background: #222;
  color: #fff;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

#topBar button:hover {
  background: #333;
}

#info {
  font-size: 16px;
  font-weight: bold;
}

/* GAME VIEW */
#gameView {
  position: relative;
  width: 100%;
  height: calc(100vh - 60px);
  overflow: hidden;
}

/* CANVAS */
#gameCanvas {
  width: 100%;
  height: 100%;
  display: block;
  background: radial-gradient(circle at center, #1a1a1a, #000);
}

/* FLOATING NAMES */
#floatingContainer {
  position: absolute;
  bottom: 20px;
  right: 20px;
  pointer-events: none;
}

/* ANIMATED NAME */
.floatingText {
  position: absolute;
  right: 0;
  bottom: 0;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  opacity: 1;
  animation: floatUp 2s ease-out forwards;
}

@keyframes floatUp {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-200px);
    opacity: 0;
  }
}


/* BOTON DE REGRESO */
#backBtn {
  color: #00ff99;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  padding: 6px 12px;
  border: 2px solid #00ff99;
  border-radius: 8px;
  transition: all 0.2s ease;
}

#backBtn:hover {
  background: #00ff99;
  color: #000;
}



/* BOTON DE PLAY INICIAL */
.bigPlayBtn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  padding: 22px 46px;
  font-size: 34px;
  font-weight: 900;
  border: none;
  border-radius: 18px;
  background: #ffffff;
  color: #111;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.bigPlayBtn:hover {
  transform: translate(-50%, -50%) scale(1.04);
}