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

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

  body {
    overflow-x: hidden;
  }

  ::-webkit-scrollbar {
    width: 8px;
  }

  ::-webkit-scrollbar-track {
    background: #120e18;
  }

  ::-webkit-scrollbar-thumb {
    background: #482948;
    border-radius: 4px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: #6e3d6e;
  }

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

  @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;
  }

  .scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  @media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }

    .scroll-reveal.revealed {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Mobile menu animations */
  .menu-line {
    transition: all 0.3s ease;
  }

  #menuToggle.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  #menuToggle.active .menu-line:nth-child(2) {
    opacity: 0;
  }

  #menuToggle.active .menu-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Navbar scroll state */
  #navbar.scrolled {
    background: rgba(10, 7, 16, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(126, 77, 130, 0.2);
  }

  /* Gold metallic gradient text */
  .text-gold-metallic {
    background: linear-gradient(135deg, #fcd34d 0%, #fbbf24 25%, #f59e0b 50%, #d97706 75%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  /* Subtle hover glow on cards */
  .glow-hover:hover {
    box-shadow: 0 0 40px rgba(251, 191, 36, 0.1);
  }
