.chat-container {
  width: 80%;
  max-width: 800px;
  margin: 0 auto;
}

.chat-header {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  padding: 0 10px;
}

.logo {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.header-text h1 {
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 4px;
}

.header-text p {
  color: #94a3b8;
  font-size: 16px;
}

.chat-messages {
  height: 300px;
  background: rgba(15, 23, 42, 0.6);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(59, 130, 246, 0.1);
  overflow: hidden;
}

.text-container {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 10px;
  color: #e2e8f0;
  font-size: 16px;
  line-height: 1.6;
  scrollbar-width: thin;
  scrollbar-color: rgba(59, 130, 246, 0.3) transparent;
}

.text-container::-webkit-scrollbar {
  width: 6px;
}

.text-container::-webkit-scrollbar-track {
  background: transparent;
}

.text-container::-webkit-scrollbar-thumb {
  background-color: rgba(59, 130, 246, 0.3);
  border-radius: 3px;
}

.message-block {
  padding-bottom: 12px;
  word-wrap: break-word;
  white-space: pre-wrap;
}

.check-item {
  display: flex;
  gap: 10px;
  padding: 6px 0;
}

.check-icon {
  color: #22c55e;
  flex-shrink: 0;
}

.token {
  color: #60a5fa;
  font-weight: 500;
}

.cursor {
  display: inline-block;
  width: 2px;
  height: 18px;
  background-color: #60a5fa;
  margin-left: 4px;
  animation: blink 1s infinite;
  vertical-align: middle;
}

.button {
  width: 100%;
  padding: 16px;
  background: linear-gradient(
    to right,
    rgba(192, 38, 211, 0.2),
    rgba(59, 130, 246, 0.2)
  );
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: #fff;
  border-radius: 12px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.button:hover {
  background: linear-gradient(
    to right,
    rgba(192, 38, 211, 0.3),
    rgba(59, 130, 246, 0.3)
  );
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .text-container {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .chat-messages {
    padding: 15px;
  }

  .text-container {
    font-size: 14px;
    padding-right: 8px;
  }
}

@media (max-width: 768px) {
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: transform 0.3s ease;
}

.header-hidden {
  transform: translateY(-100%);
}

.hamburger,
.hamburger::before,
.hamburger::after {
  transition: all 0.3s ease;
}

.nav-toggle.active .hamburger {
  background: transparent;
}

.nav-toggle.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.nav-toggle.active .hamburger::after {
  transform: rotate(-45deg);
  bottom: 0;
}

body.no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .header-text p {
    font-size: 12px;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    min-height: -webkit-fill-available;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 999;
    padding: 0;
    margin: 0;
    overflow: hidden;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-menu-links {
    font-family: "Courier New", monospace;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 2rem;
    padding: 0;
    margin: 0;
  }

  .nav-link {
    font-size: 1.5rem;
    color: #fff;
    text-shadow: 0 0 5px #ffffff, 0 0 20px #000, 0 0 30px #000;
    padding: 1rem 0;
    width: 100%;
    text-align: center;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    transition: all 0.3s ease;
  }

  .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
  }

  @supports (-webkit-touch-callout: none) {
    .nav-menu {
      height: -webkit-fill-available;
    }
  }
}
