:root {
  --primary-color: #9945FF;
  --secondary-color: #14F195;
  --accent-color: #00C2FF;
  --dark-bg: #0A0A0A;
  --darker-bg: #050505;
  --lighter-bg: #111111;
  --text-color: #ffffff;
  --muted-text: #cccccc;
  --border-color: #222222;
  --highlight-border: var(--secondary-color);
  --example-bg: rgba(10, 10, 10, 0.95);
  --example-text: #ffffff;
  --example-border: #9945FF;
  --chat-bubble-user: rgba(153, 69, 255, 0.15);
  --chat-bubble-ai: rgba(20, 241, 149, 0.12);
  --gradient-start: #9945FF;
  --gradient-end: #14F195;
  --box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  --terminal-green: #14F195;
  --retro-shadow: 0 0 15px rgba(20, 241, 149, 0.5);
  --purple-glow: 0 0 20px rgba(153, 69, 255, 0.6);
  --green-glow: 0 0 20px rgba(20, 241, 149, 0.6);
  --modern-gradient: linear-gradient(135deg, #9945FF, #14F195);
  --card-bg: rgba(15, 15, 15, 0.7);
  --card-border: 1px solid rgba(153, 69, 255, 0.2);
  --card-radius: 16px;
}

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

html, body {
  height: 100%;
  overflow: hidden;
  background-color: var(--darker-bg);
  color: var(--text-color);
  font-family: 'Poppins', sans-serif;
}

.app-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 100vw;
  position: relative;
  background: radial-gradient(circle at center, #111111 0%, #050505 100%);
}

/* Full screen chart background */
.fullscreen-chart {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.3;
}

/* Header */
.header {
  min-height: 10vh;
  z-index: 10;
  display: flex;
  justify-content: center;
  padding: 20px 24px;
  background-color: var(--card-bg);
  border-bottom: var(--card-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--box-shadow);
  position: relative;
}

.header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--modern-gradient);
  opacity: 0.8;
}

