/* ===== 关于本站弹窗 ===== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    animation: modalFadeIn 0.25s ease;
}

.modal-overlay.active {
    display: flex;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: #ffffff;
    border-radius: 16px;
    max-width: 640px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 40px 36px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: modalSlideUp 0.3s ease;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #bbb;
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1;
    padding: 4px;
}

.modal-close:hover {
    color: #d4a017;
}

.modal-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f5d76e;
}

.modal-section {
    margin-bottom: 20px;
}

.modal-section h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #d4a017;
    margin-bottom: 12px;
}

.modal-section p {
    font-size: 0.92rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 8px;
}

.modal-section ul {
    list-style: none;
    padding: 0;
    margin: 8px 0 12px;
}

.modal-section ul li {
    font-size: 0.92rem;
    color: #555;
    line-height: 1.7;
    padding: 4px 0 4px 20px;
    position: relative;
}

.modal-section ul li::before {
    content: '·';
    position: absolute;
    left: 6px;
    color: #d4a017;
    font-weight: bold;
}

.modal-summary {
    font-weight: 500;
    color: #d4a017 !important;
    margin-top: 4px !important;
}

.modal-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 20px 0;
}

.modal-email {
    color: #d4a017;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.modal-email:hover {
    color: #c4900e;
    text-decoration: underline;
}

.modal-tip {
    font-size: 0.85rem !important;
    color: #bbb !important;
}

/* 弹窗滚动条美化 */
.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: transparent;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #e0e0e0;
    border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #ccc;
}
