* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  word-wrap: break-word;
}

html, body {
  overflow-x: hidden;
}

body {
  font-family: "sarvatrik-latin-variable", sans-serif;
  background: linear-gradient(135deg, #dfe9f3 0%, #ffffff 100%);
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.container {
  text-align: center;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 0 0 20px 20px;
  padding: 40px 30px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0px;
}

.logo-placeholder {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0px;
}

.logo-placeholder img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 20px 20px 0 0;
}

.name {
  font-family: "nave", sans-serif;
  font-weight: 700;
  font-size: 2.8rem;
  color: #222;
  text-transform: uppercase;
  margin-top: 0px;
  margin-bottom: 20px;
}

main h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: #1a1a1a;
}

main p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.loader {
  width: 60px;
  height: 60px;
  border: 6px solid #ddd;
  border-top: 6px solid #8C00FF;
  border-radius: 50%;
  margin: 20px auto;
  animation: spin 1.5s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

footer {
  margin-top: 20px;
  font-size: 0.9rem;
  line-height: 1.6;
}

footer a {
  color: #8C00FF;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

footer .copyright {
  margin-top: 10px;
  color: #777;
  font-size: 0.8rem;
}

h3 {
  margin-top: 20px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .container {
    padding: 30px 20px;
    max-width: 100%;
    margin: 0;
  }

  .name {
    font-size: 2.2rem;
  }

  main h2 {
    font-size: 1.4rem;
  }

  main p {
    font-size: 0.95rem;
  }

  .loader {
    width: 50px;
    height: 50px;
    border-width: 5px;
  }
}

@media (max-width: 480px) {
  /* Supprime le container sur mobile */
  .container {
    background: none;
    box-shadow: none;
    backdrop-filter: none;
    padding: 20px 10px;
  }

  .name {
    font-size: 1.8rem;
  }

  main h2 {
    font-size: 1.2rem;
  }

  main p {
    font-size: 0.9rem;
  }

  .loader {
    width: 40px;
    height: 40px;
    border-width: 4px;
  }
}
