.container {
    max-width: 600px;
    margin: 2rem auto;
    padding: 1rem;
    text-align: center;
  }
  form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
  }
  input, select, textarea {
    padding: 0.5rem;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
  }
  .traits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }
  .trait-option {
    background-color: #d6eacc;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    border: 2px solid transparent;
    user-select: none;
  }
  .trait-option.selected {
    background-color: #a0c79e;
    border-color: #6ea874;
  }
  .trait-option.disabled {
    opacity: 0.5;
  }
  .warning {
    color: #d9534f;
    font-size: 0.9rem;
    display: none;
    margin-top: -0.5rem;
    margin-bottom: 0.5rem;
  }
  button {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    background-color: #6ea874;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  #cardPreview {
    width: 1080px;
    height: 1080px;
    position: relative;
    font-family: 'Nunito', sans-serif;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin: 0 auto;
  }
  .card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 1080px;
    height: 1080px;
    object-fit: cover;
    z-index: 1;
  }
  .card-content {
    position: absolute;
    z-index: 2;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.9);
    padding: 6rem;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .card-content h2 {
    color: #fff;
    font-size: 5.0rem;
    margin-bottom: 1rem;
  }
  .card-content p {
    color: #fff;
    font-size: 3.5rem;
    margin: 1.0rem 0;
  }
  .card-content blockquote {
    color: #fff;
    margin-top: 2rem;
    font-style: italic;
    font-size: 3rem;
    max-width: 80%;
    text-align: center;
    border: none;
  }




  