.header-content {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Logo styling */
.logo-container {
  margin: 0 0 15px 0;
  width: 100%;
  display: flex;
  justify-content: center;
  overflow: visible;
  animation: float 6s ease-in-out infinite;
}

/* ASCII logo styling */
.ascii-logo {
  font-family: 'VT323', 'Courier New', monospace;
  font-size: 1.1rem;
  line-height: 1.2;
  letter-spacing: 0;
  margin: 0;
  padding: 0;
  white-space: pre;
  text-align: center;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
  display: inline-block;
  text-shadow: 0 0 8px rgba(20, 241, 149, 0.6);
  transform: translateZ(0);
  animation: textPulse 6s infinite alternate;
  min-height: 80px;
}

/* Connection info styling */
.connection-info {
  background: rgba(10, 10, 10, 0.7);
  padding: 10px 20px;
  border-radius: 30px;
  box-shadow: 0 0 15px rgba(153, 69, 255, 0.3);
  border: 1px solid rgba(153, 69, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.status {
  font-size: 0.85rem;
  margin-right: 20px;
  display: flex;
  align-items: center;
  font-weight: 500;
}

.status i {
  margin-right: 8px;
  font-size: 0.75rem;
}

.status.connected {
  color: var(--secondary-color);
  text-shadow: 0 0 8px rgba(20, 241, 149, 0.7);
}

.status.connected i {
  color: var(--secondary-color);
  text-shadow: 0 0 8px rgba(20, 241, 149, 0.9);
}

.status.disconnected {
  color: var(--accent-color);
  text-shadow: 0 0 8px rgba(0, 194, 255, 0.7);
}

.status.disconnected i {
  color: var(--accent-color);
  text-shadow: 0 0 8px rgba(0, 194, 255, 0.9);
}

.user-count {
  font-size: 0.85rem;
  color: var(--muted-text);
  display: flex;
  align-items: center;
  font-weight: 500;
}

.user-count i {
  margin-right: 8px;
  font-size: 0.75rem;
  color: var(--primary-color);
}

/* Subtitle styling */
.subtitle {
  font-size: 0.9rem;
  color: var(--muted-text);
  margin-bottom: 15px;
  font-weight: 400;
  max-width: 800px;
  line-height: 1.6;
  padding: 0 20px;
  letter-spacing: 0.3px;
}

/* Price container styling */
.price-container {
  background: rgba(10, 10, 10, 0.7);
  padding: 10px 25px;
  border-radius: var(--card-radius);
  box-shadow: 0 0 20px rgba(20, 241, 149, 0.3);
  border: 1px solid rgba(20, 241, 149, 0.3);
  margin-top: 15px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.price-display {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: 0.5px;
  margin-bottom: 5px;
}

.marketcap-display {
  font-size: 0.9rem;
  color: var(--muted-text);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Chat area styling */
.chat-area {
  height: 65vh;
  overflow-y: auto;
  z-index: 10;
  padding: 20px;
  background-color: rgba(10, 10, 10, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) var(--darker-bg);
}

.chat-area::-webkit-scrollbar {
  width: 6px;
}

.chat-area::-webkit-scrollbar-track {
  background: var(--darker-bg);
}

.chat-area::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
  border-radius: 10px;
}

.message-list {
  height: 100%;
  overflow-y: auto;
  padding: 20px;
  border-radius: var(--card-radius);
  background-color: var(--card-bg);
  box-shadow: var(--box-shadow);
  position: relative;
  border: var(--card-border);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.message-list::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--modern-gradient);
  opacity: 0.8;
}

/* Message styling */
.message {
  display: flex;
  margin-bottom: 24px;
  position: relative;
  animation: fadeIn 0.3s ease-in;
  width: 100%;
}

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

.message .avatar {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  margin-right: 15px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(153, 69, 255, 0.3);
}

.ai-icon, .user-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: 4px;
  font-size: 0.9rem;
  font-weight: bold;
}

.user-icon {
  font-size: 0.8rem;
  background: linear-gradient(45deg, var(--primary-color), #a29bfe);
  color: #ffffff;
}

.ai-icon {
  background: linear-gradient(45deg, var(--secondary-color), #81ecec);
  color: #000000;
}

.message .message-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: calc(100% - 60px);
}

.message .header-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.message .user-id {
  font-size: 0.85rem;
  color: var(--primary-color);
  font-weight: 600;
}

.message.ai-message .user-id {
  color: var(--secondary-color);
  font-weight: 600;
}

.message .timestamp {
  font-size: 0.75rem;
  color: var(--muted-text);
  margin-left: auto;
}

/* Message bubble styling */
.message .bubble {
  padding: 16px;
  border-radius: var(--card-radius);
  position: relative;
  word-wrap: break-word;
  font-size: 0.95rem;
  max-width: 100%;
  box-shadow: var(--box-shadow);
  font-family: 'Poppins', sans-serif;
  position: relative;
  overflow: hidden;
  line-height: 1.6;
  letter-spacing: 0.3px;
}

.message.user-message .bubble {
  background-color: rgba(153, 69, 255, 0.15);
  border-left: 3px solid var(--primary-color);
  border: 1px solid rgba(153, 69, 255, 0.3);
}

.message.ai-message .bubble {
  background-color: rgba(20, 241, 149, 0.1);
  border-left: 3px solid var(--secondary-color);
  border: 1px solid rgba(20, 241, 149, 0.3);
}

.message .content {
  word-wrap: break-word;
  font-size: 0.95rem;
  line-height: 1.6;
}

.message .response {
  margin-top: 15px;
  padding: 15px;
  background-color: rgba(10, 10, 10, 0.7);
  border-radius: var(--card-radius);
  word-wrap: break-word;
  font-size: 0.9rem;
  border-left: 3px solid var(--secondary-color);
  line-height: 1.6;
}

/* Examples footer styling */
.examples-footer {
  height: auto;
  min-height: 60px;
  z-index: 20;
  background-color: var(--card-bg);
  border-bottom: var(--card-border);
  border-top: var(--card-border);
  padding: 15px 20px;
  overflow-x: auto;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--box-shadow);
  position: relative;
}

.examples-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--modern-gradient);
  opacity: 0.8;
}

.examples-footer h2 {
  font-size: 1rem;
  color: var(--secondary-color);
  margin-right: 10px;
  margin-bottom: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  text-shadow: 0 0 10px rgba(20, 241, 149, 0.7);
  letter-spacing: 0.5px;
}

.examples-footer h2 i {
  margin-right: 10px;
  color: var(--secondary-color);
}

.examples {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 1200px;
}

/* Example button styling */
.example-btn {
  font-size: 0.85rem;
  padding: 12px 15px;
  text-align: center;
  background-color: rgba(10, 10, 10, 0.7);
  border: 1px solid rgba(153, 69, 255, 0.2);
  color: var(--text-color);
  box-shadow: var(--box-shadow);
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-radius: var(--card-radius);
  transition: all 0.3s ease;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  letter-spacing: 0.5px;
}

