@charset "UTF-8";
:root {
  box-sizing: border-box;
  font-family: "Pixeled", sans-serif;
  text-transform: uppercase;
  font-weight: 400;
  text-decoration: none;
  font-size: 16px;
}

*,
*::before,
*::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

body {
  position: relative;
  width: 100vw;
  height: 100vh;
  color: white;
  background-color: rgb(20, 42, 63);
  font-size: 1rem;
}

/* scanlines background */
.bg-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/assets/img/frame/scanlines.png");
  background-size: 256px 256px;
  background-position: center;
  background-repeat: repeat;
  background-attachment: fixed;
  z-index: -2;
}

/* FRAME GRID */
main.frame-grid {
  display: grid;
  grid-template-columns: 6rem 1fr 6rem;
  grid-template-rows: 6rem 1fr 6rem;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.frame {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
  z-index: 5;
}

.frame.content {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  pointer-events: none;
}

/* LOGO */
.logo {
  position: absolute;
  top: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 10rem;
  height: 6rem;
  background-image: url("/assets/img/logo.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: rgb(37, 42, 50);
  border-radius: 1rem;
  border: 1rem solid rgb(37, 42, 50);
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  box-shadow: 0 0.75rem 0px 0px rgb(24, 24, 34);
  z-index: 6;
}

/* INNER CARD */
.center-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 1rem;
  margin-top: 2rem;
  z-index: 2;
  gap: 1rem;
}

h1 {
  font-size: 1.5em;
  color: #00f9ff;
  text-shadow: 0 0.2rem #d916f7;
  margin-bottom: 2rem;
  text-align: center;
  line-height: 2.2rem;
}

/* clickable icon-link */
.icon-link {
  display: block;
  margin-bottom: 1.5rem;
  pointer-events: all;
}

.modmagemike-icon {
  width: 9rem;
  height: 9rem;
  box-shadow: 0 0 0 1rem black;
  border-radius: 50%;
  background-color: black;
}

/* BUTTON LINKS */
.link-button {
  display: inline-flex;
  align-items: center;
  background-color: white;
  border-radius: 1000rem;
  color: #ba3afc;
  font-weight: 400;
  padding: 0.8rem 1rem;
  padding-top: 0.6rem;
  text-decoration: none;
  position: relative;
  line-height: 1.5;
  transition: background-color 0.2s, color 0.2s;
  pointer-events: all;
}

/* inject icons inside via ::before */
.link-button::before {
  content: "";
  display: inline-block;
  width: 1.4rem;
  height: 1.4rem;
  margin-right: 0.5rem;
  margin-top: 0.3rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.link-button.steam-link::before {
  background-image: url("/assets/svg/steam-icon.svg");
}

.link-button.youtube-link::before {
  width: 1.2rem;
  height: 1.2rem;
  background-image: url("/assets/svg/youtube-icon.svg");
}

.link-button.discord-link::before {
  background-image: url("/assets/svg/discord-icon.svg");
}

/* hover: invert colors */
.link-button:hover {
  background-color: #ba3afc;
  color: white;
}

/* full‑viewport overlay canvas */
#overlay-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: auto; /* allow dragging */
  z-index: 0;
}

@media (max-width: 720px) {
  /* shrink the frame gutters */
  main.frame-grid {
    grid-template-columns: 1.5rem 1fr 1.5rem;
    grid-template-rows: 1.5rem 1fr 1.5rem;
  }
  /* smaller headline */
  h1 {
    font-size: 1.2em;
    margin-bottom: 0.75rem;
  }
  /* shrink the icon circle */
  .modmagemike-icon {
    width: 6rem;
    height: 6rem;
    margin-bottom: 1rem;
  }
  /* tighten up the buttons */
  .link-button {
    font-size: 0.8rem;
    padding: 0.5rem 0.8rem;
    padding-top: 0.35rem;
  }
  /* shrink the logo */
  .logo {
    width: 8rem;
    height: 4rem;
    top: 0.5rem;
    border-width: 0.5rem;
    box-shadow: 0 0.5rem 0px 0px rgb(24, 24, 34);
  }
  .icon-link {
    margin-bottom: 0;
    margin-top: 1rem;
  }
}

/*# sourceMappingURL=styles.css.map */
