  /* Base & Utilities */
  *, *::before, *::after {
    box-sizing: border-box;
  }

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

  body {
    overflow-x: hidden;
  }

  ::selection {
    background: rgba(200, 168, 110, 0.3);
    color: #f5f5f5;
  }

  /* Scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #0d0d0d;
  }
  ::-webkit-scrollbar-thumb {
    background: #3d3d3d;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #5c5c5c;
  }

  /* Floating Card Animations */
  @keyframes float-1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(0.5deg); }
  }
  @keyframes float-2 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-16px) rotate(-0.5deg); }
  }
  @keyframes float-3 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(0.5deg); }
  }
  @keyframes float-4 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-14px) rotate(-0.5deg); }
  }

  .floating-card-1 { animation: float-1 6s ease-in-out infinite; }
  .floating-card-2 { animation: float-2 7s ease-in-out infinite; }
  .floating-card-3 { animation: float-3 5.5s ease-in-out infinite; }
  .floating-card-4 { animation: float-4 6.5s ease-in-out infinite; }

  /* Scroll Line Animation */
  @keyframes scroll-line {
    0% { top: -16px; opacity: 0; }
    50% { opacity: 1; }
    100% { top: 48px; opacity: 0; }
  }
  .animate-scroll-line {
    animation: scroll-line 1.8s ease-in-out infinite;
  }

  /* Reveal Animations (below-fold progressive enhancement) */
  .reveal-up {
    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);
  }

  @media (prefers-reduced-motion: no-preference) {
    .reveal-up {
      opacity: 0;
      transform: translateY(40px);
      transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .reveal-up.revealed {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Staggered reveal delays */
  .reveal-up:nth-child(1) { transition-delay: 0.05s; }
  .reveal-up:nth-child(2) { transition-delay: 0.15s; }
  .reveal-up:nth-child(3) { transition-delay: 0.25s; }
  .reveal-up:nth-child(4) { transition-delay: 0.35s; }
  .reveal-up:nth-child(5) { transition-delay: 0.45s; }
  .reveal-up:nth-child(6) { transition-delay: 0.55s; }

  /* Navbar glass effect */
  #navbar.scrolled {
    background: rgba(8, 8, 8, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(200, 168, 110, 0.1);
  }

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

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

  /* Image aspect ratio helpers */
  .aspect-card {
    aspect-ratio: 4 / 3;
  }

  /* Focus visible for accessibility */
  :focus-visible {
    outline: 2px solid rgba(200, 168, 110, 0.6);
    outline-offset: 2px;
  }

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