.stats-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-box {
    flex: 1;
    min-width: 150px;
    background: #fff;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15); /* 阴影加重，让悬浮感更强 */
    transition: transform 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.stat-box:hover {
    transform: translateY(-3px);
}

.stat-box h3 {
    font-size: 3rem;
    color: #007BFF;
    margin: 0;
}

.stat-box p {
    font-size: 1.1rem;
    color: #555;
    margin-top: 6px;
}

.stat-box span {
    display: block;
    margin-top: 8px;
    color: #6f7f95;
    font-size: 0.92rem;
    line-height: 1.45;
}

/* 保证 hero 内容不被遮挡 */
#hero {
    height: 40vh;
    padding-bottom: 80px; 
}

/* Overview Section */
#overview {
    padding: 80px 20px 60px 20px; /* 上下留白足够 */
    background: #ffffff; /* 白底，和 hero 区分 */
    text-align: center;
}

#overview h2 {
    font-size: 32px;
    color: #007BFF; /* 主色调 */
    margin-bottom: 20px;
    font-weight: 600;
}

#overview h2::after {
  content: '';
  display: block;
  width: 50%;
  height: 3px;
  margin: 10px auto 0;
  background: linear-gradient(90deg, #5b8def, #7c5ce7, #e864a5);
  border-radius: 2px;
}

#overview p {
    max-width: 800px; /* 控制段落宽度 */
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

.species-shortcut,
.quick-entry {
    margin: 38px auto 0;
    background: #f8fbff;
    border: 1px solid #d9e6f7;
    border-radius: 14px;
    box-shadow: 0 8px 18px rgba(18, 47, 95, 0.08);
    padding: 14px 14px 18px;
}

.quick-entry {
    margin-top: 22px;
}

.shortcut-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.shortcut-head h3 {
    margin: 0;
    color: #1e4f8f;
    font-size: 22px;
}

.shortcut-head p {
    margin: 4px 0 0;
    color: #5c6f89;
    font-size: 14px;
}

.shortcut-nav {
    display: flex;
    gap: 8px;
}

.shortcut-nav button {
    border: none;
    border-radius: 10px;
    background: #2f7fd8;
    color: #fff;
    width: 38px;
    height: 34px;
    cursor: pointer;
    font-size: 15px;
}

.shortcut-nav button:hover {
    background: #1f67b8;
}

.shortcut-track-wrap {
    overflow-x: auto;
    scrollbar-width: thin;
    padding-bottom: 6px;
}

.shortcut-track {
    display: flex;
    gap: 18px;
    align-items: stretch;
}

.shortcut-card {
    flex: 0 0 200px;
    background: #ffffff;
    border-radius: 12px;
    text-decoration: none;
    color: #1c2d43;
    border: 1px solid #e2ebf7;
    box-shadow: 0 4px 12px rgba(35, 72, 130, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.shortcut-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 18px rgba(35, 72, 130, 0.16);
}

.shortcut-image-wrap {
    height: 128px;
    background: linear-gradient(140deg, #eff5ff, #dcecff);
    display: flex;
    align-items: center;
    justify-content: center;
}

.shortcut-image-wrap img {
    width: 100%;
    height: 100%;
}

.shortcut-name {
    margin: 9px 8px 2px;
    font-size: 14px;
    line-height: 1.25;
    min-height: 36px;
    color: #17365f;
}

.shortcut-cn {
    margin: 0 8px 10px;
    font-size: 12px;
    color: #5c6f89;
    min-height: 16px;
}

.shortcut-empty {
    margin: 0;
    color: #7a8ba3;
    font-size: 14px;
}

.quick-entry-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(140px, 1fr));
    gap: 14px;
}

.quick-entry-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 12px 14px;
    background: #ffffff;
    border: 1px solid #e2ebf7;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(35, 72, 130, 0.08);
    color: #17365f;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.quick-entry-card i {
    display: inline-grid;
    place-items: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    color: #ffffff;
    background: linear-gradient(135deg, #2f7fd8, #6da8ef);
    font-size: 15px;
}

.quick-entry-card span {
    font-size: 15px;
    line-height: 1.25;
}

.quick-entry-card:hover {
    transform: translateY(-3px);
    border-color: #c7daf3;
    box-shadow: 0 10px 18px rgba(35, 72, 130, 0.16);
}

@media (max-width: 900px) {
    .quick-entry-grid {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
    }
}

@media (max-width: 520px) {
    .quick-entry-grid {
        grid-template-columns: 1fr;
    }
}
