@font-face {
  font-family: "OCRA";
  src: url("assets/OCRAEXT.TTF") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #000000;
  --darkblue: #030056;
  --royalblue: #1a14b4;
  --electricpurple: #630afc;
  --lavander: #ab9eff;
  --white: #FFFFFF;
}

* { box-sizing: border-box; }

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

body {
  min-height: 100svh;
  background: var(--darkblue) url("assets/background.png") center center / cover no-repeat;
  font-family: "OCRA", monospace;
  color: var(--white);
  overflow-x: hidden;
}

.page {
  position: relative;
  width: 100%;
  min-height: 100svh;
}

/*
  The uploaded background already contains the avatar, "Choichi",
  and the two subtitle lines. Only the clickable buttons are added.
  Position is intentionally fixed as a percentage of the viewport so
  the composition stays consistent with the supplied background.
*/
.links {
  position: absolute;
  left: 50%;
  top: 52.4%;
  transform: translateX(-50%);
  width: min(18.8vw, 290px);
  min-width: 250px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.link-card {
  position: relative;
  width: 100%;
  height: 62px;
  display: grid;
  grid-template-columns: 54px 1fr 54px;
  align-items: center;
  color: var(--white);
  text-decoration: none;
  border: 1.5px solid var(--white);
  background: transparent;
  transition: transform .16s ease, border-color .16s ease, color .16s ease;
}

.link-card:hover,
.link-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--lavander);
  color: var(--lavander);
  outline: none;
}

.link-card:active {
  transform: scale(.985);
}

.corner {
  position: absolute;
  width: 7px;
  height: 7px;
  background: var(--white);
  border-radius: 50%;
}

.tl { left: -4px; top: -4px; }
.tr { right: -4px; top: -4px; }
.bl { left: -4px; bottom: -4px; }
.br { right: -4px; bottom: -4px; }

.icon {
  grid-column: 1;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  justify-self: center;
  color: currentColor;
}

.icon.music {
  font-family: Arial, sans-serif;
  font-size: 38px;
  line-height: 1;
}

.icon svg {
  width: 37px;
  height: 37px;
  display: block;
}

.icon svg path {
  fill: currentColor;
}

.label {
  grid-column: 2;
  text-align: center;
  white-space: nowrap;
  font-size: 15px;
  letter-spacing: .045em;
  line-height: 1;
}

@media (max-width: 700px) {
  body {
    background-size: auto 100svh;
    background-position: center top;
  }

  .links {
    top: 52.8%;
    width: 78vw;
    min-width: 0;
    max-width: 330px;
    gap: 14px;
  }

  .link-card {
    height: 60px;
    grid-template-columns: 50px 1fr 50px;
  }

  .label {
    font-size: 12px;
  }

  .icon {
    width: 38px;
    height: 38px;
  }

  .icon svg {
    width: 34px;
    height: 34px;
  }
}


.beatstars-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}
