@font-face {
  font-family: "PriceDown";
  src: url("fonts/Pricedown%20Bl.otf") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "Cabanyal Z";
  src: url("fonts/Cabanyal-Z.ttf") format("truetype");
  font-display: swap;
}

:root {
  color-scheme: dark;
  font-family: Arial, sans-serif;
  background: #090909;
  color: #fff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
}

.scene {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #111 url("binco-hero.jpg") center / cover no-repeat;
}

.scene__shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, #080807a8 0%, #08080754 45%, #08080710 100%),
    linear-gradient(0deg, #08080770 0%, transparent 40%, #08080724 100%);
}

.content {
  display: flex;
  width: min(100% - 40px, 1100px);
  flex-direction: column;
  align-items: flex-start;
  margin-top: -4vh;
}

.title {
  width: 100%;
  margin: 0;
  color: #fff;
  font-family: "PriceDown", Impact, sans-serif;
  font-size: clamp(62px, 11vw, 148px);
  font-weight: 400;
  line-height: 0.91;
  letter-spacing: 0.015em;
  text-transform: lowercase;
  text-shadow: 0 4px 22px #000b;
}

.title__line {
  display: block;
  width: fit-content;
  overflow: hidden;
}

.title__line + .title__line {
  margin-top: 0.06em;
}

.discord-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-top: clamp(42px, 8vh, 80px);
  padding: 0 24px;
  border: 1px solid #8590ff;
  border-radius: 4px;
  background: #5865f2;
  box-shadow: 0 8px 28px #0007;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.discord-button:hover {
  transform: translateY(-2px);
  background: #4752c4;
}

.discord-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.discord-button svg {
  width: 23px;
  height: 23px;
  flex: none;
  fill: currentColor;
}

.footer {
  position: absolute;
  right: clamp(18px, 3vw, 36px);
  bottom: clamp(14px, 2.5vh, 24px);
  color: #fff;
  font-family: "Cabanyal Z", cursive;
  font-size: clamp(22px, 2.1vw, 29px);
  letter-spacing: 0.02em;
  text-shadow: 0 2px 8px #000;
}

@media (max-width: 650px) {
  .scene {
    background-position: 61% center;
  }

  .scene__shade {
    background:
      linear-gradient(90deg, #08080788, #08080740),
      linear-gradient(0deg, #080807a0 0%, #08080712 62%, #08080744 100%);
  }

  .content {
    width: calc(100% - 36px);
    align-items: center;
    margin-top: -3vh;
    text-align: center;
  }

  .title {
    font-size: clamp(42px, 13vw, 84px);
  }

  .title__line {
    margin-inline: auto;
  }

  .discord-button {
    margin-top: clamp(38px, 7vh, 60px);
  }

  .footer {
    right: 17px;
    bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
