
/* 重置样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 基础设置 */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
  padding: 0;
  margin: 0;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 头部样式 */
header {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

header .container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}

.header-spacer {
  height: 1px; /* 仅用于撑开grid中间列 */
}

h1 {
  font-size: 1.8rem;
  font-weight: 700;
}

h1 a {
  text-decoration: none;
  color: #2c3e50;
  transition: color 0.3s ease;
}

h1 a:hover {
  color: #3498db;
}

nav a {
  color: #2c3e50;
  text-decoration: none;
  margin-left: 20px;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #3498db;
}

nav a.active {
  color: #3498db;
  font-weight: 600;
  border-bottom: 2px solid #3498db;
}

/* 导航下拉优化 */
.nav-dropdown {
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}

.nav-dropdown-button {
  background: #f8f9fa;
  color: #2c3e50;
  border: 2px solid #e0e0e0;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-dropdown-button::after {
  content: '▼';
  font-size: 10px;
  transition: transform 0.3s ease;
}

.nav-dropdown:hover .nav-dropdown-button::after {
  transform: rotate(180deg);
}

.nav-dropdown-button:hover {
  border-color: #3498db;
  color: #3498db;
  background-color: #f0f8ff;
}

/* 仅头部内：去除下拉容器的底部内边距，保证与右侧按钮垂直对齐 */
header .nav-dropdown {
  padding-bottom: 0;
}

