* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #18181B;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  overflow-x: hidden;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  width: 100%;
}

.section {
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.chat-container {
  max-width: 42rem;
  width: 100%;
}

.message-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeIn 0.5s ease forwards;
}

.avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: #2563EB;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
  font-size: 0.875rem;
}

.message-bubble {
  background-color: #1E1E1E;
  padding: 1rem;
  border-radius: 1rem;
  border-top-left-radius: 0;
  max-width: 80%;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.message-text {
  color: white;
  font-size: 1.25rem;
}

.options-container {
  margin-top: 1rem;
  padding-left: 3rem;
  display: none;
}

.option-button {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #2563EB, #4F46E5);
  border: none;
  color: white;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  width: auto;
  min-width: 150px;
  margin-bottom: 0.75rem;
  display: inline-block;
  margin-right: 0.5rem;
}

.option-button.show {
  opacity: 1;
  transform: translateY(0);
}

.option-button:hover {
  background: linear-gradient(135deg, #4F46E5, #2563EB);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.about-section {
  max-width: 42rem;
  width: 100%;
  padding: 2rem;
  color: white;
  position: relative;  /* Keep this for footer positioning */
  margin: 0 auto;
}

.about-section p {
  font-size: 1.125rem;
  color: #D1D5DB;
  margin-top: 1rem;
  line-height: 1.6;
}

.about-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.profile-image {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
  margin-top: 2px;
  align-items: center;
}

.footer {
  position: absolute;
  bottom: -3rem;      /* Position it below the content */
  right: 0;          /* Align to right edge of content */
  font-size: 14px;
  color: #D1D5DB;
  padding: 5px 10px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}

.link-default {
  text-decoration-thickness: .10em;
  text-underline-offset: .1em;
  transition-duration: .1s;
  transition-timing-function: cubic-bezier(.4, 0, .2, 1);
  text-decoration-line:underline
}

.link-default:hover, .link-default:active {
  opacity:.5
}

a {
  color: inherit;
  text-decoration:inherit
}

@media (min-width: 768px) {
  .option-button {
      width: auto;
      display: inline-block;
      margin-right: 0.5rem;
  }
}

@media (max-width: 767px) {
  .footer {
      right: 50%;
      transform: translateX(50%);
      bottom: -3rem;
  }
}

@keyframes fadeIn {
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.hidden {
  display: none;
}