body {
  margin: 0;
  padding: 0;
  background: #1a1a1a;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 10px;
}

header {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #00d4ff;
}

main {
  padding: 40px 0;
}

.hero {
  text-align: center;
  padding: 40px 0;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  margin-bottom: 40px;
  border-radius: 10px;
  margin: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.3s ease;
}

.hero:hover {
  border-color: #00d4ff;
}

.hero h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #ffffff;
}

.ip-number {
  font-size: 3rem;
  font-weight: bold;
  margin: 20px 0;
  color: #00d4ff;
  font-family: 'Courier New', monospace;
}

.copy-ip {
  background-color: #00d4ff;
  color: #000000;
  border: none;
  padding: 12px 24px;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.copy-ip:hover {
  background-color: #0099cc;
}

.api-section {
  padding: 20px 0;
  margin: 10px;
}

.api-section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #ffffff;
}

.code-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  overflow-x: auto;
}

.code-card:hover {
  border-color: #00d4ff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.code-card h3 {
  margin-top: 0;
  color: #ffffff;
  font-size: 1.2rem;
}

.code-block {
  position: relative;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 5px;
  padding: 10px;
  color: #ffffff;
  font-size: 0.8rem;
  margin-top: 10px;
}

.copy-button {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #00d4ff;
  color: #000000;
  border: none;
  padding: 5px 10px;
  font-size: 0.8rem;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.copy-button:hover {
  background-color: #0099cc;
}

pre {
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  font-family: inherit;
  overflow-x: auto;
  white-space: pre;
}

#footer {
  width: 100%;
  text-align: center;
}

/* Responsive */
@media (max-width: 960px) {
  .hero h2 {
    font-size: 1.5rem;
  }
  .ip-number {
    font-size: 2rem;
  }
  .code-grid {
    grid-template-columns: 1fr;
  }
}