﻿/* ====================
   小时候模块 - （优化版）
   ==================== */
body {
  font-family: 'Microsoft YaHei', sans-serif;
  background: linear-gradient(to bottom, #f0f9ff, #e6f7ff);
}

/* 优化后的分页按钮模块 */

        .pagination button.active { background-color: #4f46e5; color: white; }
        .pagination button:hover { background-color: #ff00ff; }


/* 以下保持原有的其他样式 */
.card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.search-bar {
  border-radius: 8px;
  border: 2px solid #d0e7ff;
  padding: 12px;
  font-size: 16px;
}


/* 返回网站主页按钮样式 */
.visit-btn {
    background: var(--primary-color);
    background: #0d5bb5;/* 底部导航小按钮默认颜色 */
    color: white;
    border: none;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.visit-btn:hover {
    background: #ff0000;/* 底部导航小按钮点击变色 */
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem; /* 按钮间距 */
    flex-wrap: wrap; /* 在小屏幕上自动换行 */
    margin-top: 1rem;
}

/* 确保按钮链接不换行 */
.button-group .site-link {
    display: inline-block;
}


