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

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #0a0a0f;
}
::-webkit-scrollbar-thumb {
  background: #1DA1F2;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #00d4ff;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rocketLaunch {
  0% { transform: translateY(0) scale(1); }
  30% { transform: translateY(-8px) scale(1.2); }
  50% { transform: translateY(-14px) scale(1.1); }
  100% { transform: translateY(0) scale(1); }
}

@keyframes bounce {
  0%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-6px); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 5px rgba(29, 161, 242, 0.3); }
  50% { box-shadow: 0 0 20px rgba(29, 161, 242, 0.6); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes spinX {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}

.msg-animate {
  animation: fadeInUp 0.4s ease-out;
}

.rocket-launch {
  animation: rocketLaunch 0.6s ease-out;
}

.typing-dot {
  animation: bounce 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(1) { animation-delay: 0s; }
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

.glass {
  background: rgba(18, 18, 31, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(29, 161, 242, 0.15);
}

.glass-input {
  background: rgba(18, 18, 31, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(29, 161, 242, 0.2);
}

.elon-avatar {
  background: linear-gradient(135deg, #1DA1F2 0%, #0a7abf 100%);
}

.suggestion-card {
  transition: all 0.25s ease;
  cursor: pointer;
}
.suggestion-card:hover {
  transform: translateY(-4px);
  border-color: rgba(29, 161, 242, 0.5);
  box-shadow: 0 8px 32px rgba(29, 161, 242, 0.15);
}

.sidebar-item {
  transition: all 0.2s ease;
}
.sidebar-item:hover {
  background: rgba(29, 161, 242, 0.1);
}
.sidebar-item.active {
  background: rgba(29, 161, 242, 0.15);
  border-left: 3px solid #1DA1F2;
}

.shitpost-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 18px;
  width: 18px;
  border-radius: 50%;
  background: #1DA1F2;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(29, 161, 242, 0.5);
}
.shitpost-slider::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(to right, #1DA1F2, #e12029);
}

.markdown-content h1, .markdown-content h2, .markdown-content h3 {
  color: #1DA1F2;
  margin: 0.5em 0 0.3em;
  font-family: 'Outfit', sans-serif;
}
.markdown-content h1 { font-size: 1.3em; }
.markdown-content h2 { font-size: 1.15em; }
.markdown-content h3 { font-size: 1.05em; }
.markdown-content p { margin: 0.4em 0; line-height: 1.6; }
.markdown-content code {
  background: rgba(29, 161, 242, 0.15);
  padding: 0.15em 0.4em;
  border-radius: 4px;
  font-size: 0.9em;
  color: #00d4ff;
}
.markdown-content pre {
  background: rgba(0, 0, 0, 0.5);
  padding: 1em;
  border-radius: 8px;
  overflow-x: auto;
  margin: 0.5em 0;
  border: 1px solid rgba(29, 161, 242, 0.1);
}
.markdown-content pre code {
  background: none;
  padding: 0;
  color: #e0e0e0;
}
.markdown-content ul, .markdown-content ol {
  padding-left: 1.5em;
  margin: 0.4em 0;
}
.markdown-content li { margin: 0.2em 0; }
.markdown-content strong { color: #1DA1F2; }
.markdown-content blockquote {
  border-left: 3px solid #1DA1F2;
  padding-left: 1em;
  color: #a0a0b0;
  margin: 0.5em 0;
}

.copy-btn {
  opacity: 0;
  transition: opacity 0.2s ease;
}
.msg-wrapper:hover .copy-btn {
  opacity: 1;
}

.x-spin {
  animation: spinX 8s linear infinite;
  display: inline-block;
}

.header-glow {
  text-shadow: 0 0 30px rgba(29, 161, 242, 0.3);
}