* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", sans-serif;
}

ul,
li {
    list-style: none;
}

a {
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}

a:hover {
    color: #c22422;
    text-decoration: underline;
}

.container {
    width: 1200px;
    margin: 0 auto;
}

body {
    line-height: 1.5;
    color: #333;
    background: #f9f9f9;
}

.breadcrumb {
    height: 40px;
    line-height: 40px;
    background: #f5f5f5;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}

.update-time {
    font-size: 13px;
    color: #666;
    margin-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

header {
    background: #1a1a1a;
    height: 80px;
    line-height: 80px;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.logo {
    float: left;
    color: #c22422;
    font-size: 28px;
    font-weight: bold;
}

nav {
    float: right;
}

nav ul li {
    float: left;
    margin-left: 30px;
}

nav ul li a {
    color: #fff;
    font-size: 16px;
}

nav ul li a.active {
    color: #c22422;
}

.search-box {
    float: right;
    margin: 20px 0 0 30px;
}

.search-box input {
    width: 200px;
    height: 40px;
    padding: 0 10px;
    border: none;
    border-radius: 4px 0 0 4px;
    float: left;
    outline: none;
}

.search-box button {
    width: 60px;
    height: 40px;
    background: #c22422;
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    float: left;
    cursor: pointer;
    transition: background 0.3s;
}

.search-box button:hover {
    background: #a81e1e;
}

.welcome-desc {
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    margin: 20px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    font-size: 15px;
    line-height: 26px;
}

.welcome-desc strong {
    color: #c22422;
}

.block-title {
    font-size: 22px;
    color: #1a1a1a;
    border-left: 4px solid #c22422;
    padding-left: 10px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.block-title a.more {
    font-size: 14px;
    color: #666;
    font-weight: normal;
}

.block-title a.more:hover {
    color: #c22422;
}

.hot-gonglue,
.hot-version {
    margin: 30px 0;
}

.card-wrap {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.card {
    width: calc(25% - 15px);
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.card img {
    width: 100%;
    aspect-ratio: 285/160;
    height: auto;
    object-fit: cover;
    display: block;
}

.card h3 {
    font-size: 16px;
    padding: 10px 15px;
    height: 60px;
    line-height: 24px;
    overflow: hidden;
    font-weight: normal;
}

.card-info {
    padding: 0 15px 15px;
    font-size: 12px;
    color: #999;
    display: flex;
    justify-content: space-between;
}

.card-tag {
    display: inline-block;
    background: #fef0f0;
    color: #c22422;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 12px;
    margin-right: 5px;
}

.gonglue-list-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
    gap: 20px;
}

.gonglue-list-box {
    width: calc(50% - 10px);
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 20px;
}

.list-title {
    font-size: 18px;
    color: #c22422;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.gonglue-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 36px;
    line-height: 36px;
    padding-left: 15px;
    position: relative;
    font-size: 14px;
    overflow: hidden;
}

.gonglue-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    width: 6px;
    height: 6px;
    background: #c22422;
    border-radius: 50%;
}

.gonglue-list li a {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 10px;
}

.gonglue-list li .date {
    color: #999;
    font-size: 12px;
    flex-shrink: 0;
}

.friend-link {
    background: #f8f8f8;
    padding: 20px 0;
    margin-bottom: 30px;
}

.friend-link .block-title {
    font-size: 16px;
    margin-bottom: 15px;
}

.link-list a {
    font-size: 14px;
    margin-right: 20px;
    line-height: 28px;
    display: inline-block;
}

footer {
    background: #1a1a1a;
    color: #999;
    padding: 30px 0;
    text-align: center;
    font-size: 14px;
    line-height: 24px;
}

footer a {
    color: #999;
    margin: 0 8px;
}

footer a:hover {
    color: #c22422;
}

.disclaimer {
    margin: 10px 0;
    font-size: 12px;
    max-width: 800px;
    margin: 10px auto;
    color: #777;
}

.icp {
    margin-top: 10px;
}

@media (max-width: 1200px) {
    .container {
        width: 100%;
        padding: 0 15px;
    }

    .card {
        width: calc(50% - 10px);
    }

    .gonglue-list-box {
        width: 100%;
    }
}

@media (max-width: 768px) {
    header {
        height: auto;
        line-height: normal;
        padding: 15px 0;
        position: static;
    }

    .logo {
        float: none;
        text-align: center;
        margin-bottom: 10px;
    }

    .search-box {
        float: none;
        margin: 0 auto 15px;
        display: flex;
        justify-content: center;
    }

    nav {
        float: none;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 5px;
    }

    nav ul {
        display: inline-block;
    }

    nav ul li {
        float: none;
        display: inline-block;
        margin: 0 12px;
    }

    .card {
        width: 100%;
    }
}