/* Reset and global layout */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #74ebd5 0%, #9face6 100%);
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-height: 100vh;
}


/* Header styling */
header {
  background-color: #333;
  color: white;
  padding: 10px 20px;
  width: 100%;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: bold;
}

.logo a {
  color: white;
  text-decoration: none;
}

.logo a:hover {
  text-decoration: underline;
}

/* Navigation */
.nav-toggle {
  display: none;
  background-color: #4CAF50;
  border: none;
  color: white;
  font-size: 24px;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.main-nav a {
  color: white;
  background-color: #4CAF50;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.main-nav a:hover {
  background-color: #006400;
  transform: scale(1.05);
}

/* Responsive navigation */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: #333;
    padding: 10px 0;
    width: 100%;
    gap: 10px;
  }

  .main-nav.show {
    display: flex;
  }
}

/* Ad banner */
.ad-container {
  background-color: #f8f9fa;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  width: 100%;
  text-align: center;
  margin: 15px 0;
}
.container {
  max-width: 380px;
  width: 100%;
  background: #fff;
  padding: 25px 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 25px;
}

/* Age selection container */
.age-container {
  text-align: center;
  margin: 20px 0;
}

.age-container h1 {
  font-size: 24px;
  margin-bottom: 10px;
}

.sub-heading {
  font-size: 16px;
  color: #555;
}

.age-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 300px;
  margin: 20px auto;
}

.age-option {
  background-color: #4CAF50;
  color: white;
  padding: 15px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  transition: background 0.3s, transform 0.3s;
}

.age-option:hover {
  background-color: #006400;
  transform: scale(1.05);
}

/* Intro box for index page */
.intro-box {
  background-color: #f1f9ff;
  border-left: 4px solid #4CAF50;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 800px;
  font-size: 16px;
  margin-bottom: 30px;
}

.intro-box h1,
.intro-box h2,
.intro-box h3 {
  margin-top: 20px;
  margin-bottom: 10px;
  color: #4CAF50;
}

.intro-box ul {
  margin: 10px 0 20px 20px;
  list-style: disc;
}

/* Page content box for privacy, terms, contact, etc. */
.content-box {
  background-color: #ffffff;
  margin: 30px 20px;
  padding: 30px;
  max-width: 800px;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.content-box h1 {
  color: #4CAF50;
  margin-bottom: 20px;
  font-size: 26px;
}

.content-box h2 {
  margin-top: 20px;
  font-size: 20px;
  color: #333;
}

.content-box p,
.content-box ul {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 10px;
}

.content-box ul {
  padding-left: 20px;
  list-style: disc;
}

/* Footer */
footer {
  background-color: #0a0a4f;
  color: #ccc;
  text-align: center;
  padding: 20px 10px;
  width: 100%;
  font-family: Arial, sans-serif;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-bottom: 10px;
}

.footer-nav a {
  color: #e0e0e0;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #ffffff;
}

footer p {
  font-size: 14px;
  color: #aaa;
  margin-top: 10px;
}

/* Modal styling (optional for rewards, popups, etc.) */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  padding-top: 300px;
}

.modal[data-type] {
  display: block;
}

.modalDialog {
  background: white;
  margin: auto;
  padding: 25px;
  text-align: center;
  transform: translate(-50%, -50%);
  position: fixed;
  top: 50%;
  left: 50%;
}

.modal input[type="button"] {
  background: blue;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 0.5rem;
  margin: 4px;
}
/* Quiz container styling */
.quiz-container {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 600px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0;
}

.quiz-container:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

#reward {
    font-size: 18px;
    color: #4CAF50;
    font-weight: bold;
    margin-bottom: 15px;
    padding: 5px;
    border: 2px solid #4CAF50;
    border-radius: 8px;
}

h1 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

#question {
    font-size: 18px;
    margin-bottom: 20px;
    color: #555;
}

/* Option styling with fully darkened colors for correct and wrong answers */
.option {
    background: #f4f4f4;
    border-radius: 8px;
    padding: 12px;
    margin: 8px 0;
    transition: background-color 0.3s, transform 0.2s;
    cursor: pointer;
}

.option:hover {
    transform: scale(1.02);
}

.option.correct {
    background-color: #006400; /* Full Dark Green for Correct Answer */
    color: #fff;
}

.option.wrong {
    background-color: #8b0000; /* Full Dark Red for Wrong Answer */
    color: #fff;
}

.option label {
    font-size: 16px;
    cursor: pointer;
}

#results {
    margin-top: 20px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

/* Info box styling for Quiz Benefits */
.intro-box {
    background-color: #f1f9ff;
    border-left: 4px solid #4CAF50;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
    text-align: left;
    margin-top: 20px;
    font-size: 16px;
    color: #333;
}

.intro-box h2 {
    font-size: 20px;
    color: #4CAF50;
    margin-bottom: 10px;
}

.intro-box p {
    margin-bottom: 8px;
    line-height: 1.6;
}
#reward {
    font-size: 18px;
    color: #4CAF50;
    font-weight: bold;
    margin-bottom: 15px;
    padding: 5px;
    border: 2px solid #4CAF50;
    border-radius: 8px;
}
#question {
    font-size: 18px;
    margin-bottom: 20px;
    color: #555;
}

