/* 🎨 Crimzn Styles — v=crimznAug27v1 */

/* 🌐 Global Styles */
body {
  background-color: #000;
  color: #f0f0f0;
  font-family: monospace;
  text-align: center;
  margin: 0;
  padding: 20px;
}

/* 🟣 Solana-style Button */
.solana-button {
  background-color: #512da8;
  color: white;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  margin: 5px;
  transition: background-color 0.2s ease;
  font-family: monospace;
}

.solana-button:hover {
  background-color: #6757c2;
}

/* 🛠️ Utility Classes */
.hidden {
  display: none !important;
}

/* 🪟 Modal Styles */
#modal {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.75);
}

.modal-content {
  background-color: #1e1e1e;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 0 12px #00ffcc;
  text-align: center;
}

.modal-content input {
  padding: 8px;
  width: 95%;
  border-radius: 6px;
  border: none;
  background: #333;
  color: #fff;
}

.modal-content button {
  margin-top: 10px;
}

.close {
  color: #fff;
  float: right;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

/* 🤖 CrimznBot Response Box */
#response-box {
  background-color: #111;
  padding: 10px;
  margin-top: 10px;
  color: #00ff99;
  font-family: Courier, monospace;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid #333;
  white-space: pre-wrap;
}

/* 🔓 Paywall (merged + safe) */
#paywall {
  text-align: center;
  background-color: #220000;
  padding: 15px;
  color: #fff;
  border: 2px dashed #ffcc00;
  max-width: 600px;
  margin: 20px auto;
}

/* Unlock button look within the paywall */
#paywall button {
  color: #fff;
  background-color: #512da8;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  font-family: monospace;
  box-shadow: 0 0 12px rgba(81, 42, 168, 0.6);
  transition: background-color 0.2s ease;
}
#paywall button:hover {
  background-color: #6757c2;
}

/* ✅ Safety override: if the container is visible, force-show the button
   even if it accidentally still has .hidden */
#paywall:not(.hidden) #solana-pay-btn.hidden {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* 🧠 PulseIt Result */
#pulseResult {
  margin-top: 10px;
  color: #00ff99;
  font-family: Courier, monospace;
  white-space: pre-wrap;
}

/* 📊 Live Prices Section */
#livePrices {
  font-size: 14px;
  margin-bottom: 20px;
}

/* 🔗 Explore + Contact Buttons */
a.solana-button {
  text-decoration: none;
  display: inline-block;
}

/* 🔚 Footer */
footer {
  margin-top: 30px;
  font-size: 12px;
  color: #ccc;
}

footer strong {
  color: #00ffff;
}

/* Unlock button glow — perfect centering & logo-matched colors */
.response-box:has(#payNowInline),
.response-box:has(#solana-pay-btn) {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  border-radius: 12px;
  max-width: 300px;
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.7),
              0 0 40px rgba(0, 200, 255, 0.6),
              0 0 60px rgba(0, 150, 255, 0.5),
              0 0 80px rgba(0, 200, 255, 0.4);
  transition: box-shadow 0.5s ease-in-out;
}

.response-box:has(#payNowInline):hover,
.response-box:has(#solana-pay-btn):hover {
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.9),
              0 0 50px rgba(0, 200, 255, 0.8),
              0 0 70px rgba(0, 150, 255, 0.6),
              0 0 90px rgba(0, 200, 255, 0.5);
}
