    /* Transparent Glass Box */
    .glass-box {
      background: rgba(255, 255, 255, 0.08);
      backdrop-filter: blur(14px);
      border-radius: 20px;
      border: 2px solid rgba(255, 255, 255, 0.4);
      animation: fadeIn 1s ease-out;
    }

    /* Fade In Animation */
    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(25px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Neon Input Animation */
    .neon-input {
      background: rgba(255, 255, 255, 0.12);
      border: 2px solid transparent;
      border-radius: 14px;
      padding: 12px;
      color: black;
      transition: 0.4s ease;
      outline: none;
      animation: glowPulse 3s infinite ease-in-out;
    }

    /* Pulse Glow */
    @keyframes glowPulse {
      0% {
        box-shadow: 0 0 10px #00ffe1;
      }

      50% {
        box-shadow: 0 0 26px #00ff9c;
      }

      100% {
        box-shadow: 0 0 10px #00ffe1;
      }
    }

    /* Focus Effect */
    .neon-input:focus {
      transform: scale(1.05);
      border-color: #00ffc8;
      box-shadow: 0 0 28px #00ffe7, 0 0 45px #00ffae;
    }

    /* Icons inside input boxes */
    .input-box img {
      width: 22px;
      position: absolute;
      right: 12px;
      top: 50%;
      transform: translateY(-50%);
    }

    /* Neon Text */
    .text-glow {
      text-shadow: 0 0 12px #000, 0 0 20px #000;
    }

    /* Glow Button */
    .glow-btn {
      box-shadow: 0 0 12px #00ffe7;
      transition: 0.3s;
    }

    .glow-btn:hover {
      box-shadow: 0 0 30px #00ffe7, 0 0 50px #00ffb0;
      transform: scale(1.03);
    }
  /* Wrapper creates 3D space */
  .bg-3d-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    perspective: 1800px;
    overflow: hidden;
    z-index: -20;
  }

  /* Image styling */
  .bg-3d {
    width: 110%;
    height: 110%;
    object-fit: cover;

    /* 3D Transform Base */
    transform-style: preserve-3d;
    backface-visibility: hidden;

    /* Smooth edges */
    filter: brightness(1.05) contrast(1.05);

    /* Core animations */
    animation:
      cinematicZoom 20s ease-in-out infinite,
      lightPulse 14s ease-in-out infinite,
      atmosphere 18s ease-in-out infinite;
  }

  /* Cinematic zoom in/out */
  @keyframes cinematicZoom {
    0% { transform: scale(1) rotateY(0deg); }
    50% { transform: scale(1.12) rotateY(0deg); }
    100% { transform: scale(1) rotateY(0deg); }
  }

  /* Ambient lighting */
  @keyframes lightPulse {
    0% { filter: brightness(1) saturate(1.05); }
    50% { filter: brightness(1.18) saturate(1.15); }
    100% { filter: brightness(1) saturate(1.05); }
  }

  /* Soft atmospheric motion */
  @keyframes atmosphere {
    0% { filter: blur(0px); }
    50% { filter: blur(2px); }
    100% { filter: blur(0px); }
  }

    /* OTP BOXES 15 percent smaller */
    #otpSection {
      width: 100%;
    }

    #otpSection .otp-box {
      width: 2.55rem;
      height: 2.55rem;
      font-size: 1.2rem;
      border: 2px solid rgba(255, 255, 255, 0.4);
      background: rgba(255, 255, 255, 0.15);
      color: white;
      border-radius: 9px;
      transition: 0.2s ease-in-out;
    }

    #otpSection .otp-box:focus {
      outline: none;
      border-color: #00eaff;
      box-shadow: 0 0 8px #00eaff;
      transform: scale(1.08);
    }

    @media (max-width: 480px) {
      #otpSection .otp-box {
        width: 2.05rem;
        height: 2.05rem;
        font-size: 1.05rem;
      }
    }

    @media (min-width: 481px) and (max-width: 768px) {
      #otpSection .otp-box {
        width: 2.4rem;
        height: 2.4rem;
        font-size: 1.15rem;
      }
    }

    @media (min-width: 769px) {
      #otpSection .otp-box {
        width: 2.7rem;
        height: 2.7rem;
        font-size: 1.25rem;
      }
    }
/* ================= LOADER OVERLAY ================= */
.loader-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;

  /* Deep ocean + carbon mist */
  background:
    radial-gradient(
      circle at center,
      rgba(34, 211, 238, 0.18),
      rgba(2, 18, 26, 0.92)
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.6),
      rgba(3, 15, 22, 0.95)
    );

  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-overlay.hidden {
  display: none;
}

