:root {
  --accent1: #02044b;
  --accent2: #7d1d6b;
  --accent3:#ed17aa ;
  --bg-dark: linear-gradient(135deg, #0a0a0f 0%, #1b1c20 100%);
  --glass: rgba(255, 255, 255, 0.1);
  --card: rgba(30, 30, 40, 0.8);
  --text: #f2f2f2;
}


* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: Inter, system-ui, Segoe UI, Roboto, "Helvetica Neue", Arial;
  background: var(--bg-dark);
  color:black;
  -webkit-font-smoothing: antialiased;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
}


body.index-page {
  background-image: url("https://t.auntmia.com/nthumbs/2021-12-01/4556091/4556091_18.jpg");
  image-resolution: inherit;
  color: white;
  
}
body.login-page {
  background-image: url("https://image.stockphotos.com/nude-young-woman-posing-on-the-floor-and-looking-at-the-camera-7158655.jpg?class=thumbnail");
  color:white;

}
body.signup-page {
  background-image: url("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSdJufXHmUMYY_VTky34wv0GxcVTmb-J_0IfQ&s");
  color:white;
}


.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 28px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
}
.brand {
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
}
.nav a {
  margin-left: 16px;
  text-decoration: none;
  color: #f2f2f2;
}
.nav .btn {
  background: linear-gradient(90deg, var(--accent1), var(--accent3));
  color: #fff;
  padding: 8px 12px;
  border-radius: 10px;
}


.hero {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 48px;
  max-width: 1100px;
  margin: 0 auto;
}
.hero-left {
  flex: 1;
}
.hero-left h1 {
  font-size: 2.4rem;
  margin: 0 0 8px;
}
.hero-left p {
  margin: 0 0 18px;
  color: #ffff;
}
.hero-actions .cta {
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  padding: 12px 18px;
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
}
.hero-actions .ghost {
   background: linear-gradient(90deg, var(--accent1), var(--accent2));
  padding: 12px 18px;
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  
}


.hero-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}


.features {
  display: flex;
  gap: 18px;
  padding: 36px;
  max-width: 1100px;
  margin: 0 auto;
}
.card {
  flex: 1;
  background: var(--card);
  padding: 14px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  backdrop-filter: blur(5px);
}
.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
}
.card h3 {
  margin: 10px 0 6px;
}

.demo {
  max-width: 400px;
  margin: 20px auto;
  padding: 10px;
  background:#02044b,#ed17aa;
  border-radius: 12px;
  backdrop-filter: blur(6px);
  color: #f2f2f2;
}
.video-wrap {
  width: 100%;
  height: 340px;
  background: #111;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.demo-controls {
  margin-top: 12px;
}
button {
  padding: 10px 14px;
  border-radius: 10px;
  border: 0;
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  color:#ffff;
  cursor: pointer;
}
button#stopCam {
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  margin-left: 8px;
}


.auth {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
}
.auth-card {
  width: 360px;
  background: var(--card);
  padding: 22px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
}
.auth-card h2 {
  margin-top: 0;
  color: #fff;
}
label {
  display: block;
  margin-bottom: 12px;
  font-size: 0.95rem;
}
input[type="text"],
input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #555;
  background: #222;
  color: #fff;
}
.age-verify {
  display: flex;
  align-items: center;
  gap: 10px;
}
.muted {
  color:white;
  font-size: 0.9rem;
}
.footer {
  padding: 18px;
  text-align: center;
  color: #ffff;
}

/* Responsive */
@media (max-width: 880px) {
  .hero {
    flex-direction: column;
    padding: 24px;
  }
  .hero-right {
    width: 100%;
  }
  .features {
    flex-direction: column;
    padding: 18px;
  }
}

.popup {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}


.popup-content {
  background: #fff;
  color: #333;
  padding: 25px 30px;
  border-radius: 15px;
  width: 80%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  font-family: "Poppins", sans-serif;
}


.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 26px;
  color: #555;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-btn:hover {
 transform: scale(1.05);
}


    .popup {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.6);
      justify-content: center;
      align-items: center;
      z-index: 1000;
    }

    .popup-content {
      background: #fff;
      padding: 25px 30px;
      border-radius: 12px;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
      width: 90%;
      max-width: 500px;
      position: relative;
      overflow-y: auto;
      max-height: 70vh;
      font-family: "Poppins", sans-serif;
    }

    .popup-content h2 {
      text-align: center;
      margin-top: 0;
    }

    .popup-content p {
      line-height: 1.6;
      color: #555;
    }

    .close-btn {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 22px;
      cursor: pointer;
      color: #333;
    }

    .close-btn:hover {
      color: red;
    }

    .terms-link {
      color: #007bff;
      text-decoration: underline;
      cursor: pointer;
    }

    .terms-link:hover {
      color: #0056b3;
    }

#ageGenderPopup {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #02044b,#ed17aa );
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.4s ease;
}

#ageGenderPopup .popup-box {
  background: #fff;
  color: #333;
  padding: 25px 35px;
  border-radius: 15px;
  width: 85%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  animation: slideDown 0.4s ease;
}

#ageGenderPopup h2 {
  margin-bottom: 10px;
 
}

#ageGenderPopup .note {
  font-size: 14px;
  color: #ffff;
  margin-bottom: 20px;
}

#ageGenderPopup select {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 15px;
  margin-bottom: 20px;
  outline: none;
}

#ageGenderPopup button {
  background: linear-gradient(90deg, #02044b,#ed17aa );
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

#ageGenderPopup button:hover {
  transform: scale(1.05);
  
}

