* {
  margin: 0;
  padding: 0;
}

body {
  background-color: #f1f2f3;
}

.container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1560px;
  min-width: 1240px;
  margin: 25px auto;
  color: #333;
}

.container * {
  box-sizing: border-box;
}

header {
  text-align: center;
  margin-bottom: 25px;
}

header h1 {
  font-size: 2.2rem;
  margin-bottom: 5px;
}

header p {
  font-size: 1rem;
  opacity: 0.9;
  max-width: 95%;
  margin: 0 auto;
}


.search-box {
  background: white;
  border-radius: 50px;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 25px;
  max-width: 1100px;
  width: 95%;
  margin-left: auto;
  margin-right: auto;
}

.search-box input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  padding: 10px;
}

.search-box button {
  background: #0067b8;
  color: white;
  border: none;
  border-radius: 40px;
  padding: 10px 36px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.3s;
}

.search-box button:hover {
  background: #005fa3;
}

.categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
}

.category-btn {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  padding: 12px 25px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}

.category-btn:hover,
.category-btn.active {
  background: #0067b8;
  color: white;
  border-color: #0067b8;
}

.commands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 25px;
}

.command-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s;
}

.command-header {
  background: #9cabba;
  color: white;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.command-name {
  font-size: 1.25rem;
  font-weight: 600;
}

.command-body {
  padding: 20px;
}

.command-desc {
  color: #555;
  margin-bottom: 15px;
  min-height: 60px;
}

.command-syntax {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  font-family: 'Consolas', monospace;
  margin-bottom: 15px;
  border-left: 4px solid #0067b8;
}

.command-example {
  background: #f0f7ff;
  padding: 15px;
  border-radius: 8px;
  font-family: 'Consolas', monospace;
  font-size: 0.9rem;
  border-left: 4px solid #4da6ff;
}

.notice {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: white;
  padding: 15px 25px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s;
}

.notice.show {
  opacity: 1;
}

footer {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.footer-section h3 {
  color: #0067b8;
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.footer-section p {
  color: #666;
  margin-bottom: 15px;
}

.copyright {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  color: #888;
}
