/*
 * Custom theme — minimal, premium, fire.
*/

/* ── Splide slideshow dots ────────────────────────────────── */
.splide__pagination__page {
  background: rgba(var(--cl-t-primary), 0.2) !important;
  border-radius: 0 !important;
  width: 20px !important;
  height: 2px !important;
  margin: 0 3px !important;
  transition: background 0.3s ease, width 0.3s ease !important;
  opacity: 1 !important;
}
.splide__pagination__page.is-active {
  background: rgba(var(--cl-accent), 0.9) !important;
  width: 32px !important;
  transform: none !important;
}
.splide__pagination {
  bottom: 12px !important;
  gap: 0 !important;
}

/* ── Scrollbar ─────────────────────────────────────────────── */
::-webkit-scrollbar { width: 3px; height: 3px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(var(--cl-accent), 0.25); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: rgba(var(--cl-accent), 0.5); }

/* ── Top spotlight — the signature glow ───────────────────── */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 700px;
  z-index: 0;
  background: radial-gradient(
    ellipse 80% 500px at 50% -80px,
    rgba(var(--cl-accent), 0.09) 0%,
    transparent 100%
  );
  pointer-events: none;
}

/* ── Subtle bottom fade ────────────────────────────────────── */
body::after {
  content: '';
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 300px;
  z-index: 0;
  background: linear-gradient(to top, rgba(var(--cl-accent), 0.03), transparent);
  pointer-events: none;
}

/* all content above pseudo-elements */
#app { position: relative; z-index: 1; }

/* ── Navbar glass ─────────────────────────────────────────── */
nav > div {
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-color: rgba(var(--cl-accent), 0.08) !important;
}

/* ── Card glass ───────────────────────────────────────────── */
[class*="bg-card"] {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ── Heading tightening ───────────────────────────────────── */
h1, h2, h3, h4 {
  letter-spacing: -0.025em;
}

/* ── Section title accent rule glow ──────────────────────── */
.border-t-2.border-accent-500,
hr.border-accent-500 {
  border-color: rgba(var(--cl-accent), 0.6) !important;
  box-shadow: 0 0 8px rgba(var(--cl-accent), 0.45), 0 0 24px rgba(var(--cl-accent), 0.12);
}

/* ── Product card hover lift + glow ──────────────────────── */
a[href*="/product"] {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
a[href*="/product"]:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(var(--cl-accent), 0.1), 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* ── Accent border buttons glow on hover ─────────────────── */
.border-accent-500.text-accent-500:hover,
[class*="border-accent"][class*="text-accent"]:hover {
  box-shadow: 0 0 18px rgba(var(--cl-accent), 0.18), 0 0 40px rgba(var(--cl-accent), 0.07);
}

/* ── Input / select focus ring ───────────────────────────── */
input:focus, select:focus, textarea:focus {
  box-shadow: 0 0 0 1px rgba(var(--cl-accent), 0.3),
              inset 0 1px 3px rgba(0, 0, 0, 0.25) !important;
  outline: none;
}

/* ── Footer ──────────────────────────────────────────────── */
footer {
  border-color: rgba(var(--cl-accent), 0.06) !important;
}

/* ── Universal spring easing ─────────────────────────────── */
*, *::before, *::after {
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1) !important;
}
