body {
  font-family: 'Fredoka', Arial, sans-serif;
  background-color: #fff7e6;
  text-align: center;
  padding: 100px 20px;
}

h1 {
  font-size: 2.5em;
  color: #c28700;
  margin-bottom: 40px;
}


button {
  font-size: 24px;
  padding: 18px 40px;
  background: linear-gradient(to bottom, #fddb3a, #fcca00);
  color: #4b2600;
  border: 4px solid #ff9800;
  border-radius: 20px;
  box-shadow: 0 8px 0 #c28700, 0 12px 20px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
  font-weight: bold;
  letter-spacing: 1px;
}


button::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 70%);
  transform: rotate(45deg);
  transition: all 0.5s ease;
  pointer-events: none;
}

button:hover::before {
  top: -20%;
  left: -20%;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

button:hover {
  transform: translateY(-5px) scale(1.05);
  animation: pulse 0.4s ease-in-out;
  box-shadow: 0 10px 0 #a86d00, 0 14px 30px rgba(0, 0, 0, 0.3);
  filter: brightness(1.1);
}

button:active {
  transform: translateY(4px);
  box-shadow: 0 3px 0 #a86d00;
}

.fade-out {
  animation: disappear 0.4s ease forwards;
}

@keyframes disappear {
  to {
    opacity: 0;
    transform: scale(0.96);
  }
}


@media (max-width: 600px) {
  body {
    padding: 20px 10px;
  }



  p {
    font-size: 1.6em;
  }

  .gobelets {
    margin: 40px 0;
  }

  .gobelet {
    width: 130px;
    height: 180px;
    border-width: 5px;
    border-radius: 15px;
  }

  .boule {
    width: 40px;
    height: 40px;
  }

  .message {
    font-size: 26px;
    padding: 10px 0;
  }

  button {
    padding: 20px 40px;
    font-size: 22px;
    border-radius: 14px;
    margin-top: 20px;
  }

  .emoji-anim {
    font-size: 4.5em;
    margin-top: 15px;
  }

  .compteur {
    font-size: 22px;
    margin-top: 25px;
  }
}