.example-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--modern-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.example-btn:hover::after {
  opacity: 1;
}

.example-btn i {
  margin-right: 8px;
  color: var(--secondary-color);
  font-size: 1rem;
}

.example-btn:hover {
  background-color: rgba(153, 69, 255, 0.3);
  color: white;
  transform: translateY(-3px);
  border-color: var(--primary-color);
  box-shadow: var(--purple-glow), var(--green-glow);
}

.example-btn:hover i {
  color: var(--secondary-color);
  text-shadow: var(--retro-shadow);
}

/* Input area styling */
.input-area {
  height: auto;
  min-height: 80px;
  z-index: 10;
  background-color: var(--card-bg);
  border-top: var(--card-border);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--box-shadow);
}

.input-area::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--modern-gradient);
  opacity: 0.8;
}

.input-field {
  flex: 1;
  max-width: 1000px;
  position: relative;
}

.input-field::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--modern-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.input-field:focus-within::after {
  opacity: 1;
}

.input-field input {
  width: 100%;
  background-color: rgba(10, 10, 10, 0.7);
  color: var(--terminal-green);
  border: 1px solid rgba(153, 69, 255, 0.2);
  font-size: 1rem;
  padding: 16px 20px;
  height: 100%;
  border-radius: var(--card-radius);
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
  caret-color: var(--terminal-green);
  letter-spacing: 0.3px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.input-field input:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 2px rgba(153, 69, 255, 0.2), 0 0 15px rgba(20, 241, 149, 0.2);
  background-color: rgba(10, 10, 10, 0.9);
}

.input-field input::placeholder {
  color: rgba(20, 241, 149, 0.6);
  letter-spacing: 0.5px;
}

.button-container {
  padding-left: 15px;
  height: 100%;
  width: 120px;
}

.button-container button {
  width: 100%;
  padding: 16px;
  margin: 0;
  background: var(--modern-gradient);
  font-size: 1rem;
  height: 100%;
  border: none;
  border-radius: var(--card-radius);
  color: #000;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
  box-shadow: var(--purple-glow), var(--green-glow);
  letter-spacing: 0.5px;
}

/* Button hover animation */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(153, 69, 255, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(153, 69, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(153, 69, 255, 0); }
}

.button-container button:hover {
  transform: translateY(-3px);
  animation: pulse 1.5s infinite;
}

.button-container button i {
  margin-right: 8px;
}

/* Animations */
@keyframes scanline {
  0% {
    transform: translateY(-100%);
    will-change: transform;
  }
  100% {
    transform: translateY(100%);
    will-change: transform;
  }
}

@keyframes textPulse {
  0%, 100% {
    opacity: 0.95;
    text-shadow: 0 0 8px rgba(20, 241, 149, 0.5);
    will-change: opacity, text-shadow;
  }
  50% {
    opacity: 1;
    text-shadow: 0 0 15px rgba(20, 241, 149, 0.7), 0 0 20px rgba(153, 69, 255, 0.4);
    will-change: opacity, text-shadow;
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}

@keyframes borderGlow {
  0%, 100% { border-color: rgba(153, 69, 255, 0.2); }
  50% { border-color: rgba(20, 241, 149, 0.3); }
}

/* Responsive adjustments */
@media (max-width: 968px) {
  .example-btn {
    font-size: 0.8rem;
  }
  
  .examples {
    grid-template-columns: repeat(7, 1fr);
  }
  
  .ascii-logo {
    font-size: 0.9rem;
    line-height: 1.2;
    min-height: 70px;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 15px;
  }
  
  .ascii-logo {
    font-size: 0.85rem;
    line-height: 1.2;
    min-height: 70px;
  }
  
  .subtitle {
    font-size: 0.8rem;
    padding: 0 10px;
    margin-bottom: 12px;
    line-height: 1.5;
  }
  
  .price-display {
    font-size: 1.5rem;
  }
  
  .examples {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 0;
  }
  
  .examples-footer {
    padding: 15px;
  }
  
  .examples-footer h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 10px;
  }
  
  .input-area {
    padding: 15px;
  }
  
  .button-container {
    width: 100px;
  }
  
  .connection-info, .price-container {
    padding: 8px 15px;
  }
}

