section.cover .cover-main > p:last-child {
  --glass-border: rgba(35, 126, 57, 0.34);
  --glass-highlight: rgba(255, 255, 255, 0.82);
  --glass-shadow: rgba(22, 91, 43, 0.16);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 2vw, 28px);
  justify-content: center;
  margin: 1.25rem auto 0;
  max-width: 1320px;
  perspective: 900px;
  width: 100%;
}

section.cover .cover-main > p:last-child a {
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  align-items: center;
  animation: home-action-enter 640ms cubic-bezier(0.2, 0.8, 0.2, 1) backwards;
  backdrop-filter: blur(18px) saturate(150%);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.2)),
    rgba(236, 249, 230, 0.24);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    inset 0 -1px 0 rgba(255, 255, 255, 0.18),
    0 12px 30px -18px var(--glass-shadow);
  color: var(--cover-button);
  cursor: pointer;
  display: inline-flex;
  font-size: clamp(1rem, 1.35vw, 1.3rem);
  font-weight: 750;
  isolation: isolate;
  justify-content: center;
  letter-spacing: 0.02em;
  margin: 0;
  min-height: 58px;
  min-width: clamp(168px, 18vw, 250px);
  overflow: hidden;
  padding: 0.8rem 1.5rem;
  position: relative;
  scale: 1;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  transform: translateZ(0);
  translate: 0 0;
  transition:
    border-color 360ms ease,
    box-shadow 420ms ease,
    color 320ms ease,
    filter 420ms ease,
    scale 420ms cubic-bezier(0.16, 1, 0.3, 1),
    translate 420ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: scale, translate;
}

section.cover .cover-main > p:last-child a:nth-child(2) {
  animation-delay: 80ms;
}

section.cover .cover-main > p:last-child a:nth-child(3) {
  animation-delay: 160ms;
}

section.cover .cover-main > p:last-child a:nth-child(4) {
  animation-delay: 240ms;
}

section.cover .cover-main > p:last-child a::before {
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.92), transparent 28%),
    linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.52) 45%, transparent 68%);
  border-radius: inherit;
  content: "";
  inset: 1px;
  opacity: 0.58;
  pointer-events: none;
  position: absolute;
  transform: translateX(-38%);
  transition: opacity 300ms ease, transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: -1;
}

section.cover .cover-main > p:last-child a::after {
  background: radial-gradient(circle, rgba(76, 210, 116, 0.42), transparent 68%);
  border-radius: 50%;
  content: "";
  height: 110px;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  right: -50px;
  top: -68px;
  transform: scale(0.65);
  transition: opacity 300ms ease, transform 420ms ease;
  width: 110px;
  z-index: -1;
}

section.cover .cover-main > p:last-child a:hover {
  border-color: rgba(35, 126, 57, 0.74);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -1px 0 rgba(255, 255, 255, 0.24),
    0 22px 42px -16px rgba(22, 91, 43, 0.44);
  color: var(--cover-button-hover);
  filter: brightness(1.07) saturate(1.08);
  scale: 1.045;
  translate: 0 -7px;
}

section.cover .cover-main > p:last-child a:hover::before {
  opacity: 1;
  transform: translateX(44%);
}

section.cover .cover-main > p:last-child a:hover::after {
  opacity: 1;
  transform: scale(1.18);
}

section.cover .cover-main > p:last-child a:active {
  box-shadow:
    inset 0 2px 8px rgba(25, 94, 43, 0.16),
    0 8px 18px -12px rgba(22, 91, 43, 0.28);
  scale: 0.985;
  translate: 0 -1px;
  transition-duration: 90ms;
}

section.cover .cover-main > p:last-child a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--cover-button) 48%, white);
  outline-offset: 4px;
}

section.cover .cover-main > p:last-child a:last-child {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 52%),
    color-mix(in srgb, var(--cover-button) 88%, transparent);
  border-color: rgba(255, 255, 255, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.44),
    inset 0 -1px 0 rgba(0, 66, 24, 0.18),
    0 15px 34px -16px rgba(15, 91, 38, 0.56);
  color: #ffffff;
  text-shadow: 0 1px 8px rgba(0, 62, 22, 0.24);
}

section.cover .cover-main > p:last-child a:last-child:hover {
  border-color: rgba(255, 255, 255, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.58),
    inset 0 -1px 0 rgba(0, 55, 20, 0.2),
    0 22px 42px -17px rgba(10, 82, 31, 0.66);
  color: #ffffff;
}

:root[data-theme="dark"] section.cover .cover-main > p:last-child {
  --glass-border: rgba(132, 224, 153, 0.2);
  --glass-highlight: rgba(224, 255, 232, 0.12);
  --glass-shadow: rgba(0, 0, 0, 0.28);
}

:root[data-theme="dark"] section.cover .cover-main > p:last-child a {
  background:
    linear-gradient(135deg, rgba(180, 240, 194, 0.09), rgba(9, 34, 20, 0.08)),
    rgba(20, 59, 31, 0.34);
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    inset 0 -1px 0 rgba(225, 255, 233, 0.04),
    0 10px 24px -18px var(--glass-shadow);
  text-shadow: none;
}

:root[data-theme="dark"] section.cover .cover-main > p:last-child a:hover {
  border-color: rgba(132, 224, 153, 0.36);
  box-shadow:
    inset 0 1px 0 rgba(224, 255, 232, 0.18),
    inset 0 -1px 0 rgba(225, 255, 233, 0.05),
    0 16px 30px -20px rgba(0, 0, 0, 0.36);
  filter: brightness(1.04) saturate(1.04);
}

:root[data-theme="dark"] section.cover .cover-main > p:last-child a::before {
  background:
    radial-gradient(circle at 28% 18%, rgba(224, 255, 232, 0.28), transparent 30%),
    linear-gradient(110deg, transparent 24%, rgba(205, 255, 219, 0.15) 46%, transparent 68%);
  opacity: 0.28;
}

:root[data-theme="dark"] section.cover .cover-main > p:last-child a:hover::before {
  opacity: 0.46;
}

:root[data-theme="dark"] section.cover .cover-main > p:last-child a::after {
  background: radial-gradient(circle, rgba(76, 210, 116, 0.16), transparent 70%);
}

:root[data-theme="dark"] section.cover .cover-main > p:last-child a:hover::after {
  opacity: 0.5;
}

@keyframes home-action-enter {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media screen and (max-width: 768px) {
  section.cover .cover-main > p:last-child {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0.85rem;
    max-width: 420px;
    width: calc(100vw - 40px);
  }

  section.cover .cover-main > p:last-child a {
    box-sizing: border-box;
    font-size: 0.94rem;
    min-height: 50px;
    min-width: 0;
    padding: 0.68rem 0.75rem;
    width: 100%;
  }

  section.cover .cover-main > p:last-child a:hover {
    scale: 1.025;
    translate: 0 -3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  section.cover .cover-main > p:last-child a {
    animation: none;
    will-change: auto;
  }

  section.cover .cover-main > p:last-child a::before {
    transform: none;
  }
}