/* 头部操作区：分类 + 搜索按钮 */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-search-button {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  color: #fff;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.nav-search-button:hover {
  background: linear-gradient(135deg, #2980b9 0%, #1f5f8b 100%);
  color: #fff;
}

/* 去掉导航内链接的默认左边距，避免与 gap 叠加 */
.nav-actions a.nav-search-button {
  margin-left: 0;
}

/* 搜索页主体搜索框容器（居中展示） */
.search-box-section {
  display: flex;
  justify-content: center;
  margin: 10px 0 20px;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  z-index: 200;
  padding: 8px;
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu:hover {
  display: block;
}

.nav-dropdown:focus-within .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.nav-dropdown-menu a {
  display: block;
  padding: 12px 16px;
  color: #2c3e50;
  text-decoration: none;
  margin: 0;
  border-radius: 6px;
  text-align: left;
  font-weight: 500;
  transition: all 0.2s ease;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus,
.nav-dropdown-menu a:active {
  background: #f0f8ff;
  color: #3498db;
  transform: translateX(4px);
}

.nav-dropdown-menu a {
  outline: none;
}

/* 搜索表单（头部）优化 */
.search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: center;
  max-width: 400px;
  width: 100%;
}

.search-input {
  padding: 10px 12px;
  border: 2px solid #e0e0e0;
  border-radius: 6px;
  min-width: 0;
  flex: 1;
  font-size: 14px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.search-button {
  padding: 10px 16px;
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.search-button:hover {
  background-color: #2980b9;
}

/* 主要内容样式 */
main {
  padding: 20px 0 50px;
  min-height: calc(100vh - 200px);
}

.hero {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  padding: 40px 0;
  margin-bottom: 30px;
  text-align: center;
  border-radius: 8px;
}

.hero h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: white !important;
}

.hero p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

h2 {
  font-size: 1.8rem;
  margin: 30px 0 20px;
  color: #2c3e50;
  border-bottom: 2px solid #3498db;
  padding-bottom: 10px;
}

h3 {
  font-size: 1.4rem;
  margin: 20px 0 15px;
  color: #34495e;
}

p {
  margin-bottom: 15px;
}

/* 分类网格样式 */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.category-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.category-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.category-card p {
  color: #7f8c8d;
  margin-bottom: 15px;
}

.category-card ul {
  list-style-type: none;
  margin-bottom: 20px;
}

.category-card li {
  margin-bottom: 10px;
}

.category-card a {
  color: #3498db;
  text-decoration: none;
  transition: color 0.2s ease;
}

.category-card a:hover {
  color: #2980b9;
  text-decoration: underline;
}

.view-more {
  display: inline-block;
  background-color: #3498db;
  color: white !important;
  padding: 8px 15px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.view-more:hover {
  background-color: #2980b9;
  text-decoration: none !important;
  color: white !important;
}

.category-title-container {
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
  width: 100%;
  display: block;
}

#tools-list-container {
  display: flex;
  flex-direction: column;
}

.tools-grid {
  width: 100%;
}

.category-title-container h3 {
  margin: 0;
  font-size: 24px;
  color: #333;
}

/* 精选工具样式 */
.featured-tools {
  margin: 50px 0;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.tool-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-decoration: none;
  color: #333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 广告区域样式 */
.ad-container {
  margin: 30px auto;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  text-align: center;
  max-width: 1200px;
}

.ad-container::after {
  content: '';
  display: table;
  clear: both;
}

#baidu-ad {
  width: 100%;
  max-width: 728px;
  height: 90px;
  margin: 0 auto;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 页脚样式优化 */
footer .container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
}

footer p {
  margin: 0;
  text-align: center;
}

.tool-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.tool-link {
  color: #3498db;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.tool-link:hover {
  color: #2980b9;
  text-decoration: underline;
}

/* 工具按钮不换行，保持高度一致 */
.tool-buttons button { white-space: nowrap; }

.tool-card h3 {
  color: #2c3e50;
  margin-top: 0;
}

.tool-card p {
  color: #7f8c8d;
}

/* 工具页面样式 */
.tool-container {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 30px;
  margin-top: 20px;
}

/* 统一工具条 */
.tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.action-button {
  padding: 8px 12px;
  border-radius: 4px;
  border: none;
  color: #fff;
  background-color: #3498db;
  cursor: pointer;
}

.action-button:hover {
  opacity: 0.9;
}

.tool-description {
  margin-bottom: 25px;
  color: #7f8c8d;
}

.tool-input {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

textarea {
  width: 100%;
  height: 200px;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: monospace;
  resize: vertical;
}

input[type="text"],
input[type="number"],
select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 15px;
}

button {
  background-color: #3498db;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #2980b9;
}

.tool-output {
  margin-top: 25px;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 4px;
  border: 1px solid #eee;
}

/* 公共页脚 */
footer {
  background-color: #fff;
  padding: 25px 0;
  border-top: 1px solid #e0e0e0;
  margin-top: 0;
  position: relative;
}

footer .container {
  display: flex;
  justify-content: center;
}

.footer-content {
  text-align: center;
}

footer p {
  color: #7f8c8d;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.beian-info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
}

.beian-info a {
  color: #7f8c8d;
  text-decoration: none;
  transition: color 0.3s ease;
}

.beian-info a:hover {
  color: #3498db;
}

.beian-info span {
  color: #7f8c8d;
}

/* 深色模式下的页脚样式 */
@media (prefers-color-scheme: dark) {
  footer {
    background-color: #1e1e1e;
    border-top-color: #333;
  }

  .beian-info a,
  .beian-info span {
    color: #b0b0b0;
  }

  .beian-info a:hover {
    color: #3498db;
  }
}

/* 响应式设计 */
@media (max-width: 768px) {
  .category-grid,
  .category-list,
  .tools-grid {
    grid-template-columns: 1fr;
  }

  .hero h2 {
    font-size: 1.8rem;
  }

  header .container {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  nav {
    margin-top: 15px;
  }

  nav a {
    margin: 0 10px;
  }

  .nav-dropdown {
    margin-top: 10px;
  }

  .search-form {
    width: 100%;
    margin: 0;
    justify-content: center;
  }

  .search-input {
    flex: 1;
    min-width: 0;
  }

  footer .container {
    flex-direction: column;
    text-align: center;
  }
}

/* 工具特定样式 */
.image-preview {
  max-width: 100%;
  margin-top: 15px;
  border-radius: 4px;
}

/* 广告区域样式 */
.ad-section {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 20px;
  margin: 30px 0;
  text-align: center;
}

/* 分享按钮样式 */
.share-buttons {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

.share-button {
  padding: 8px 12px;
  border-radius: 4px;
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.share-injected {
  margin-top: 16px;
}

.share-injected .share-button {
  border: none;
}

.share-facebook {
  background-color: #3b5998;
}

.share-twitter {
  background-color: #1da1f2;
}

.share-linkedin {
  background-color: #0077b5;
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
  body {
    background-color: #121212;
    color: #e0e0e0;
  }

  header {
    background-color: #1e1e1e;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  }

  h1 a,
  nav a {
    color: #e0e0e0;
  }

  h1 a:hover,
  nav a:hover {
    color: #3498db;
  }

  .category-card,
  .tool-card,
  .tool-container,
  .ad-section {
    background-color: #1e1e1e;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }

  h2 {
    color: #e0e0e0;
    border-bottom-color: #3498db;
  }

  h3 {
    color: #e0e0e0;
  }

  .category-card p,
  .tool-card p,
  .tool-description {
    color: #b0b0b0;
  }

  .tool-output {
    background-color: #252525;
    border-color: #333;
  }

  textarea,
  input[type="text"],
  input[type="number"],
  select {
    background-color: #252525;
    color: #e0e0e0;
    border-color: #333;
  }
}

/* 新增：紧凑布局样式 */
.hero-compact {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  padding: 25px 0;
  margin: 30px 0 25px 0;
  text-align: center;
  border-radius: 8px;
}

.hero-compact h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: white !important;
  border-bottom: none;
  padding-bottom: 0;
}

.hero-compact p {
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}

/* 热门工具和精选工具区域 */
.section-hot-tools,
.section-featured-tools {
  margin: 20px 0;
}

.section-hot-tools h2,
.section-featured-tools h2 {
  font-size: 1.4rem;
  margin: 20px 0 15px;
  color: #2c3e50;
  border-bottom: 2px solid #3498db;
  padding-bottom: 6px;
}

/* 紧凑工具网格 */
.tools-grid-compact {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 20px;
}

.tool-item-compact {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 12px 16px;
  text-decoration: none;
  color: #2c3e50;
  font-weight: 500;
  text-align: center;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
}

.tool-item-compact:hover {
  background-color: #3498db;
  color: white;
  border-color: #3498db;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

/* 分类区域 */
.section-categories {
  margin: 25px 0;
}

.section-categories h2 {
  font-size: 1.4rem;
  margin: 20px 0 15px;
  color: #2c3e50;
  border-bottom: 2px solid #3498db;
  padding-bottom: 6px;
}





/* 深色模式下的紧凑布局 */
@media (prefers-color-scheme: dark) {
  .tool-item-compact {
    background-color: #1e1e1e;
    border-color: #333;
    color: #e0e0e0;
  }

  .tool-item-compact:hover {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
  }
}

/* 响应式设计优化 */
@media (max-width: 768px) {
  .tools-grid-compact {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
  }



  .hero-compact {
    padding: 20px 0;
  }

  .hero-compact h2 {
    font-size: 1.4rem;
  }

  .hero-compact p {
    font-size: 0.95rem;
  }

  /* 移动端头部优化 */
  header .container {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  nav {
    margin-top: 10px;
  }

  .nav-dropdown {
    margin-top: 5px;
  }

  .search-form {
    width: 100%;
    margin: 0;
    justify-content: center;
    max-width: 100%;
  }

  .search-input {
    flex: 1;
    min-width: 0;
  }

  /* 移动端工具网格优化 */
  .tools-grid-compact {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
  }

  .tool-item-compact {
    padding: 10px 12px;
    font-size: 0.9rem;
    min-height: 44px;
  }



  /* 移动端搜索结果优化 */
  .search-results-header {
    padding: 15px;
    margin: 15px 0;
  }

  .search-no-results {
    padding: 30px 15px;
    margin: 20px 0;
  }

  .browse-categories-btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* 超小屏幕优化 */
@media (max-width: 480px) {
  .tools-grid-compact {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
  }

  .tool-item-compact {
    padding: 8px 10px;
    font-size: 0.85rem;
    min-height: 40px;
  }



  .hero-compact h2 {
    font-size: 1.3rem;
  }

  .hero-compact p {
    font-size: 0.9rem;
  }
}

/* 搜索结果页样式 */
.search-results-header {
  margin: 15px 0;
  padding: 15px 18px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid #f0f0f0;
}

.search-results-header h3 {
  margin: 0;
  color: #2c3e50;
  font-size: 1.3rem;
}

.search-results-grid {
  margin-bottom: 30px;
}

.search-no-results {
  margin: 30px 0;
  padding: 40px 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid #f0f0f0;
  text-align: center;
}

.no-results-content p {
  margin: 10px 0;
  color: #7f8c8d;
}

.no-results-content p:first-child {
  font-size: 1.2rem;
  font-weight: 500;
  color: #95a5a6;
}

.browse-categories-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #3498db;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.browse-categories-btn:hover {
  background-color: #2980b9;
  text-decoration: none;
  color: white;
}

/* 深色模式下的搜索结果页 */
@media (prefers-color-scheme: dark) {
  .search-results-header,
  .search-no-results {
    background-color: #1e1e1e;
    border-color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  }

  .search-results-header h3 {
    color: #e0e0e0;
  }

  .no-results-content p {
    color: #b0b0b0;
  }

  .no-results-content p:first-child {
    color: #95a5a6;
  }
}















/* 响应式优化 */
@media (max-width: 768px) {
  .hero-compact {
    padding: 1.5rem 1rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-compact h2 {
    font-size: 1.8rem;
  }
  
  .hero-compact p {
    font-size: 0.9rem;
  }
  
  .section-hot-tools,
  .section-featured-tools,
  .section-categories {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .tools-grid-compact {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.8rem;
  }
  
  .tool-item-compact {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .hero-compact {
    padding: 1rem 0.8rem;
    margin-bottom: 1rem;
  }
  
  .hero-compact h2 {
    font-size: 1.6rem;
  }
  
  .hero-compact p {
    font-size: 0.85rem;
  }
  
  .tools-grid-compact {
    grid-template-columns: 1fr;
  }
  
  .tool-item-compact {
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
  }
}

/* 额外美化效果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-hot-tools,
.section-featured-tools,
.section-categories {
  animation: fadeInUp 0.6s ease-out;
}

.section-categories {
  animation: fadeInUp 0.6s ease-out;
  animation-delay: calc(var(--animation-order) * 0.1s);
}

.section-categories:nth-child(1) { --animation-order: 1; }
.section-categories:nth-child(2) { --animation-order: 2; }
.section-categories:nth-child(3) { --animation-order: 3; }
.section-categories:nth-child(4) { --animation-order: 4; }
.section-categories:nth-child(5) { --animation-order: 5; }

/* 工具卡片悬停效果增强 */
.tool-item-compact {
  position: relative;
  overflow: hidden;
}

.tool-item-compact::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s;
}

.tool-item-compact:hover::before {
  left: 100%;
}



/* 热门工具图标 */
.section-hot-tools h2::before {
  content: '🔥';
}

.section-featured-tools h2::before {
  content: '⭐';
}

/* 搜索框美化 */
.search-form {
  position: relative;
}

.search-input {
  border-radius: 25px;
  padding: 12px 20px;
  border: 2px solid #e0e0e0;
  transition: all 0.3s ease;
}

.search-input:focus {
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.search-button {
  border-radius: 25px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  border: none;
  color: white;
  font-weight: 500;
  transition: all 0.3s ease;
}

.search-button:hover {
  background: linear-gradient(135deg, #2980b9 0%, #1f5f8b 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

/* 页面加载动画 */
.page-loading {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.page-loaded {
  opacity: 1;
  transform: translateY(0);
}





/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
  .hero-compact {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  }
  
  .section-hot-tools,
  .section-featured-tools,
  .section-categories {
    background: #2c3e50;
    border-color: #34495e;
    color: #ecf0f1;
  }
  

  
  .tool-item-compact {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    color: #ecf0f1;
    border-color: #34495e;
  }
  
  .tool-item-compact:hover {
    background: linear-gradient(135deg, #2980b9 0%, #1f5f8b 100%);
    color: white;
  }
  

}
