  /* ============================================
     LibertyX Bitcoin ATM — Custom Styles
     ============================================ */

  /* Base reset & smooth scrolling */
  *, *::before, *::after {
    box-sizing: border-box;
  }

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

  body {
    margin: 0;
    background-color: #0f0e2e;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
  }

  /* Selection color */
  ::selection {
    background-color: rgba(251, 191, 36, 0.3);
    color: #ffffff;
  }

  /* Scrollbar styling */
  ::-webkit-scrollbar {
    width: 8px;
  }
  ::-webkit-scrollbar-track {
    background: #1e1b4b;
  }
  ::-webkit-scrollbar-thumb {
    background: #4263eb;
    border-radius: 4px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: #fbbf24;
  }

  /* Navbar scroll state */
  #navbar.scrolled {
    background-color: rgba(15, 14, 46, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(66, 99, 235, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  }

  /* Service card hover lift */
  .service-card {
    transform: translateY(0);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  }
  .service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(251, 191, 36, 0.08);
  }

  /* Scroll reveal animations (below the fold only) */
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .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; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }
  }

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

  /* Mobile menu transitions */
  #mobile-menu {
    animation: slideDown 0.3s ease;
  }
  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

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

  /* Image loading placeholder */
  img {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    min-height: 200px;
  }

  /* Geometric shape animations */
  @media (prefers-reduced-motion: no-preference) {
    .absolute.rounded-full.blur-3xl {
      animation: float 8s ease-in-out infinite;
    }
    @keyframes float {
      0%, 100% { transform: translate(0, 0); }
      50% { transform: translate(0, -20px); }
    }
  }

  /* Map container responsive */
  .rounded-2xl.overflow-hidden {
    overflow: hidden;
  }
  .rounded-2xl.overflow-hidden iframe {
    min-height: 300px;
  }

  /* Tablet and up adjustments */
  @media (min-width: 768px) {
    .rounded-2xl.overflow-hidden iframe {
      min-height: 450px;
    }
  }
