body {
  background: linear-gradient(135deg, #e9e0ff 0%, #fbe6ff 100%);
  padding: 0 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-size: cover;
  margin: 0;
}

.dark {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #e4e4e4;
}

.dark .container {
  color: #e4e4e4;
}

.dark h1 {
  color: #c9b3ff;
}

.dark h3 {
  color: #c9b3ff;
}

.dark .theme-toggle {
  border-color: #c9b3ff;
}

.dark .theme-icon {
  background-image: url(/img/light-theme.png);
}

.dark .cat-card {
  background-color: #2d2d44;
  box-shadow: rgba(255, 255, 255, 0.1) 0px 3px 8px;
}

.dark .change-button {
  border: 2px solid #a896f0;
  color: #a896f0;
}

.dark .change-button:hover {
  background-color: #a896f0;
  border: 2px solid #a896f0;
  color: #1a1a2e;
}

.dark .user-input {
  background-color: #2d2d44;
  color: #e4e4e4;
}

.dark .user-input::placeholder {
  color: #cfcfcf;
}

.dark .selected-cat-greeting {
  background-color: #2d2d44;
  box-shadow: rgba(255, 255, 255, 0.1) 0px 3px 8px;
  border-left: 3px solid #a896f0;
}

.dark .send-btn {
  color: #e4e4e4;
  background-color: #5c4b8a;
}

.dark .send-btn:hover {
  background: #9485d3;
  color: #1a1a2e;
}

.dark .prompt-btn {
  color: #e4e4e4;
  background-color: #5c4e80;
}

.dark .prompt-btn:hover {
  background: #8273be;
  color: #1a1a2e;
}

.dark footer {
  color: #bbadff;
}

.dark a {
  color: #d58cf1;
}

.container {
  font-family: "Poppins", sans-serif;
  margin: 30px auto;
  width: 100%;
  max-width: 800px;
  flex: 1;
  color: #2d2b38;
}

header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
}

.guide {
  font-size: 18px;
  text-align: center;
  margin-bottom: 30px;
}

h1,
h3 {
  font-family: "Fredoka", sans-serif;
  text-align: center;
}

h1 {
  font-size: 38px;
  color: rgb(48, 0, 49);
}
.theme-toggle {
  width: 50px;
  height: 50px;
  border: 2px solid #372a5e;
  border-radius: 50%;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 250ms ease-in-out;
}

.theme-toggle:hover {
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  transform: scale(1.03);
}

.theme-icon {
  background-image: url("/img/dark-theme.png");
  background-size: cover;
  width: 35px;
  height: 35px;
  display: block;
}

h3 {
  margin-top: 0;
}

.select-cats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.cat-card {
  flex: 1 1 200px;
  max-width: 300px;
  background-color: #ffffff;
  padding: 15px;
  text-align: center;
  border-radius: 15px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  cursor: pointer;
  transition: all 200ms ease-in-out;
}

.cat-card:hover {
  transform: scale(1.05);
}

.chat-screen {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.system {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.selected-cat-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 15px;
}

h3.cat-name {
  margin: 0;
}

.selected-cat {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.selected-cat-greeting {
  align-self: center;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 15px;
  border-left: 3px solid #4a3c74;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  flex: 1 1 400px;
  max-width: 100%;
}

.selected-cat-greeting p {
  margin: 0;
}

.change-card {
  display: flex;
  justify-content: flex-end;
}
.change-button {
  padding: 10px;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  border-radius: 25px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px,
    rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
  background: transparent;
  border: 2px solid #5c4b8a;
  color: #5c4b8a;
  margin-bottom: 15px;
  cursor: pointer;
  transition: all 250ms ease-in-out;
}

.change-button:hover {
  background: #5c4b8a;
  color: #ffffff;
}

.selected-cat img {
  width: 200px;
  height: 200px;
  max-width: 100%;
}

.user {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quick-prompts {
  display: flex;
  justify-content: center;
  margin-top: 5px;
}
.prompt-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  width: 100%;
}

.prompt-btn {
  background: #a896f0;
  color: #252525;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  padding: 10px 15px;
  flex: 1 1 140px;
  min-width: 120px;
  max-width: 180px;
  text-align: center;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 250ms ease-in-out;
}

.prompt-btn:hover {
  background-color: #7a5af8;
  color: #ffffff;
}

form {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.user-input,
.send-btn {
  border-radius: 25px;
  border: none;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
}

.user-input {
  flex: 1;
  min-width: 0;
  padding: 16px 26px;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}
.send-btn {
  background: #7a5af8;
  color: #ffffff;
  padding: 14px 24px;
  flex-shrink: 0;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  cursor: pointer;
  transition: all 250ms ease-in-out;
}

.send-btn:hover {
  background: #4a3c74;
  box-shadow: 0 4px 10px rgba(92, 75, 138, 0.3);
}

footer {
  font-family: monospace;
  text-align: center;
  margin: 20px;
  color: rgb(51, 51, 51);
}

a {
  color: #471453;
}

.blink {
  animation: blink-animation 1s steps(5, start) infinite;
}
@keyframes blink-animation {
  to {
    visibility: hidden;
  }
}
@-webkit-keyframes blink-animation {
  to {
    visibility: hidden;
  }
}

@media (max-width: 768px) {
  .container {
    margin: 20px auto;
  }

  .guide {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .select-cats {
    gap: 20px;
  }

  .selected-cat-info {
    flex-direction: column;
    align-items: center;
  }

  .selected-cat img {
    width: 150px;
    height: 150px;
  }

  .selected-cat-greeting {
    border-top: 3px solid #4a3c74;
    border-left: none;
    width: 90%;
  }

  .prompt-buttons {
    gap: 10px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 32px;
  }

  .guide {
    margin-bottom: 15px;
  }

  form {
    flex-wrap: wrap;
  }

  .user-input {
    font-size: 13px;
    padding: 12px 20px;
  }

  .send-btn {
    font-size: 13px;
    flex: 1 1 100%;
    padding: 12px 20px;
  }

  footer {
    margin: 15px 10px;
  }
}
