@font-face {
  font-family: Battle;
  src: url('assets/anton.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* Keep the panel on its own layer: upright lettering and unclipped focus. */
.button,
.nav-cta,
.social-slots > a,
.social-slots > button {
  --button-yellow: #ffff43;
  --button-cut: polygon(0 10%, 100% 0, 97.5% 94%, 1.3% 100%);
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111111;
  box-shadow: none;
  font-family: Battle, Impact, 'Arial Narrow', sans-serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.1;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
  text-shadow: none;
  transform: none;
  transform-origin: center;
  transition: transform 160ms ease;
}

.button::before,
.nav-cta::before,
.social-slots > a::before,
.social-slots > button::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--button-yellow);
  clip-path: var(--button-cut);
  pointer-events: none;
}

.button {
  min-height: 72px;
  padding: 22px 33px;
  font-size: 25px;
}

.button-gold,
.button-gold:hover,
.nav-cta:hover {
  background: transparent;
  border-color: transparent;
  color: #111111;
  box-shadow: none;
}

.nav-cta {
  --button-cut: polygon(1% 5%, 100% 0, 96.5% 100%, 0 94%);
  min-height: 55px;
  padding: 17px 26px;
  font-size: 21px;
  gap: 13px;
}

.nav-cta span {
  margin-left: 0;
}

.button > span[aria-hidden='true']:not(.crosshair),
.nav-cta > span {
  flex-shrink: 0;
  font-family: Arial, sans-serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
}

.button .crosshair {
  flex-shrink: 0;
  margin-right: 2px;
}

.social-slots {
  gap: 14px;
}

.social-slots > a,
.social-slots > button {
  --button-cut: polygon(0 7%, 98% 0, 100% 92%, 2% 100%);
  min-height: 52px;
  padding: 17px 21px;
  gap: 9px;
  font-size: 18px;
  letter-spacing: 0;
}

.social-slots > :nth-child(even) {
  --button-cut: polygon(2% 0, 100% 7%, 97.5% 100%, 0 93%);
}

.social-slots > a:hover,
.social-slots > button:hover {
  border: 0;
  background: transparent;
  color: #111111;
}

.social-slots span {
  flex-shrink: 0;
  font-family: Arial, sans-serif;
  font-size: 19px;
  line-height: 1;
}

.social-slots small {
  margin-left: 3px;
  color: #303000;
  font-family: Barlow, Arial, sans-serif;
  font-weight: 700;
  font-size: 9px;
  letter-spacing: .5px;
}

.trade-slots > .text-link {
  color: #ffff43;
  font-family: Battle, Impact, 'Arial Narrow', sans-serif;
  font-size: 20px;
  font-weight: 400;
  font-style: normal;
  text-transform: uppercase;
}

.trade-slots > .text-link span {
  font-family: Barlow, Arial, sans-serif;
}

.dialog-done {
  --button-cut: polygon(0 7%, 100% 0, 98% 100%, 1% 94%);
  min-height: 66px;
  margin-top: 4px;
  font-size: 24px;
}

/* Compact utility controls retain their original dimensions. */
.icon-button {
  border-radius: 0;
  border-color: #ffff4380;
  color: #ffff43;
}

.icon-button:hover {
  background: #ffff43;
  color: #111111;
}

.dialog-close,
#motion-toggle {
  border-radius: 0;
}

button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 6px;
}

@media (hover: hover) and (pointer: fine) {
  .button:hover,
  .button-gold:hover,
  .nav-cta:hover,
  .social-slots > a:hover,
  .social-slots > button:hover {
    transform: scale(1.035);
  }
}

.button:active,
.button-gold:active,
.nav-cta:active,
.social-slots > a:active,
.social-slots > button:active {
  transform: scale(.98);
}

@media (max-width: 760px) {
  .button {
    min-height: 65px;
    padding: 20px 24px;
    gap: 12px;
    font-size: 22px;
  }

  .nav-cta {
    min-height: 47px;
    padding: 14px 19px;
    gap: 9px;
    font-size: 18px;
  }

  .nav-cta span {
    margin-left: 0;
    font-size: 18px;
  }

  .social-slots {
    gap: 12px;
  }

  .social-slots > a,
  .social-slots > button {
    min-height: 50px;
    padding: 16px 18px;
    font-size: 17px;
  }

  .dialog-done {
    min-height: 62px;
  }
}

@media (max-width: 420px) {
  .hero-actions > .button {
    width: 100%;
    padding-right: 18px;
    padding-left: 18px;
    gap: 11px;
    font-size: 21px;
  }

  .social-slots > a,
  .social-slots > button {
    padding-right: 16px;
    padding-left: 16px;
    gap: 7px;
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button,
  .button-gold:hover,
  .nav-cta,
  .social-slots > a,
  .social-slots > button {
    transition: none;
  }

  .button:hover,
  .button:active,
  .button-gold:hover,
  .button-gold:active,
  .nav-cta:hover,
  .nav-cta:active,
  .social-slots > a:hover,
  .social-slots > a:active,
  .social-slots > button:hover,
  .social-slots > button:active {
    transform: none;
  }
}
