@import url('https://fonts.googleapis.com/css2?family=Comic+Sans+MS&display=swap');

:root {
  --primary-color: #ff00ff;
  --secondary-color: #00ffff;
  --error-color: #ff3333;
  --success-color: #33ff33;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: "Comic Sans MS", cursive, sans-serif;
  background-color: #f0f0f0;
  color: #333;
}

header {
  text-align: center;
  padding: 2rem 0;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

h1 {
  margin: 0;
  font-size: 2.5rem;
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
}

.day-counter {
  font-size: 1.2rem;
  margin-top: 0.5rem;
  font-weight: bold;
}

.instructions {
  text-align: center;
  padding: 1rem;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--primary-color);
  margin: 1rem 0;
}

.small-text {
  font-size: 0.8rem;
  opacity: 0.7;
}

.container {
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
}

.checkbox-container {
  padding: 1.5rem;
  margin: 2rem 0;
  border: 2px dashed var(--secondary-color);
  border-radius: 5px;
  position: relative;
}

.checkbox-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  position: relative;
}

#indecisiveCheckbox {
  width: 25px;
  height: 25px;
  margin-right: 1rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

#indecisiveCheckbox:hover {
  transform: scale(1.2);
}

#checkboxLabel {
  font-size: 1.1rem;
  transition: color 0.3s ease;
  cursor: pointer;
  flex: 1;
}

.message-bubble {
  position: absolute;
  background-color: #f9f9f9;
  border: 2px solid var(--primary-color);
  border-radius: 15px;
  padding: 0.8rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  max-width: 250px;
  margin-top: 1rem;
  z-index: 10;
  font-size: 0.9rem;
  animation: bounce 0.5s ease;
  display: none;
}

.message-bubble::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 20px;
  border-width: 0 10px 10px 10px;
  border-style: solid;
  border-color: transparent transparent var(--primary-color) transparent;
}

.continue-btn {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  font-size: 1.1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-top: 2rem;
  display: block;
  width: 100%;
}

.continue-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.continue-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.success-message {
  display: none;
  text-align: center;
  padding: 1rem;
}

.success-message h2 {
  color: var(--success-color);
  margin-bottom: 1rem;
}

.decoy-elements {
  margin-top: 2rem;
}

.decoy-element {
  padding: 0.8rem;
  margin-bottom: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.decoy-element:hover {
  background-color: #f5f5f5;
}

.checkbox-dance {
  animation: dance 0.5s ease;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes dance {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(5deg); }
  50% { transform: rotate(0deg); }
  75% { transform: rotate(-5deg); }
  100% { transform: rotate(0deg); }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}

.shake {
  animation: shake 0.5s ease;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background-color: #333;
  color: white;
  margin-top: 2rem;
}

.footer-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.footer-link:hover {
  text-decoration: underline;
  color: var(--primary-color);
}

.footer-text {
  font-style: italic;
}