:root {
  --ink: #11100e;
  --paper: #e8e3da;
  --rust: #55c9f2;
  --rust-dark: #167da9;
  --line: rgba(232, 227, 218, .22);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: "IBM Plex Mono", monospace;
  overflow-x: hidden;
}

.background {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 9, 8, .94) 0%, rgba(10, 9, 8, .72) 49%, rgba(10, 9, 8, .46) 100%),
    linear-gradient(0deg, rgba(10, 9, 8, .86) 0%, transparent 42%),
    url("background.jpg") center 42% / cover no-repeat;
  filter: saturate(.46) contrast(1.08);
  transform: scale(1.025);
  animation: arrive 1.4s cubic-bezier(.2,.7,.2,1) both;
}

.background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 68% 48%, rgba(54, 177, 225, .16), transparent 30%);
}

#snowfall {
  position: fixed;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.cold-exposure {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 42%, rgba(68, 183, 225, .08) 70%, rgba(147, 221, 248, .22) 100%),
    linear-gradient(180deg, rgba(151, 222, 246, .07), transparent 22%, transparent 74%, rgba(57, 155, 199, .11));
  box-shadow:
    inset 0 0 90px rgba(126, 211, 241, .2),
    inset 0 0 210px rgba(29, 106, 147, .14);
  animation: cold-pulse 4.8s ease-in-out infinite;
}

.cold-exposure::before,
.cold-exposure::after {
  content: "";
  position: absolute;
  inset: -3px;
  opacity: .5;
  background:
    radial-gradient(ellipse at 0 0, rgba(211, 244, 255, .65), transparent 17%),
    radial-gradient(ellipse at 100% 5%, rgba(190, 235, 251, .5), transparent 19%),
    radial-gradient(ellipse at 0 100%, rgba(188, 232, 248, .48), transparent 18%),
    radial-gradient(ellipse at 100% 100%, rgba(210, 244, 255, .55), transparent 20%);
  filter: blur(8px);
}

.cold-exposure::after {
  inset: 0;
  opacity: .18;
  filter: none;
  background-image: repeating-linear-gradient(112deg, transparent 0 24px, rgba(207, 242, 255, .2) 25px, transparent 27px 46px);
  mask-image: radial-gradient(ellipse at center, transparent 55%, #000 90%);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: .16;
  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='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.38'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.landing {
  position: relative;
  z-index: 5;
  width: min(1320px, 100%);
  min-height: 100svh;
  margin: 0 auto;
  padding: 40px 56px 26px;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.masthead {
  display: flex;
  align-items: center;
  gap: 44px;
  animation: lift .7s .12s both;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: inherit;
  text-decoration: none;
}

.brand-name {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 23px;
  font-weight: 900;
  letter-spacing: .045em;
}

.brand-name span { color: var(--rust); }

.status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: rgba(232, 227, 218, .72);
  border: 1px solid rgba(223, 93, 47, .58);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.status i {
  width: 6px;
  height: 6px;
  background: var(--rust);
  box-shadow: 0 0 12px var(--rust);
  animation: blink 1.8s ease-in-out infinite;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 720px) 1fr;
  align-items: center;
  gap: clamp(36px, 7vw, 110px);
  padding: 54px 0 42px;
}

.copy { animation: lift .8s .22s both; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--rust);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .23em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(92px, 12vw, 166px);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: .72;
  text-transform: uppercase;
  text-shadow: 0 8px 35px rgba(0,0,0,.5);
}

h1 span, h1 em { display: block; }
h1 span { color: var(--paper); }
h1 em { color: var(--rust); font-style: normal; margin-left: -.02em; }

.rule {
  width: 72px;
  height: 3px;
  margin: 39px 0 22px;
  background: var(--rust);
}

.intro {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(21px, 2vw, 29px);
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.subcopy {
  max-width: 580px;
  margin: 12px 0 0;
  color: rgba(232, 227, 218, .63);
  font-size: 12px;
  line-height: 1.75;
}

.actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 28px;
}

.discord-button {
  width: 270px;
  min-height: 68px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #07151c;
  background: var(--rust);
  box-shadow: 8px 8px 0 rgba(5, 64, 91, .48);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.discord-button:hover {
  transform: translate(3px, 3px);
  box-shadow: 4px 4px 0 rgba(5, 64, 91, .48);
  background: #76d7f8;
}

.discord-button:focus-visible { outline: 3px solid var(--paper); outline-offset: 4px; }
.discord-button svg { width: 24px; fill: currentColor; flex: 0 0 auto; }
.discord-button span { flex: 1; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.discord-button small { display: block; margin-bottom: 2px; font-size: 8px; font-weight: 500; opacity: .7; letter-spacing: .13em; }
.discord-button b { font-size: 20px; font-weight: 400; }

.coming-soon {
  max-width: 100px;
  color: rgba(232, 227, 218, .54);
  font-size: 9px;
  line-height: 1.55;
  letter-spacing: .16em;
  text-transform: uppercase;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-top: 19px;
  border-top: 1px solid var(--line);
  color: rgba(232, 227, 218, .38);
  font-size: 8px;
  letter-spacing: .19em;
  text-transform: uppercase;
  animation: lift .7s .5s both;
}

footer span:last-child { text-align: right; }
footer b { font-weight: inherit; }

@keyframes arrive { from { opacity: 0; transform: scale(1.08); } }
@keyframes lift { from { opacity: 0; transform: translateY(14px); } }
@keyframes blink { 50% { opacity: .28; } }
@keyframes cold-pulse { 50% { opacity: .72; } }

@media (max-width: 850px) {
  .landing { padding: 28px 25px 20px; }
  .hero { grid-template-columns: 1fr; padding-top: 68px; }
  .background { background-position: 59% center; }
  h1 { font-size: clamp(88px, 26vw, 132px); }
  .subcopy { max-width: 520px; }
}

@media (max-width: 540px) {
  .masthead { justify-content: space-between; gap: 12px; }
  .brand-name { font-size: 19px; }
  .status { padding: 9px 10px; font-size: 7px; }
  .hero { padding: 48px 0 38px; align-items: start; }
  h1 { font-size: clamp(82px, 28vw, 116px); line-height: .75; }
  .rule { margin: 30px 0 18px; }
  .subcopy { font-size: 11px; }
  .actions { align-items: flex-start; flex-direction: column; gap: 17px; }
  .discord-button { width: min(100%, 300px); }
  .coming-soon { max-width: none; }
  footer { grid-template-columns: 1fr auto; }
  .coordinates { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