/* ================= LOADER CARD ================= */
.loader-card {
  position: relative;
  width: 280px;
  height: 280px;
  border-radius: 22px;

  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0.04)
  );

  border: 1px solid rgba(56, 189, 248, 0.35);

  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.6),
    inset 0 0 25px rgba(56, 189, 248, 0.18),
    0 0 45px rgba(34, 211, 238, 0.35);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
  color: #e5f9ff;

  animation: popIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ================= SVG CARBON RINGS ================= */
.carbon-svg {
  position: absolute;
  width: 200px;
  height: 200px;
}

.carbon-svg circle {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: ringSpin 2.8s linear infinite;
}

/* Professional carbon palette */
.carbon-svg circle:nth-child(1) {
  stroke: #38bdf8; /* Clean cyan */
}
.carbon-svg circle:nth-child(2) {
  stroke: #4ade80; /* Sustainability green */
  animation-delay: -0.9s;
}
.carbon-svg circle:nth-child(3) {
  stroke: #22d3ee; /* Blue carbon accent */
  animation-delay: -1.8s;
}

/* ================= CORE EMOJI ================= */
.loader-core {
  font-size: 3.1rem;
  z-index: 2;

  filter: drop-shadow(0 0 18px rgba(74, 222, 128, 0.6));
  animation: pulse 2s ease-in-out infinite;
}

/* ================= TEXT ================= */
.loader-title {
  margin-top: 96px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: #e6fbff;

  text-shadow:
    0 0 12px rgba(56, 189, 248, 0.6),
    0 0 25px rgba(34, 211, 238, 0.3);
}

.loader-sub {
  font-size: 0.8rem;
  margin-top: 4px;
  color: rgba(229, 249, 255, 0.75);
}

/* ================= CO₂ STREAM ================= */
.co2-stream span {
  position: absolute;
  bottom: 18px;

  font-size: 0.75rem;
  letter-spacing: 0.5px;
  color: rgba(147, 197, 253, 0.65);

  animation: co2Float 6.5s linear infinite;
}

.co2-stream span:nth-child(1) { left: 18%; }
.co2-stream span:nth-child(2) { left: 38%; animation-delay: 1.6s; }
.co2-stream span:nth-child(3) { left: 58%; animation-delay: 3.2s; }
.co2-stream span:nth-child(4) { left: 78%; animation-delay: 4.8s; }

/* ================= ANIMATIONS ================= */
@keyframes ringSpin {
  0% {
    stroke-dashoffset: 300;
    transform: rotate(0deg);
  }
  100% {
    stroke-dashoffset: 0;
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.12);
  }
}

@keyframes co2Float {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  20% {
    opacity: 0.9;
  }
  100% {
    transform: translateY(-150px);
    opacity: 0;
  }
}

@keyframes popIn {
  from {
    transform: scale(0.88);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ================= MOBILE OPTIMIZATION ================= */
@media (max-width: 480px) {
  .loader-card {
    width: 240px;
    height: 240px;
  }

  .loader-title {
    font-size: 0.88rem;
  }

  .loader-core {
    font-size: 2.8rem;
  }
}
/* ================= GLASS HEADER ================= */
.header-glass {
  backdrop-filter: blur(18px) saturate(140%);
  background: linear-gradient(
    120deg,
    rgba(16,185,129,0.25),
    rgba(34,197,94,0.25)
  );
  border-bottom: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* ================= LOGO ================= */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-logo span {
  background: linear-gradient(90deg, #d1fae5, #bbf7d0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-logo:hover {
  transform: translateY(-1px) scale(1.04);
  opacity: 0.9;
}

/* ================= BASE BUTTON ================= */
.nav-btn {
  position: relative;
  padding: 10px 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 14px;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.28s ease;
}

/* ===== Inclined shine animation ===== */
.nav-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255,255,255,0.35),
    transparent 70%
  );
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}

.nav-btn:hover::before {
  transform: translateX(120%);
}

/* ================= PRIMARY GREEN BUTTON ================= */
.nav-primary {
  color: #ffffff;
  background: linear-gradient(120deg, #10b981, #22c55e);
  box-shadow: 0 10px 22px rgba(34,197,94,0.35);
}

.nav-primary:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 16px 32px rgba(34,197,94,0.45);
  filter: brightness(1.05);
}

/* ================= OUTLINE BUTTON ================= */
.nav-outline {
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.08);
}

.nav-outline:hover {
  background: rgba(255,255,255,0.18);
  box-shadow: 0 6px 18px rgba(34,197,94,0.25);
  transform: translateY(-2px);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 640px) {
  .nav-logo span {
    display: none;
  }

  .nav-btn {
    padding: 8px 14px;
    font-size: 14px;
  }
}
