:root {
  --color-primary: #65d9ff;
  --color-primary-contrast: #06111c;
  --color-bg: #050b16;
  --color-surface: #0a1728;
  --color-text: #f4fbff;
  --color-muted: #8da5bb;
  --color-verified: #3b82f6;
  --font-heading: Orbitron, sans-serif;
  --font-body: Poppins, sans-serif;
  --radius: 1rem;
  --background-banner: url("https://files.catbox.moe/qlyjzt.jpg");
  --background-logo: url("https://files.catbox.moe/qlyjzt.jpg");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
}

.font-heading {
  font-family: var(--font-heading);
}

.site-background {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--color-bg);
  background-image: linear-gradient(color-mix(in srgb, var(--color-bg) 70%, transparent),
      color-mix(in srgb, var(--color-bg) 84%, transparent)),
    var(--background-banner);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.site-background::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: color-mix(in srgb, var(--color-bg) 28%, transparent);
}

.site-background::after {
  content: none;
}

.surface-panel {
  position: relative;
  z-index: 1;
  background: color-mix(in srgb, var(--color-surface) 94%, transparent);
  border: 1px solid color-mix(in srgb, var(--color-primary) 28%, transparent);
  border-radius: var(--radius);
  box-shadow: 0 1rem 2.5rem color-mix(in srgb, var(--color-bg) 75%, transparent);
}

.card-hover {
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.card-hover:hover {
  transform: translateY(-.25rem);
  border-color: var(--color-primary);
  box-shadow: 0 .75rem 1.5rem color-mix(in srgb, var(--color-primary) 14%, transparent);
}

button,
a {
  -webkit-tap-highlight-color: color-mix(in srgb, var(--color-primary) 22%, transparent);
}

h1,
h2,
h3 {
  text-shadow: 0 0 .6rem color-mix(in srgb, var(--color-primary) 12%, transparent);
}

::selection {
  background: var(--color-primary);
  color: var(--color-primary-contrast);
}

@media (max-width: 768px) {
  .site-background {
    background-attachment: scroll;
    background-position: center top;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .card-hover {
    transition: none;
  }
}
