@import url("https://fonts.googleapis.com/css2?family=Bangers&display=swap");

:root {
  --green: #33d016;
  --green-dark: #071906;
  --yellow: #ffd41b;
  --blue: #2f72aa;
  --ink: #050505;
  --white: #fffdf2;
  --shadow: rgba(0, 0, 0, 0.5);
  font-family: Impact, Haettenschweiler, "Arial Black", "Segoe UI Black", sans-serif;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

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

body {
  display: grid;
  place-items: center;
  margin: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(53, 208, 22, 0.28), transparent 34%),
    #020402;
  color: var(--white);
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: url("assets/background-mobile.webp");
  background-position: center top;
  background-size: cover;
  content: "";
  filter: saturate(1.08) contrast(1.03);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.36), transparent 24%, transparent 76%, rgba(0, 0, 0, 0.36)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.22));
  content: "";
  pointer-events: none;
}

.bio-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 430px);
  min-height: 100svh;
  padding: clamp(214px, 35svh, 248px) 28px 26px;
  text-align: center;
}

.logo {
  display: none;
  width: min(76vw, 250px);
  max-height: 245px;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 16px 20px var(--shadow));
}

.product {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 122px;
  margin-top: 18px;
}

.shirt {
  width: min(39vw, 132px);
  min-width: 112px;
  object-fit: contain;
  filter:
    drop-shadow(0 18px 18px rgba(0, 0, 0, 0.58))
    saturate(1.08);
}

h1 {
  margin: 10px 0 17px;
  color: var(--yellow);
  font-family: "Bangers", Impact, Haettenschweiler, "Arial Black", sans-serif;
  font-size: clamp(30px, 8.9vw, 40px);
  font-style: italic;
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-shadow:
    -2px -2px 0 #12670b,
    2px -2px 0 #12670b,
    -2px 2px 0 #12670b,
    2px 2px 0 #12670b,
    0 5px 8px rgba(0, 0, 0, 0.62);
}

.links {
  display: grid;
  gap: 9px;
  width: 100%;
  max-width: 350px;
}

.product-link {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  min-height: 53px;
  border: 3px solid var(--green);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  box-shadow:
    0 4px 0 #034a05,
    0 9px 12px rgba(0, 0, 0, 0.5),
    inset 0 -3px 0 rgba(0, 0, 0, 0.14);
  font-size: clamp(19px, 5vw, 24px);
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    transform 150ms ease,
    filter 150ms ease;
}

.product-link:nth-child(even) {
  background: var(--yellow);
}

.product-link:hover,
.product-link:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-2px) scale(1.01);
}

.product-link:active {
  transform: translateY(2px) scale(0.995);
}

.product-link span {
  padding-top: 2px;
}

.shirt-icon {
  display: block;
  width: 25px;
  height: 25px;
  justify-self: center;
  color: currentColor;
}

.product-link[data-shirt="yellow"] .shirt-icon {
  color: var(--yellow);
  filter: drop-shadow(0 0 1px #715300);
}

.product-link[data-shirt="white"] .shirt-icon {
  color: #ffffff;
  filter: drop-shadow(0 0 1px #222);
}

.product-link[data-shirt="blue"] .shirt-icon {
  color: var(--blue);
}

.product-link[data-shirt="black"] .shirt-icon {
  color: #000000;
}

.brand-mark {
  position: fixed;
  right: 12px;
  bottom: 7px;
  display: none;
  color: rgba(255, 212, 27, 0.9);
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

@media (min-width: 640px) {
  body::before {
    background-image: url("assets/background-desktop.webp");
    background-position: center;
  }

  .bio-card {
    min-height: 100svh;
    margin: 0 auto;
    padding-top: clamp(26px, 5svh, 48px);
  }

  .logo {
    display: block;
    width: min(52vw, 220px);
  }

  .brand-mark {
    display: block;
  }

  .product {
    min-height: 100px;
    margin-top: 8px;
  }

  .shirt {
    width: 112px;
    min-width: 0;
  }

  h1 {
    margin: 5px 0 12px;
    font-size: 36px;
  }

  .links {
    gap: 7px;
  }

  .product-link {
    min-height: 48px;
    font-size: 22px;
  }
}

@media (max-width: 639px) and (max-height: 720px) {
  .bio-card {
    padding-top: 202px;
  }

  .product {
    min-height: 104px;
    margin-top: 12px;
  }

  .shirt {
    width: min(35vw, 116px);
    min-width: 98px;
  }

  h1 {
    margin-bottom: 12px;
  }

  .product-link {
    min-height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
