  /* Smooth scrolling */
  html {
    scroll-behavior: smooth;
  }

  /* Floating card animation */
  @keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
  }

  .floating-card {
    animation: float 4s ease-in-out infinite;
  }

  .floating-card:nth-child(2) {
    animation-delay: -1.3s;
  }

  .floating-card:nth-child(3) {
    animation-delay: -2.6s;
  }

  /* Scroll reveal animations */
  .reveal-up, .reveal-left, .reveal-right {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  @media (prefers-reduced-motion: no-preference) {
    .reveal-up {
      opacity: 0;
      transform: translateY(30px);
    }
    .reveal-left {
      opacity: 0;
      transform: translateX(-40px);
    }
    .reveal-right {
      opacity: 0;
      transform: translateX(40px);
    }

    .reveal-up.revealed,
    .reveal-left.revealed,
    .reveal-right.revealed {
      opacity: 1;
      transform: translate(0, 0);
    }
  }

  /* Navbar scroll state */
  #navbar.scrolled {
    background: rgba(255, 248, 245, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(123, 45, 59, 0.08);
  }

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

  /* Custom selection color */
  ::selection {
    background: #f9c5cc;
    color: #5a1d28;
  }

  /* Focus visible styles */
  a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid #ff7a94;
    outline-offset: 2px;
  }

  /* Subtle gradient text utility */
  .text-gradient {
    background: linear-gradient(135deg, #7B2D3B, #e8547c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  /* Mobile menu link animation */
  .mobile-link {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

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

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