body {
  margin: 0;
  padding: 20px;
  font-family: Arial, sans-serif;
  background: #0f172a;
  color: white;
  text-align: center;
}

h1 {
  font-size: 2rem;
  margin-bottom: 25px;
}

.coin-container {
  width: 150px;
  height: 150px;
  margin: 20px auto;
}

.coin-container img {
  width: 100%;
}

.spin {
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}

button {
  padding: 12px 30px;
  font-size: 1.1rem;
  background: gold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.result {
  margin-top: 25px;
  font-size: 1.2rem;
}

@media (max-width: 480px) {
  .coin-container {
    width: 120px;
    height: 120px;
  }
}
