/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
}

/* 背景图片 */
.page-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#bgImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 移动按钮 */
.mobile-btn {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 9999;
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    color: #fff;
    font-size: 18px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.mobile-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px) scale(1.08);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
    color: #00ff88;
}

.mobile-btn:active {
    transform: scale(0.92);
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.2);
}

.mobile-btn.active i {
    transform: rotate(90deg);
    color: #00ff88;
}

.mobile-btn i {
    transition: all 0.3s ease;
}

/* 容器 */
.container {
    width: 92%;
    max-width: 1100px;
    height: 100vh;
    margin: 0 auto;
    display: flex;
    position: relative;
}

/* 侧边栏 */
.sidebar {
    width: 260px;
    height: 100vh;
    padding: 30px 15px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    overflow-y: auto;
    scrollbar-width: none;
}

.sidebar::-webkit-scrollbar {
    display: none;
}

.avatar {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.info-row i {
    color: #00ff88;
}

.tag-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.tag {
    background: rgba(255, 255, 255, 0.15);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: #fff;
}

.timeline {
    position: relative;
    padding-left: 28px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 15px;
    bottom: 15px;
    width: 2px;
    background: rgba(255, 255, 255, 0.2);
}

.item {
    position: relative;
    margin-bottom: 22px;
}

.dot {
    position: absolute;
    left: -18px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
}

.item.active .dot {
    background: #00ff88;
    box-shadow: 0 0 8px #00ff88;
}

.item .con p {
    font-weight: bold;
    margin-bottom: 4px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.item .con small {
    color: rgba(255, 255, 255, 0.7);
}

/* 主内容 */
.main {
    flex: 1;
    height: 100vh;
    overflow-y: auto;
    padding: 50px 30px;
    scrollbar-width: none;
    overflow-x: hidden;
}

.main::-webkit-scrollbar {display:none;}

.main-inner {
    max-width: 720px;
    margin: 0 auto;
    width: 100%;
}

.profile {
    margin-bottom: 40px;
}

.profile h1 {
    font-size: 32px;
    margin-bottom: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.profile .name {
    color: #00ff88;
}

.bio {
    margin-top: 10px;
}

.bio p {
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.8);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.bio i {
    color: #00ff88;
    margin-right: 8px;
}

/* 章节 */
.section {
    margin-bottom: 40px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: bold;
    color: #00ff88;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* 邮件卡片 */
.email-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 表单样式 */
.form-group {
    margin-bottom: 15px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00ff88;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* 按钮样式 */
.btn {
    background: rgba(0, 255, 136, 0.2);
    border: 1px solid #00ff88;
    color: #00ff88;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.btn:hover {
    background: rgba(0, 255, 136, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.4);
}

.btn:active {
    transform: scale(0.95);
}

/* 状态信息 */
.status {
    margin-top: 15px;
    padding: 10px;
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
}

.status.success {
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.status.error {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

/* 页脚 */
footer {
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .mobile-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .container {
        width: 100%;
    }
    
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 999;
        transform: translateX(-100%);
        transition: 0.3s ease;
        background: rgba(0, 0, 0, 0.7);
        width: 280px;
    }
    
    .sidebar.show {
        transform: translateX(0);
    }
    
    .main {
        width: 100vw;
        padding: 80px 22px 20px 22px;
        overflow-x: hidden !important;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}