:root {
  --bg: #000;
  --header: #191919;
  --button: #83dfe4;
  --button-hover: #99edf0;
  --ink: #050505;
  --white: #f5f5f5;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family:
    Arial, Helvetica, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.bio-page {
  position: relative;
  display: grid;
  justify-items: center;
  width: min(100%, 900px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 52px 88px;
}

.bio-header {
  position: relative;
  display: grid;
  justify-items: center;
  align-items: end;
  isolation: isolate;
  width: min(100%, 738px);
  min-height: 142px;
  overflow: hidden;
  padding: 86px 24px 20px;
  background:
    linear-gradient(rgba(20, 20, 20, 0.9), rgba(5, 5, 5, 0.96)),
    var(--header);
}

.brand-logo {
  position: absolute;
  top: -42px;
  left: 50%;
  z-index: 0;
  display: block;
  width: clamp(170px, 34vw, 260px);
  height: clamp(170px, 34vw, 260px);
  object-fit: contain;
  opacity: 0.42;
  transform: translateX(-50%);
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.45));
}

.social-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.social-link {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--white);
}

.social-link img,
.button-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.social-link img {
  filter: invert(1);
}

.atom-badge svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.social-link:hover,
.social-link:focus-visible {
  color: var(--button);
  outline: none;
}

.button-list {
  display: grid;
  gap: 16px;
  width: 100%;
  margin-top: 68px;
}

.bio-button {
  position: relative;
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) 66px;
  align-items: center;
  min-height: 67px;
  border-radius: 999px;
  background: var(--button);
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
  transition:
    transform 160ms ease,
    background-color 160ms ease;
}

.bio-button:hover,
.bio-button:focus-visible {
  transform: translateY(-2px);
  background: var(--button-hover);
  outline: none;
}

.button-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-left: 13px;
  color: var(--ink);
}

.button-icon img {
  width: 42px;
  height: 42px;
}

.button-icon svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.button-text {
  grid-column: 2;
  padding: 0 8px;
  overflow-wrap: anywhere;
}

.image-icon {
  overflow: hidden;
  border: 2px solid var(--button);
  border-radius: 50%;
  background: #ffd0e0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.image-icon svg {
  width: 30px;
  height: 30px;
  stroke-width: 1.5;
}

.cart-icon {
  background: #ffc2dd;
  color: #5abfc3;
}

.box-icon {
  background: #f6ecd1;
  color: #7bd2d8;
}

.atom-badge {
  position: fixed;
  left: 50%;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 45px;
  padding: 0 14px 0 10px;
  border-radius: 999px;
  background: #f2f2f2;
  color: #333;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  transform: translateX(-50%);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.atom-badge span {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: #8f72ff;
  color: #fff;
  font-size: 21px;
  font-weight: 800;
}

.atom-badge svg {
  width: 18px;
  height: 18px;
  stroke: #222;
  stroke-width: 2.2;
}

@media (max-width: 640px) {
  .bio-page {
    padding: 0 18px 82px;
  }

  .bio-header {
    width: 100%;
  }

  .button-list {
    gap: 13px;
    margin-top: 54px;
  }

  .bio-button {
    grid-template-columns: 58px minmax(0, 1fr) 58px;
    min-height: 61px;
    font-size: 14px;
  }

  .button-icon {
    width: 46px;
    height: 46px;
    margin-left: 10px;
  }

  .button-icon img {
    width: 39px;
    height: 39px;
  }

  .button-icon svg {
    width: 39px;
    height: 39px;
  }

  .atom-badge {
    width: max-content;
    max-width: calc(100vw - 28px);
    font-size: 14px;
  }
}
