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

html,
body {
    overflow-x: hidden;
    width: 100%;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
    margin: 0;
    padding: 0;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 30px;
    min-height: 100vh;
    position: relative;
    z-index: 1;
    overflow-x: hidden;
}

.header {
    text-align: center;
    margin-bottom: 30px;
    color: white;
    position: relative;
}

.header::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
    border-radius: 2px;
}

.header h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
}

.header p {
    font-size: 15px;
    opacity: 0.95;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.content-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    max-width: 100%;
    width: 100%;
    /* margin-left: 8px;
    margin-right: 8px; */
}

.content-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 20px 20px 0 0;
}

.content-section {
    display: none;
    padding: 28px 32px;
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: hidden;
    animation: fadeIn 0.5s ease-in-out;
}

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

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #2c3e50;
    position: relative;
    padding-bottom: 12px;
}

.content-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.content-text {
    font-size: 15px;
    line-height: 1.7;
    color: #34495e;
    text-align: justify;
    word-wrap: break-word;
    overflow-wrap: break-word;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.content-text p {
    margin-bottom: 18px;
    text-indent: 0;
}

.content-text h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 24px 0 12px 0;
    color: #2c3e50;
    position: relative;
    padding-left: 16px;
}

.content-text h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background: linear-gradient(180deg, #667eea, #764ba2);
    border-radius: 2px;
}

.content-text h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 20px 0 10px 0;
    color: #34495e;
}

.content-text ul {
    margin: 12px 0;
    padding-left: 24px;
}

.content-text li {
    margin-bottom: 10px;
    position: relative;
}

.content-text li::before {
    content: '•';
    color: #667eea;
    font-weight: bold;
    position: absolute;
    left: -16px;
}

.content-text strong {
    color: #2c3e50;
    font-weight: 600;
}

.privacy-link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    word-break: break-all;
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.privacy-link:hover {
    color: #5a6fd8;
    border-bottom-color: #667eea;
}

.privacy-link:active {
    color: #4a5fc8;
}

.footer {
    text-align: center;
    color: white;
    font-size: 13px;
    opacity: 0.9;
    margin-top: 30px;
    padding: 20px 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 1px;
}

.footer p {
    margin: 8px 0;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* 自定义滚动条 */
.content-section::-webkit-scrollbar {
    width: 6px;
}

.content-section::-webkit-scrollbar-track {
    background: rgba(241, 241, 241, 0.5);
    border-radius: 3px;
}

.content-section::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #667eea, #764ba2);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.content-section::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #5a6fd8, #6a4190);
    transform: scaleX(1.2);
}

/* xy盒子样式 */
.xy {
    padding: 0 12px;
    max-width: 100%;
    margin: 0 auto;
}

/* 响应式设计 */
@media (max-width: 480px) {
    .container {
        padding: 15px 20px;
    }
    
    .xy {
        padding: 0 10px;
    }

    .header h1 {
        font-size: 24px;
    }

    .header p {
        font-size: 14px;
    }

    .content-section {
        padding: 24px 26px;
        max-height: 65vh;
    }

    .content-title {
        font-size: 20px;
    }

    .content-text {
        font-size: 14px;
    }

    .content-container {
        border-radius: 16px;
    }
}

/* 添加一些微妙的动画效果 */
.content-container:hover {
    transform: translateY(-2px);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}