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

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

  body {
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  ::selection {
    background: rgba(13, 148, 136, 0.3);
    color: #f0f4f8;
  }

  /* Scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #080f18;
  }
  ::-webkit-scrollbar-thumb {
    background: #1e3a5f;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #0d9488;
  }

  /* Scroll reveal base — content always visible, animation applied via JS */
  .reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

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

  /* Scroll-reduced motion */
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 0;
      transform: translateY(30px);
    }
    .reveal.revealed {
      opacity: 1;
      transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
  }

  /* Scroll dot animation */
  @keyframes scrollDot {
    0% { top: 0; opacity: 1; }
    100% { top: 48px; opacity: 0; }
  }
  .animate-scroll-dot {
    animation: scrollDot 1.5s ease-in-out infinite;
  }

  /* Header scroll state */
  #header.scrolled {
    background: rgba(8, 15, 24, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  }

  /* Mobile menu */
  #mobileMenu.open {
    opacity: 1;
    pointer-events: all;
  }

  /* Gold shimmer on hover for special elements */
  @keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
  }

  .gold-shimmer:hover {
    background-size: 200% auto;
    animation: shimmer 3s linear infinite;
  }

  /* Image lazy load fade */
  img {
    opacity: 1;
    transition: opacity 0.3s ease;
  }

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