/* 主要内容样式 */
.terms-content {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.terms-content h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

/* 章节样式 */
.terms-section {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.terms-section h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.terms-section p {
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* 列表样式 */
.terms-section ul,
.terms-section ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.terms-section ul {
    list-style-type: disc;
}

.terms-section ol {
    list-style-type: decimal;
}

.terms-section li {
    color: var(--text-primary);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .terms-content {
        padding: 60px 0;
    }

    .terms-content h1 {
        font-size: 2rem;
    }

    .terms-section {
        padding: 1.5rem;
    }

    .terms-section h2 {
        font-size: 1.3rem;
    }
}

/* 链接样式 */
.terms-section a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.terms-section a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* 强调文本 */
.terms-section strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* 引用样式 */
.terms-section blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
    margin: 1rem 0;
    color: var(--text-secondary);
    font-style: italic;
}

/* 表格样式 */
.terms-section table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.terms-section th,
.terms-section td {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    text-align: left;
}

.terms-section th {
    background-color: var(--primary-light);
    color: var(--primary-color);
    font-weight: 600;
}

.terms-section tr:nth-child(even) {
    background-color: var(--bg-color);
}

/* 代码块样式 */
.terms-section pre {
    background-color: var(--bg-color);
    padding: 1rem;
    border-radius: 6px;
    overflow-x: auto;
    margin: 1rem 0;
}

.terms-section code {
    font-family: monospace;
    color: var(--text-primary);
}

/* 打印样式 */
@media print {
    .terms-content {
        padding: 0;
    }

    .terms-section {
        box-shadow: none;
        border: 1px solid var(--border-color);
    }

    .terms-section a {
        text-decoration: none;
        color: var(--text-primary);
    }
} 