:root {
  --background: #051122;
  --text: #ffffff;
  --text-hover: #ffe201;
  --discord: #7289da;
  --cta-font: Martel, "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

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

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 22px);
  padding: clamp(12px, 2vw, 22px) clamp(12px, 3vw, 24px) clamp(20px, 3vw, 34px);
}

.site-logo {
  display: block;
  width: clamp(150px, 18vw, 280px);
  height: auto;
}

.hero-image {
  display: block;
  width: min(980px, 100%);
  max-height: clamp(48vh, 58vw, 62vh);
  height: auto;
  object-fit: contain;
}

.discord-cta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  max-width: min(760px, 100%);
  padding: 10px clamp(12px, 2vw, 16px);
  border: 1px solid rgba(255, 226, 1, 0.22);
  background: rgba(0, 0, 0, 0.18);
  text-align: center;
}

.discord-text {
  margin: 0;
  color: var(--text-hover);
  font-family: var(--cta-font);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.4;
  text-shadow: 1px 1px 0 #000000;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: clamp(40px, 5vw, 46px);
  padding: 8px clamp(14px, 2.5vw, 18px);
  border: 0;
  border-radius: 8px;
  background: var(--discord);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  text-shadow: none;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.28);
  transition: transform 120ms ease, background-color 120ms ease;
}

@media (max-width: 900px) {
  .discord-cta {
    flex-direction: column;
    max-width: min(560px, 100%);
  }
}

.button-icon {
  width: clamp(21px, 2.5vw, 25px);
  height: clamp(21px, 2.5vw, 25px);
  flex: 0 0 auto;
  fill: currentColor;
}

@media (max-width: 640px) {
  .page {
    min-height: auto;
    justify-content: flex-start;
    gap: 12px;
    padding-top: 18px;
  }

  .site-logo {
    width: min(190px, 54vw);
  }

  .hero-image {
    max-height: none;
  }

  .discord-cta {
    gap: 10px;
    padding: 9px 10px 11px;
  }

  .discord-text {
    max-width: 18rem;
    font-size: 16px;
    line-height: 1.25;
  }

  .cta-button {
    width: min(220px, 100%);
    min-height: 42px;
    font-size: 18px;
  }

  .button-icon {
    width: 22px;
    height: 22px;
  }
}

.cta-button:hover,
.cta-button:focus-visible {
  color: var(--text);
  background: #6278c8;
  transform: translateY(-1px);
}

.cta-button:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.22);
}
