body {
  background: linear-gradient(to bottom, #ffdde7, #fff);
  font-family: Arial, Helvetica, sans-serif;
  height: 100vh;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  width: 90%;
  max-width: 320px;
}

.scratch-container {
  position: relative;
  width: 100%;
  padding-top: 50%; /* mantiene proporción responsive */
  margin-top: 10px;
}

.scratch-message, canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.scratch-message {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  color: #333;
  pointer-events: none; /* evita conflictos al rascar */
}

canvas {
  border-radius: 8px;
  touch-action: none;
}
