html, body {
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  background: var(--body-bg);
  color: var(--text-color);
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  letter-spacing: 0.01em;
  font-size: 1.04em;
  /* Smoother page fade on load */
  opacity: 0;
  animation: page-fadein 0.3s cubic-bezier(.6,.2,.45,1) forwards;
}
@keyframes page-fadein { from { opacity: 0; } to { opacity: 1; } }

main { flex: 1; }

/* Variations for glass, neon, frost, etc. */
:root,
[data-bs-theme="dark"] {
  --neon-glow: 0 0 18px #00ffeea0, 0 0 32px #10fffebb;
  --pink-glow: 0 0 10px #ff3179cc, 0 0 24px #ff3179bb;
  --nav-radius: 2.2rem;
  --frost: blur(24px);
  --navbar-font: 'Orbitron', 'Montserrat', Arial, sans-serif;
  --navbar-bg: rgba(24,32,42,0.96);
  --navbar-glass: rgba(20,24,30,0.91);
  --body-bg: linear-gradient(111deg,#181d22 10%,#0d1117 100%);
  --text-color: #e3fcff;
  --text-secondary: #a8e9fa;
  --table-bg: rgba(22,26,29,0.97);
  --table-head-bg: rgba(13,18,21,0.87);
  --table-head-color: #affffe;
  --form-bg: rgba(20,26,32,0.82);
  --form-border: #03fbf888;
  --form-focus-bg: rgba(40,49,57,0.94);
  --form-focus-border: #00feff;
  --form-text: #f3feff;
  --dropdown-bg: rgba(18,24,28,0.96);
  --dropdown-hover-bg: rgba(16,90,112,0.15);
  --dropdown-border: #00ffee66;
  --dropdown-color: #d8ffff;
}

.fadein {
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  animation: fadein-real 0.28s cubic-bezier(.77,0,.34,1.09) forwards;
}
@keyframes fadein-real {
  0% { opacity: 0; transform: translateY(22px) scale(0.97);}
  80%{ opacity: 1; transform: translateY(-3px) scale(1.01); }
  100%{ opacity: 1; transform: translateY(0) scale(1);}
}

body {
  background: var(--body-bg);
  color: var(--text-color);
  overflow-x: hidden;
  scrollbar-color: #18f9f833 #181b22;
  scrollbar-width: thin;
}
::-webkit-scrollbar {
  width: 7px;
  background: #13181e;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(120deg,#00ffee 80%,#181e26 100%);
  border-radius: 7px;
  box-shadow: 0 0 12px #00ffee44;
}

/* NAVBAR */
.navbar {
  background: var(--navbar-glass) !important;
  border-bottom: 2.5px solid #0bf1e7bb;
  border-radius: 0 0 var(--nav-radius) var(--nav-radius);
  box-shadow: 0 1.5px 32px 0 #07fff933, 0 4px 14px #12213f99;
  backdrop-filter: var(--frost);
  -webkit-backdrop-filter: var(--frost);
  padding-top: 0.46rem;
  padding-bottom: 0.44rem;
  opacity: 0;
  animation: fadein-real .44s .1s forwards;
}
@media (max-width: 576px) {
  .navbar {
    border-radius: 0 0 1em 1em;
    box-shadow: 0 7px 24px #00ffee19;
    border-bottom: 1.6px solid #00ffee33;
  }
}

.text-glow {
  color: #00f9ff;
  text-shadow: 0 0 8px #0ff, 0 0 24px #00ffeeaf;
}
.navbar-brand {
  font-family: var(--navbar-font);
  font-weight: 900;
  letter-spacing: 0.18em;
  color: #00ffee !important;
  font-size: 1.95rem;
  text-shadow: 0 0 18px #00ffee80, 0 0 2px #18b0ed70;
  transition: color .20s cubic-bezier(.85,.02,.04,1.1);
}

/* Links */
a, .inline-link {
  color: #21f6ff;
  text-shadow: 0 0 3px #00ffee33;
  transition: color .17s, text-shadow .15s;
  font-weight: 500;
  letter-spacing: 0.02em;
}

a:hover, .inline-link:hover {
  color: #fa40be;
  text-shadow: 0 0 16px #ff5fb899, 0 0 2px #44ffee88;
}

/* Nav links (mobile, desktop) */
.nav-link {
  color: var(--text-secondary) !important;
  background: none !important;
  border-radius: 24px;
  padding: 0.7em 1.5em;
  font-family: var(--navbar-font);
  letter-spacing: 0.08em;
  font-size: 1.13em;
  font-weight: 600;
  position: relative;
  margin-left: .11em;
  margin-right: .13em;
  text-align: right;
  transition: color 0.17s, background 0.17s;
  opacity: 0;
  animation: fadein-real 0.27s .14s forwards;
}
.nav-link:hover, .nav-link.active {
  color: #00ffee !important;
  background: linear-gradient(90deg,#1a242e33 30%,#10ffeedd 98%);
  box-shadow: 0 0 22px #00ffee11;
}
@media (max-width: 991.98px) {
  .navbar-nav.d-lg-none, .navbar-nav .d-lg-none {
    text-align: right !important;
  }
}

/* Dropdowns */
.dropdown-menu, .user-dropdown-menu {
  background: var(--dropdown-bg);
  border: 1.4px solid var(--dropdown-border);
  border-radius: 1.17rem;
  box-shadow: 0 0 18px #00ffee33, 0 2px 12px #27477844;
  backdrop-filter: var(--frost);
  -webkit-backdrop-filter: var(--frost);
  min-width: 220px;
  max-width: 96vw;
  padding: 0.9em 0;
  right: 0;
  left: auto !important;
  opacity: 0;
  animation: fadein-real 0.22s forwards;
}
.dropdown-item, .user-dropdown-menu .dropdown-item {
  color: var(--dropdown-color);
  border-radius: 12px;
  padding-left: 1.7rem;
  padding-right: 1.5rem;
  font-size: 1.07rem;
  line-height: 1.7;
  text-align: right;
  font-weight: 600;
  transition: background 0.18s, color 0.12s;
}

.dropdown-item:hover, .dropdown-item:active,
.user-dropdown-menu .dropdown-item:hover, .user-dropdown-menu .dropdown-item:active {
  background: var(--dropdown-hover-bg);
  color: #00ffee !important;
  box-shadow: 0 0 10px #00ffee44;
}

.dropdown-divider, .user-dropdown-menu .dropdown-divider {
  border-color: #00ffee3a;
  opacity: 1;
  margin: 0.48rem 0;
  margin-left: 1.1rem;
  margin-right: 1.1rem;
}

/* TABLES */
.mouseprints-table {
  border-radius: 1.45rem;
  overflow: hidden;
  background: var(--table-bg);
  box-shadow: 0 0 3rem #00ffee44, 0 2px 24px #131f2ee6;
  font-size: 1.12em;
  font-family: 'Montserrat', 'JetBrains Mono', monospace, Arial, sans-serif;
  margin-bottom: 2.2rem;
  opacity: 0;
  animation: fadein-real 0.33s .14s forwards;
}
.mouseprints-table thead {
  background: linear-gradient(93deg, #00ffeecc 0%,#00b0bab9 100%);
  color: #0a141a !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.mouseprints-table th,
.mouseprints-table td {
  border: none !important;
  vertical-align: middle;
  padding: 1.13rem 1.28rem;
  font-size: 1em;
  color: #dbfdfd;
  background: transparent;
}
.mouseprints-table tbody tr {
  transition: background 0.2s cubic-bezier(.7,0,.12,1.3);
}
.mouseprints-table tbody tr:hover {
  background: linear-gradient(90deg, #0fffeee0 0%, #202a2ea0 95%);
}

/* BUTTONS */
.btn, .mouseprints-btn, .btn-ai, .pro-glow {
  font-family: 'Montserrat', 'Orbitron', Arial, sans-serif;
  border-radius: 1.7rem;
  font-size: 1.1em;
  transition: all 0.22s cubic-bezier(.77,0,.13,1.11);
  box-shadow: 0 2px 18px 0 #00ffee24;
  border: 1.5px solid #26defee0;
  font-weight: 700;
  letter-spacing: 0.05em;
  position: relative;
  overflow: hidden;
  z-index: 2;
  opacity: 0;
  animation: fadein-real 0.34s .12s forwards;
}
.btn:hover, .mouseprints-btn:hover {
  transform: scale(1.06) translateY(-2px);
  box-shadow: 0 0 22px #00ffee77, 0 2px 26px #162c4c99;
  border-color: #00ffee;
  filter: brightness(1.08) saturate(1.16);
}
.btn-outline-secondary, .mouseprints-btn-outline {
  background: transparent;
  border-color: #18a195;
  color: #abe1dd;
  font-weight: 600;
  letter-spacing: 0.09em;
}
.btn-outline-secondary:hover, .mouseprints-btn-outline:hover {
  background: #162425aa;
  color: #00ffee;
}
.copy-snippet-btn {
  color: #00ffee;
  border: 1.5px solid #00ffee;
  background: transparent;
  box-shadow: 0 0 0.88em 0 #00ffee99;
}
.copy-snippet-btn:hover {
  background: #00ffee;
  color: #081420;
  filter: brightness(1.06);
}
.pro-glow, .btn-ai {
  background: linear-gradient(125deg, #162b31 8%, #071a1b 48%, #00ffee51 100%);
  box-shadow: var(--neon-glow), 0 3px 28px #024faf11;
  border: 2.2px solid #00ffeea7;
  color: #2afaff;
  text-shadow: 0 0 11px #00ffeebb, 0 0 2px #00ffee55;
  font-weight: 900;
  border-radius: 24px;
}

.btn-ai:hover {
  background: linear-gradient(125deg, #00ffee, #35dbff 82%, #fff 140%);
  color: #181d22;
  text-shadow: none;
  box-shadow: 0 0 32px #00ffee77, 0 0 24px #00ffee65 inset;
}

/* GLASSY CARDS & PANELS */
.card, .panel, .box-panel, .pro-glow, .pro-glow-wrapper {
  border-radius: 1.7rem !important;
  background: rgba(16,21,32,0.91);
  box-shadow: 0 0 32px 0 #00ffee40, 0 3px 16px #131b20e6;
  border: 1.7px solid #00ffee29;
  overflow: hidden;
  color: #f5fcff;
  transition: background 0.32s cubic-bezier(.77,0,.12,1), color 0.28s cubic-bezier(.8,0,.15,1);
  opacity: 0;
  animation: fadein-real 0.41s .15s forwards;
}
.pro-glow, .pro-glow-wrapper {
  border-radius: 1.7rem !important;
  background: linear-gradient(120deg, #1a2d2e 1%, #071a1b 47%, #00ffee21 97%);
  box-shadow: 0 0 38px #00ffeeb0, 0 2px 26px #2847ff23;
  border: 2.5px solid #00ffee77;
}

.badge.bg-success {
  background: linear-gradient(98deg, #00ffbb 0%, #00ffee 100%) !important;
  color: #0a2024 !important;
  border-radius: 0.95em;
  font-weight: 800;
  letter-spacing: 0.11em;
}


*:focus {
  outline: 2.7px solid #00ffeebb !important;
  outline-offset: 2px;
  transition: outline .12s;
}



.modal-header .btn-close {
  background: none !important;
  background-image: none !important;
  border: none;
  outline: none;
  box-shadow: none;
  opacity: 1 !important;
  color: #00ffee !important;
  width: 2.2em;
  height: 2.2em;
  font-size: 1.7em;
  position: relative !important;
  top: auto !important;
  right: auto !important;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: auto;
  padding: 0;
}

.modal-header .btn-close::before {
  /* content: "x"; */
  color: #00ffee;
  text-shadow:
    0 0 12px #00ffee90,
    0 0 6px #00ffeecc,
    0 0 2px #0ff;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1em;
  pointer-events: none;
}

.modal-header .btn-close:focus,
.modal-header .btn-close:hover {
  color: #fa40be !important;
}

.modal-header .btn-close:focus::before,
.modal-header .btn-close:hover::before {
  color: #fa40be !important;
  text-shadow:
    0 0 16px #ff5fb899,
    0 0 3px #ffffff;
}


html {
  scroll-padding-top: 80px; /* or match your navbar height */
}