 /* Full page loader */
  #first-loader {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999999;
  }

  /* Loading text */
  .loader-text {
    margin-top: 1rem;
    font-family: sans-serif;
    color: #3b82f6;
    font-weight: 500;
    animation: pulse 1.2s infinite;
  }

  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
  }

  /* RotatingLines spinner */
  .rotating-lines {
    position: relative;
    width: 135px;
    height: 85px;
  }

  .rotating-lines div {
    transform-origin: 15px 30px;
    position: absolute;
    width: 5px;
    height: 12px;
    background: #3b82f6;
    border-radius: 3px;
    top: 45px;
    left: 50px;
    animation: rotate 1.2s linear infinite;
  }

  /* 12 lines like RotatingLines */
  .rotating-lines div:nth-child(1)  { transform: rotate(0deg);   animation-delay: -1.1s; }
  .rotating-lines div:nth-child(2)  { transform: rotate(30deg);  animation-delay: -1s; }
  .rotating-lines div:nth-child(3)  { transform: rotate(60deg);  animation-delay: -0.9s; }
  .rotating-lines div:nth-child(4)  { transform: rotate(90deg);  animation-delay: -0.8s; }
  .rotating-lines div:nth-child(5)  { transform: rotate(120deg); animation-delay: -0.7s; }
  .rotating-lines div:nth-child(6)  { transform: rotate(150deg); animation-delay: -0.6s; }
  .rotating-lines div:nth-child(7)  { transform: rotate(180deg); animation-delay: -0.5s; }
  .rotating-lines div:nth-child(8)  { transform: rotate(210deg); animation-delay: -0.4s; }
  .rotating-lines div:nth-child(9)  { transform: rotate(240deg); animation-delay: -0.3s; }
  .rotating-lines div:nth-child(10) { transform: rotate(270deg); animation-delay: -0.2s; }
  .rotating-lines div:nth-child(11) { transform: rotate(300deg); animation-delay: -0.1s; }
  .rotating-lines div:nth-child(12) { transform: rotate(330deg); animation-delay: 0s; }

  @keyframes rotate {
    0% { transform: rotate(var(--deg, 0deg)) translate(0, -20px) rotate(0deg); }
    100% { transform: rotate(var(--deg, 0deg)) translate(0, -20px) rotate(360deg); }
  }