:root {
  --night: #0b0710;
  --gold: #d9aa51;
  --gold-light: #f2d994;
  --ivory: #f7efdf;
  --muted: #b9afc0;
}
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; background: var(--night); color: var(--ivory); font-family: Inter, system-ui, sans-serif; }
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.14'/%3E%3C/svg%3E");
}
.landing {
  min-height: 100svh; position: relative; isolation: isolate; overflow: hidden; display: grid;
  grid-template-columns: minmax(380px, .92fr) minmax(450px, 1.08fr); align-items: center;
  gap: clamp(28px, 5vw, 90px); padding: clamp(28px, 4vw, 70px) clamp(24px, 8vw, 140px);
  background: radial-gradient(circle at 25% 42%, rgba(109,43,169,.28), transparent 35%), linear-gradient(118deg,#09060d 10%,#170a21 67%,#0b0710);
}
.glow { position: absolute; z-index: -1; width: 58vw; aspect-ratio: 1; left: -15vw; top: 50%; transform: translateY(-50%); border-radius: 50%; background: rgba(106,38,163,.25); filter: blur(90px); }
.checkerboard { position: absolute; z-index: -1; width: 690px; aspect-ratio: 1; left: -110px; bottom: -410px; opacity: .055; transform: perspective(600px) rotateX(60deg) rotateZ(45deg); background: conic-gradient(#fff 25%,transparent 0 50%,#fff 0 75%,transparent 0) 0 0/88px 88px; }
.crest-wrap { min-width: 0; display: grid; place-items: center; animation: arrive .8s ease-out both; }
.crest-wrap img { width: min(44vw,680px); max-height: 88svh; object-fit: contain; filter: drop-shadow(0 35px 55px rgba(0,0,0,.58)); }
.content { max-width: 700px; position: relative; z-index: 2; animation: arrive .8s .12s ease-out both; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 22px; color: var(--gold); font-size: 11px; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; }
.eyebrow span { width: 38px; height: 1px; background: var(--gold); }
h1 { margin: 0; color: var(--ivory); font: 700 clamp(58px,7vw,112px)/.86 Cinzel,Georgia,serif; letter-spacing: -.055em; text-transform: uppercase; }
h1 em { color: var(--gold-light); font-style: normal; }
.welcome { margin: 34px 0 8px; color: #eee5f3; font: 600 clamp(18px,1.65vw,24px)/1.4 Cinzel,Georgia,serif; }
.intro { max-width: 570px; margin: 0 0 34px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.discord-button { width: min(100%,475px); min-height: 88px; display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 18px; padding: 16px 22px; color: white; background: linear-gradient(135deg,#6571f5,#4b56d8); box-shadow: 0 18px 45px rgba(63,74,206,.28); text-decoration: none; transition: transform .2s ease,box-shadow .2s ease; }
.discord-button:hover { transform: translateY(-3px); box-shadow: 0 23px 52px rgba(70,82,224,.42); }
.discord-button:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 5px; }
.discord-button svg { width: 43px; }
.discord-button span { font-size: 18px; font-weight: 600; }
.discord-button small { display: block; margin-bottom: 4px; color: #d9dcff; font-size: 9px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
.discord-button strong { font-size: 28px; font-weight: 400; }
.invite { margin: 13px 0 0; color: #746b7b; font-size: 11px; letter-spacing: .08em; }
@keyframes arrive { from { opacity: 0; transform: translateY(22px); } }
@media (max-width: 900px) {
  .landing { grid-template-columns: 1fr; align-content: center; gap: 0; padding-block: 36px 54px; text-align: center; }
  .crest-wrap img { width: min(75vw,450px); max-height: 46svh; }
  .content { margin-inline: auto; }
  .eyebrow { justify-content: center; margin-top: -8px; }
  h1 { font-size: clamp(47px,12vw,76px); }
  .intro { margin-inline: auto; }
  .discord-button { margin-inline: auto; text-align: left; }
  .checkerboard { left: 50%; transform: translateX(-50%) perspective(600px) rotateX(60deg) rotateZ(45deg); }
}
@media (max-width: 520px) {
  .landing { padding-inline: 20px; }
  .crest-wrap img { width: 92vw; margin-top: -10px; }
  .eyebrow { font-size: 9px; }
  .welcome { margin-top: 25px; font-size: 17px; }
  .intro { font-size: 14px; margin-bottom: 25px; }
  .discord-button { min-height: 76px; grid-template-columns: 39px 1fr auto; gap: 12px; padding-inline: 17px; }
  .discord-button svg { width: 36px; }
  .discord-button span { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { animation: none!important; transition: none!important; } }
