*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  background-color: #0d0d0d;
  background-image: url(/img/bg-pattern.png);
  background-size: 512px;
  animation: bg-slide 12s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes bg-slide {
  from { background-position: 0 0; }
  to   { background-position: 512px 512px; }
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  padding: 2rem;
}

.logo {
  max-width: min(480px, 90vw);
  width: 100%;
  height: auto;
  /* drop shadow so the logo pops over any background tile */
  filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.5));
}

.discord-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.85em 1.8em;
  border-radius: 0.5em;
  background: #5865F2;
  color: #fff;
  font-family: system-ui, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.1s ease;
}

.discord-btn:hover {
  background: #4752c4;
  transform: translateY(-2px);
}

.discord-btn:active {
  transform: translateY(0);
}

.discord-btn svg {
  width: 1.3em;
  height: 1.3em;
  fill: currentColor;
  flex-shrink: 0;
}
