/* LarsMarket monochrome theme with a subtle animated star field. */
:root {
  --aps-card-glass: rgba(255,255,255,.035);
  --aps-card-glass-border: rgba(255,255,255,.14);
  --aps-card-glass-hover: rgba(255,255,255,.075);
  --aps-card-glass-border-hover: rgba(255,255,255,.30);
  --aps-vib-glass: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015) 70%);
  --aps-vib-border: rgba(255,255,255,.14);
  --aps-vib-border-hover: rgba(255,255,255,.30);
  --aps-vib-divider: rgba(255,255,255,.10);
  --aps-vib-lift: inset 0 1px 0 rgba(255,255,255,.06);
  --aps-vib-glow: 0 18px 48px -30px rgba(255,255,255,.28);
  --aps-vib-button-glow: inset 0 1px 0 rgba(255,255,255,.35), 0 8px 24px -10px rgba(255,255,255,.24);
  --aps-vib-button-glow-hover: inset 0 1px 0 rgba(255,255,255,.45), 0 10px 30px -10px rgba(255,255,255,.36);
}

html,
body {
  background-color: #030303 !important;
  color: #f5f5f5;
}

body {
  background-image:
    radial-gradient(1px 1px at 18px 28px, rgba(255,255,255,.78) 98%, transparent),
    radial-gradient(1px 1px at 74px 116px, rgba(255,255,255,.52) 98%, transparent),
    radial-gradient(1.5px 1.5px at 142px 62px, rgba(255,255,255,.64) 98%, transparent),
    radial-gradient(1px 1px at 212px 176px, rgba(255,255,255,.46) 98%, transparent),
    linear-gradient(180deg, #030303, #080808 52%, #030303) !important;
  background-size: 240px 220px, 280px 260px, 320px 300px, 360px 340px, 100% 100%;
  background-attachment: fixed;
}

/* Let the star field show through the large page sections. */
html body :is(#pricing, #status, #faq, footer, main) {
  background-color: rgba(3,3,3,.78) !important;
}

html body :is(nav, .aps-glass-surface, #product-grid .df-prod-card, .dp-pp-actions,
  .dp-pp-showcase, .requirement-card, .feature-column, .apsr-card, .apsr-stats,
  #faq details, .aps-cart-primary, .aps-upsell-add) {
  border-color: rgba(255,255,255,.15) !important;
}

html body :is(.text-cyan-50, .text-cyan-100, .text-cyan-200, .text-cyan-300,
  .text-cyan-400, .text-cyan-500, .text-emerald-300, .text-emerald-400,
  .text-yellow-300, .text-yellow-400) {
  color: #f5f5f5 !important;
}

html body :is(.bg-cyan-300, .bg-cyan-400, .bg-cyan-500, .bg-emerald-300,
  .bg-emerald-400, .bg-yellow-300, .bg-yellow-400) {
  background-color: #f5f5f5 !important;
}

html body :is(.hover\:bg-cyan-300:hover, .hover\:bg-cyan-400:hover) {
  background-color: #d4d4d4 !important;
}

html body :is(button.bg-cyan-300, button.bg-cyan-400, button.bg-cyan-500,
  .aps-cart-primary, .aps-upsell-add) {
  color: #050505 !important;
}

html body :is(.border-cyan-300, .border-cyan-400, .border-cyan-500,
  .border-emerald-300, .border-emerald-400) {
  border-color: rgba(255,255,255,.65) !important;
}

html body ::selection {
  color: #050505;
  background: #f5f5f5;
}

html body .larsmarket-lang-toggle:hover,
html body .larsmarket-lang-menu button[aria-checked="true"] {
  border-color: rgba(255,255,255,.85) !important;
}

.lm-shooting-star {
  position: fixed;
  z-index: 2;
  top: -15vh;
  left: 78vw;
  width: 190px;
  height: 1px;
  pointer-events: none;
  opacity: 0;
  transform: rotate(42deg);
  transform-origin: right center;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.12) 35%, rgba(255,255,255,.95));
  box-shadow: 0 0 7px rgba(255,255,255,.55);
  animation: lm-shooting-star 12s linear infinite;
}

.lm-shooting-star.lm-star-two {
  top: 18vh;
  left: 105vw;
  width: 140px;
  animation-delay: -4.9s;
  animation-duration: 12s;
}

.lm-shooting-star.lm-star-three {
  top: 48vh;
  left: 115vw;
  width: 220px;
  animation-delay: -8.9s;
  animation-duration: 12s;
}

@keyframes lm-shooting-star {
  0% { transform: translate3d(12vw,-8vh,0) rotate(42deg) scaleX(.05); opacity: 0; }
  7% { opacity: .8; }
  16% { transform: translate3d(-48vw,48vh,0) rotate(42deg) scaleX(1); opacity: .5; }
  24%, 100% { transform: translate3d(-75vw,72vh,0) rotate(42deg) scaleX(.3); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .lm-shooting-star { animation: none; display: none; }
}
