/* Billiard Home — shared helpers (Tailwind handles most styling) */
:root { color-scheme: dark; }
html { scroll-behavior: smooth; }
body { font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }

/* Glass morphism card */
.glass {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.glass:hover {
  border-color: rgba(255,255,255,.2);
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
}

/* Focus ring for form inputs */
.focus-ring:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.25);
  border-color: rgba(52,211,153,.6) !important;
}

/* Smooth link transitions */
a { transition: color .2s, opacity .2s; }

/* Button hover lift */
.bg-emerald-500:hover, .bg-white:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
}

/* Product card image area hover */
.aspect-\[4\/3\] {
  transition: background .3s;
}
.glass:hover .aspect-\[4\/3\] {
  background: rgba(255,255,255,.03) !important;
}

/* Details/FAQ smooth */
details summary {
  transition: color .2s;
}
details[open] summary {
  color: #a7f3d0;
}
details summary::-webkit-details-marker {
  color: #34d399;
}

/* Sticky CTA pulse animation */
@keyframes gentlePulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(52, 211, 153, 0.3); }
  50% { box-shadow: 0 4px 30px rgba(52, 211, 153, 0.5); }
}
.fixed.bottom-5.right-5 {
  animation: gentlePulse 3s ease-in-out infinite;
}

/* Toast entrance */
#toast {
  transition: opacity .3s, transform .3s;
}

/* Selection color */
::selection {
  background: rgba(52, 211, 153, 0.3);
  color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,.1); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.2); }