body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(999deg, #ff7e5f, #feb47b, #86a8e7, #91eae4);
  background-size: 500% 500%;
  color: #fff;
  animation: gradientBG 14s ease infinite;
}

/*   */
h2 {
  text-align: center;
  margin-top: 30px;
  font-size: 2rem;
  font-weight: bold;
  animation: fadeInTitle 6s infinite, colorChange 1s infinite;
  text-shadow: 4px 3px 6px rgba(0, 0, 0, 0.8);
}

/* Request Counter Centered */
#request-counter-container {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

/* Request Counter with Smooth Color Change */
#request-counter {
  font-size: 8px;
  color: #fff;
  padding: 10px 15px;
  border-radius: 10px;
  box-shadow: 0 0px 2px rgba(0, 0, 0, 0.3);
  animation: float 3s ease-in-out infinite, moveForward 3s ease-in-out infinite, colorBlink 5s infinite alternate ease-in-out;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-weight: bold;
}

/* Hover Effect */
#request-counter:hover {
  transform: scale(1.1) translateZ(1px);
  box-shadow: 0 0px 8px rgba(255, 255, 255, 0.8);
}

/* Floating Animation */
@keyframes float {
  0% { transform: translateY(0) translateZ(0); }
  50% { transform: translateY(-10px) translateZ(0); }
  100% { transform: translateY(0) translateZ(0); }
}

/* Move Forward Animation */
@keyframes moveForward {
  0% { transform: translateZ(0); }
  50% { transform: translateZ(5px); }
  100% { transform: translateZ(0); }
}


/* Table Styling */
table {
  width: 80%;
  margin: 20px auto;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  overflow: hidden;
  animation: fadeInUp 2s ease-in-out;
}

th, td {
  padding: 11px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

th {
  background-color: rgba(255, 255, 255, 0.3);
  font-weight: bold;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

td {
  transition: all 0.3s ease;
}

td:hover {
  background-color: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.status-green {
  color: #00ff00;
  font-weight: bold;
}

.status-red {
  color: #ff4d4d;
  font-weight: bold;
}

.arrow {
  font-size: 20px;
  cursor: pointer;
  transition: transform 0.1s ease;
}

.arrow:hover {
  transform: scale(1.2);
}

#curl-example-container {
  width: 50%;
  margin: 6px auto;
  padding: 4px;
  border: 1px solid #fff;
  display: none;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 90px;
  animation: fadeInUp 1s ease-in-out;
}

#curl-example {
  font-family: monospace;
  white-space: nowrap;
  margin: 0;
  padding: 3px;
  background: #fff;
  color: #333;
  border-radius: 0px;
  overflow-x: auto;
}

.copy-btn {
  position: relative;
  display: inline-block;
  padding: 9px 7px;
  background: #FFEB3B;
  color: #FFEB3B;
  border: none;
  cursor: pointer;
  border-radius: 1px;
  font-size: 1px;
  transition: all 0.3s ease;
}

.copy-btn:hover {
  background: #FFEB3B;
  transform: scale(1.1);
}

footer {
  text-align: center;
  margin: 5px 5;
  padding: 5px;
  background-color: rgba(0, 0, 0, 0.0);
  font-size: 12px;
  animation: fadeIn 2s ease-in-out;
}

footer a {
  color: #ffcc00;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #ffc107;
}

.social-media-links {
  display: flex;
  justify-content: center;
  margin-top: 0px;
}

.social-media-links li {
  list-style: none;
  margin: 0 8px;
}

.social-media-links a {
  color: #ffff;
  font-size: 19px;
  transition: color 0.1s ease;
}

.social-media-links a:hover {
  color: #ff5722;
}

.social-media-links i {
  margin: 1;
}

/* Animations */
@keyframes fadeInTitle {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  50% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(20px);
  }
}

@keyframes colorChange {
  0% {
    color: #ff7e5f;
  }
  25% {
    color: #feb47b;
  }
  50% {
    color: #86a8e7;
  }
  75% {
    color: #91eae4;
  }
  100% {
    color: #ff7e5f;
  }
}

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

@keyframes gradientBG {
  0% {
    background-position: 200% 100%;
  }
  50% {
    background-position: 300% 100%;
  }
  100% {
    background-position: 50% 50%;
  }
}
