/* 全局样式 */
body {
    font-family: 'Lato', sans-serif;
    background-color: #1e1e2f; /* 深色背景 */
    color: #d4d4dc; /* 浅色字体 */
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* 页头样式 */
header {
    background-color: #2b2b3d; /* 更深的背景色用于页头 */
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); /* 更明显的阴影效果 */
}

.title-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5em;
    color: #ffd700; /* 柔和的金色 */
    margin: 0;
}

h2 {
    font-family: 'Lato', sans-serif;
    font-size: 1.1em;
    color: #c0c0c0; /* 柔和的银色 */
    margin-top: 8px;
    margin-bottom: 15px;
}

.logo-icon {
    width: 4em;
    height: 4em;
    margin-bottom: 10px;
    border-radius: 50%;
    border: 2px solid #c0c0c0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* 主体内容样式 */
main {
    max-width: 750px;
    margin: 20px auto;
    padding: 15px;
    background-color: #2b2b3d; /* 深色背景 */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 一行两个模块 */
    gap: 10px; /* 模块间距 */
}

.link-box {
    background-color: #383850; /* 模块背景色 */
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden; /* 隐藏超出部分 */
    text-overflow: ellipsis; /* 使用省略号 */
    white-space: nowrap; /* 禁止换行 */
    cursor: pointer; /* 鼠标悬停时显示为指针 */
    text-decoration: none; /* 取消默认的链接下划线 */
    color: inherit; /* 继承父元素的颜色 */
    transition: background-color 0.3s ease; /* 添加背景色的过渡效果 */
}

.link-box:hover {
    background-color: #4a4a66; /* 悬停时背景颜色变化 */
}

.link-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1em;
    color: #ffd700;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.link-box p {
    font-family: 'Lato', sans-serif;
    font-size: 0.9em;
    color: #87ceeb;
    margin-top: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.highlight {
    color: #ffd700; /* 强调用金色 */
    font-weight: 700;
}

/* 页脚样式 */
footer {
    text-align: center;
    font-size: 0.8em;
    color: #a9a9b8;
    margin-top: 20px;
    padding: 15px 0;
    background-color: #1e1e2f;
    border-top: 1px solid #3c3c4f;
}

.no-border {
    border-bottom: none;
}

/* 强制响应式设计 */
@media only screen and (max-width: 600px) {
    main {
        grid-template-columns: repeat(2, 1fr); /* 在小屏幕上保持每行两个模块 */
        gap: 8px;
    }

    .link-box {
        padding: 8px;
    }
}

@media only screen and (max-width: 400px) {
    main {
        grid-template-columns: repeat(2, 1fr); /* 继续保持每行两个模块 */
        gap: 5px;
    }

    .link-box {
        padding: 6px;
        font-size: 0.8em; /* 缩小文字 */
    }
}

.links-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}

.link-item {
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    width: calc(33.333% - 10px); /* 每个链接占三分之一宽度 */
    text-align: center;
}

.link-item a {
    color: #d2d4ff;
    text-decoration: none;
    font-size: 14px;
}

.link-item a:hover {
    text-decoration: underline;
}
 button {
    margin-top: 10px;
    cursor: pointer;
  }
  
.has-luminous-vivid-orange-color {
    color: #b68000 !important; /* 将文本颜色设置为白色 */
}