body {
  font-family: "Inter", sans-serif;
  background-color: #0f0f0f;
  color: #e5e5e5;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://www.transparenttextures.com/patterns/black-felt.png");
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

.glow {
  position: absolute;
  width: 900px;
  height: 900px;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
  opacity: 0.1;
  animation: pulse 8s infinite ease-in-out;
  z-index: 0;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.08;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 0.12;
    transform: translateX(-50%) scale(1.05);
  }
}

.gradient-text {
  background: linear-gradient(to right, #a78bfa, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: #1c1c1c;
  z-index: 1;
  position: relative;
}

.logo {
  font-size: 24px;
  font-weight: 700;
}

.button-purple {
  background: #8b5cf6;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.button-purple:hover {
  background: #7c3aed;
}

.intro {
  padding: 60px 40px 20px;
  text-align: center;
}

.description {
  max-width: 600px;
  margin: 10px auto 0;
  color: #c7c7c7;
}

.api-card {
  background: #1e1e1e;
  margin: 16px auto;
  max-width: 720px;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(139, 92, 246, 0.15);
  position: relative;
  z-index: 1;
}


.api-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.method-label {
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  color: white;
}

.method-label.get {
  background: #15257e;
}

.method-label.post {
  background: #139913;
}

.method-label.patch {
  background: #16da57;
}

.method-label.delete {
 background: rgb(199, 19, 19);
}

.endpoint {
  font-size: 1.0rem;
  font-family: monospace;
  margin-left: 10px;
  flex-grow: 1;
}

.toggle-button {
  margin-left: auto;
}

.hidden {
  display: none;
}

.tabs {
  margin-top: 20px;
}

.color-tab {
  background: none;
  border: none;
  padding: 0.5em 1em;
  font-weight: 600;
  color: #ccc;
  border-bottom: 3px solid transparent;
  transition: border-color 0.2s ease;
  cursor: pointer;
}

.color-tab.active {
  color: #a084f9;
  border-bottom: 3px solid #a084f9;
}

pre {
  background: #111;
  padding: 15px;
  border-radius: 8px;
  overflow-x: auto;
  color: #eaeaea;
  margin-top: 10px;
  font-size: 14px;
  white-space: pre-wrap;
}

.footer {
  text-align: center;
  padding: 30px 0;
  background: #1c1c1c;
  color: #888;
  font-size: 14px;
  z-index: 1;
  position: relative;
}

.rate-cards-container {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  padding: 40px 20px;
  max-width: 960px;
  margin: 0 auto;
  z-index: 1;
  position: relative;
}


.rate-card {
  flex: 1 1 280px;
  max-width: 320px;
  background: rgba(139, 92, 246, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  border: 1px solid rgba(139, 92, 246, 0.4);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.15);
  padding: 1.5rem 1.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #ede9fe;
  position: relative;
  z-index: 1;
  cursor: default;
}

.rate-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(139, 92, 246, 0.35);
}

.rate-card.free {
  background: rgba(107, 114, 128, 0.15);
  border-color: rgba(107, 114, 128, 0.3);
  color: #d1d5db; /* lighter gray text */
}

.rate-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: #a78bfa;
}

.rate-card p {
  font-size: 0.9rem;
  color: #c4b5fd;
  margin-bottom: 0.8rem;
}

.rate-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rate-card li {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  padding-left: 1.2rem;
  position: relative;
  color: #d8d4f2;
}

.rate-card li::before {
  content: "•";
  color: #a78bfa;
  position: absolute;
  left: 0;
  font-size: 1.3rem;
  line-height: 0;
  top: 6px;
}

code {
  font-family: monospace;
}

.auth-card {
  background-color: #1a1a1a;
  border: 1.5px solid #444;
  border-radius: 10px;
  padding: 20px 30px;
  margin: 2rem 0;
  color: #fff;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.auth-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #d18e00;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.5rem;
}

.lock-icon {
  background-color: #d18e00;
  border-radius: 50%;
  padding: 8px;
  color: #1a1a1a;
  font-weight: 700;
}

.auth-card p {
  font-weight: 500;
  margin-bottom: 1rem;
}

.auth-info-box {
  background-color: #222;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 15px 20px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.auth-info-box code {
  background-color: #333;
  padding: 2px 5px;
  border-radius: 3px;
  font-family: 'Courier New', Courier, monospace;
  color: #d18e00;
  margin-right: 6px;
}

.auth-steps p {
  font-weight: 600;
  color: #5c9aff;
  margin-bottom: 0.5rem;
}

.auth-steps ol {
  padding-left: 1.3rem;
  margin-bottom: 1rem;
  color: #ccc;
  font-weight: 400;
}

.auth-steps li {
  margin-bottom: 0.3rem;
}

.button-blue {
  display: inline-block;
  background-color: #3a76f0;
  color: white;
  padding: 8px 15px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.button-blue:hover {
  background-color: #1f4fe0;
}

.divider-line {
  border: none;
  border-top: 1px solid #444; /* subtle gray line */
  margin: 2rem 0; /* vertical spacing */
  width: 100%;
  max-width: 900px; /* optional: limit width if your content is narrower */
  margin-left: auto;
  margin-right: auto;
}

.search-bar {
  margin: 2rem auto;
  max-width: 600px;
  padding: 0 1rem;
}

/* The search input */
#searchInput {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  border: 2px solid #6c63ff; /* Purple-ish border */
  border-radius: 8px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 10px rgba(111, 89, 255, 0.2);
  background-color: #1a1a2e; /* Dark background to match your page */
  color: #e0e0ff;
}

/* Placeholder color */
#searchInput::placeholder {
  color: #a9a9d6;
  font-style: italic;
}

/* Focus style */
#searchInput:focus {
  border-color: #8b79ff;
  box-shadow: 0 0 12px 2px rgba(139, 121, 255, 0.6);
  background-color: #25254a;
}

/* On smaller screens */
@media (max-width: 480px) {
  #searchInput {
    font-size: 0.9rem;
    padding: 0.6rem 0.8rem;
  }
}

.search-wrapper {
  position: relative;
  max-width: 600px;
  margin: 2rem auto;
}

#searchInput {
  width: 100%;
  padding-right: 2.5rem; /* space for icon */
  /* other styles same as above */
}

.search-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none; /* so clicks go to input */
  font-size: 1.2rem;
  color: #8b79ff;
}

.glow {
  position: absolute;
  width: 900px;
  height: 900px;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
  opacity: 0.1;
  animation: pulse 8s infinite ease-in-out;
  z-index: 0;
}

.glow {
  position: absolute;
  width: 900px;
  height: 900px;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
  opacity: 0.1;
  animation: pulse 8s infinite ease-in-out;
  z-index: 0;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.08;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 0.12;
    transform: translateX(-50%) scale(1.05);
  }
}

.gradient-text {
  background: linear-gradient(to right, #a78bfa, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes button-glow {
  0%, 100% {
    box-shadow: 0 0 10px #8b5cf6;
  }
  50% {
    box-shadow: 0 0 20px #8b5cf6;
  }
}

.code-wrapper {
  position: relative;
}

.copy-button {
  position: absolute;
  top: 8px;
  right: 8px;
  background-color: #4f94d4;
  color: white;
  border: none;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  opacity: 0;
  cursor: pointer;
  transition: opacity 0.2s ease;
  z-index: 1;
}

.code-wrapper:hover .copy-button {
  opacity: 1;
}

