
:root {
  --pxs-ink: #1c1c1c;
  --pxs-ink-muted: #daddd8;
  --pxs-ink-soft: #ecebe4;
  --pxs-moss: #eef0f2;
  --pxs-olive: #fafaff;
  --pxs-sage: #daddd8;
  --pxs-haze: #eef0f2;
  --pxs-sand: #fafaff;
  --pxs-moss-dark: #1c1c1c;
  --pxs-deep: #1c1c1c;
  --pxs-card: #ecebe4;
  --pxs-border: rgba(28, 28, 28, 0.15);
  --pxs-glow: rgba(218, 221, 216, 0.4);
}

body {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  background: radial-gradient(circle at 15% 20%, rgba(250, 250, 255, 0.2), transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(218, 221, 216, 0.25), transparent 60%),
    linear-gradient(160deg, #1c1c1c 0%, #1c1c1c 45%, #daddd8 100%);
  color: var(--pxs-sand);
  position: relative;
  min-height: 100vh;
}

body.frontpage {
  background: linear-gradient(180deg, #f8fafc 0%, #e8f0ff 45%, #f8fafc 100%);
  color: #0f172a;
}

body.frontpage h1,
body.frontpage h2,
body.frontpage h3,
body.frontpage .logo-text {
  color: #0f172a;
  text-shadow: none;
}

body.frontpage a {
  color: #0f172a;
}

body.frontpage a:hover {
  color: #0ea5e9;
}

body.site-page {
  background: radial-gradient(circle at 18% 12%, rgba(14, 165, 233, 0.12), transparent 32%),
    radial-gradient(circle at 80% 0%, rgba(99, 102, 241, 0.12), transparent 28%),
    linear-gradient(180deg, #f8fafc 0%, #eef2ff 45%, #f8fafc 100%);
  color: #0f172a;
  min-height: 100vh;
}

body.site-page h1,
body.site-page h2,
body.site-page h3,
body.site-page .logo-text {
  color: #0f172a;
  text-shadow: none;
}

body.site-page a {
  color: #0f172a;
}

body.site-page a:hover {
  color: #0ea5e9;
}

.product-image-frame {
  background: #fafaff;
  border-radius: 18px;
  border: 1px solid rgba(28, 28, 28, 0.18);
  box-shadow: 0 18px 35px rgba(28, 28, 28, 0.2), 0 0 0 2px rgba(250, 250, 255, 0.65),
    inset 0 0 0 1px rgba(28, 28, 28, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  position: relative;
  overflow: hidden;
}

.product-image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(218, 221, 216, 0.6);
  box-shadow: inset 0 0 18px rgba(238, 240, 242, 0.45);
  pointer-events: none;
}

.product-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.product-image-frame--thumb {
  padding: 6px;
  border-radius: 12px;
}

.product-image-frame--listing {
  height: 200px;
  max-height: 200px;
}

.product-image-frame--mini {
  padding: 4px;
  border-radius: 10px;
}
h1, h2, h3, .logo-text {
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.04em;
}
.logo-text {
  text-transform: uppercase;
}
.logo-text,
h1,
h2,
h3 {
  color: var(--pxs-sand);
  text-shadow: 0 12px 30px rgba(28, 28, 28, 0.35);
}

.nav-logo,
.nav-logo-text-scale {
  transform: scale(1.2);
  transform-origin: left top;
}

a {
  color: var(--pxs-sand);
  transition: color 0.2s ease;
}
a:hover {
  color: var(--pxs-haze);
}

button,
input[type="submit"],
input[type="button"] {
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  border-radius: 999px;
}
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
  transform: translateY(-1px);
}

.bg-white {
  background-color: var(--pxs-card);
  border: 1px solid var(--pxs-border);
  box-shadow: 0 24px 50px rgba(28, 28, 28, 0.25);
}

.bg-cyan-500,
.bg-cyan-400,
.bg-emerald-500,
.bg-emerald-400 {
  box-shadow: 0 15px 30px var(--pxs-glow);
}

.bg-cyan-500:hover,
.bg-cyan-400:hover,
.bg-emerald-500:hover,
.bg-emerald-400:hover {
  filter: brightness(1.05);
}

.text-gray-500 {
  color: #daddd8;
}
.text-gray-600 {
  color: #ecebe4;
}
.text-gray-700 {
  color: #eef0f2;
}
.text-gray-800 {
  color: #fafaff;
}
.text-gray-900 {
  color: var(--pxs-ink);
}
.text-slate-100 {
  color: #fafaff;
}
.text-slate-200 {
  color: #eef0f2;
}
.text-slate-300 {
  color: #ecebe4;
}
.text-slate-400 {
  color: #daddd8;
}
.text-slate-500 {
  color: #1c1c1c;
}
.text-white {
  color: #fafaff;
}
.crt {
  position: relative;
  z-index: 0;
}
.crt::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: linear-gradient(rgba(28, 28, 28, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 28, 28, 0.2) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
  z-index: -1;
  opacity: 0.2;
}
.crt::after {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at top, rgba(250, 250, 255, 0.2), transparent 60%);
  pointer-events: none;
  z-index: -2;
}

#asteroids:focus {
  outline: none;
}
#runner:focus {
  outline: none;
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
}

