/* Reset */
* {
  margin: 0; padding: 0; box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #121212;
  color: #f5f5f5;
  line-height: 1.6;
}

.container {
  max-width: 1000px;
  margin: auto;
  padding: 20px;
}

/* Header */
.site-header {
  background-color: #1f1f1f;
  padding: 15px 0;
  border-bottom: 1px solid #333;
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #00ffc3;
  text-decoration: none;
}
.main-nav a {
  color: #ccc;
  text-decoration: none;
  margin-left: 20px;
  font-weight: 600;
  transition: color 0.3s;
}
.main-nav a:hover {
  color: #00ffc3;
}

/* Main */
main.container {
  margin-top: 30px;
}

/* Footer */
.site-footer {
  background-color: #1f1f1f;
  padding: 15px 0;
  margin-top: 40px;
  text-align: center;
  color: #777;
  font-size: 0.9rem;
}

/* Tool Grid */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.tool-card {
  background-color: #222;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
  color: #00ffc3;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 140px;
  user-select: none;
  box-shadow: 0 0 8px rgba(0, 255, 195, 0.3);
}

.tool-card:hover {
  background-color: #00ffc3;
  color: #121212;
  font-weight: 700;
}

.tool-card i {
  font-size: 3rem;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.tool-card:hover i {
  transform: scale(1.2);
}
