 :root {
      --brand-blue-start: #1e3a8a;
      --brand-blue-end: #2563eb;
      --brand-blue-gradient: linear-gradient(90deg, var(--brand-blue-start), var(--brand-blue-end));
    }

    body {
      background: #0d0d0d;
      color: #f5f5f5;
      font-family: "Inter", sans-serif;
      overflow-x: hidden;
      padding-top: 80px; /* Prevent navbar overlap */
      margin: 0;
    }

    /* Preloader */
    #preloader {
      position: fixed;
      inset: 0;
      background: #000;
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 9999;
      opacity: 1;
      transition: opacity 0.8s ease;
    }
    #preloader.fade-out {
      opacity: 0;
      pointer-events: none;
    }
    #preloader .logo {
      width: 90px;
      animation: fadeInOut 2s infinite;
    }
    @keyframes fadeInOut {
      0%, 100% { opacity: 0; }
      50% { opacity: 1; }
    }

    /* Navbar links */
    .nav-link {
      position: relative;
      text-decoration: none;
      color: inherit;
    }
    .nav-link::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -3px;
      width: 0;
      height: 2px;
      background: var(--brand-blue-gradient);
      transition: width 0.3s ease;
    }
    .nav-link:hover::after,
    .nav-link:focus::after {
      width: 100%;
    }

    /* Mobile menu */
    #mobile-menu {
      transform-origin: top;
      transition: transform 0.3s ease, opacity 0.3s ease;
    }
    #mobile-menu.hidden {
      transform: scaleY(0);
      opacity: 0;
      pointer-events: none;
    }
    #mobile-menu.flex {
      transform: scaleY(1);
      opacity: 1;
      pointer-events: auto;
    }

    /* Footer */
    footer {
      background: rgba(0, 0, 0, 0.7);
      margin-top: 3rem;
      color: #9ca3af;
    }
    footer h3 {
      font-weight: 600;
      color: #fff;
      margin-bottom: 0.75rem;
    }
    footer .bottom-bar {
      border-top: 1px solid #374151;
      padding: 1rem;
      text-align: center;
      font-size: 0.8rem;
    }