  *, *::before, *::after {
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
  }

  body {
    overflow-x: hidden;
  }

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #0d0d0d;
  }
  ::-webkit-scrollbar-thumb {
    background: #2a2a2a;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #c8a45e;
  }

  /* Selection color */
  ::selection {
    background: rgba(200, 164, 94, 0.3);
    color: #e8d5b7;
  }

  /* Animations */
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  @keyframes slideUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
  }

  .animate-slide-up {
    animation: slideUp 0.8s ease forwards;
    opacity: 0;
  }

  .animate-slide-up-delay {
    animation: slideUp 0.8s ease 0.2s forwards;
    opacity: 0;
  }

  .animate-slide-up-delay-2 {
    animation: slideUp 0.8s ease 0.4s forwards;
    opacity: 0;
  }

  /* Intersection Observer animations */
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* Nav scroll state */
  nav.scrolled {
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  }

  /* Mobile menu */
  #mobile-menu {
    animation: fadeIn 0.3s ease;
  }

  /* Gold shimmer on hover for links */
  a.text-gold {
    position: relative;
  }

  /* Form focus styles */
  input:focus, select:focus, textarea:focus {
    outline: none;
  }

  /* Smooth image loading */
  img {
    image-rendering: -webkit-optimize-contrast;
  }

  /* Responsive typography adjustments */
  @media (max-width: 640px) {
    html {
      scroll-padding-top: 70px;
    }
  }
