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

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

  body {
    overflow-x: hidden;
  }

  ::selection {
    background: rgba(201, 168, 76, 0.3);
    color: #fff;
  }

  /* Scroll Reveal Animations */
  .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[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    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);
  }

  @media (prefers-reduced-motion: no-preference) {
    .reveal[data-reveal] {
      opacity: 0;
      transform: translateY(40px);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .reveal[data-reveal] {
      opacity: 1;
      transform: none;
      transition: none;
    }
  }

  /* Scroll Line Animation */
  @keyframes scroll-line {
    0% {
      height: 0;
      opacity: 0;
    }
    50% {
      height: 48px;
      opacity: 1;
    }
    100% {
      height: 48px;
      opacity: 0;
    }
  }

  .animate-scroll-line {
    animation: scroll-line 2s ease-in-out infinite;
  }

  /* Hero Background Parallax */
  #hero-bg {
    transition: transform 0.1s linear;
    will-change: transform;
  }

  /* Navbar Transition */
  #navbar.scrolled {
    background: rgba(4, 14, 30, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
  }

  #navbar.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.85);
  }

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

  /* Hamburger Animation */
  #menu-toggle.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  #menu-toggle.active .menu-line:nth-child(2) {
    opacity: 0;
    transform: translateX(10px);
  }

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

  /* Mobile Link Animation */
  .mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease;
  }

  #mobile-menu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
  }

  #mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
  #mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
  #mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
  #mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.25s; }
  #mobile-menu.open .mobile-link:nth-child(5) { transition-delay: 0.3s; }

  /* Custom Scrollbar */
  ::-webkit-scrollbar {
    width: 8px;
  }

  ::-webkit-scrollbar-track {
    background: #040e1e;
  }

  ::-webkit-scrollbar-thumb {
    background: rgba(201, 168, 76, 0.3);
    border-radius: 4px;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: rgba(201, 168, 76, 0.5);
  }

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

  /* Image Loading */
  img {
    opacity: 1;
    transition: opacity 0.3s ease;
  }

  /* Print Styles */
  @media print {
    #navbar, .animate-scroll-line {
      display: none;
    }

    body {
      background: white;
      color: black;
    }
  }
