/* Terms of Service Page Styles - 暗色琉璃主题兼容版 */
.terms-of-service-section {
    padding: 40px 0;
    background: transparent; /* 使用base.html的暗色琉璃背景 */
    min-height: calc(100vh - 200px);
}

.terms-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;
    background: var(--glass-bg-medium);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border-medium);
    border-radius: 16px;
    box-shadow: var(--shadow-medium);
}

.terms-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 10px;
    font-weight: 600;
    background: var(--neon-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.terms-update-date {
    text-align: center;
    color: var(--text-dim);
    font-style: italic;
    margin-bottom: 40px;
    font-size: 1rem;
}

.terms-content {
    line-height: 1.8;
    color: var(--text-muted);
}

.terms-intro {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-muted);
}

.terms-content h2 {
    color: var(--neon-primary);
    margin: 40px 0 20px 0;
    font-size: 1.8rem;
    font-weight: 600;
    border-bottom: 2px solid var(--glass-border-light);
    padding-bottom: 10px;
}

.terms-content h2:first-child {
    margin-top: 0;
}

.terms-content p {
    margin-bottom: 20px;
    font-size: 1rem;
    color: var(--text-muted);
}

.terms-content ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.terms-content li {
    margin-bottom: 8px;
    color: var(--text-muted);
}

.terms-content strong {
    color: var(--text-light);
    font-weight: 600;
}

.terms-content code {
    background-color: var(--glass-bg-light);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: var(--neon-accent);
}

.terms-contact {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border-light);
}

.terms-contact hr {
    margin-bottom: 30px;
    border-color: var(--glass-border-light);
}

.terms-contact p {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .terms-container {
        padding: 20px;
        margin: 20px;
    }
    
    .terms-title {
        font-size: 2rem;
    }
    
    .terms-content h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .terms-container {
        padding: 15px;
        margin: 10px;
    }
    
    .terms-title {
        font-size: 1.8rem;
    }
    
    .terms-content h2 {
        font-size: 1.3rem;
    }
    
    .terms-content {
        font-size: 0.95rem;
    }
}
