body {
    background: #d5e0be;
    min-height: 100vh;
    margin: 0;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    box-sizing: border-box;
}

#app {
    max-width: 1000px;
    margin: 64px auto 0 auto; /* margin from the top, centered horizontally */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.question-text {
    color: #3c7244;
    text-align: center;
    font-size: 4.5em;
    font-family: Helvetica;
    font-weight: 450;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    background: none;
    box-shadow: none;
    border: none;
    padding: 0;
    max-width: 90vw;
    line-height: 1.15;
}

.subheader-text {
    color: #3c7244;
    text-align: center;
    font-size: 1.5em;
    font-family: Helvetica;
    font-weight: 450;
    letter-spacing: 0.1em;
    margin-bottom: 100px;
    background: none;
    box-shadow: none;
    border: none;
    padding: 0;
    max-width: 90vw;
    line-height: 1.15;
}

.option-btn {
    display: inline-block;
    color: #CACFD6;
    background: #3c7244;
    border: none;
    border-radius: 30px;
    font-family: inherit;
    letter-spacing: 0.1em;
    font-size: 1.6em;
    font-weight: 400;
    width: 500px;    /* Fixed width */
    height: 80px;    /* Fixed height */
    margin: 0 auto;
    margin-bottom: 22px;
    cursor: pointer;
    text-align: center;
    vertical-align: middle;
    transition: background 0.18s, box-shadow 0.15s;
    box-shadow: 0 2px 8px 0 rgba(0,0,0,0.10);
    outline: none;
    overflow: hidden;
    white-space: normal;
    padding: 0 18px; /* in case text is long, allow two lines */
}

.option-btn:last-child {
    margin-bottom: 0;
}

.option-btn:hover, .option-btn:focus {
    background: #e8aec9;
    color: #ffffff;
    box-shadow: 0 4px 16px 0 rgba(64, 199, 122, 0.05);
}
/* For final nodes: make the page take all height and push credits to bottom */
.final-node-container {
    display: flex;
    flex-direction: column;
    min-height: 110vh;
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    position: relative;
}

/* Make credits smaller and bottom-aligned */
.end-credits {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    color: #232323;
    text-align: center;
    font-size: 1.15em;
    font-family: Helvetica;
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 1.3;
    opacity: 0.93;
    padding: 18px 0 20px 0;
}

.credit-item {
    margin-bottom: 20px;
    font-size: 1.15em;
    font-weight: 400;
}

.credit-item:last-child {
    margin-bottom: 0;
}

.credit-link {
    color: #1b1c1d;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.credit-link:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.waiting-animation {
    position: relative;
    width: 500px;
    height: 500px;
    margin: 0 auto;
}

.waiting-animation img {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.sound-warning-bottom {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 0 20px 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #3c7244;
    gap: 10px;
}

.sound-warning-bottom img {
    height: 2.4em;   /* Adjust size as needed */
    width: auto;
    display: block;
    margin-right: 8px;
}

/* Responsive: even smaller on mobile */
@media (max-width: 700px) {
    .end-credits {
        font-size: 0.85em;
        margin-bottom: 14px;
    }
    .credit-item {
        margin-bottom: 6px;
    }
}

@keyframes fadeUpIn {
    0% {
      opacity: 0;
      transform: translateY(40px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .question-text,
  .subheader-text {
    opacity: 0;
    animation: fadeUpIn 0.56s cubic-bezier(.23, .82, .56, 1) forwards;
  }

  .question-text {
    animation-delay: 0.08s;
  }

  .subheader-text {
    animation-delay: 0.25s;
  }

  /* Options in flex column: use nth-child to stagger buttons */
  .option-btn {
    opacity: 0;
    animation: fadeUpIn 0.50s cubic-bezier(.23, .82, .56, 1) forwards;
    animation-delay: 0.42s;
  }

  .option-btn:nth-child(2) {
    animation-delay: 0.56s;
  }
  .option-btn:nth-child(3) {
    animation-delay: 0.70s;
  }
  .option-btn:nth-child(4) {
    animation-delay: 0.84s;
  }
  .option-btn:nth-child(5) {
    animation-delay: 0.98s;
  }