/* Option styling with fully darkened colors for correct and wrong answers */
.option {
    background: #f4f4f4;
    border-radius: 8px;
    padding: 12px;
    margin: 8px 0;
    transition: background-color 0.3s, transform 0.2s;
    cursor: pointer;
}

.option:hover {
    transform: scale(1.02);
}

.option.correct {
    background-color: #006400; /* Full Dark Green for Correct Answer */
    color: #fff;
}

.option.wrong {
    background-color: #8b0000; /* Full Dark Red for Wrong Answer */
    color: #fff;
}

.option label {
    font-size: 16px;
    cursor: pointer;
}

#results {
    margin-top: 20px;
    font-size: 16px;
    font-weight: bold;
    color: #333;
}
/* Media queries for responsive design */
@media (max-width: 768px) {
    .quiz-container, .ad-container, .intro-box {
        width: 90%;
    }

    header .logo img {
        width: 130px;
    }
}

@media (max-width: 480px) {
    header .logo img {
        width: 120px;
    }

    footer .footer-nav a {
        font-size: 14px;
        padding: 8px 16px;
    }

    h1, .intro-box h2 {
        font-size: 20px;
    }

    #question, .option label {
        font-size: 16px;
    }

    .option {
        padding: 10px;
    }

    #results {
        font-size: 14px;
    }
}
#hypnoticLoader {
    position: fixed;
    inset: 0;
    background: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }

  .spiral {
    width: 200px;
    height: 200px;
    background: url('https://i.gifer.com/Q7b2.gif') no-repeat center center;
    background-size: cover;
    border-radius: 50%;
  }

  .loader-text {
    font-size: 1.5rem;
    color: #00e0ff;
    margin-top: 20px;
    white-space: pre;
    letter-spacing: 2px;
    font-weight: bold;
  }

  /* Blinking cursor */
  .cursor {
    display: inline-block;
    background-color: #00e0ff;
    width: 10px;
    margin-left: 2px;
    animation: blink 1s infinite;
  }

  @keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
  }
  a {
  text-decoration: none;
}
/* --------------------- PROFILE CARD --------------------- */
.profile-container {
  max-width: 380px;
  width: 100%;
  background: #fff;
  padding: 25px 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 25px;
}

.profile-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 4px solid #4CAF50;
  object-fit: cover;
  margin-bottom: 15px;
}

.profile-name {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
}

.mobile-number {
  font-size: 1rem;
  color: #555;
  margin-bottom: 5px;
}

.note {
  color: #f39c12;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 15px;
}

.btn {
  padding: 12px;
  font-size: 16px;
  border-radius: 8px;
  border: none;
  font-weight: bold;
  color: #ffffff;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.3s ease;
}

.btn:hover {
  transform: scale(1.02);
  opacity: 0.9;
}

.btn-video {
  background-color: #007bff;
}

.btn-status {
  background-color: #28a745;
}

.btn-next {
  background: linear-gradient(to right, #ff0000, #800080);
}
@media (max-width: 768px) {
  .quiz-container, .ad-container, .intro-box {
    width: 90%;
  }

  header .logo img {
    width: 130px;
  }
}

@media (max-width: 480px) {
  header .logo img {
    width: 120px;
  }

  footer .footer-nav a {
    font-size: 14px;
    padding: 8px 16px;
  }

  h1, .intro-box h2 {
    font-size: 20px;
  }

  #question, .option label {
    font-size: 16px;
  }

  .option {
    padding: 10px;
  }

  #results {
    font-size: 14px;
  }

  .profile-img {
    width: 150px;
    height: 150px;
  }
}

/* Responsive Navigation */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: #333;
    padding: 10px 0;
    width: 100%;
    gap: 10px;
  }

  .main-nav.show {
    display: flex;
  }
}
.app-container {
            display: flex;
            gap: 20px; /* Space between app cards */
            flex-wrap: wrap; /* Allow wrapping on smaller screens */
            justify-content: center; /* Center cards in the container */
        }

        /* Individual app card styling */
        .app-card {
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            text-align: center;
            padding: 20px;
            width: 100%; /* Ensure cards take full width */
            max-width: 220px; /* Set a consistent max-width */
            transition: transform 0.3s ease;
            position: relative; /* To position the countdown */
        }

        .app-card:hover {
            transform: translateY(-5px);
        }

        .app-card img {
            width: 60px;
            height: 60px;
            object-fit: cover;
            margin-bottom: 5px;
        }

        .app-card h3 {
            font-size: 18px;
            margin-bottom: 15px;
            color: #333;
        }

        .app-card button {
            background: linear-gradient(to right, #ED4988, #B853A1);
            color: white;
            border: none;
            padding: 10px 20px;
            font-size: 16px;
            border-radius: 5px;
            cursor: pointer;
            width: 100%;
        }

        .app-card button:hover {
            background: linear-gradient(45deg, #B853A1, #ED4988);
        }

        .countdown {
            margin-top: 10px;
            font-size: 14px;
            color: #666;
        }