body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 20px;
    color: #333;
}

.section {
    border-radius: 8px;
    padding: 20px;
    max-width: 600px;
    margin: 0 auto 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 16px; 
    font-weight: bold;
    margin-bottom: 20px;
}

.shortcut-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px; 
    justify-content: flex-start; 
}

.shortcut-item {
    text-align: center;
    box-sizing: border-box;
}

/* 手机端样式，4个一组 */
@media (max-width: 767px) {
    .shortcut-item {
        width: calc(25% - 5px); 
    }
}

/* 电脑端样式，6个一组 */
@media (min-width: 768px) {
    .shortcut-item {
        width: calc(16.666% - 5px); 
    }
}

.shortcut-item a {
    display: block;
    color: #333;
    padding: 10px; 
    border-radius: 8px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.shortcut-item a:hover {
    color: #45a049;
}

.shortcut-item i {
    font-size: 24px; 
    margin-bottom: 5px;
}

/* 调整手机端图标名字字体大小 */
@media (max-width: 767px) {
    .shortcut-item div {
        font-size: 12px; 
    }
}
.footer {
    background-color: #fff;
    padding: 20px 0;
    margin-top: 40px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.footer-content p {
    margin: 0;
    padding: 0 5px;
}

.footer-content p:not(:last-child)::after {
    content: "|";
    margin-left: 5px;
    color: #666;
}

.footer-img {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 5px;
}

.footer-content a {
    color: #2196F3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-content a:hover {
    color: #1976D2;
}
    color: #666;
}

.footer-content p {
    margin: 5px 0;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
}

@media (max-width: 767px) {
    .footer {
        display: none;
    }
}

@media (min-width: 768px) {
    .footer-content {
        font-size: 14px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 5px;
    }
    .footer-content p {
        margin: 5px 0;
    }
    .footer-content p:not(:last-child)::after {
        content: "|";
        margin-left: 5px;
        color: #666;
    }
    .footer-img {
        margin-right: 5px;
    }
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%); 
}

/* 默认宽度，适用于PC端 */
@media (min-width: 768px) {
    .modal-content {
        width: 30%;
    }
}

/* 手机端宽度 */
@media (max-width: 767px) {
    .modal-content {
        width: 80%;
    }
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.modal-options a {
    text-decoration: none;
    color: #333;
    padding: 10px;
    border-radius: 8px;
    transition: color 0.3s ease;
}

.modal-options a:hover {
    color: #45a049;
    background-color: #f4f4f4;
}