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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); /* Dark theme for crypto */
  color: #e2e8f0;
  line-height: 1.5;
  min-height: 100vh;
  padding: 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.header {
  text-align: center;
  padding: 20px 0;
  background: rgba(30, 41, 59, 0.8); /* Dark blue-gray */
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(100, 116, 139, 0.2);
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}

.logo-icon {
  font-size: 2rem;
  background: linear-gradient(135deg, #8b5cf6, #ec4899); /* Purple-pink gradient */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.header p {
  color: #94a3b8;
  font-size: 1.1rem;
}

.status-bar {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  background: rgba(30, 41, 59, 0.8);
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(100, 116, 139, 0.2);
}

.status-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-label {
  font-weight: 500;
  color: #94a3b8;
}

.status-value {
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(100, 116, 139, 0.2);
}

.status-value.online {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
}

.card {
  background: rgba(30, 41, 59, 0.8);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(100, 116, 139, 0.2);
}

.chat-section {
  grid-column: 1 / -1;
}

.info-section h2, .stats-section h2, .subscription-section h2, .chat-section h2 {
  margin-bottom: 16px;
  color: #f1f5f9;
  font-size: 1.5rem;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.chat-messages {
  height: 300px;
  overflow-y: auto;
  padding: 16px;
  background: rgba(15, 23, 42, 0.5);
  border-radius: 12px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid rgba(100, 116, 139, 0.1);
}

.message {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 18px;
  word-wrap: break-word;
  animation: fadeIn 0.2s ease-out;
}

.user-message {
  align-self: flex-end;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6); /* Blue-purple */
  color: white;
  border-bottom-right-radius: 4px;
}

.bot-message {
  align-self: flex-start;
  background: rgba(15, 23, 42, 0.8);
  color: #e2e8f0;
  border: 1px solid rgba(100, 116, 139, 0.3);
  border-bottom-left-radius: 4px;
}

.message-content {
  line-height: 1.5;
}

.input-area {
  display: flex;
  gap: 8px;
}

textarea {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid rgba(100, 116, 139, 0.3);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  resize: none;
  min-height: 44px;
  max-height: 120px;
  overflow-y: auto;
  background: rgba(15, 23, 42, 0.5);
  color: #e2e8f0;
}

textarea:focus {
  outline: none;
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.btn {
  padding: 12px 20px;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  color: white;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.info-content p {
  margin-bottom: 16px;
  color: #cbd5e1;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.feature {
  padding: 12px;
  background: rgba(15, 23, 42, 0.5);
  border-radius: 8px;
  border: 1px solid rgba(100, 116, 139, 0.1);
}

.feature h3 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: #f1f5f9;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature p {
  font-size: 0.875rem;
  color: #94a3b8;
  margin: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
}

.stat-card {
  text-align: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.5);
  border-radius: 8px;
  border: 1px solid rgba(100, 116, 139, 0.1);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.875rem;
  color: #94a3b8;
}

.subscription-content {
  text-align: center;
}

.subscribe-btn {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, #10b981, #3b82f6);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  margin-top: 12px;
}

.subscribe-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.admin-info {
  margin-top: 12px;
  font-size: 0.875rem;
  color: #94a3b8;
}

.solana-info {
  background: rgba(30, 41, 59, 0.8);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(100, 116, 139, 0.2);
}

.solana-info h3 {
  margin-bottom: 16px;
  color: #f1f5f9;
  font-size: 1.5rem;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.solana-info ul {
  list-style-type: none;
  padding-left: 0;
}

.solana-info li {
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  color: #cbd5e1;
}

.solana-info li:before {
  content: "•";
  color: #8b5cf6;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

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

@media (max-width: 768px) {
  body {
    padding: 12px;
  }
  
  .container {
    gap: 16px;
  }
  
  .dashboard-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
  }
  
  .header h1 {
    font-size: 2rem;
  }
  
  .status-bar {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  
  .message {
    max-width: 90%;
  }
  
  .chat-messages {
    height: 250px;
  }
}