* {
    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;
  }
  
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
  }
  
  .header-info {
    display: flex;
    gap: 15px;
  }
  
  .settings-btn {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    margin-top:0px;
  }
  
  .mobile-menu {
    display: none;
    flex-direction: column;
    background-color: #444;
    position: absolute;
    /* height:40rem; */
    /* overflow-x:scroll; */
    top: 60px;
    right: 10px;
    width: 200px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 999;
  }

  .mobile-menu a {
    padding: 12px;
    color: white;
    text-decoration: none;
    border-bottom: 1px solid #555;
  }

  .mobile-menu a:hover {
    background-color: #555;
  }

  /* Show menu when active */
  .mobile-menu.active {
    display: flex;
  }


  .idea-section,
  .aspect-ratio,
  .style-selection {
    margin-top: 20px;
  }
  
  textarea {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    background-color: #333;
    border: 1px solid #444;
    border-radius: 5px;
    color: white;
    font-size: 14px;
    height:15vh;
  }
  
  button {
    padding: 12px;
    margin-top: 10px;
    background-color: #007aff;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 14px;
  }
  
  button:disabled {
    background-color: #888;
  }
  
  .aspect-ratio-options{
    display: flex;
    margin-top: 15px;
    gap: 10px;
  }

  .style-options {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    gap: 10px;
    flex-wrap: wrap;
  }
  
  .ratio-item{
    width: 25%;
    background-color: #333;
    border: 1px solid #444;
    border-radius: 10px;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
  }
  .style-item {
    width: 45%;
    background-color: #333;
    border: 1px solid #444;
    border-radius: 10px;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
  }
  
 /* Existing CSS ... */

.ratio-item.active,
.style-item.active {
  background-color: #007aff; /* Highlight selected item */
  transform: scale(1.05); /* Scale up on hover */
  border-color: #005bb5; /* Optional: Change border color */
}

.ratio-item.active p,
.style-item.active p {
  color: white; /* Ensure text stays visible when active */
}

  
  .ratio-item img,
  .style-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
  }
  
  .ratio-item p,
  .style-item p {
    margin-top: 10px;
    font-size: 16px;
    color: white;
  }
  
    .index-create {
    margin-top: 20px;
    text-align: center;
  }
  
  @media (max-width: 400px) {
    .container {
      padding: 10px;
    }
  
    .header-info {
      /* flex-direction: column; */
      text-align: center;
    }
  
    .ratio-item,
    .style-item {
      margin-top: 10px;
    }
  }
  /* body, html {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    background: black;
    color: white;
    height: 100vh;
    overflow: hidden;
  } */
  
  #onboarding {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px;
    position: absolute;
  }
  
  .slide {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    width: 100%;
    justify-content: center;
  }
  
  .slide.active {
    display: flex;
  }
  
  .slide img {
    width: 80%;
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
  }
  
  .slide h2 {
    margin-bottom: 10px;
  }
  
  .slide p {
    margin-bottom: 30px;
    color: #aaa;
    padding: 0 20px;
  }
  
  .actions {
    display: flex;
    justify-content: space-between;
    width: 90%;
    max-width: 300px;
  }
  
  .actions button {
    padding: 12px 24px;
    font-size: 16px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
  }
  
  .skip-btn {
    background: transparent;
    color: #ccc;
  }
  
  .next-btn, .get-started-btn {
    background: #cc77ff;
    color: white;
    box-shadow: 0 0 10px #cc77ff80;
  }
  
  .dots {
    position: absolute;
    bottom: 20px;
    display: flex;
    gap: 10px;
  }
  
  .dot {
    width: 10px;
    height: 10px;
    background: #444;
    border-radius: 50%;
  }
  
  .dot.active {
    background: #fff;
  }
/* 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;
}
@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;
}
.effects-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

/* Card container */
.effect-card {
  position: relative;
  display: flex;
  justify-content: center;
  border-radius: 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 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 5px 0;
  font-weight: 600;
  font-size: 13px;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
  text-shadow: 0 1px 2px rgba(0,0,0,0.7);
  border-radius: 0 0 8px 8px;
}

/* Remove old button style */
.use-btn {
  display: none;
}

@media (max-width: 360px) {
  .effect-card {
    width: 140px;
  }
  .effect-video {
    height: 100px;
  }
}
