@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

:root {
  --pastel-blue: #a0c8de;
  --pastel-purple: #b9a7d4;
  --pastel-green: #9dcfb3;
  --base-bg: #1f1f26;
  --panel-bg: #2a2a33;
  --text-color: #eaeaea;
  --button-bg: #53d2dc;
  --button-bg-hover: #2fb9c4;
  --button-text: #0f1f26;
  --radius: 14px;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  background: var(--base-bg);
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

.site-heading {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px 0 0;
}

.site-heading h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--pastel-purple);
  text-shadow: 0 0 8px rgba(185, 167, 212, 0.5);
  letter-spacing: 1px;
  margin: 0;
  line-height: 1;
  display: flex;
  align-items: center;
}

.main-logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(83, 210, 220, 0.3);
  object-fit: contain;
}

@media (max-width: 600px) {
  .main-logo {
    width: 40px;
    height: 40px;
  }
	

  .site-heading h1 {
    font-size: 1.8rem;
  }
}

nav {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

nav a {
  color: var(--pastel-blue);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--pastel-green);
}

.top-container,
.container,
.recent-conversions {
  width: 90%;
  max-width: 720px;
  padding: 2.5rem;
  margin-top: 80px;
  border-radius: var(--radius);
  background: var(--panel-bg);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  text-align: center;
}

body.home .top-container,
body.home .container,
body.home .recent-conversions {
  max-width: 560px !important;
  width: 85% !important;
}

.container.description {
  margin: 70px auto;           /* Center container horizontally */
  text-align: left;            /* Align text to the left */
  display: block;
}

.container.description {
  max-width: 650px;            /* Optional: controls content width */
  width: 80%;                  /* Responsive width */
}

.container h1,
.container h2 {
  text-align: center;
}

#form-elements {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

#form-elements form {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#form-elements input[type="text"] {
  width: 100%;
  padding: 14px;
  font-size: 1em;
  background: #1e1e1e;
  border: 2px solid var(--pastel-purple);
  color: #fff;
  border-radius: 6px;
  margin-bottom: 12px;
  text-align: center;
}

button {
  padding: 14px 28px;
  background: var(--button-bg);
  border: none;
  color: var(--button-text);
  font-weight: 600;
  font-size: 1em;
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(83, 210, 220, 0.4);
  transition: all 0.2s ease;
}

button:hover {
  background: var(--button-bg-hover);
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(83, 210, 220, 0.6);
}

.description {
  max-width: 650px;
  margin: 0 auto;
  padding: 1rem;
  text-align: center;
}

.description ul,
.description ol {
  text-align: left;
  margin: 1.5rem auto;
  padding-left: 1.2rem;
}

.description h1,
.description h2 {
  margin-bottom: 0.8rem;
  color: var(--pastel-green);
}

.description p {
  margin-bottom: 1.2rem;
}

.description a {
  color: var(--pastel-green);
  text-decoration: none;
  transition: color 0.2s ease;
}

.description a:hover {
  color: #bfffd0;
  text-decoration: underline;
}

.recent-conversions {
  text-align: left;
}

.recent-conversions h2 {
  color: var(--pastel-green);
  text-align: center;
}

.recent-conversions ul li a {
  color: var(--pastel-green);
  text-decoration: none;
  transition: color 0.2s;
}

.recent-conversions ul li a:hover {
  color: #bfffd0;
  text-decoration: underline;
}

.vote-buttons {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.vote-buttons button {
  background: #3e3e48;
  border: none;
  padding: 6px 12px;
  color: #ddd;
  border-radius: 10px;
  font-size: 0.9em;
  transition: background 0.2s;
  box-shadow: none !important;
}

.vote-buttons button:hover {
  background: var(--pastel-green);
  color: #222;
}

footer {
  margin: 60px 0 30px;
  font-size: 0.85em;
  color: #888;
}

.logo-container {
  display: flex;
  align-items: center;
  margin-top: 40px;
  gap: 14px;
  justify-content: center;
  box-shadow: none !important;
}

.main-logo {
  width: 80px;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.05);
}

