html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    font-family: "Microsoft YaHei", Arial, sans-serif;
    background: #f5f7fa;
    color: #333;
}

#navbarMenu{
    position: relative;
}

#navbarMenu .navbar-right{
    position: absolute;
    right: 0;
}

.navbar.shadow {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background: #fff;
}

.navbar-brand img{
    width: 20px;
}

.navbar .custom-icon {
    width: 18px;
    height: 18px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: -2px;
    margin-right: 6px;
    flex-shrink: 0;
}

.custom-icon-github {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='%23181717' d='M8 .2a8 8 0 00-2.53 15.6c.4.08.55-.17.55-.38v-1.33c-2.24.49-2.71-1.08-2.71-1.08-.36-.92-.88-1.17-.88-1.17-.72-.5.06-.49.06-.49.8.06 1.22.82 1.22.82.71 1.21 1.87.86 2.33.66.07-.52.28-.86.5-1.06-1.79-.2-3.67-.9-3.67-4 0-.88.31-1.6.82-2.16-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82a7.6 7.6 0 014 0c1.53-1.03 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.28.82 2.16 0 3.11-1.88 3.79-3.67 3.99.29.25.54.73.54 1.47v2.17c0 .21.15.46.55.38A8 8 0 008 .2z'/></svg>");
}

.custom-icon-gitee {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1024'><path fill='%23C71D23' d='M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64z'/><path fill='%23fff' d='M712 512H432v-80h200c88.4 0 160 71.6 160 160s-71.6 160-160 160H352c-17.7 0-32-14.3-32-32V304c0-17.7 14.3-32 32-32h360v80H400v320h232c44.2 0 80-35.8 80-80s-35.8-80-80-80z'/></svg>");
}

.hero-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #88D3A0, #92CEE5);
    color: #fff;
    text-align: center;
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-section .btn-group .btn {
    margin: 5px 10px;
    border-radius: 30px;
    font-weight: 500;
    transition: transform 0.2s;
}

.hero-section .btn-group .btn:hover {
    transform: translateY(-3px);
}

.demo-info {
    margin-top: 15px;
    font-size: 14px;
}

.index-container {
    flex: 1;
    width: 100%;
}

.features {
    padding: 60px 0;
}

.features h2 {
    font-weight: 600;
    margin-bottom: 40px;
}

.feature-card {
    background: #fff;
    padding: 25px 15px;
    margin: 15px auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.feature-card h5 {
    font-size: 16px;
    margin: 10px 0 5px;
    font-weight: 600;
}

.feature-card p {
    font-size: 13px;
    color: #666;
}

.footer {
    padding: 25px 0;
    background: #333;
    color: #fff;
}

.footer a {
    color: #fff;
    text-decoration: underline;
}

.container.announcement-list, .container.announcement-detail, .contact-page, content-container{
    flex: 1;
    margin-top: 50px;
}

.announcement-list {
    padding: 20px 0;
}

.announcement-list h2 {
    margin-bottom: 15px;
    font-weight: 600;
}

.announcement-list ul li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;
}

.announcement-list ul li a {
    color: #333;
    text-decoration: none;
    flex: 1;
}

.announcement-list ul li:hover {
    background: #f0f8ff;
    padding-left: 5px;
}

.announcement-list ul li .date {
    color: #999;
    font-size: 12px;
    margin-left: 15px;
    white-space: nowrap;
}

.pagination {
    display: flex;
    justify-content: center;
    padding-left: 0;
    margin: 20px 0 0 0;
    list-style: none;
    flex-wrap: wrap;
}

.pagination li {
    margin: 0 3px;
}

.pagination li a,
.pagination li span {
    color: #88D3A0;
    border-radius: 4px;
    border: 1px solid #ddd;
    padding: 5px 10px;
    min-width: 32px;
    text-align: center;
    display: block;
}

.pagination li.active a {
    background-color: #88D3A0;
    color: #fff;
    border-color: #88D3A0;
}

.pagination li.disabled a {
    color: #ccc;
    cursor: not-allowed;
}

.contact-page h2 {
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-page .contact-list li {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.contact-page .contact-list .label {
    width: 90px;
    font-weight: 600;
    color: #333;
}

.contact-page .contact-list .value {
    flex: 1;
    color: #555;
}

.contact-page .wechat-row {
    position: relative;
}

.contact-page .wechat-qrcode {
    width: 80px;
    height: 80px;
    margin-left: 10px;
    border: 1px solid #eee;
    background: #fff;
    padding: 4px;
    transition: transform .2s, box-shadow .2s;
    cursor: zoom-in;
}

.contact-page .wechat-qrcode:hover {
    transform: scale(1.8);
    box-shadow: 0 10px 30px rgba(0,0,0,.2);
    z-index: 10;
}

.contact-page .contact-input {
    margin-top: 20px;
}

.contact-page .contact-input label {
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

.contact-page .contact-input .form-control {
    border-radius: 4px;
    border: 1px solid #ddd;
    box-shadow: none;
    height: 36px;
}

.contact-page .contact-input .btn-primary {
    margin-top: 10px;
    margin-bottom: 10px;
    background: #88D3A0;
    border-color: #88D3A0;
    padding: 6px 20px;
    border-radius: 20px;
    transition: all 0.2s;
}

.contact-page .contact-input .btn-primary:hover {
    background: #6fbf8a;
    border-color: #6fbf8a;
}

.content-container h1 {
    margin-top: 20px;
    font-size: 26px;
    font-weight: 600;
}

.content-container h3 {
    margin-top: 30px;
    font-weight: 600;
}

.content-container h4 {
    margin-top: 25px;
    font-weight: 600;
}

.content-container img {
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-top: 10px;
}

.content-container p {
    line-height: 1.8;
    font-size: 15px;
}

.content-container a {
    color: #337ab7;
}

.content-container a:hover {
    text-decoration: underline;
}
