/* 协议页面样式 - 支持国际化 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
}

/* 导航栏样式 - 与主页面保持一致 */
.headerNav {
    width: 100%;
    overflow: hidden;
    border-bottom: 1px solid #303844;
    background-color: #000000;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.headerContent {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.headerIcon {
    flex: 1;
    display: flex;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.headerIcon .icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(90deg, #833AB4 0%, #FD1D1D 50%, #FCAF45 100%);
    border-radius: 8px;
    font-family: PingFangSC, PingFang SC;
    font-weight: 600;
    font-size: 14px;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.headerAction {
    display: flex;
    align-items: center;
}

.location {
    font-size: 14px;
    font-weight: 400;
    color: #B0B0B0;
    margin-right: 24px;
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 8px;
}

.location img {
    display: block;
    height: 14px;
    margin-right: 5px;
}

.button {
    padding: 8px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #9333EA 0%, #EC4899 50%, #FB923C 100%);
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* 主要内容区域 */
.content-wrapper {
    padding: 60px 0;
    min-height: calc(100vh - 200px);
}

.contentWidth {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 标签页样式 */
.agreement-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-button {
    background-color: #1a1a1a;
    color: #ffffff;
    border: 2px solid #333333;
    outline: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 140px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tab-button:hover {
    background: linear-gradient(90deg, #9333EA 0%, #EC4899 50%, #FB923C 100%);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
}

.tab-button.active {
    background: linear-gradient(90deg, #9333EA 0%, #EC4899 50%, #FB923C 100%);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
}

/* 协议内容样式 */
.agreement-content {
    background-color: #0a0a0a;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid #333333;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffffff;
}

.tab-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 30px 0 15px 0;
    color: #667eea;
}

.tab-content p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #cccccc;
}

.tab-content strong {
    color: #ffffff;
}

/* 协议操作区域 */
.agreement-actions {
    background-color: #0a0a0a;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    border: 1px solid #333333;
}

.checkbox-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 25px;
    cursor: pointer;
    font-size: 16px;
    color: #cccccc;
}

.checkbox-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #667eea;
    cursor: pointer;
}

.accept-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

.accept-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.accept-button:active {
    transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .headerContent {
        flex-direction: column;
        gap: 20px;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .agreement-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-button {
        width: 100%;
        max-width: 300px;
    }
    
    .agreement-content {
        padding: 25px;
    }
    
    .agreement-actions {
        padding: 25px;
    }
    
    .tab-content h2 {
        font-size: 24px;
    }
    
    .tab-content h3 {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .content-wrapper {
        padding: 40px 0;
    }
    
    .agreement-content {
        padding: 20px;
        border-radius: 12px;
    }
    
    .agreement-actions {
        padding: 20px;
        border-radius: 12px;
    }
    
    .page-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .tab-content h2 {
        font-size: 20px;
    }
    
    .tab-content h3 {
        font-size: 16px;
    }
    
    .accept-button {
        padding: 12px 30px;
        font-size: 14px;
        min-width: 160px;
    }
}

/* 深色主题优化 */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #000000;
        color: #ffffff;
    }
    
    .agreement-content,
    .agreement-actions {
        background-color: #0a0a0a;
        border-color: #333333;
    }
    
    .tab-button {
        background-color: #1a1a1a;
        border-color: #333333;
        color: #ffffff;
    }
    
    .tab-button:hover {
        background-color: #2a2a2a;
        border-color: #667eea;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 加载动画 */
.agreement-container {
    animation: fadeIn 0.6s ease-out;
}

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