/* Mobile header optimizations */
@media (max-width: 480px) {
  .header {
    padding: 10px 8px;
  }
  
  .logo-container {
    margin: 0 0 8px 0;
    transform: scale(0.9);
  }
  
  .ascii-logo {
    font-size: 0.7rem;
    line-height: 1.2;
    transform: scale(1);
    min-height: 50px;
  }
  
  .connection-info {
    padding: 4px 10px;
    margin-bottom: 8px;
  }
  
  .status, .user-count {
    font-size: 0.7rem;
  }
  
  .status i, .user-count i {
    font-size: 0.65rem;
    margin-right: 5px;
  }
  
  .status {
    margin-right: 10px;
  }
  
  .subtitle {
    font-size: 0.7rem;
    padding: 0 5px;
    line-height: 1.3;
    margin-bottom: 8px;
  }
  
  .price-container {
    padding: 5px 10px;
    margin-top: 8px;
  }
  
  .price-display {
    font-size: 1.2rem;
  }
  
  .marketcap-display {
    font-size: 0.7rem;
  }
  
  .chat-area {
    height: 65vh;
    padding: 10px;
  }
  
  .message-list {
    padding: 15px;
  }
  
  .examples {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  
  .examples-footer {
    padding: 10px;
  }
  
  .examples-footer h2 {
    margin-bottom: 8px;
    font-size: 0.85rem;
  }
  
  .example-btn {
    padding: 10px 5px;
    height: 36px;
    font-size: 0.75rem;
  }
  
  .example-btn i {
    margin-right: 5px;
    font-size: 0.8rem;
  }
  
  .input-field input {
    padding: 14px 16px;
    font-size: 0.9rem;
  }
  
  .button-container button {
    padding: 14px;
    font-size: 0.9rem;
  }
}

/* Small mobile devices */
@media (max-width: 360px) {
  .header {
    padding: 8px 5px;
  }
  
  .logo-container {
    margin: 0 0 5px 0;
    transform: scale(0.85);
  }
  
  .ascii-logo {
    font-size: 0.65rem;
    min-height: 45px;
  }
  
  .connection-info {
    padding: 3px 8px;
    margin-bottom: 5px;
  }
  
  .status, .user-count {
    font-size: 0.65rem;
  }
  
  .subtitle {
    font-size: 0.65rem;
    margin-bottom: 5px;
  }
  
  .price-container {
    padding: 3px 8px;
    margin-top: 5px;
  }
  
  .price-display {
    font-size: 1.1rem;
  }
  
  .chat-area {
    height: 68vh;
  }
  
  .examples {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  
  .example-btn {
    height: 32px;
    font-size: 0.7rem;
    padding: 4px;
  }
  
  .example-btn i {
    margin-right: 3px;
    font-size: 0.7rem;
  }
  
  .input-field input {
    padding: 12px 14px;
    font-size: 0.85rem;
  }
  
  .button-container button {
    padding: 12px;
    font-size: 0.85rem;
  }
  
  .button-container {
    width: 90px;
    padding-left: 10px;
  }
}

/* App container scanline effect */
.app-container::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(20, 241, 149, 0.3), transparent);
  opacity: 0.2;
  z-index: 999;
  pointer-events: none;
  animation: scanline 10s linear infinite;
  transform: translateZ(0);
}

/* ASCII decoration */
.ascii-decoration {
  position: fixed;
  bottom: 10px;
  right: 10px;
  font-family: 'VT323', 'Courier New', monospace;
  font-size: 12px;
  color: var(--secondary-color);
  opacity: 0.2;
  pointer-events: none;
  z-index: 999;
}

.ascii-decoration::after {
  content: "○ ● ○ ● ○";
  animation: blink 3s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 0.2; will-change: opacity; }
  50% { opacity: 0.4; will-change: opacity; }
} 

/* Welcome message styling */
.welcome-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  padding: 20px;
  color: var(--muted-text);
}

.welcome-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(153, 69, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 0 30px rgba(153, 69, 255, 0.3);
  border: 1px solid rgba(153, 69, 255, 0.2);
}

