  /* Custom styles for LibertyX Bitcoin ATM */

  /* Smooth scroll offset for fixed navbar */
  section[id] {
    scroll-margin-top: 80px;
  }

  /* Marquee animation */
  @keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  .animate-marquee {
    animation: marquee 30s linear infinite;
  }

  /* Custom scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #FDF8EE;
  }
  ::-webkit-scrollbar-thumb {
    background: #d13f1e;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #ad3017;
  }

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

  #mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
  }

  /* Menu line animations */
  .menu-open .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .menu-open .menu-line:nth-child(2) {
    opacity: 0;
  }
  .menu-open .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.25rem;
  }

  /* Fade-in animation for scroll reveals (progressive enhancement) */
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .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; }
  }

  /* Reduced motion - ensure everything is visible */
  @media (prefers-reduced-motion: reduce) {
    .reveal {
      opacity: 1;
      transform: none;
    }
    .animate-marquee {
      animation: none;
    }
  }

  /* Print styles */
  @media print {
    #navbar, #mobile-menu, .animate-marquee {
      display: none;
    }
    body {
      background: white;
      color: black;
    }
  }
