/* Forsideprøve. Klassen brukes bare av de to lenkene i index.html. */
.esports-home .gd-toon-button {
  --button-color: var(--cyan);
  --button-side: #238aaf;
  position: relative;
  isolation: isolate;
  display: inline-grid;
  align-items: start;
  width: max-content;
  max-width: 100%;
  min-height: 66px;
  padding: 0;
  border: 0;
  border-radius: 19px;
  background: transparent;
  color: var(--navy);
  font: 800 15px/1.2 Manrope, sans-serif;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.esports-home .gd-toon-button[data-toon-color="gold"] {
  --button-color: var(--gold);
  --button-side: #be7c28;
}
.gd-toon-button__stage {
  position: absolute;
  inset: -14px;
  z-index: -1;
  pointer-events: none;
}
.gd-toon-button__stage canvas { display: block; width: 100%; height: 100%; }
.gd-toon-button__face {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 56px;
  padding: 11px 19px 11px 22px;
  border: 3px solid var(--navy);
  border-radius: 18px;
  background: var(--button-color);
  box-shadow: inset 0 3px 0 rgb(255 245 219 / 60%),
              inset 0 -3px 0 rgb(7 23 32 / 10%),
              0 5px 0 var(--button-side),
              0 8px 0 1px var(--navy),
              0 8px 0 2px rgb(255 245 219 / 72%);
  white-space: nowrap;
  transition: transform 180ms var(--ease);
}
.gd-toon-button__face::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 15px;
  width: 23px;
  height: 3px;
  border-radius: 3px;
  background: var(--cream);
  opacity: .65;
  pointer-events: none;
}
.gd-toon-button__label { position: relative; }
.gd-toon-button__icon {
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border: 2px solid var(--navy);
  border-radius: 8px;
  background: rgb(255 245 219 / 28%);
  box-shadow: 0 2px 0 rgb(7 23 32 / 20%);
}
.esports-home .gd-toon-button__icon svg { width: 18px; height: 18px; stroke-width: 2.3; }
.esports-home .gd-toon-button:focus-visible {
  outline: 3px solid var(--cream);
  outline-offset: 6px;
}
.gd-toon-button:focus-visible .gd-toon-button__face { transition: none; }
.gd-toon-button:focus-visible:active .gd-toon-button__face { transform: none; }
.gd-toon-button--ready .gd-toon-button__face {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}
.gd-toon-button--ready .gd-toon-button__face::before { display: none; }
.gd-toon-button--pressed .gd-toon-button__face,
.gd-toon-button:active .gd-toon-button__face { transform: translateY(4px); transition-duration: 100ms; }
.hero-footer--toon { align-items: center; }
.work-content .gd-toon-button { margin-top: 30px; }
@media (hover: hover) and (pointer: fine) {
  .gd-toon-button:hover .gd-toon-button__face { transform: translateY(-2px); }
  .gd-toon-button--pressed:hover .gd-toon-button__face,
  .gd-toon-button:active:hover .gd-toon-button__face { transform: translateY(4px); }
}
@media (max-width: 700px) {
  .hero-footer--toon { gap: 22px; margin-top: 20px; }
  .esports-home .gd-toon-button { font-size: 14px; }
  .gd-toon-button__face { gap: 14px; padding-inline: 17px; }
}
@media (max-width: 480px) {
  .hero-footer--toon { flex-direction: column; justify-content: center; gap: 16px; }
  .hero-footer--toon p { max-width: none; margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .gd-toon-button__face { transition: none; }
  .gd-toon-button:hover .gd-toon-button__face,
  .gd-toon-button--pressed .gd-toon-button__face,
  .gd-toon-button:active .gd-toon-button__face { transform: none; }
  .gd-toon-button:active .gd-toon-button__icon { background: var(--cream); }
}