.text-logo {
  width: auto;
  max-height: 80px;
}

.banner-image1 {
  width: 90%;
  max-width: 640px;
  border-radius: var(--radius);
  margin-top: 65px;
  box-shadow: var(--shadow);
}

/* Chat Styles */
#chat-launcher {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--pastel-purple), var(--pastel-green));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  z-index: 9999;
  cursor: pointer;
  transition: transform 0.2s ease;
}

#chat-launcher:hover {
  transform: scale(1.1);
}

#chat-panel {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 360px;
  max-height: 520px;
  display: none;
  flex-direction: column;
  background: rgba(25, 25, 32, 0.97);
  backdrop-filter: blur(14px);
  border-radius: var(--radius);
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  overflow: hidden;
  z-index: 9999;
}

#chat-panel.show {
  display: flex;
}

#chat-panel .header {
  padding: 12px;
  background: var(--pastel-purple);
  color: #222;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#chat-log {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  font-size: 0.95em;
  color: var(--text-color);
}

.chat-message {
  margin-bottom: 10px;
}

.chat-message.user .message-content {
  background: var(--pastel-blue);
  padding: 10px 14px;
  border-radius: var(--radius);
  display: inline-block;
  align-self: flex-end;
  color: #1a1a1a;
}

.chat-message.bot .message-content {
  background: var(--pastel-green);
  color: #1c1c1c;
  padding: 10px 14px;
  border-radius: var(--radius);
  display: inline-block;
  align-self: flex-start;
}

#chat-input-area {
  display: flex;
  border-top: 1px solid #444;
  background: #2d2d36;
}

#chat-input {
  flex: 1;
  border: none;
  padding: 12px;
  font-size: 1em;
  background: transparent;
  color: var(--text-color);
}

#chat-input:focus {
  outline: none;
}

#chat-send-btn {
  background: var(--button-bg);
  color: #000;
  border: none;
  padding: 0 18px;
  cursor: pointer;
  transition: background 0.2s;
}

#chat-send-btn:hover {
  background: var(--button-bg-hover);
}

/* Pulse effect */
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(185, 167, 212, 0.5); }
  70%  { box-shadow: 0 0 0 16px rgba(185, 167, 212, 0); }
  100% { box-shadow: 0 0 0 0 rgba(185, 167, 212, 0); }
}

#chat-launcher.pulse {
  animation: pulse 2.5s ease-out infinite;
}

/* Prompt message using ::after */
#chat-launcher.pulse {
  animation: pulse 2.5s ease-out infinite;
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--pastel-purple), var(--pastel-green));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  z-index: 9999;
  cursor: pointer;
  transition: transform 0.2s ease;
}

/* Prompt */
#chat-prompt {
  position: absolute;
  right: 70px;
  bottom: 10px;
  background: #2d2d36;
  color: var(--pastel-green);
  padding: 6px 12px;
  font-size: 0.85em;
  border-radius: 16px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  white-space: nowrap;
  animation: floatPrompt 1.2s ease-in-out infinite alternate;
  pointer-events: none;
}

/* Floating animation */
@keyframes floatPrompt {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(-4px); opacity: 0.9; }
}

/* Hide prompt when panel is shown */
#chat-panel.show + #chat-launcher #chat-prompt,
#chat-panel.show ~ #chat-launcher #chat-prompt {
  display: none;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 10px 0;
}

.social-icon img {
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-icon img:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.donation-box {
  background: #2f2f38;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  margin-top: 40px;
  max-width: 600px;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.donation-method {
  margin-bottom: 20px;
}

.donation-label {
  font-size: 1.2em;
  font-weight: bold;
  color: var(--pastel-green);
  margin-bottom: 6px;
}

.donation-address {
  background: #1e1e26;
  border: 2px dashed var(--pastel-purple);
  padding: 12px 16px;
  font-family: monospace;
  font-size: 1.5em;
  word-break: break-all;
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(185, 167, 212, 0.3);
  display: inline-block;
}
