
body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(120deg, #050510, #0b0f2e);
  font-family: Arial, sans-serif;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page {
  width: 370px;
  text-align: center;
  background-color: rgba(15, 15, 35, 0.95);
  padding: 25px;
  border-radius: 18px;
  box-shadow: 0 0 50px rgba(124, 124, 255, 0.6);
}

h1 {
  color: #7c7cff;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.subtitle {
  color: #aaa;
  font-size: 14px;
  margin-bottom: 20px;
}

.card {
  background-color: #11162a;
  margin: 15px 0;
  padding: 12px;
  border-radius: 12px;
  box-shadow: inset 0 0 10px #000;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(124, 124, 255, 0.6);
}

.card img {
  width: 100%;
  border-radius: 12px;
  margin-top: 8px;
  box-shadow: 0 0 15px rgba(124,124,255,0.6);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(124,124,255,1);
}

h2 {
  color: #7c7cff;
  margin-bottom: 8px;
}

button {
  margin-top: 20px;
  padding: 12px 30px;
  border-radius: 30px;
  border: none;
  background-color: #7c7cff;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 0 25px rgba(124, 124, 255, 0.8);
  transition: transform 0.2s, box-shadow 0.2s;
}

button:hover {
  transform: scale(1.1);
  box-shadow: 0 0 35px rgba(124, 124, 255, 1);
}

.achat-message {
  color: #7cff7c;
  font-weight: bold;
  margin-top: 10px;
  opacity: 0;
  animation: fadeInOut 2s forwards;
}

@keyframes fadeInOut {
  0% { opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { opacity: 0; }
}
