/* Shared styles for all HTML pages */
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #0d1218 0%, #111 100%);
  color: #333;
  min-height: 100vh;
}

.container {
  max-width: 1000px;
  margin: 20px auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.95);
  margin-top: 50px;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 2px solid #ffd700;
  backdrop-filter: blur(10px);
}

h1 {
  font-family: "Orbitron", monospace;
  font-weight: 900;
  color: #ffd700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin: 0;
  font-size: 2.5em;
  letter-spacing: 2px;
}

h2 {
  font-family: "Orbitron", monospace;
  font-weight: 700;
  color: #2d3748;
  border-bottom: 2px solid #ffd700;
  padding-bottom: 10px;
}

h3 {
  font-family: "Orbitron", monospace;
  font-weight: 700;
  color: #4a5568;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.install-btn,
.back-link {
  background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
  color: white;
  border: 2px solid #ffd700;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.install-btn:hover,
.back-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
  border-color: #ffed4e;
}

.game-link {
  display: inline-block;
  background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 25px;
  margin: 10px 10px 10px 0;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid #ffd700;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.game-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
  border-color: #ffed4e;
}

.bot-link {
  background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
}

.bot-link:hover {
  background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
}

.feature {
  background: rgba(255, 255, 255, 0.1);
  padding: 15px;
  margin: 15px 0;
  border-left: 4px solid #ffd700;
  border-radius: 0 8px 8px 0;
  backdrop-filter: blur(5px);
}

.api-section {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
  border-left: 4px solid #ffd700;
  backdrop-filter: blur(5px);
}

.steps {
  background: #edf2f7;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
}

.steps ol {
  margin: 0;
  padding-left: 20px;
}

.steps li {
  margin: 8px 0;
}

code {
  background: #2d3748;
  color: #e2e8f0;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: "Courier New", monospace;
}

pre {
  background: #2d3748;
  color: #e2e8f0;
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 15px 0;
}

pre code {
  background: none;
  color: inherit;
  padding: 0;
}

button.btn {
  font-family: "Inter", sans-serif;
  color: white;
  background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
  border: 2px solid #ffd700;
  border-radius: 25px;
  padding: 12px 24px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

button.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
  border-color: #ffed4e;
}

input[type="text"] {
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.3s ease;
  padding: 10px;
  box-sizing: border-box;
}

input[type="text"]:focus {
  outline: none;
  border-color: #ffd700;
}

.footer {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
  color: #666;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  body {
    padding: 10px;
  }

  .container {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
  }

  .header {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  h1 {
    font-size: 2em;
  }

  .game-link {
    display: block;
    margin: 10px 0;
    text-align: center;
  }

  input[type="text"] {
    width: 100%;
    margin-bottom: 10px;
  }

  button.btn {
    width: 100%;
    margin: 5px 0;
  }
}
