:root {
  --fond: #1f1f1f;
  --texte: #f1f1f1;
  --accent: #FF9100;
}

body {
  margin: 0;
  background: var(--fond);
  font-family: 'Segoe UI', sans-serif;

display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.carte {
  background: #2a2a2a;
  color: var(--texte);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 0 20px rgba(255, 145, 0, 0.5);
  animation: slideUp 1s ease-in-out;
  width: 300px;
}

.logo {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
  animation: rotate 5s infinite linear;
}

button {
  margin-top: 10px;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.3s;
}

button:hover {
  transform: scale(1.1);
}

@keyframes slideUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes rotate {
  0% { transform: rotate(0); }
  100% { transform: rotate(360deg); }
}

body.light {
  --fond: #fff;
  --texte: #111;
  --accent: #004D99;
}
@media screen and (max-width: 500px) {
  .carte {
    width: 90%;
    padding: 20px;
  }

  .logo {
    width: 60px;
    height: 60px;
  }
}