/* Base page */
html, body {
  height: 100%;
}
body {
  margin: 0;
  background-color: #383236;
}

/* Centre le contenu verticalement et horizontalement */
main.center {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: #f4f2f5;
}

/* Panneau translucide avec légère bordure et ombre */
.panel {
  width: min(720px, 100%);
  background: rgba(34, 32, 35, 0.72);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  padding: 24px 28px;
}

.panel h1 {
  margin: 0 0 8px 0;
  font-size: 1.8rem;
}

.panel p {
  margin: 0 0 16px 0;
  line-height: 1.5;
}

.panel button {
  margin-top: 8px;
  padding: 10px 14px;
  background: #7b5dfc;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.panel button:hover {
  background: #6a4ce6;
}

/* Layer 1: blurred background that fills edges */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url('logo.webp') center / cover no-repeat, #383236;
  filter: blur(28px) saturate(1.08);
  transform: scale(1.05); /* hide edges after blur */
  opacity: 0.2;
  pointer-events: none;
  z-index: -2;
}

/* Layer 2: crisp centered logo above */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: url('logo.webp') center / contain no-repeat;
  opacity: 0.4;
  pointer-events: none;
  z-index: -1;
}