* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  font-family: Arial, sans-serif;
  color: #e5f0ff;
  background: linear-gradient(135deg, #081029, #1f0f4a, #0d2f54);
  background-size: 200% 200%;
  animation: bg-shift 10s ease infinite;
  overflow: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
}

body::before {
  width: 280px;
  height: 280px;
  top: -60px;
  right: -40px;
  background: rgba(56, 189, 248, 0.35);
  animation: float-1 12s ease-in-out infinite alternate;
}

body::after {
  width: 320px;
  height: 320px;
  bottom: -120px;
  left: -70px;
  background: rgba(192, 132, 252, 0.35);
  animation: float-2 10s ease-in-out infinite alternate;
}

.game-card {
  width: min(92vw, 640px);
  padding: 1.5rem;
  border-radius: 16px;
  background: rgba(8, 16, 41, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
}

h1 {
  margin: 0 0 0.5rem;
}

p {
  margin-top: 0;
  color: #cbd5e1;
}

.hud {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.9rem;
  font-weight: 700;
}

.arena {
  position: relative;
  width: 100%;
  height: 320px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.85), rgba(30, 41, 59, 0.85));
  overflow: hidden;
}

.dot {
  position: absolute;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: radial-gradient(circle at 30% 30%, #fef08a, #f97316 55%, #dc2626);
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.8);
  transition: transform 100ms ease;
}

.dot:active {
  transform: scale(0.92);
}

.start-btn {
  margin-top: 1rem;
  width: 100%;
  padding: 0.75rem;
  border-radius: 10px;
  border: 0;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  cursor: pointer;
}

.start-btn:hover {
  filter: brightness(1.1);
}

@keyframes bg-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes float-1 {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(-50px, 60px);
  }
}

@keyframes float-2 {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(70px, -45px);
  }
}
