body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /*background-color: #333333;*/
    text-align: center;
    padding-top: 100px;
    margin: 0;
    /*color: #333;*/
    position: relative;
}

h4  {
    font-weight: 500;
    color: gray;
    text-align: center;
}

.content {
    /*background-color: #1a1a1a; !* 深灰色背景，与黑色背景形成层次感 *!*/
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
    border-radius: 12px;
    /*box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);*/
    /*color: white;*/
    margin-top: 50px;
}

/* 顶部横栏样式（整行分割线） */
.topbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    z-index: 10;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
}

/* Logo 样式 */
.logo-link {
    display: inline-block;
}

.logo-link .top-menu {
    margin-left: 20px;
    display: flex;
    gap: 15px;
}

.logo-link .top-menu a {
    color: #218838;
    text-decoration: none;
    font-size: 16px;
}

.logo-link img {
    width: 75px; /* 设置 logo 图片大小 */
    height: auto;
}

h1 {
    /*color: rgb(225, 225, 225);*/
    font-size: 28px;
    margin-top: 0;
}

.links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.links a {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 24px;
    /*background-color: #007BFF;*/
    /*color: white;*/
    text-decoration: none;
    border-radius: 6px;
    font-size: 18px;
    /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.links a:hover {
    /*background-color: #0056b3;*/
    transform: scale(1.05);
}

.friend-link {
    margin-top: 40px;
}

.friend-link p {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: bold;
}

.friend-link a {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 30px;
    /*background-color: #28a745;*/
    /*color: white;*/
    text-decoration: none;
    border-radius: 6px;
    font-size: 18px;
    /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.friend-link a:hover {
    /*background-color: #218838;*/
    transform: scale(1.05);
}

@media (max-width: 600px) {
    .links a,
    .friend-link a {
        padding: 10px 16px;
        font-size: 16px;
    }
}