
body {
  background-color: #fff;
  color: #333;
  font-family: 'Segoe UI', sans-serif;
  padding: 20px;
  margin: 0;
}

.hint-text {
    font-size: 0.8em;
    color: #888;
    margin-left: 5px;
}


.ad-placeholder {
  background: #cfd8dc;
  padding: 10px;
  text-align: center;
  margin: 1rem 0;
}

.container {
  display: flex;
  justify-content: center;
  padding: 2rem;
}
main {
  max-width: 800px;
  width: 100%;
}

.extended {
  animation: flash 1s ease-in-out;
}

@keyframes flash {
  0% { color: lime; }
  100% { color: inherit; }
}

.venita-welcome {
  font-size: 1.2rem;
  text-align: center;
  color: #444;
  animation: fadeInOut 4s ease-in-out 1;
  animation-fill-mode: forwards;
}

@keyframes fadeInOut {
  0% { opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; }
}

/* Participant alert box - fresh, independent styles */

#participantAlert {
  position: relative;       /* floating independently over page */
  top: 20px;                /* adjust as needed */
  left: 50%;
  transform: translateX(-50%); /* horizontal center */
  z-index: 20;              /* above banner */
  opacity: 0;
  transition: opacity 1s ease-in-out, background-color 1s, color 1s;
  max-width: 400px;
  padding: 12px 18px;
  text-align: center;
  border-radius: 10px;
  font-size: 1.1em;
  cursor: pointer;
}

/* state toggles */
#participantAlert.visible {
  opacity: 1;
}

#participantAlert.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Stage 1: gentle intro */
#participantAlert.stage1 {
  background-color: #d9fdd3; /* calming green base */
  color: #004466;            /* supportive text color */
}

/* Stage 2: moderate emphasis */
#participantAlert.stage2 {
  background-color: #fff3cd; /* attention yellow base */
  color: #663300;
}

/* Stage 3: strong emphasis */
#participantAlert.stage3 {
  background-color: #f8d7da; /* urgent red base */
  color: #660000;
}

/* Fade effect class */
.alert-fade {
  font-size: 1.2rem;
  text-align: center;
  color: #444;
  animation: fadeInOut 4s ease-in-out 1;
  animation-fill-mode: forwards;
}

/* Keyframes must be outside */
@keyframes fadeInOut {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

#participantAlert.paused {
  opacity: 0.6;                 /* slightly dim to indicate pause */
  transition: opacity 0.5s ease; /* smooth fade */
}

#participantAlert.paused::after {
  content: " (Paused)";
  font-size: 0.9em;
  color: #222;
}

.content-box {
  background: #f9f9f9;
  border: 1px solid #ddd;
  padding: 1.5rem;
  margin: 1rem auto;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.bootsy-card {
  background: #fefefe;
  border: 2px solid #ddd;
  border-radius: 12px;
  padding: 1.5rem;
  max-width: 500px;
  margin: 1rem auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-family: 'Segoe UI', sans-serif;
}

.bootsy-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #444;
  margin-bottom: 0.5rem;
  text-align: center;
}

.bootsy-meta {
  font-size: 0.9rem;
  color: #666;
  text-align: center;
  margin-top: 0.5rem;
}

.bootsy-card .bootsy-icon {
  display: block;
  margin: 0 auto 1rem auto;
  height: 48px;
  width: 48px;
}