.footer-social-icon {
  height: 50px;
  max-height: 50px;
  width: auto;
  filter: drop-shadow(0 4px 10px rgba(28, 28, 28, 0.35));
}

.site-header {
  background: rgba(28, 28, 28, 0.92);
  border-bottom: 1px solid rgba(218, 221, 216, 0.35);
  box-shadow: 0 18px 40px rgba(28, 28, 28, 0.6);
  backdrop-filter: blur(12px);
}

body.frontpage .site-header,
body.site-page .site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.site-nav {
  background: rgba(28, 28, 28, 0.96);
  border: 1px solid rgba(218, 221, 216, 0.25);
  border-radius: 20px;
  box-shadow: inset 0 0 0 1px rgba(250, 250, 255, 0.2);
}

body.frontpage .site-nav,
body.site-page .site-nav {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.site-nav a {
  color: #fafaff;
  font-weight: 500;
  letter-spacing: 0.03em;
}

body.frontpage .site-nav a,
body.site-page .site-nav a {
  color: #0f172a;
}

.site-nav a:hover {
  color: #eef0f2;
}

body.frontpage .site-nav a:hover,
body.site-page .site-nav a:hover {
  color: #0ea5e9;
}

.site-category-nav {
  background: rgba(28, 28, 28, 0.85);
  border-bottom: 1px solid rgba(218, 221, 216, 0.25);
  box-shadow: 0 10px 26px rgba(28, 28, 28, 0.45);
}

body.frontpage .site-category-nav,
body.site-page .site-category-nav {
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  color: #0f172a;
  box-shadow: none;
}

.site-float-button {
  background: rgba(28, 28, 28, 0.95);
  color: #fafaff;
  border: 1px solid rgba(218, 221, 216, 0.4);
  box-shadow: 0 12px 26px rgba(28, 28, 28, 0.6);
}

body.frontpage .site-float-button,
body.site-page .site-float-button {
  background: #0f172a;
  color: #f8fafc;
  border: 1px solid #0f172a;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
}

.site-float-button:hover {
  background: rgba(28, 28, 28, 0.85);
}

.site-badge {
  background: var(--pxs-haze);
  color: var(--pxs-ink);
}

body.frontpage .site-badge,
body.site-page .site-badge {
  background: #0ea5e9;
  color: #0f172a;
}

.site-dropdown {
  background: #eef0f2;
  color: #1c1c1c;
  border-radius: 12px;
  border: 1px solid rgba(28, 28, 28, 0.15);
  box-shadow: 0 18px 40px rgba(28, 28, 28, 0.2);
}

body.frontpage .site-dropdown,
body.site-page .site-dropdown {
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
}

.site-dropdown a:hover {
  background: rgba(28, 28, 28, 0.08);
}

.site-dropdown-link {
  color: #1c1c1c;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-quote {
  background: rgba(28, 28, 28, 0.95);
  border: 1px solid rgba(218, 221, 216, 0.35);
  box-shadow: 0 18px 40px rgba(28, 28, 28, 0.5);
}

body.frontpage .site-quote,
body.site-page .site-quote {
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  border: 1px solid #e2e8f0;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.site-footer {
  background: #1c1c1c;
  color: #daddd8;
  border-top: 1px solid rgba(218, 221, 216, 0.35);
}

.site-footer a {
  color: #ecebe4;
}

.site-footer a:hover {
  color: #fafaff;
}

.site-footer input,
.site-footer button {
  border-radius: 999px;
}

body.site-page .site-footer,
body.frontpage .site-footer {
  background: #ffffff;
  color: #0f172a;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -8px 30px rgba(15, 23, 42, 0.06);
}

body.site-page .site-footer a,
body.frontpage .site-footer a {
  color: #0f172a;
}

body.site-page .site-footer a:hover,
body.frontpage .site-footer a:hover {
  color: #0ea5e9;
}

body.site-page .site-footer input,
body.frontpage .site-footer input,
body.site-page .site-footer button,
body.frontpage .site-footer button {
  background: #f8fafc;
  color: #0f172a;
  border: 1px solid #e2e8f0;
}

.bg-cyan-500 {
  background-color: var(--pxs-sage);
  color: var(--pxs-ink);
}

.bg-cyan-400 {
  background-color: var(--pxs-haze);
  color: var(--pxs-ink);
}

.bg-cyan-500\/20 {
  background-color: rgba(218, 221, 216, 0.2);
}

.text-cyan-200 {
  color: #eef0f2;
}

.bg-emerald-500 {
  background-color: var(--pxs-moss-dark);
  color: var(--pxs-sand);
}

.bg-emerald-400 {
  background-color: var(--pxs-moss);
  color: var(--pxs-ink);
}

.hover\:bg-cyan-400:hover,
.hover\:bg-cyan-300:hover {
  background-color: #fafaff;
}

.hover\:bg-emerald-400:hover {
  background-color: #daddd8;
}

.bg-slate-950\/90 {
  background-color: rgba(28, 28, 28, 0.92);
}

.bg-slate-950 {
  background-color: #1c1c1c;
}

.bg-slate-900\/90 {
  background-color: rgba(28, 28, 28, 0.9);
}

.bg-slate-900\/80 {
  background-color: rgba(28, 28, 28, 0.8);
}

.bg-slate-900\/70 {
  background-color: rgba(28, 28, 28, 0.7);
}

.bg-slate-900\/60 {
  background-color: rgba(28, 28, 28, 0.6);
}

.bg-slate-900\/50 {
  background-color: rgba(28, 28, 28, 0.5);
}

.bg-slate-900\/40 {
  background-color: rgba(28, 28, 28, 0.4);
}

.bg-slate-900\/30 {
  background-color: rgba(28, 28, 28, 0.3);
}

.bg-slate-900 {
  background-color: #1c1c1c;
}

.bg-slate-800\/80 {
  background-color: rgba(236, 235, 228, 0.8);
}

.bg-slate-800 {
  background-color: #ecebe4;
}

.hover\:bg-slate-800:hover {
  background-color: rgba(236, 235, 228, 0.95);
}

body.site-page .bg-slate-950\/90,
body.site-page .bg-slate-950,
body.site-page .bg-slate-900\/90,
body.site-page .bg-slate-900\/80,
body.site-page .bg-slate-900\/70,
body.site-page .bg-slate-900\/60,
body.site-page .bg-slate-900\/50,
body.site-page .bg-slate-900\/40,
body.site-page .bg-slate-900\/30,
body.site-page .bg-slate-900,
body.site-page .bg-slate-800\/80,
body.site-page .bg-slate-800 {
  background-color: #ffffff;
  color: #0f172a;
  border-color: #e2e8f0;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

body.site-page .text-slate-100,
body.site-page .text-slate-200,
body.site-page .text-slate-300,
body.site-page .text-slate-400,
body.site-page .text-slate-500,
body.site-page .text-white {
  color: #0f172a;
}

body.site-page .text-cyan-200,
body.site-page .text-cyan-300 {
  color: #0ea5e9;
}

body.site-page .border-cyan-500\/10,
body.site-page .border-cyan-500\/20,
body.site-page .border-cyan-500\/30,
body.site-page .border-cyan-500\/40,
body.site-page .border-slate-700 {
  border-color: #e2e8f0;
}

.border-cyan-500\/10,
.border-cyan-500\/20,
.border-cyan-500\/30,
.border-cyan-500\/40 {
  border-color: rgba(218, 221, 216, 0.3);
}

.border-slate-700 {
  border-color: rgba(28, 28, 28, 0.35);
}

.shadow-cyan-500\/10,
.shadow-cyan-500\/20 {
  box-shadow: 0 18px 40px rgba(28, 28, 28, 0.25);
}

.focus\:outline-none:focus {
  outline: 2px solid rgba(28, 28, 28, 0.35);
  outline-offset: 2px;
}

input,
textarea,
select {
  background-color: rgba(236, 235, 228, 0.9);
  color: #1c1c1c;
}

input::placeholder,
textarea::placeholder {
  color: rgba(28, 28, 28, 0.6);
}

body.site-page input,
body.site-page textarea,
body.site-page select {
  background-color: #f8fafc;
  color: #0f172a;
  border: 1px solid #e2e8f0;
}

body.site-page input::placeholder,
body.site-page textarea::placeholder {
  color: #64748b;
}

/* Frontpage components */
.frontpage-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #e2e8f0;
}

.frontpage-hero__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(14, 165, 233, 0.28), transparent 40%),
    radial-gradient(circle at 80% 10%, rgba(59, 130, 246, 0.25), transparent 38%),
    radial-gradient(circle at 40% 80%, rgba(99, 102, 241, 0.2), transparent 35%);
  filter: blur(18px);
  pointer-events: none;
}

