/* ===== 页脚政策链接 ===== */
.recharge-footer-v2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 40px 0 32px;
}

.footer-link-v2 {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link-v2:hover {
    color: rgba(255, 255, 255, 0.7);
}

.footer-sep-v2 {
    color: rgba(255, 255, 255, 0.15);
    font-size: 13px;
    user-select: none;
}

/* ===== 政策弹窗 ===== */
.policy-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.policy-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.policy-modal {
    background: #1a1a2e;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    width: 90%;
    max-width: 640px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
    transform: translateY(20px);
    transition: transform 0.3s;
}

.policy-modal-overlay.active .policy-modal {
    transform: translateY(0);
}

.policy-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px 0;
    flex-shrink: 0;
}

.policy-modal-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.policy-modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: none;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 22px;
    cursor: pointer;
    transition: all 0.2s;
}

.policy-modal-close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.policy-modal-body {
    padding: 20px 28px 28px;
    overflow-y: auto;
    flex: 1;
}

.policy-modal-body .policy-meta {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
    margin: 0 0 20px;
}

.policy-modal-body h4 {
    font-family: 'Poppins', 'Noto Sans SC', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #c9ff85;
    margin: 24px 0 8px;
}

.policy-modal-body h4:first-of-type {
    margin-top: 0;
}

.policy-modal-body p {
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin: 0 0 8px;
}

.policy-modal-body ul {
    margin: 0 0 8px;
    padding-left: 20px;
}

.policy-modal-body li {
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
    margin-bottom: 4px;
}

.policy-modal-body::-webkit-scrollbar {
    width: 5px;
}

.policy-modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.policy-modal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 3px;
}

.policy-modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ===== 亮色主题 ===== */
[data-theme="light"] .footer-link-v2 {
    color: #94a3b8;
}
[data-theme="light"] .footer-link-v2:hover {
    color: #1a1a1a;
}
[data-theme="light"] .footer-sep-v2 {
    color: #cbd5e1;
}
[data-theme="light"] .policy-modal-overlay {
    background: rgba(0, 0, 0, 0.35);
}
[data-theme="light"] .policy-modal {
    background: #ffffff;
    border-color: #e5e7eb;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.15);
}
[data-theme="light"] .policy-modal-header h3 {
    color: #1a1a1a;
}
[data-theme="light"] .policy-modal-close {
    background: #f4f4f5;
    color: #64748b;
}
[data-theme="light"] .policy-modal-close:hover {
    background: #e5e7eb;
    color: #1a1a1a;
}
[data-theme="light"] .policy-modal-body .policy-meta {
    color: #94a3b8;
}
[data-theme="light"] .policy-modal-body h4 {
    color: #15803d;
}
[data-theme="light"] .policy-modal-body p {
    color: #475569;
}
[data-theme="light"] .policy-modal-body li {
    color: #64748b;
}
[data-theme="light"] .policy-modal-body::-webkit-scrollbar-thumb {
    background: #d1d5db;
}
[data-theme="light"] .policy-modal-body::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
