/* ---------- Variables ---------- */
:root {
  --bg: #101722;
  --text: #f1eee7;
  --blue: #829ba3;
  --font: "Jost", Arial, sans-serif;
}

/* ---------- Reset minimal ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font);
}

/* ---------- Page ---------- */
.page {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

/* Fond flouté (inset négatif : évite les bords vides dus au flou) */
.page::before {
  content: "";
  position: absolute;
  inset: -8px;
  z-index: -2;
  background: url("../images/fond.png") center / cover no-repeat;
  filter: blur(20px);
}

/* Voile sombre pour garder le texte lisible */
.page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgb(7 12 18 / .25), rgb(7 12 18 / .6));
}

/* ---------- Contenu ---------- */
.content {
  padding: 40px 24px 100px;
  text-align: center;
  animation: apparition .8s ease both;
}

.game-logo {
  display: block;
  width: min(520px, 78vw);
  height: auto;
  max-height: 32vh;
  margin-inline: auto;
  object-fit: contain;
  filter: drop-shadow(0 3px 20px rgb(0 0 0 / .5));
}

.message {
  margin: 10px 0 0;
  color: var(--blue);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgb(0 0 0 / .8);
}

/* ---------- Réseaux sociaux ---------- */
.socials {
  position: absolute;
  inset: auto 20px 26px;
  display: flex;
  justify-content: center;
  gap: 14px;
}

.social-link {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgb(241 238 231 / .45);
  border-radius: 50%;
  color: var(--text);
  background: rgb(10 16 24 / .3);
  transition: color .2s, background .2s, border-color .2s, transform .2s;
}

.social-link:hover {
  transform: translateY(-3px);
  border-color: var(--blue);
  color: var(--blue);
  background: rgb(10 16 24 / .7);
}

.social-link:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

.social-link svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

/* ---------- Animation ---------- */
@keyframes apparition {
  from { opacity: 0; transform: translateY(14px); }
}

@media (prefers-reduced-motion: reduce) {
  .content { animation: none; }
  .social-link { transition: none; }
}
