/* 底部声明样式 */
.footer-disclaimer {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    padding: 30px 20px 20px;
    margin-top: 50px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    line-height: 1.8;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-main-text {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-beian {
    margin-bottom: 12px;
    color: rgba(255, 215, 0, 0.6);
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-link {
    color: rgba(255, 215, 0, 0.8);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 5px 10px;
    border-radius: 4px;
}

.footer-link:hover {
    color: #FFD700;
    background: rgba(255, 215, 0, 0.1);
}

.footer-separator {
    color: rgba(255, 255, 255, 0.3);
}

/* 通用弹窗样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
    padding: 20px;
    overflow-y: auto;
}

.modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 16px;
    max-width: 800px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 100px rgba(255, 215, 0, 0.1) inset;
    animation: slideUp 0.4s ease;
    position: relative;
}

.modal-header {
    padding: 25px 30px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    z-index: 1;
}

.modal-title {
    font-size: 24px;
    font-weight: bold;
    color: #FFD700;
    margin: 0;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.modal-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: #FFD700;
    background: rgba(255, 215, 0, 0.1);
    transform: rotate(90deg);
}

.modal-body {
    padding: 30px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
}

.modal-body h2 {
    color: #FFD700;
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.modal-body h2:first-child {
    margin-top: 0;
}

.modal-body h3 {
    color: rgba(255, 215, 0, 0.9);
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.modal-body p {
    margin-bottom: 15px;
    text-indent: 2em;
}

.modal-body ul, .modal-body ol {
    margin-bottom: 15px;
    padding-left: 30px;
}

.modal-body li {
    margin-bottom: 8px;
}

.modal-body strong {
    color: rgba(255, 215, 0, 0.9);
}

.contact-info {
    background: rgba(255, 215, 0, 0.05);
    border-left: 3px solid #FFD700;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
}

.contact-info p {
    margin-bottom: 10px;
    text-indent: 0;
}

.contact-info strong {
    display: inline-block;
    min-width: 80px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 滚动条样式 */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(255, 215, 0, 0.3);
    border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 215, 0, 0.5);
}

/* 响应式 */
@media (max-width: 768px) {
    .footer-disclaimer {
        padding: 20px 15px 15px;
        font-size: 12px;
    }

    .footer-links {
        gap: 10px;
    }

    .modal-content {
        max-height: 90vh;
        margin: 10px;
    }

    .modal-header {
        padding: 20px;
    }

    .modal-title {
        font-size: 20px;
    }

    .modal-body {
        padding: 20px;
        font-size: 14px;
    }

    .modal-body h2 {
        font-size: 18px;
    }

    .modal-body h3 {
        font-size: 15px;
    }
}
