/* ------------------------------------------------------------------ Knöpfe */

/*
  Der Standardknopf des Launchers (`.asg-knopf`): Glas, feiner Rand, 10 px
  Radius. Hebt sich beim Überfahren um einen Bildpunkt und bekommt Gold in
  den Rand.
*/
.btn {
  display: inline-block;
  text-shadow: none;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--ink);
  background: linear-gradient(to bottom, var(--glass-light), rgb(255 255 255 / 2%));
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 0.12s ease,
    border-color 0.15s ease,
    background 0.15s ease,
    box-shadow 0.15s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  color: var(--ink);
  border-color: rgb(232 195 122 / 45%);
  background: linear-gradient(to bottom, rgb(232 195 122 / 14%), rgb(255 255 255 / 3%));
}

.btn:active {
  transform: translateY(0);
}

/*
  Der goldene Hauptknopf (`.asg-knopf-spielen`): eingelegtes Gold, dunkle
  Schrift, ein Lichtstreif, der NUR beim Überfahren einmal durchläuft. Ein
  dauerndes Glimmen kostet auch dann Rechenzeit, wenn niemand hinsieht.
*/
.btn--primary {
  position: relative;
  overflow: hidden;
  padding: 11px 26px;
  font-size: 0.9375rem;
  letter-spacing: 2px;
  color: #2b1c06;
  border-color: var(--gold-deep);
  background: linear-gradient(to bottom, #fbeac2 0%, var(--gold) 46%, #c9993f 100%);
  box-shadow:
    0 10px 24px rgb(184 137 58 / 30%),
    inset 0 1px 0 rgb(255 255 255 / 65%),
    inset 0 -1px 0 rgb(110 74 18 / 45%);
}

.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 38%, rgb(255 255 255 / 50%) 50%, transparent 62%);
  transform: translateX(-120%);
  pointer-events: none;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  transform: translateY(-2px);
  color: #2b1c06;
  border-color: var(--gold);
  background: linear-gradient(to bottom, #fff2d4 0%, #f0cf8a 46%, #cea247 100%);
  box-shadow:
    0 14px 30px rgb(184 137 58 / 42%),
    inset 0 1px 0 rgb(255 255 255 / 70%),
    inset 0 -1px 0 rgb(110 74 18 / 45%);
}

.btn--primary:hover::after,
.btn--primary:focus-visible::after {
  animation: light-streak 720ms ease-out;
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow:
    0 6px 16px rgb(184 137 58 / 30%),
    inset 0 2px 4px rgb(110 74 18 / 40%);
}

@keyframes light-streak {
  to {
    transform: translateX(120%);
  }
}

/* Der Account-Knopf in der Kopfleiste: derselbe Goldknopf, eine Nummer kleiner. */
.cta {
  padding: 8px 18px;
  font-size: 0.8125rem;
  letter-spacing: 1.5px;
}
