/* Artless Commerce Auto — plain, minimal, with glassy background blur */

@import url('https://fonts.googleapis.com/css2?family=Play:wght@400;700&display=swap');

body {
  font-family: 'Play', system-ui, sans-serif;
  background: #000;
  color: #fff;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

::selection { background: #fff; color: #000; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: #333; }

* { -webkit-tap-highlight-color: transparent; }

/* --- Background image layer --- */
/* Fixed full-viewport image with light blur + dark overlay for readability */
.bg-image {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(4px);
  opacity: 0.5;
  /* Scale up slightly so blur edges don't show transparent borders */
  transform: scale(1.05);
}

.bg-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
  background: rgba(0, 0, 0, 0.4);
}

/* --- Glassy box --- */
/* Plain bordered box, slightly translucent with backdrop frost */
.box {
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* --- Glassy input --- */
.input {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  border-radius: 0;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.input::placeholder { color: #666; }
.input:focus {
  outline: 1px solid rgba(255, 255, 255, 0.5);
  outline-offset: 0;
}
select.input { background: rgba(0, 0, 0, 0.85); }
select.input option { background: #000; color: #fff; }

/* --- Plain button --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  cursor: pointer;
  border-radius: 0;
  transition: background 0.15s, color 0.15s;
}
.btn:hover {
  background: #fff;
  color: #000;
}

/* --- Nav --- */
.nav-link {
  color: #999;
  padding: 0.25rem 0.5rem;
  font-weight: 500;
  font-size: 0.8125rem;
  text-decoration: none;
  transition: color 0.15s;
}
.nav-link:hover { color: #fff; }
.nav-link.active { color: #fff; }

/* --- Dynamic content (API-injected) --- */
#page-content { color: #fff; line-height: 1.6; }
#page-content p { color: #ddd; margin-bottom: 1rem; }
#page-content h2 { color: #fff; font-size: 1.125rem; font-weight: 600; margin-top: 1.5rem; margin-bottom: 0.5rem; }
#page-content h3 { color: #fff; font-size: 1rem; font-weight: 600; margin-top: 1rem; margin-bottom: 0.5rem; }
#page-content strong { color: #fff; font-weight: 700; }
#page-content ul, #page-content ol { color: #ddd; padding-left: 1.5rem; margin-bottom: 1rem; }
#page-content ul { list-style: disc; }
#page-content ol { list-style: decimal; }
#page-content li { color: #ddd; margin-bottom: 0.375rem; }
#page-content a { color: #fff; text-decoration: underline; }
#page-content blockquote { border-left: 2px solid #555; padding-left: 1rem; margin: 1rem 0; color: #aaa; }
