:root {
  color-scheme: dark;
  --ink: #090806;
  --smoke: #16120d;
  --stone: #d8d0bf;
  --muted: #a79d8c;
  --gold: #c99b4e;
  --gold-bright: #f0cf85;
  --red: #9c1d24;
  --line: rgba(240, 207, 133, 0.26);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 50% 20%, rgba(201, 155, 78, 0.2), transparent 34rem),
    radial-gradient(circle at 50% 68%, rgba(156, 29, 36, 0.13), transparent 30rem),
    linear-gradient(180deg, #050403 0%, var(--smoke) 52%, var(--ink) 100%);
  color: var(--stone);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, transparent, rgba(240, 207, 133, 0.08), transparent),
    repeating-linear-gradient(
      90deg,
      transparent 0 5.5rem,
      rgba(255, 255, 255, 0.025) 5.5rem 5.56rem
    );
  mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 78%, transparent 100%);
  opacity: 0.42;
}

.page-shell {
  display: grid;
  min-height: 100svh;
  padding: clamp(1.5rem, 3vw, 3rem);
  place-items: center;
}

.hero {
  width: min(100%, 68rem);
  text-align: center;
}

.crest-wrap {
  position: relative;
  width: min(100%, 49rem);
  margin: 0 auto clamp(1.4rem, 4vw, 2.6rem);
}

.crest-wrap::before,
.crest-wrap::after {
  position: absolute;
  right: 6%;
  left: 6%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.crest-wrap::before {
  top: 7%;
}

.crest-wrap::after {
  bottom: 3%;
}

.logo {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 1.2rem 3rem rgba(0, 0, 0, 0.72));
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--gold-bright);
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(0.78rem, 1.4vw, 0.98rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: #f5efe4;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(3rem, 9vw, 8.5rem);
  font-weight: 700;
  line-height: 0.9;
  text-transform: uppercase;
  text-shadow: 0 0.08em 0.32em rgba(0, 0, 0, 0.86);
}

.intro {
  width: min(100%, 38rem);
  margin: clamp(1.1rem, 3vw, 1.7rem) auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.75;
}

.discord-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  margin-top: clamp(1.7rem, 4vw, 2.35rem);
  padding: 0.92rem 1.45rem;
  border: 1px solid rgba(240, 207, 133, 0.7);
  border-radius: 0.35rem;
  background:
    linear-gradient(180deg, rgba(240, 207, 133, 0.2), rgba(201, 155, 78, 0.08)),
    rgba(10, 8, 6, 0.78);
  box-shadow:
    0 0.75rem 2.25rem rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  color: #fff7e8;
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.discord-link:hover,
.discord-link:focus-visible {
  border-color: var(--gold-bright);
  box-shadow:
    0 1rem 2.6rem rgba(0, 0, 0, 0.4),
    0 0 2.2rem rgba(201, 155, 78, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.discord-link:focus-visible {
  outline: 3px solid rgba(240, 207, 133, 0.34);
  outline-offset: 4px;
}

@media (max-width: 620px) {
  .page-shell {
    padding: 1.1rem;
  }

  .crest-wrap {
    width: min(100%, 33rem);
    margin-bottom: 1.2rem;
  }

  .intro {
    line-height: 1.62;
  }

  .discord-link {
    width: min(100%, 19rem);
  }
}
