:root {
  color-scheme: dark;
  --black: #050505;
  --white: #f4f4f2;
  --line: #303030;
}

* {
  box-sizing: border-box;
}

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

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 40% 45%, #111 0, #080808 35%, var(--black) 68%),
    var(--black);
  color: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
}

.landing {
  width: min(1280px, calc(100% - 56px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(34px, 4.5vw, 64px);
  align-items: center;
  padding-block: 36px;
}

.client-shot {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: #080808;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(255, 255, 255, 0.025);
}

.client-link,
.client-image {
  display: block;
  width: 100%;
}

.client-link {
  cursor: zoom-in;
}

.client-image {
  height: auto;
}

.actions {
  position: relative;
  display: grid;
  gap: 30px;
  padding: 38px 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(17, 17, 17, 0.96), rgba(8, 8, 8, 0.96));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

.actions::before {
  position: absolute;
  top: 0;
  right: 18%;
  left: 18%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
}

.wordmark {
  text-align: center;
  color: #dcdcdc;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.3em;
}

.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.countdown strong,
.countdown i {
  font-size: clamp(26px, 2.5vw, 34px);
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.055em;
}

.countdown i {
  color: #4b4b4b;
  font-weight: 400;
}

.signup-area,
.discord-button {
  width: 100%;
}

.discord-button {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid #fff;
  border-radius: 7px;
  background: var(--white);
  color: #070707;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.3);
  transition: background 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.discord-button img {
  filter: invert(1);
}

.discord-button:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.42);
}

.signed-up {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.signed-up > img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.account-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #555;
}

.account-status.granted {
  background: var(--white);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
}

.logout-button {
  position: relative;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.logout-button::before,
.logout-button::after {
  position: absolute;
  top: 13px;
  left: 7px;
  width: 14px;
  height: 1px;
  content: "";
  background: #777;
}

.logout-button::before {
  transform: rotate(45deg);
}

.logout-button::after {
  transform: rotate(-45deg);
}

.logout-button:hover::before,
.logout-button:hover::after {
  background: var(--white);
}

.auth-message {
  position: fixed;
  right: 18px;
  bottom: 18px;
  max-width: min(360px, calc(100% - 36px));
  padding: 12px 15px;
  border: 1px solid #444;
  border-radius: 6px;
  background: #111;
  box-shadow: 0 18px 60px #000;
  font-size: 12px;
}

@media (max-width: 820px) {
  .landing {
    width: min(100% - 30px, 720px);
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 28px;
  }

  .actions {
    width: min(100%, 380px);
    justify-self: center;
    gap: 26px;
    padding: 30px 24px;
  }

  .countdown strong,
  .countdown i {
    font-size: clamp(27px, 8.5vw, 34px);
  }
}

@media (max-width: 420px) {
  .landing {
    width: calc(100% - 24px);
    gap: 20px;
    padding-block: 20px;
  }

  .client-shot {
    border-radius: 7px;
  }

  .actions {
    padding: 28px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .discord-button {
    transition: none;
  }
}
