
/* Terms & Conditions 独立样式，与网站全局隔离，永不撑开页面 */
.dizik-terms-wrap {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    color: #2C3E50;
    line-height: 1.8;
    font-size: 16px;
    margin: 0 auto;
    padding: 40px 0 60px;
    position: relative; /* 新增：为回到顶部按钮提供定位参考 */
}

.dizik-terms-wrap h1 {
    color: #2e967F;
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
}

.dizik-terms-wrap h1::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: #2e967F;
    margin: 15px auto 0;
    border-radius: 2px;
}

.dizik-terms-wrap h2 {
    color: #2e967F;
    font-size: 1.5rem;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
    font-weight: 600;
}

.dizik-terms-wrap h3 {
    color: #2C3E50;
    font-size: 1.2rem;
    margin: 25px 0 15px;
    font-weight: 600;
}

.dizik-terms-wrap .terms-section {
    margin-bottom: 30px;
}

.dizik-terms-wrap .terms-item {
    margin-bottom: 18px;
    padding-left: 5px;
}

.dizik-terms-wrap .terms-item strong {
    color: #2e967F;
    font-weight: 600;
}

.dizik-terms-wrap .terms-note {
    background: #f8f9fa;
    border-left: 4px solid #2e967F;
    padding: 15px 20px;
    margin: 30px 0;
    border-radius: 4px;
}

.dizik-terms-wrap .contact-box {
    background: #f0f8f8;
    padding: 20px;
    border-radius: 8px;
    margin-top: 40px;
    text-align: center;
}

.dizik-terms-wrap a {
    color: #2e967F;
    text-decoration: none;
    font-weight: 500;
}

.dizik-terms-wrap a:hover {
    text-decoration: underline;
}

.dizik-terms-wrap * {
    box-sizing: border-box;
    max-width: 100% !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
}

/* 新增：Back to Top 按钮样式 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #2e967F;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(46, 150, 127, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999; /* 确保在最上层，不被遮挡 */
}

.back-to-top:hover {
    background: #257d69; /* hover深色变化，提升质感 */
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(46, 150, 127, 0.4);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}
