:root {
  color-scheme: dark;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
}

section[id],
footer[id] {
  scroll-margin-top: 104px;
}

.glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.neon-border-violet {
  border: 1px solid rgba(138, 43, 226, 0.4);
  box-shadow:
    inset 0 0 10px rgba(138, 43, 226, 0.2),
    0 0 15px rgba(138, 43, 226, 0.1);
}

.text-glow-violet {
  text-shadow: 0 0 10px rgba(138, 43, 226, 0.6);
}

.text-glow-cyan {
  text-shadow: 0 0 10px rgba(0, 221, 216, 0.6);
}

.site-logo {
  height: 3rem;
  filter:
    drop-shadow(0 0 10px rgba(220, 184, 255, 0.9))
    drop-shadow(0 0 24px rgba(220, 184, 255, 0.55));
}

.site-logo-link:hover .site-logo {
  filter:
    drop-shadow(0 0 14px rgba(220, 184, 255, 1))
    drop-shadow(0 0 30px rgba(220, 184, 255, 0.7));
}

.qr-card {
  width: min(100%, 420px);
  padding: 1.25rem;
  border-radius: 2rem;
  border: 1px solid rgba(220, 184, 255, 0.25);
  background:
    linear-gradient(
      160deg,
      rgba(220, 184, 255, 0.12),
      rgba(0, 221, 216, 0.04) 50%,
      rgba(19, 19, 19, 0.3)
    );
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.05),
    0 20px 45px rgba(0, 0, 0, 0.35),
    inset 0 0 32px rgba(138, 43, 226, 0.1);
}

.qr-image {
  display: block;
  width: 100%;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.top-nav-link {
  position: relative;
  color: rgba(255, 255, 255, 0.7);
  transition: color 220ms ease;
}

.top-nav-link:hover {
  color: #ffffff;
}

.top-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  border-radius: 9999px;
  background: #dcb8ff;
  box-shadow: 0 0 10px rgba(220, 184, 255, 0.55);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.top-nav-link.is-active {
  color: #dcb8ff;
}

.top-nav-link.is-active::after {
  transform: scaleX(1);
}

.mobile-nav-panel {
  position: fixed;
  top: 4rem;
  left: 0;
  right: 0;
  z-index: 45;
  gap: 0.125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 10, 10, 0.95);
  padding: 0.6rem 1rem 0.85rem;
  backdrop-filter: blur(16px);
}

.mobile-nav-panel:not(.hidden) {
  display: grid;
}

.mobile-nav-link {
  border-radius: 0.6rem;
  padding: 0.72rem 0.8rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.72);
  transition: background-color 180ms ease, color 180ms ease;
}

.mobile-nav-link.is-active {
  background: rgba(220, 184, 255, 0.12);
  color: #dcb8ff;
}

.primary-action {
  background: #dcb8ff;
  color: #480081;
  transition:
    box-shadow 220ms ease,
    transform 120ms ease,
    background-color 220ms ease;
}

.primary-action:hover {
  box-shadow: 0 0 25px rgba(220, 184, 255, 0.4);
}

.primary-action:active {
  transform: translateY(1px) scale(0.98);
  box-shadow: 0 0 10px rgba(220, 184, 255, 0.28);
}

.seo-copy {
  position: relative;
  padding-top: 0.85rem;
}

.seo-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.seo-copy-text {
  margin: 0;
  font-size: 0.73rem;
  line-height: 1.62;
  color: rgba(229, 226, 225, 0.4);
  text-wrap: pretty;
}

@media (max-width: 767px) {
  .site-logo {
    height: 2.45rem;
  }

  section[id],
  footer[id] {
    scroll-margin-top: 84px;
  }
}
