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

  html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  body {
    overflow-x: hidden;
  }

  ::selection {
    background: rgba(251, 191, 36, 0.3);
    color: #fce7f3;
  }

  /* Scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #0a0a0f;
  }
  ::-webkit-scrollbar-thumb {
    background: #831443;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #9d174d;
  }

  /* Animations */
  @keyframes pulse-slow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.05); }
  }

  .animate-pulse-slow {
    animation: pulse-slow 4s ease-in-out infinite;
  }

  /* Reveal on scroll */
  .reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
  }

  /* Navbar styles */
  #navbar {
    background: transparent;
  }

  #navbar.scrolled {
    background: rgba(10, 10, 15, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(131, 20, 67, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  }

  #navbar.scrolled .menu-line {
    background: #fce7f3;
  }

  /* Gold shimmer on hover for cards */
  .reveal:hover {
    box-shadow: 0 0 60px rgba(251, 191, 36, 0.05);
  }

  /* Focus styles */
  a:focus-visible, button:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
    border-radius: 4px;
  }

  /* Reduced motion */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
    html {
      scroll-behavior: auto;
    }
    .reveal-hidden {
      opacity: 1;
      transform: none;
    }
  }
