* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
  font-family: sans-serif;
  position: relative;
  overflow: hidden;
}

body::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: url("img/bckg.jpg") no-repeat center center fixed;
  background-size: cover;
  filter: blur(4px); /* ≈ 20% flou visuel */
  z-index: -1;
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.container {
  padding: 2rem;
  z-index: 1;
  text-shadow: 1px 1px 4px black;
}


h1 {
  font-size: 3rem;
}

p {
  font-size: 1.2rem;
}

.logo {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin-bottom: 1rem;
  image-rendering: pixelated;
}

.credits {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size: 15px !important; /* force l’application */
  color: rgba(255, 255, 255, 0.5);
  text-shadow: 1px 1px 2px black;
  font-style: italic;
  z-index: 10;
}


footer a {
  color: rgba(255, 255, 255, 1);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
  color: white;
}

.button-group {
  margin-top: 1.5rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 0.5rem 1rem;
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: background 0.3s, transform 0.2s;
  backdrop-filter: blur(3px);
}

.btn:hover {
  background-color: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
  border-color: white;
}

.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  pointer-events: none;
  z-index: 100;
}

.toast.visible {
  opacity: 1;
}

.corner-icon {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 999;
  display: block;
  width: 40px;
  height: 40px;
}

.corner-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.corner-icon:hover img {
  transform: scale(1.1);
}
