/* assets/css/styles.css */

/* Smooth base */
html,
body {
  height: 100%;
}

body {
  background: #050505;
  color: #f5f5f5;
  overflow-x: hidden;
}

#bgPlusCanvas {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw; /* important */
  height: 100vh; /* important */
  z-index: 0;
  pointer-events: none;
  display: block; /* avoids inline-canvas weirdness */
}

/* Content sits above background */
.site-layer {
  position: relative;
  z-index: 1;
}

/* Subtle glass panel */
.glass {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

/* Crisp focus */
:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 2px;
}

/* Nice underline hover */
.link-underline {
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 200ms ease;
}
.link-underline:hover {
  background-size: 100% 1px;
}

/* Small “pill” badges */
.badge {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
}

/* Clean input */
.input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.input:focus {
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
  outline: none;
}

/* Button */
.btn {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  transition: transform 120ms ease, background 120ms ease, border-color 120ms ease;
}
.btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
}
.btn:active {
  transform: translateY(1px);
}

/* Hero “hairline” glow */
.hairline {
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.35), transparent);
  height: 1px;
}
/* Media frames for screenshots / gifs */
.media-frame {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
  overflow: hidden;
}

.media-frame img,
.media-frame video {
  display: block;
  width: 100%;
  height: auto;
}

.caption {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  line-height: 1.4;
}