.frontpage-hero__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 120px 120px;
  pointer-events: none;
}

.frontpage-search__wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid #dfe7f5;
  border-radius: 18px;
  padding: 12px 14px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

.frontpage-search__icon {
  font-size: 18px;
  color: #0ea5e9;
}

.frontpage-search__input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 16px;
  color: #0f172a;
}

.frontpage-search__input::placeholder {
  color: #64748b;
}

.frontpage-search__btn {
  background: linear-gradient(120deg, #0ea5e9 0%, #38bdf8 100%);
  color: #0f172a;
  border: 1px solid #0ea5e9;
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(14, 165, 233, 0.32);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.frontpage-search__btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.fp-cta {
  border-radius: 14px;
  padding: 10px 16px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.fp-cta--primary {
  background: linear-gradient(120deg, #0ea5e9 0%, #7dd3fc 100%);
  color: #0f172a;
  border-color: #0ea5e9;
  box-shadow: 0 16px 40px rgba(14, 165, 233, 0.25);
}

.fp-cta--ghost {
  background: #ffffff;
  color: #0f172a;
  border-color: #cbd5e1;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}

.fp-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
}

.fp-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #0f172a;
  font-weight: 700;
  border: 1px solid #d7deea;
}

.fp-panel {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.fp-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fp-chip-bar {
  margin-top: -16px;
}

.fp-chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(120deg, #0f172a 0%, #1f2a44 100%);
  color: #e0f2fe;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.18);
}

.fp-stack {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 10px;
}

.fp-icon {
  height: 44px;
  width: 44px;
  border-radius: 14px;
  background: #e0f2fe;
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: inset 0 0 0 1px #bae6fd;
}

.fp-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.fp-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.12);
}

.fp-highlight {
  background: linear-gradient(120deg, #f8fbff 0%, #eef2ff 100%);
  border: 1px solid #e0e7ff;
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.1);
}

.fp-service {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.fp-link {
  color: #0f172a;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.fp-link:hover {
  color: #0ea5e9;
}

/* Shared page components */
.fp-page-shell {
  max-width: 1200px;
  margin: 0 auto;
}

.fp-section {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.fp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fp-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  color: #475569;
  font-size: 14px;
}

.fp-badge,
.fp-badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
}

.fp-badge {
  background: #0ea5e9;
  color: #0f172a;
  border-color: #0ea5e9;
}

.fp-badge-soft {
  background: #e2e8f0;
  color: #0f172a;
  border-color: #d7deea;
}

.fp-price {
  font-size: 28px;
  font-weight: 700;
  color: #0f172a;
}

.fp-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 10px;
}

.fp-pagination {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.fp-pagination a,
.fp-pagination span,
.fp-pagination strong {
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #0f172a;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.fp-pagination a:hover {
  border-color: #0ea5e9;
  color: #0ea5e9;
}

.fp-empty {
  text-align: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 28px;
  color: #475569;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.fp-alert {
  background: #fef9c3;
  border: 1px solid #facc15;
  color: #78350f;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 8px 20px rgba(120, 53, 15, 0.08);
}