.welcome-icon i {
  font-size: 40px;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.welcome-message h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

.welcome-message p {
  font-size: 1rem;
  max-width: 500px;
  line-height: 1.6;
}

/* Input field icons */
.input-field {
  position: relative;
}

.input-icons {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
}

.input-icon {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-left: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.input-icon:hover {
  color: var(--secondary-color);
  opacity: 1;
  transform: scale(1.1);
}

/* Adjust input padding to account for icons */
.input-field input {
  padding-right: 50px;
} 

@media (min-width: 1024px) {
  .header {
    min-height: auto;
    padding: 10px 24px;
  }
  
  .logo-container {
    margin: 0 0 10px 0;
  }
  
  .ascii-logo {
    min-height: 60px;
    font-size: 0.9rem;
  }
  
  .connection-info {
    margin-bottom: 10px;
    padding: 6px 20px;
  }
  
  .subtitle {
    margin-bottom: 10px;
    font-size: 0.8rem;
    line-height: 1.5;
  }
  
  .price-container {
    margin-top: 10px;
    padding: 8px 20px;
  }
  
  .price-display {
    font-size: 1.5rem;
  }
  
  .chat-area {
    height: 70vh;
  }
}

/* Desktop layout - horizontal header for larger screens */
@media (min-width: 1280px) {
  .header {
    padding: 8px 20px;
    min-height: auto;
  }
  
  .header-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
  }
  
  .logo-container {
    width: auto;
    margin: 0;
    flex: 0 0 auto;
    transform: scale(0.85);
    animation: none;
  }
  
  .ascii-logo {
    min-height: 45px;
    font-size: 0.8rem;
  }
  
  .connection-info {
    margin: 0 10px;
    flex: 0 0 auto;
    padding: 4px 12px;
  }
  
  .status, .user-count {
    font-size: 0.75rem;
  }
  
  .status i, .user-count i {
    font-size: 0.7rem;
  }
  
  .subtitle {
    max-width: 400px;
    margin: 0 5px;
    padding: 0;
    text-align: center;
    flex: 1 1 auto;
    font-size: 0.7rem;
    line-height: 1.4;
  }
  
  .price-container {
    margin: 0;
    flex: 0 0 auto;
    padding: 4px 12px;
  }
  
  .price-display {
    font-size: 1.2rem;
    margin-bottom: 0;
  }
  
  .marketcap-display {
    font-size: 0.7rem;
  }
  
  .chat-area {
    height: 80vh;
  }
  
  .examples-footer {
    min-height: 50px;
    padding: 10px 20px;
  }
  
  .examples-footer h2 {
    margin-bottom: 8px;
    font-size: 0.9rem;
  }
}

/* Ultra-wide screens */
@media (min-width: 1600px) {
  .chat-area {
    height: 82vh;
  }
  
  .header-content {
    max-width: 1600px;
  }
  
  .subtitle {
    max-width: 500px;
    font-size: 0.75rem;
  }
  
  .logo-container {
    transform: scale(0.9);
  }
  
  .ascii-logo {
    min-height: 50px;
    font-size: 0.85rem;
  }
} 

/* Message content styling */
.message img {
  max-width: 100%;
  height: auto;
  border-radius: var(--card-radius);
  margin-top: 10px;
  margin-bottom: 5px;
  box-shadow: var(--box-shadow);
  display: block;
}

.message video, .message audio {
  max-width: 100%;
  border-radius: var(--card-radius);
  margin-top: 10px;
  margin-bottom: 5px;
  box-shadow: var(--box-shadow);
  display: block;
}

.message pre {
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-x: auto;
  max-width: 100%;
  font-size: 0.85rem;
  margin: 10px 0;
  padding: 12px;
  background-color: rgba(10, 10, 10, 0.7);
  border-radius: var(--card-radius);
  border-left: 3px solid var(--primary-color);
}

/* Mobile optimizations for message content */
@media (max-width: 480px) {
  .message .bubble {
    padding: 12px;
    font-size: 0.85rem;
    line-height: 1.5;
  }
  
  .message .content {
    font-size: 0.85rem;
    line-height: 1.5;
  }
  
  .message .response {
    font-size: 0.8rem;
    padding: 12px;
    margin-top: 12px;
  }
  
  .message img {
    max-width: 100%;
    border-radius: 10px;
  }
  
  .message pre {
    font-size: 0.75rem;
    padding: 10px;
  }
  
  .message .avatar {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    margin-right: 10px;
  }
  
  .message .user-id {
    font-size: 0.8rem;
  }
  
  .message .timestamp {
    font-size: 0.7rem;
  }
  
  .message .header-row {
    margin-bottom: 5px;
  }
}

/* Small mobile devices */
@media (max-width: 360px) {
  .message .bubble {
    padding: 10px;
    font-size: 0.8rem;
  }
  
  .message .content {
    font-size: 0.8rem;
  }
  
  .message .response {
    font-size: 0.75rem;
    padding: 10px;
    margin-top: 10px;
  }
  
  .message .avatar {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    margin-right: 8px;
  }
  
  .message img {
    border-radius: 8px;
  }
  
  .message pre {
    font-size: 0.7rem;
    padding: 8px;
  }
} 