* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  color: white;
  min-height: 100vh;
  overflow-x: hidden;
}

header {
  padding: 20px;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.3);
  font-size: 2em;
  font-weight: bold;
  letter-spacing: 1px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.container {
  max-width: 800px;
  margin: 30px auto;
  padding: 0 20px;
}

.tool-category {
  background: rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tool-category:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.3);
}

.tool-header {
  padding: 15px 20px;
  cursor: pointer;
  background: linear-gradient(to right, #6a11cb, #2575fc);
  transition: background 0.3s ease;
  border-radius: 20px 20px 0 0;
}

.tool-header:hover {
  background: linear-gradient(to right, #8e2de2, #4a00e0);
}

.tool-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.05);
  transition: max-height 0.4s ease;
}

.tool-content a {
  color: #00ffff;
  display: block;
  margin: 10px 0;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.tool-content a:hover {
  text-decoration: underline;
  transform: translateX(5px);
}

footer {
  text-align: center;
  margin-top: 50px;
  padding: 15px;
  font-size: 0.9em;
  color: #aaa;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-toggle {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 30px;
  cursor: pointer;
  z-index: 101;
  color: #00ffff;
  background: rgba(0, 0, 0, 0.3);
  padding: 5px 10px;
  border-radius: 10px;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  padding: 20px;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 100;
}

.sidebar a {
  color: #00ffff;
  display: block;
  margin: 15px 0;
  text-decoration: none;
  font-size: 1.1em;
}

.sidebar a:hover {
  text-decoration: underline;
}

.show-sidebar {
  transform: translateX(0);
}