body {
  margin: 0; 
  padding: 0;
  font-family: 'Roboto', Arial, sans-serif;
  background: linear-gradient(135deg, #0e1117, #1a1f29);
  color: #ccfcff;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  min-height: 100vh;
  text-align: center;
  cursor: url(imgs/cursor.png) 10 10, auto;
  line-height: 1.5;
  padding: clamp(1%, 2vw, 2%);
  overflow-x: hidden;
}

.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.quiz-container {
  position: relative;
  margin: auto;
  margin-top: clamp(3%, 5vw, 5%);
  width: 90%;
  max-width: 600px;
  min-height: 60vh;
  border-radius: 20px;
  box-sizing: border-box;
  padding: clamp(1em, 2vw, 2%);
}

.quiz-title {
  background-color: white;
  font-size: clamp(1.1em, 2.5vw, 1.6em);
  font-family: 'Roboto', cursive;
  color: black;
  border-radius: 15px;
  padding: clamp(0.7em, 2vw, 1em);
  font-weight: 800;
  margin-bottom: clamp(0.7em, 2vw, 1em);
}

.start {
  width: 100%;
  height: clamp(50px, 6vw, 60px);
  font-size: clamp(1.3em, 3vw, 2em);
  color: black;
  background-image: linear-gradient(to top left, rgb(0, 255, 221), white);
  border-radius: 15px;
  margin-top: clamp(0.5em, 1.5vw, 1%);
  font-family: 'Passero One', cursive;
  display: flex;
  align-items: center;
  justify-content: center;
}

.start:hover {
  animation: optionPop 0.1s linear forwards;
  cursor: url(imgs/cursorButton.png) 20 20, auto;
}

.disclaimer {
  margin-top: clamp(2%, 3vw, 3%);
  font-size: clamp(0.75em, 1.5vw, 1em);
  opacity: 0.8;
  background-color: rgb(26, 26, 26);
  border-radius: 15px;
  padding: clamp(0.5em, 2vw, 1%);
}
.question-container {
  padding: clamp(1em, 2.5vw, 1.3em);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1em, 2.2vw, 1.3em);
  color: #000;
  font-weight: 600;
  font-family: 'Roboto', cursive;
  position: relative;
  border-radius: 20px;
  background: #c9fff7;
  box-shadow: 0 0 35px rgba(0, 255, 255, 0.25);
  overflow: hidden;
  transition: transform 0.2s ease;
  display: none;
}

/* Stronger neon animated border */
.question-container::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: linear-gradient(120deg, #00ffff, #007bff, #00ffaa, #00ffff);
  background-size: 300% 300%;
  animation: borderFlow 5s linear infinite;
  filter: blur(6px);
  z-index: -2;
  opacity: 0.9;
}

/* Clear solid center */
.question-container::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: inherit;
  background: linear-gradient(180deg, #b9fff5 0%, #e6fffa 100%);
  z-index: -1;
}

/* Animation for gradient motion */
@keyframes borderFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.option-container { 
  width: 100%; 
  margin-top: clamp(0.8em, 2vw, 1em); 
  display: none; 
}

.option {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background-color: white;
  border-radius: 12px;
  color: black;
  font-size: clamp(0.9em, 2vw, 1.2em);
  box-shadow: 0px 0px 15px grey;
  margin-top: clamp(0.8em, 2vw, 1em);
  padding: clamp(0.8em, 2vw, 1em);
  transform: scale(0);
  animation: scaleUp 0.2s linear forwards;
  cursor: url(imgs/cursorButton.png) 20 20, auto;
}
.option:hover { background-color: aqua; }

@keyframes scaleUp {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}
@keyframes shrink {
  0% { transform: scale(1); }
  100% { transform: scale(0); }
}

.progress-bar {
  height: clamp(6px, 1vw, 8px);
  width: 0%;
  border-radius: 10px;
  background-color: green;
  box-shadow: 0px 0px 20px aqua;
  display: none;
  position: absolute;
  bottom: 0;
}

.result-container { 
  width: 100%; 
  margin-top: clamp(0.8em, 2vw, 1em); 
  display: none; 
}

.result {
  width: 95%;
  border-radius: 15px;
  font-size: clamp(0.85em, 1.5vw, 1em);
  font-family: 'Roboto', cursive;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  background-color: rgb(31, 31, 31);
  box-sizing: border-box;
  padding: clamp(0.8em, 2vw, 1em);
  margin: clamp(0.5em, 1.5vw, 0.8em) auto;
}

.buttons {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 2vw, 12px);
  align-items: center;
  justify-content: center;
  width: 100%;
}

