body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  background: #f8f9fb;
  color: #333;
}

.site-header {
  background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
  color: white;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  height: 48px;
}

.site-header h1 {
  margin: 0;
  font-size: 1.5rem;
}

.tagline {
  margin: 0;
  font-size: 0.9rem;
  color: #f0f0f0;
}

main {
  max-width: 960px;
  margin: 30px auto;
  padding: 0 16px;
}

.tool-box {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  margin-bottom: 30px;
}

.tool-box h2 {
  margin-top: 0;
  font-size: 1.4rem;
  color: #222;
}

.browse-btn {
  background-color: #007bff;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 16px;
  display: inline-block;
  cursor: pointer;
  margin-bottom: 20px;
  user-select: none;
  transition: background 0.3s;
}

.browse-btn:hover {
  background-color: #0056b3;
}

.canvas-controls {
  margin-bottom: 15px;
}

.canvas-controls button {
  background: #444;
  color: white;
  border: none;
  margin-right: 10px;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s;
}

.canvas-controls button:hover {
  background: #222;
}

.canvas-container {
  text-align: center;
  margin-bottom: 20px;
  overflow: auto;
  max-height: 520px;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 10px;
  background: #fff;
}

canvas {
  border: 1px dashed #aaa;
  max-width: 100%;
  height: auto;
  cursor: grab;
}

.color-result {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

.color-preview {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.color-result span {
  font-weight: bold;
}

.color-result button {
  margin-top: 8px;
  background-color: #28a745;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.color-result button:hover {
  background-color: #218838;
}

.tool-info {
  background: #fff;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.05);
  font-size: 15px;
}

.tool-info h2 {
  font-size: 1.3rem;
  margin-top: 0;
}

.tool-info ul {
  padding-left: 20px;
}

.ad-slot {
  background: #e0e0e0;
  text-align: center;
  padding: 14px;
  margin: 24px 0;
  border-radius: 6px;
  font-size: 14px;
  color: #555;
}
.site-footer {
  background: linear-gradient(to right, #eef4f8, #f7fafc);
  border-top: 1px solid #dce4ec;
  margin-top: 60px;
  font-size: 15px;
  color: #444;
  padding: 40px 0 20px;
}

.footer-content {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  text-align: center;
}

.footer-logo {
  width: 42px;
  height: 42px;
  margin-bottom: -11px;
}

.footer-brand h3 {
  font-size: 20px;
  margin: 0;
  color: #222;
}

.footer-tagline {
  font-size: 13px;
  color: #666;
}

.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav a {
  color: #0072ff;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-nav a:hover {
  color: #0052b4;
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 30px;
  font-size: 13px;
  text-align: center;
  color: #888;
}


