      body {
        background-color: #040405;
        color: #e5e7eb;
        overflow-x: hidden;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
      }

      /* Glassmorphism Utilities */
      .glass {
        background: rgba(255, 255, 255, 0.02);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.08);
      }

      .glass-card {
        background: linear-gradient(
          145deg,
          rgba(255, 255, 255, 0.03) 0%,
          rgba(255, 255, 255, 0.01) 100%
        );
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.05);
        transition: all 0.3s ease;
      }

      .glass-card:hover {
        border-color: rgba(255, 255, 255, 0.15);
        background: linear-gradient(
          145deg,
          rgba(255, 255, 255, 0.05) 0%,
          rgba(255, 255, 255, 0.02) 100%
        );
        transform: translateY(-2px);
        box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
      }

      /* Scroll Reveal Animations */
      .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
      }
      .reveal.active {
        opacity: 1;
        transform: translateY(0);
      }

      /* Gradient Text */
      .text-gradient {
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-image: linear-gradient(90deg, #38bdf8, #818cf8);
      }

      /* Custom Scrollbar */
      ::-webkit-scrollbar {
        width: 8px;
      }
      ::-webkit-scrollbar-track {
        background: #040405;
      }
      ::-webkit-scrollbar-thumb {
        background: #333;
        border-radius: 4px;
      }
      ::-webkit-scrollbar-thumb:hover {
        background: #555;
      }

      /* Tech Particles */
      .tech-particle {
        position: absolute;
        font-weight: 600;
        font-size: 0.875rem;
        color: rgba(255, 255, 255, 0.4);
        pointer-events: none;
        user-select: none;
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
        animation: float 8s ease-in-out infinite;
      }

      /* Code Editor Mockup */
      .mac-dots {
        display: flex;
        gap: 6px;
        padding: 12px 16px;
        background: rgba(255, 255, 255, 0.02);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
      }
      .mac-dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
      }
      .dot-red {
        background: #ff5f56;
      }
      .dot-yellow {
        background: #ffbd2e;
      }
      .dot-green {
        background: #27c93f;
      }

      /* Project Filters */
      .filter-btn {
        transition: all 0.3s ease;
      }
      .filter-btn.active {
        background: rgba(56, 189, 248, 0.15);
        border-color: rgba(56, 189, 248, 0.5);
        color: #38bdf8;
        box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
      }

      /* Modal Transitions */
      .modal-backdrop {
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      }
      .modal-backdrop.show {
        opacity: 1;
        visibility: visible;
      }
      .modal-content-scale {
        transform: scale(0.95) translateY(20px);
        opacity: 0;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      }
      .modal-backdrop.show .modal-content-scale {
        transform: scale(1) translateY(0);
        opacity: 1;
      }

      /* Browser Mockup */
      .browser-mockup {
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        overflow: hidden;
        background: #000;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
        display: flex;
        flex-direction: column;
      }
      .browser-toolbar {
        background: #1e1e1e;
        padding: 10px 16px;
        display: flex;
        align-items: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        gap: 16px;
      }
      .browser-url-bar {
        flex-grow: 1;
        background: #000;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 6px;
        padding: 6px 16px;
        color: #a1a1aa;
        font-size: 0.875rem;
        display: flex;
        align-items: center;
        gap: 8px;
      }
      .browser-iframe-container {
        flex-grow: 1;
        background: #fff;
        position: relative;
      }
      .browser-iframe-container iframe {
        width: 100%;
        height: 100%;
        border: none;
      }

      /* Modal Scrollbar */
      .modal-scroll::-webkit-scrollbar {
        width: 6px;
      }
      .modal-scroll::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.2);
        border-radius: 10px;
      }

      /* --- CUSTOM CURSOR --- */
      @media (hover: hover) and (pointer: fine) {
        body {
          cursor: none; /* Hide default cursor on devices that support hover */
        }
        a,
        button,
        .cursor-pointer {
          cursor: none;
        }
      }

      #custom-cursor-dot {
        position: fixed;
        top: 0;
        left: 0;
        width: 6px;
        height: 6px;
        background-color: #fff;
        border-radius: 50%;
        pointer-events: none;
        z-index: 9999;
        transform: translate(-50%, -50%);
        transition:
          width 0.2s,
          height 0.2s,
          background-color 0.2s;
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
      }

      #custom-cursor-ring {
        position: fixed;
        top: 0;
        left: 0;
        width: 40px;
        height: 40px;
        border: 1px solid rgba(255, 255, 255, 0.4);
        border-radius: 50%;
        pointer-events: none;
        z-index: 9998;
        transform: translate(-50%, -50%);
        transition:
          width 0.3s,
          height 0.3s,
          border-color 0.3s,
          background-color 0.3s,
          border-width 0.3s;
        display: flex;
        align-items: center;
        justify-content: center;
        color: transparent;
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 1px;
        backdrop-filter: blur(0px); /* Initial state */
      }

      /* Cursor States */
      body.cursor-hover #custom-cursor-dot {
        width: 0;
        height: 0;
        opacity: 0;
      }

      body.cursor-hover #custom-cursor-ring {
        width: 60px;
        height: 60px;
        border-color: rgba(56, 189, 248, 0.5); /* Primary color */
        background-color: rgba(56, 189, 248, 0.1);
        backdrop-filter: blur(2px);
      }

      /* State: Button Hover */
      body.cursor-button #custom-cursor-ring {
        width: 80px;
        height: 80px;
        color: #fff;
        border-color: rgba(255, 255, 255, 0.2);
        background-color: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
      }
      body.cursor-button #custom-cursor-ring::after {
        content: "Click";
      }

      /* State: Project Card Hover */
      body.cursor-project #custom-cursor-ring {
        width: 100px;
        height: 100px;
        color: #fff;
        border-color: transparent;
        background: linear-gradient(
          135deg,
          rgba(56, 189, 248, 0.8),
          rgba(129, 140, 248, 0.8)
        );
        box-shadow: 0 10px 30px rgba(56, 189, 248, 0.4);
      }
      body.cursor-project #custom-cursor-ring::after {
        content: "View";
      }

      /* State: Image Preview */
      body.cursor-image #custom-cursor-ring {
        width: 80px;
        height: 80px;
        color: #000;
        border-color: transparent;
        background-color: #fff;
      }
      body.cursor-image #custom-cursor-ring::after {
        content: "Preview";
      }

      /* Click Particles */
      .cursor-particle {
        position: fixed;
        pointer-events: none;
        border-radius: 50%;
        background: #38bdf8;
        z-index: 9997;
        animation: particle-fade-out 0.8s ease-out forwards;
      }

      @keyframes particle-fade-out {
        0% {
          transform: scale(1);
          opacity: 1;
        }
        100% {
          transform: scale(3) translate(var(--tx), var(--ty));
          opacity: 0;
        }
      }

      /* Ripple Effect */
      .click-ripple {
        position: fixed;
        border-radius: 50%;
        border: 2px solid #38bdf8;
        pointer-events: none;
        z-index: 9997;
        transform: translate(-50%, -50%);
        animation: ripple-expand 0.6s ease-out forwards;
      }

      @keyframes ripple-expand {
        0% {
          width: 10px;
          height: 10px;
          opacity: 1;
        }
        100% {
          width: 150px;
          height: 150px;
          opacity: 0;
        }
      }

      /* 3D Tilt for Project Cards */
      .project-card-container {
        perspective: 1000px;
      }
      .project-card-3d {
        transition: transform 0.1s ease;
        transform-style: preserve-3d;
        will-change: transform;
      }
      .project-card-3d img {
        transform: translateZ(20px); /* Push image slightly forward */
        transition: transform 0.3s ease;
      }
      .project-card-3d:hover img {
        transform: translateZ(40px) scale(1.05); /* Exaggerate on hover */
      }
      .project-card-content-3d {
        transform: translateZ(30px); /* Push content forward */
      }
    