:root {
  color-scheme: dark;
  font-family: "Montserrat", system-ui, sans-serif;
  background: #17191f;
  color: #fff;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.background-video,
body::before {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.background-video {
  z-index: -2;
  object-fit: cover;
}

body::before {
  content: "";
  z-index: -1;
  background: linear-gradient(to bottom, rgba(10, 12, 20, .78), rgba(10, 12, 20, .65) 50%, rgba(10, 12, 20, .95));
}

main {
  width: 100%;
  max-width: 1200px;
  padding: 64px 24px;
  text-align: center;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -.01em;
  text-shadow: 0 4px 0 rgba(0, 0, 0, .4);
}

.sunset {
  color: #f6a821;
  white-space: nowrap;
}

.sunset img {
  width: .95em;
  height: .95em;
  vertical-align: -.08em;
  filter: drop-shadow(0 4px 0 rgba(0, 0, 0, .4));
}

.news {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, .85);
  font-size: clamp(.875rem, 2.5vw, 1.125rem);
  line-height: 1.5;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: .04em;
  font-size: .85rem;
  padding: .85rem 1.6rem;
  border-radius: .75rem;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  cursor: pointer;
}

.btn-discord {
  background: #5865f2;
  color: #fff;
  box-shadow: 0 6px 0 #4752c4, 0 12px 24px -8px rgba(88, 101, 242, .6);
}

.btn-discord:hover {
  background: #6b75f5;
  transform: translateY(-2px);
  box-shadow: 0 8px 0 #4752c4, 0 16px 28px -8px rgba(88, 101, 242, .7);
}

.btn-discord:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #4752c4;
}

.btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 6px;
}

::selection { background: #f6a821; color: #0a0c14; }

@media (prefers-reduced-motion: reduce) {
  .background-video { display: none; }
  .btn { transition: none; }
}
