/* Content Page Styles - 用于纯文本描述内容呈现页面 */

/* 基础布局 */
.content-section {
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

.content-bg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background-color: var(--rose-100);
    border-radius: 50%;
    opacity: 0.2;
    filter: blur(80px);
    z-index: -10;
}

/* 页面头部 */
.content-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.content-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.content-header .subtitle {
    color: #666;
    font-size: 1.1rem;
}

/* 内容区域 */
.content-body {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* 内容卡片 */
.content-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.content-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.content-item h2 {
    color: var(--rose-600);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.content-item h2 i {
    margin-right: 0.5rem;
    color: var(--rose-400);
    font-size: 1.1rem;
}

.content-item p {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.content-item ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.content-item li {
    color: #555;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* 联系邮箱按钮 */
.contact-email {
    display: inline-block;
    background: linear-gradient(to right, var(--rose-500), var(--rose-400));
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.contact-email:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 63, 94, 0.3);
    color: white;
}

/* 页脚 */
.content-footer {
    text-align: center;
    margin-top: 3rem;
    color: #888;
    font-size: 0.9rem;
}

/* 语言切换器 */
.language-toggle {
    position: absolute;
    top: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
}

.toggle-container {
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    border-radius: 25px;
    position: relative;
    width: 100px;
    height: 40px;
    cursor: pointer;
    border: 2px solid var(--rose-200);
    transition: all 0.3s ease;
}

.toggle-container:hover {
    border-color: var(--rose-400);
}

.toggle-option {
    flex: 1;
    text-align: center;
    line-height: 36px;
    font-size: 14px;
    color: #6c757d;
    transition: color 0.3s ease;
    z-index: 1;
    font-weight: 500;
}

.toggle-option.active {
    color: white;
    font-weight: 600;
}

.toggle-slider {
    position: absolute;
    width: 50%;
    height: 36px;
    background: linear-gradient(to right, var(--rose-500), var(--rose-400));
    border-radius: 18px;
    transition: transform 0.3s ease;
}

.toggle-slider.en {
    transform: translateX(0);
}

.toggle-slider.zh {
    transform: translateX(100%);
}

/* 动画效果 */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

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

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

    .content-header {
        margin-bottom: 2rem;
        padding: 0 1rem;
    }

    .content-header h1 {
        font-size: 1.8rem;
    }

    .content-header .subtitle {
        font-size: 1rem;
    }

    .content-body {
        padding: 0 1rem;
    }

    .content-item {
        margin-bottom: 1.5rem;
        padding: 1.2rem;
    }

    .content-item h2 {
        font-size: 1.2rem;
    }

    .language-toggle {
        position: relative;
        top: auto;
        right: auto;
        justify-content: center;
        margin-bottom: 1.5rem;
    }
}

/* 工具类 */
.text-rose-400 {
    color: var(--rose-400);
}

.text-rose-500 {
    color: var(--rose-500);
}

.gradient-text {
    background: linear-gradient(to right, var(--rose-600), var(--rose-400));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
