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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  padding: 2rem;
  color: #333;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}

/* Header */
.header {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  margin-bottom: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.header h1 {
  font-size: 3rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.subtitle {
  font-size: 1.2rem;
  color: #666;
}

/* Quick Info */
.quick-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.info-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.info-icon {
  font-size: 3rem;
}

.info-card h3 {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.info-card code {
  font-size: 1.5rem;
  color: #667eea;
  font-weight: bold;
}

/* Methods Grid */
.methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.method-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 5px solid;
}

.method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.method-card.get {
  border-left-color: #10b981;
}
.method-card.post {
  border-left-color: #3b82f6;
}
.method-card.put {
  border-left-color: #f59e0b;
}
.method-card.patch {
  border-left-color: #8b5cf6;
}
.method-card.delete {
  border-left-color: #ef4444;
}
.method-card.head {
  border-left-color: #06b6d4;
}
.method-card.options {
  border-left-color: #ec4899;
}

.method-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.method-badge {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: bold;
  font-size: 0.9rem;
  color: white;
  letter-spacing: 1px;
}

.get .method-badge {
  background: #10b981;
}
.post .method-badge {
  background: #3b82f6;
}
.put .method-badge {
  background: #f59e0b;
}
.patch .method-badge {
  background: #8b5cf6;
}
.delete .method-badge {
  background: #ef4444;
}
.head .method-badge {
  background: #06b6d4;
}
.options .method-badge {
  background: #ec4899;
}

.method-header h2 {
  font-size: 1.5rem;
  color: #333;
}

.method-description {
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.endpoint-list {
  margin-bottom: 1.5rem;
}

.endpoint-item {
  background: #f8fafc;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border-left: 3px solid #e2e8f0;
}

.endpoint-url {
  display: block;
  font-size: 1rem;
  font-weight: bold;
  color: #667eea;
  margin-bottom: 0.5rem;
  font-family: "Courier New", monospace;
}

.endpoint-item p {
  color: #666;
  margin-bottom: 0.5rem;
}

.example {
  margin-top: 1rem;
  padding: 1rem;
  background: white;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

.example strong {
  display: block;
  margin-bottom: 0.5rem;
  color: #333;
}

.example ul {
  list-style: none;
  padding-left: 0;
}

.example li {
  padding: 0.3rem 0;
  color: #666;
}

.example pre {
  background: #1e293b;
  color: #e2e8f0;
  padding: 1rem;
  border-radius: 8px;
  overflow-x: auto;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.test-button {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.test-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.test-button:active {
  transform: translateY(0);
}

/* Special Section */
.special-section {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.special-section h2 {
  margin-bottom: 1.5rem;
  color: #333;
}

.test-endpoints {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.test-item {
  background: #f8fafc;
  padding: 1.5rem;
  border-radius: 10px;
  border-left: 3px solid #667eea;
}

.test-item code {
  display: block;
  font-weight: bold;
  color: #667eea;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.test-item p {
  color: #666;
  font-size: 0.9rem;
}

/* Response Section */
.response-section {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  animation: slideIn 0.3s ease;
}

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

.response-section h2 {
  margin-bottom: 1rem;
  color: #333;
}

.response-info {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.response-status {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: bold;
  color: white;
}

.response-status.success {
  background: #10b981;
}

.response-status.error {
  background: #ef4444;
}

.response-time {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: #f8fafc;
  color: #666;
  font-weight: bold;
}

#responseBody {
  background: #1e293b;
  color: #e2e8f0;
  padding: 1.5rem;
  border-radius: 10px;
  overflow-x: auto;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Integration Guide */
.integration-guide {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.integration-guide h2 {
  margin-bottom: 2rem;
  color: #333;
}

.guide-section {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 10px;
  border-left: 4px solid #667eea;
}

.guide-section h3 {
  margin-bottom: 1rem;
  color: #333;
}

.guide-section ul {
  list-style: none;
  padding-left: 0;
}

.guide-section li {
  padding: 0.5rem 0;
  color: #666;
  line-height: 1.6;
}

.guide-section code {
  background: #e2e8f0;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  color: #667eea;
  font-size: 0.9rem;
}

/* Footer */
.footer {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.footer p {
  color: #666;
  margin: 0.5rem 0;
}

/* Responsive */
@media (max-width: 768px) {
  body {
    padding: 1rem;
  }

  .header h1 {
    font-size: 2rem;
  }

  .methods-grid {
    grid-template-columns: 1fr;
  }

  .quick-info {
    grid-template-columns: 1fr;
  }
}