.buttons a {
  text-decoration: none;
  background: #000218;
  color: white;
  font-size: clamp(0.8rem, 2vw, 0.9rem);
  font-weight: 600;
  padding: clamp(6px, 1vw, 8px) clamp(12px, 2vw, 16px);
  border-radius: 20px;
  box-shadow: 0px 0px 10px rgba(0, 255, 255, 0.274),
              inset 0px 0px 10px rgba(0, 255, 255, 0.496);
  width: clamp(60%, 20vw, 20%);
  transition: background 0.2s ease, transform 0.1s ease;
  text-align: center;
  cursor: url(imgs/cursorButton.png) 20 20, auto;
}
.buttons a:hover { background: #0070ff; transform: scale(1.05); }

.info-section {
  width: 90%;
  max-width: 720px;
  background-color: rgba(0, 0, 0, 0.75);
  border-radius: 15px;
  padding: clamp(15px, 3vw, 25px);
  color: #d6e4f0;
  line-height: 1.7;
  text-align: center;
  box-shadow: 0px 0px 20px rgba(0, 255, 255, 0.2);
  margin-bottom: 20px;
  align-self: center;
  margin-top: clamp(3%, 5vw, 5%);
}

.info-section h2 {
  color: #00eaff;
  margin-bottom: clamp(6px, 1.5vw, 10px);
  text-shadow: 0 0 10px #00eaff;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
}

.continue {
  text-align: center;
  font-size: clamp(1rem, 2.5vw, 1.4em);
  background-color: aqua;
  border-radius: 15px;
  display: inline-block;
  padding: clamp(1%, 2vw, 2%);
  color: black;
  font-weight: 600;
  display: none;
  margin-top: clamp(0.5em, 2vw, 1%);
  cursor: url(imgs/cursorButton.png) 20 20, auto;
}
.continue:hover { animation: optionPop 0.1s linear forwards; }

.bg-lottie {
  position: fixed;
  width: 100%;
  bottom: 0;
  left: 0;
  transform: scale(1.2);
  opacity: 0.2;
  z-index: -1;
  filter: saturate(2.5) brightness(1.1);
}

.a-home {
  text-decoration: none;
  text-align: center;
  font-size: clamp(1.8rem, 5vw, 3em);
  font-family: 'Passero One', cursive;
  color: aqua;
  text-shadow: 0px 0px 10px black;
  width: 100%;
}

h1 {
  text-align: center;
  width: 100%;
  margin-bottom: 0;
  font-size: clamp(1.3rem, 4vw, 2rem);
}

footer {
  padding: clamp(2%, 4vw, 5%);
  border-radius: 20px;
  width: 100%;
  color: white;
  text-align: center;
  background-color: rgb(0, 12, 30);
  margin-top: auto;
  box-sizing: border-box;
  flex-shrink: 0;
  position: relative;
  font-size: clamp(0.7rem, 1.8vw, 1rem);
}

/* Base button style */
.summary-button {
  border: none;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-bottom: 1%;
  padding: 14px;
  font-size: clamp(1rem, 2vw, 1.2em);
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #fff;
  text-align: center;
  background: #111827;
  box-shadow: 0 0 12px rgba(0,0,0,0.6);
  transition: all 0.25s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

/* subtle ambient hover effect */
.summary-button:hover {
  transform: scale(1.03);
}

/* NEXT QUIZ (bright gradient) */
.next-quiz {
  background: linear-gradient(90deg, #0ef6cc, #007bff);
  color: #000;
  box-shadow: 0 0 20px rgba(0,255,255,0.4);
  font-weight: 700;
  text-decoration: none;
}
.next-quiz:hover {
  box-shadow: 0 0 35px rgba(0,255,255,0.7);
}
.email-summary{
  background: linear-gradient(90deg, #0ef6cc, #04ff00);
  width: 100%;
  color: black;
}
/* TRY AGAIN (magenta glow) */
.restart {
  background: linear-gradient(90deg, #ff005e, #ff66c4);
  color: #fff;
  box-shadow: 0 0 25px rgba(255,0,120,0.5);
}
.restart:hover {
  box-shadow: 0 0 35px rgba(255,0,120,0.8);
}

/* SHARE (deep blue gradient, bright edge) */
.summary-desktop-share, .summary-share {
  background: linear-gradient(135deg, #002b45, #004080, #0078ff);
  border: 1px solid rgba(0,255,255,0.3);
  box-shadow: 0 0 25px rgba(0,128,255,0.3);
  color: #fff;
}
.summary-desktop-share:hover, .summary-share:hover {
  box-shadow: 0 0 35px rgba(0,255,255,0.6);
  transform: scale(1.03);
}

/* AFFILIATE NOTE (card-like with glow edge) */
.affiliate-note {
  background: #0b0f19;
  border: 1px solid rgba(0,255,255,0.25);
  box-shadow: 0 0 30px rgba(0,255,255,0.15);
  border-radius: 16px;
  color: #e5faff;
  padding: 20px;
  text-align: center;
}
.affiliate-note a {
  background: linear-gradient(90deg, #0051ff, #00aaff);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 10px;
  display: inline-block;
  margin-top: 12px;
  box-shadow: 0 0 20px rgba(0,128,255,0.6);
  transition: 0.2s ease;
}
.affiliate-note a:hover {
  background: linear-gradient(90deg, #007bff, #00f7ff);
  box-shadow: 0 0 30px rgba(0,255,255,0.9);
  transform: scale(1.06);
}
.summary-share{
  display: none;
}
@media (max-width: 400px) {
  .quiz-container{width: 110%; margin-left: -5%;}
  .summary-button{width: auto;}
  .buttons a { width: 100%; }
  .summary { width: 110%; left: -5%; }
  .summary-desktop-share { display: none; }
  .summary-share { display: block; }
}

@keyframes optionPop { 
  100% { transform: scale(1.05); } 
}
.email-popup-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; 
  height: 100%;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  z-index: 999999; /* was 9999 */
}

.email-popup-content {
  background: black;
  padding: 25px 30px;
  border-radius: 8px;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.email-popup-content input {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.email-popup-content button {
  margin-top: 10px;
  padding: 10px 15px;
  background: #008CBA;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.email-popup-content button:hover { background: #0078A0; }
.hidden { display: none; }
.info-section a{
  text-decoration: none;
  color: aqua;
}