/* Custom overrides and enhancements */

/* Smooth focus outlines for accessibility */
*:focus-visible {
  outline: 2px solid #c9982e;
  outline-offset: 2px;
}

/* Selection color */
::selection {
  background: rgba(201, 152, 46, 0.3);
  color: #fff;
}

/* Subtle grain texture overlay on body */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  z-index: 9999;
}

/* Gold shimmer on hover for buttons */
button::after,
a::after {
  content: '';
}

/* Custom select arrow */
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c9982e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* Animation keyframes */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 152, 46, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(201, 152, 46, 0); }
}

/* Hero badge pulse */
.animate-pulse {
  animation: pulse-gold 2s infinite;
}
