.potus-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.potus-media {
  position: relative;
  background: linear-gradient(148deg, rgba(10, 10, 10, 0.92), rgba(23, 23, 23, 0.88));
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 22px 42px rgba(0, 0, 0, 0.45);
}

.potus-media::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -5%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
  filter: blur(18px);
}

.potus-chat-wrapper {
  position: relative;
  z-index: 1;
  padding: 1.6rem 1.4rem 0.4rem;
  max-height: 340px;
  overflow: hidden;
}

.potus-chat-track {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  animation: potusScroll 10s linear infinite;
}

.potus-chat {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  animation: potusScroll 10s linear infinite;
}

.potus-chat-track .chat-bubble,
.potus-chat .chat-bubble {
  will-change: transform;
}

.potus-chat-track:hover,
.potus-chat:hover {
  animation-play-state: paused;
}

.potus-chat-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(10, 10, 10, 0.95), transparent 22%),
    linear-gradient(to bottom, rgba(10, 10, 10, 0.95), transparent 22%);
  pointer-events: none;
}

.potus-chat {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.chat-bubble {
  max-width: 78%;
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.5;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  position: relative;
  color: rgba(229, 231, 235, 0.92);
}

.chat-bubble--incoming {
  align-self: flex-start;
  background: rgba(30, 30, 30, 0.82);
}

.chat-bubble--outgoing {
  align-self: flex-end;
  background: rgba(245, 245, 245, 0.92);
  border-color: rgba(229, 231, 235, 0.65);
  color: rgba(23, 23, 23, 0.9);
}

.chat-meta {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.6);
  margin-bottom: 0.25rem;
}

.potus-input {
  position: relative;
  z-index: 1;
  /* margin: 0 1.6rem 1.6rem; */
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 0.95rem;
  /* border-radius: 14px; */
  background: rgba(15, 15, 15, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.12);
}

.potus-input input {
  flex: 1;
  border: none;
  background: transparent;
  color: rgba(229, 231, 235, 0.6);
  font-size: 0.9rem;
  outline: none;
  pointer-events: none;
}

.potus-input input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.potus-input button {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fafafa, #d4d4d8);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(23, 23, 23, 0.65);
  font-size: 0.85rem;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.35);
  opacity: 0.55;
  pointer-events: none;
}

.potus-input button:hover {
  transform: none;
  box-shadow: 0 12px 24px rgba(17, 24, 39, 0.4);
}

@keyframes potusScroll {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

.potus-card .primary-btn {
  box-shadow: 0 18px 36px rgba(56, 189, 248, 0.3);
}

