* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  font-family: Arial, sans-serif;
  background: radial-gradient(circle, #252525 0%, #050505 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  width: 100%;
  padding: 20px;
}

.logo-container {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.logo {
  width: 180px;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 0 12px rgba(57, 255, 20, 0.35));
}

.game-card {
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
  background: #111111;
  padding: 30px;
  border-radius: 24px;
  box-shadow: 0 0 35px rgba(255, 215, 0, 0.25);
}

h1 {
  color: #ffd700;
  margin-bottom: 10px;
}

p {
  color: #cccccc;
  margin-bottom: 25px;
}

.wheel-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto 25px;
}

canvas {
  width: 100%;
  height: auto;
  transition: transform 9s cubic-bezier(0.17, 0.67, 0.12, 0.99);
}

.pointer {
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-top: 35px solid #ffd700;

  filter: drop-shadow(0 0 10px gold);

  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

button {
  background: linear-gradient(
    180deg,
    #ffe600,
    #ffbf00
  );

  color: black;

  border: none;

  padding: 18px 40px;

  border-radius: 50px;

  font-size: 22px;

  font-weight: bold;

  cursor: pointer;

  box-shadow:
    0 0 20px rgba(255,215,0,.6);
}

button:hover {
  transform: scale(1.05);
  background: #ffcc00;
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

#result {
  margin-top: 25px;
  color: #ffd700;
  font-size: 22px;
}

@keyframes pointerTick {
  0% {
    transform: translateX(-50%) rotate(0deg);
  }

  50% {
    transform: translateX(-50%) rotate(12deg);
  }

  100% {
    transform: translateX(-50%) rotate(0deg);
  }
}

.pointer.spinning {
  animation: pointerTick 0.08s infinite;
}