  <style>
    body {
      background-color: #f4f4f4;
      font-family: 'Segoe UI', sans-serif;
    }
    .navbar {
      background: linear-gradient(135deg, #007bff, #00c6ff);
      box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    }
    .card:hover {
      transform: scale(1.03) rotateY(3deg);
      transition: transform 0.3s ease;
      box-shadow: 0 20px 30px rgba(0,0,0,0.2);
    }
    .btn-primary {
      background: linear-gradient(135deg, #00c6ff, #007bff);
      border: none;
      box-shadow: 0 0 10px #00c6ff;
    }
    .img-3d {
      box-shadow: 0 10px 20px rgba(0,0,0,0.3);
      transform: perspective(800px) rotateX(2deg);
      transition: transform 0.3s ease;
    }
    .img-3d:hover {
      transform: scale(1.05) rotateX(0deg);
    }
    footer {
      background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    }
    .webcam-3d {
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
  transform: perspective(1000px) rotateX(5deg) rotateY(-10deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border-radius: 12px;
}

.webcam-3d:hover {
  transform: perspective(1000px) rotateX(0deg) rotateY(0deg) scale(1.03);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}
.live-badge {
  position: absolute;
  top: 20px;
  right: 10px;
  background: red;
  color: white;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.9rem;
  box-shadow: 0 0 8px rgba(255, 0, 0, 0.6);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 8px rgba(255, 0, 0, 0.6); }
  50% { box-shadow: 0 0 16px rgba(255, 0, 0, 0.9); }
  100% { box-shadow: 0 0 8px rgba(255, 0, 0, 0.6); }
}
 .webcam-3d-1 {
      perspective: 1000px;
      transform-style: preserve-3d;
      transition: transform 0.4s ease, box-shadow 0.4s ease;
      border-radius: 10px;
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
      backface-visibility: hidden;
      will-change: transform;
    }

    .webcam-3d-1:hover {
      transform: rotateY(8deg) rotateX(4deg) scale(1.05);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
      z-index: 10;
    }
  </style>