* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
body {
  font-family: Arial, sans-serif;
  background-color: #1a1a1a;
  color: white;
}
.container {
  width: 100%;
  max-width: 375px;
  margin: 0 auto;
  padding: 15px;
}
.container h3{
  font-size:14px;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  height:40px;
}
.header-info {
  display: flex;
  font-size: 14px;
  gap: 15px;
  
}
.create-btn {
  width: 90%;
  background: #444;
  color: #fff;
  border: none;
  padding: 14px 0;
  border-radius: 12px;
  font-size: 14px;
  cursor: pointer;
}
@media (max-width: 400px) {
  .container {
    padding: 10px;
  }
  .header-info {
    /* flex-direction: column; */
    text-align: center;
  }
}
/* Loader styles */
.loader {
  border: 6px solid #333;
  border-top: 6px solid #7a3fff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  display: none;
  margin: 20px auto;
}
.loader1 {
  border: 6px solid #333;
  border-top: 6px solid #7a3fff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  display: none;
  margin: 20px auto;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.content {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  /* background: #0f0f1a; */
  position: relative;
  flex-direction: column;
  gap: 15px;
}
/* Overlay that blurs the whole page */
.blur-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(6px);
  background: rgba(0, 0, 0, 0.4);
  display: none; 
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
/* Show the overlay */
.blur-overlay.active {
  display: flex;
}
.effects-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
/* Card container */
.effect-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 10px;
  background-color: #333;
  border: 1px solid #444;
  padding: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  width: 160px;
  text-align: center;
  transition: transform 0.2s;
  cursor: pointer;
  overflow: hidden;
}
/* Hover lift */
.effect-card:hover {
  transform: translateY(-3px);
}
/* Video styling */
.effect-video {
  width: 100%;
  height: 150px;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}
/* Name overlay on video */
.effect-name {
  width: 100%;
  padding: 5px 0;
  font-weight: 600;
  font-size: 13px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.7);
  border-radius: 0 0 8px 8px;
}