@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #1a1a1a;
  --foreground: #ffffff;
  --muted: #abb8c3;
  --accent: #ff7179;
  --content-width: 1000px;
  --gap: 1.5rem;
  --page-padding: max(1.25rem, 5vw);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: linear-gradient(180deg, #202020 0%, #000000 100%);
  background-color: var(--background);
  color: var(--foreground);
  font-family: "Inter", Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
}

img,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25ch;
}

a:hover,
a:focus-visible {
  text-decoration-style: dashed;
}

a:active {
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

h1,
h2,
h3,
p,
ul,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--foreground);
  font-weight: 700;
}

h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 1.15;
}

h2 {
  margin-bottom: 1rem;
  font-size: 1.75rem;
  line-height: 1.2;
}

p,
ul {
  margin-bottom: 1.5rem;
}

.screen-reader-text,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: #ffffff;
  color: #1a1a1a;
  font-weight: 700;
}

.site-header,
.site-footer {
  padding-right: var(--page-padding);
  padding-left: var(--page-padding);
}

.header-inner,
.footer-inner {
  width: min(100%, var(--content-width));
  margin-right: auto;
  margin-left: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  padding-top: 0.75rem;
}

.site-logo {
  flex: 0 1 251px;
  line-height: 0;
}

.site-logo img {
  width: 251px;
}

.site-nav ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-nav a {
  color: var(--foreground);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav [aria-current="page"] {
  text-decoration-style: solid;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 1px solid #565656;
  border-radius: 3px;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
}

.menu-toggle span:not(.screen-reader-text) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.site-main {
  width: min(calc(100% - var(--page-padding) - var(--page-padding)), var(--content-width));
  margin-right: auto;
  margin-left: auto;
  padding-top: 1.5rem;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: var(--gap);
}

.intro-copy {
  color: var(--muted);
  font-weight: 600;
}

.store-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 154px));
  gap: 0.67rem;
  margin-bottom: 1.5rem;
}

.store-links a {
  overflow: hidden;
  border-radius: 999px;
  line-height: 0;
  transition: transform 120ms ease, filter 120ms ease;
}

.store-links a:hover,
.store-links a:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.social-link {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform 100ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  transform: scale(1.1);
}

.social-link img {
  width: 19px;
  height: 19px;
  filter: brightness(0) invert(1);
}

.discord { background: #5865f2; }
.twitter { background: #1da1f2; }
.reddit { background: #ff4500; }
.youtube { background: #ff0000; }
.facebook { background: #0866ff; }
.instagram { background: #f00075; }
.tiktok { background: #050505; box-shadow: inset 0 0 0 1px #444; }
.wiki { background: #444444; }

.video-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.video-frame iframe {
  display: none;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-frame.is-embedded iframe {
  display: block;
}

.video-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #ffffff;
  text-decoration: none;
}

.video-fallback::after {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 30%);
  content: "";
  transition: background-color 150ms ease;
}

.video-fallback > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-fallback-content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-shadow: 0 1px 5px #000000;
}

.video-play {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: #ff0000;
  box-shadow: 0 2px 12px rgb(0 0 0 / 45%);
}

.video-play::before {
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 15px solid #ffffff;
  content: "";
}

.video-fallback:hover::after,
.video-fallback:focus-visible::after {
  background: rgb(0 0 0 / 16%);
}

.video-frame.is-embedded .video-fallback {
  display: none;
}

.gallery {
  display: grid;
  gap: var(--gap);
  margin-top: 1.5rem;
}

.gallery-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery figure,
.gallery a {
  margin: 0;
  line-height: 0;
}

.gallery img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.gallery a {
  display: block;
  overflow: hidden;
}

.gallery a img {
  transition: filter 150ms ease;
}

.gallery a:hover img,
.gallery a:focus-visible img {
  filter: brightness(1.08);
}

.dot-divider {
  width: min(100%, 180px);
  height: 1px;
  margin: 2.25rem auto;
  border: 0;
  background: #353535;
}

.about-grid {
  margin-bottom: 1.5rem;
}

.muted,
.feature-copy,
.feature-list {
  color: var(--muted);
}

.humble-widget {
  width: 100%;
  height: 333px;
  border: 0;
}

.feature-list {
  padding-left: 1.4rem;
  margin-bottom: 1.5rem;
}

.feature-list li + li {
  margin-top: 0.44rem;
}

.text-section + .text-section {
  margin-top: 1.5rem;
}

.site-footer {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.44rem;
}

.footer-inner p {
  margin: 0;
  font-size: 1rem;
}

.copyright {
  color: #464646;
}

.content-page {
  min-height: calc(100vh - 245px);
}

.content-page article {
  width: min(100%, 650px);
}

.content-page h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
}

@media (max-width: 820px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .site-logo {
    flex-basis: 210px;
  }

  .site-logo img {
    width: 210px;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .site-nav {
    width: 100%;
  }

  .menu-ready .site-nav:not(.is-open) {
    display: none;
  }

  .site-nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding: 0.5rem 0 0.75rem;
    border-top: 1px solid #3b3b3b;
  }

  .site-nav a {
    display: block;
    padding: 0.65rem 0.35rem;
  }

  .two-column {
    grid-template-columns: 1fr;
  }

  .store-links {
    grid-template-columns: repeat(3, minmax(0, 154px));
  }

  .gallery-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  body {
    font-size: 1rem;
  }

  .store-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .social-links {
    gap: 16px;
  }

  .gallery,
  .gallery-two,
  .gallery-three {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
