/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 主题颜色变量 - 经典拟态默认 */
:root {
    /* 拟态设计基础变量 */
    --neumorph-color: #e0e5ec;
    --neumorph-shadow-light: 6px 6px 12px rgba(163, 177, 198, 0.6), -6px -6px 12px rgba(255, 255, 255, 0.5);
    --neumorph-shadow-inset: inset 2px 2px 5px rgba(163, 177, 198, 0.6), inset -2px -2px 5px rgba(255, 255, 255, 0.5);
    --neumorph-shadow-pressed: 2px 2px 5px rgba(163, 177, 198, 0.6), -2px -2px 5px rgba(255, 255, 255, 0.5), inset 2px 2px 5px rgba(163, 177, 198, 0.6), inset -2px -2px 5px rgba(255, 255, 255, 0.5);
    
    /* 主色调 */
    --primary-color: #667eea;
    --primary-dark: #5a6fd8;
    --primary-light: #7a8ffa;
    
    /* 辅助色 */
    --secondary-color: #ec4899;
    --secondary-dark: #db2777;
    --secondary-light: #f472b6;
    
    /* 中性色 */
    --bg-primary: var(--neumorph-color);
    --bg-secondary: var(--neumorph-color);
    --bg-tertiary: var(--neumorph-color);
    --bg-gradient: var(--neumorph-color);
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-tertiary: #64748b;
    --border-color: transparent;
    --shadow-sm: var(--neumorph-shadow-light);
    --shadow-md: var(--neumorph-shadow-light);
    --shadow-lg: var(--neumorph-shadow-light);
    
    /* 间距变量 - 更加紧凑的设计 */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1.25rem;
    --spacing-lg: 1.75rem;
    --spacing-xl: 2.25rem;
    --spacing-xxl: 2.75rem;
    
    /* 圆角变量 */
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;
}

/* 深色拟态方案 */
body.dark-neumorph {
    --neumorph-color: #2d3748;
    --neumorph-shadow-light: 8px 8px 16px rgba(0, 0, 0, 0.3), -8px -8px 16px rgba(45, 55, 72, 0.8);
    --neumorph-shadow-inset: inset 4px 4px 8px rgba(0, 0, 0, 0.3), inset -4px -4px 8px rgba(45, 55, 72, 0.8);
    --neumorph-shadow-pressed: 2px 2px 5px rgba(0, 0, 0, 0.3), -2px -2px 5px rgba(45, 55, 72, 0.8), inset 4px 4px 8px rgba(0, 0, 0, 0.3), inset -4px -4px 8px rgba(45, 55, 72, 0.8);
    
    --text-primary: #e2e8f0;
    --text-secondary: #cbd5e0;
    --text-tertiary: #a0aec0;
}

/* 渐变拟态方案 */
body.gradient-neumorph {
    --neumorph-color: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --bg-primary: #f0f4f8;
    --bg-secondary: #f0f4f8;
    --bg-tertiary: #f0f4f8;
    --bg-gradient: #f0f4f8;
    --neumorph-shadow-light: 6px 6px 12px rgba(163, 177, 198, 0.6), -6px -6px 12px rgba(255, 255, 255, 0.5);
    --neumorph-shadow-inset: inset 2px 2px 5px rgba(163, 177, 198, 0.6), inset -2px -2px 5px rgba(255, 255, 255, 0.5);
    --neumorph-shadow-pressed: 2px 2px 5px rgba(163, 177, 198, 0.6), -2px -2px 5px rgba(255, 255, 255, 0.5), inset 2px 2px 5px rgba(163, 177, 198, 0.6), inset -2px -2px 5px rgba(255, 255, 255, 0.5);
}

/* 字体设置 */
body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-gradient);
    overflow-x: hidden;
    font-size: 16px;
    transition: all 0.3s ease;
}

/* 拟态容器基础样式 */
.neumorph {
    background: var(--neumorph-color);
    border-radius: var(--radius-md);
    box-shadow: var(--neumorph-shadow-light);
    transition: all 0.3s ease;
}

.neumorph-inset {
    background: var(--neumorph-color);
    border-radius: var(--radius-md);
    box-shadow: var(--neumorph-shadow-inset);
    transition: all 0.3s ease;
}

.neumorph:hover {
    box-shadow: var(--neumorph-shadow-pressed);
}

/* 拟态按钮样式 */
.btn-neumorph {
    background: var(--neumorph-color);
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--neumorph-shadow-light);
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-neumorph:hover {
    box-shadow: var(--neumorph-shadow-pressed);
    transform: translateY(2px);
}

.btn-neumorph:active {
    box-shadow: var(--neumorph-shadow-inset);
    transform: translateY(0);
}

/* 全局容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* 标题样式 */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Serif SC', serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

/* 段落样式 */
p {
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
}

/* 链接样式 */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* 导航栏样式 */
.navbar {
    background: var(--neumorph-color);
    box-shadow: var(--neumorph-shadow-light);
    position: sticky;
    top: 0;
    z-index: 1001;
    padding: calc(var(--spacing-sm) * 0.75) 0;
    transition: all 0.3s ease;
    border-bottom: none;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Noto Serif SC', serif;
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--primary-dark);
}

.logo i {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* Logo打字特效样式 */
.logo-text {
    position: relative;
    display: inline-block;
    min-height: 1.2em;
    white-space: nowrap;
    overflow: hidden;
}

.logo-text::after {
    content: '|';
    position: absolute;
    right: -8px;
    top: 0;
    color: var(--secondary-color);
    animation: logo-blink 0.7s infinite;
    font-weight: bold;
    font-size: 1.35rem;
}

/* Logo光标闪烁动画 */
@keyframes logo-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* 打字完成后隐藏光标 */
.logo-text.completed::after {
    display: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: var(--spacing-xs) 0;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* 语言切换器样式 */
.language-switcher {
    display: flex;
    gap: var(--spacing-xs);
    margin-right: var(--spacing-sm);
    background: var(--neumorph-color);
    border-radius: var(--radius-md);
    box-shadow: var(--neumorph-shadow-light);
    padding: var(--spacing-xs);
    transition: all 0.3s ease;
}

.language-btn {
    background: var(--neumorph-color);
    border: none;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: var(--neumorph-shadow-light);
}

.language-btn:hover {
    color: var(--primary-color);
    box-shadow: var(--neumorph-shadow-pressed);
    transform: translateY(1px);
}

.language-btn.active {
    color: var(--primary-color);
    box-shadow: var(--neumorph-shadow-pressed);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.language-btn i {
    font-size: 0.9rem;
    pointer-events: none;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 移动端导航切换按钮 */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: var(--spacing-xs);
    transition: all 0.3s ease;
    border-radius: var(--radius-sm);
}

.nav-toggle:hover {
    color: var(--primary-color);
    background: var(--bg-tertiary);
}

.nav-toggle i {
    pointer-events: none;
}

/* 章节标题 */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin: var(--spacing-xl) 0 var(--spacing-md);
    color: var(--text-primary);
    position: relative;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    margin: calc(var(--spacing-sm) * 0.75) auto 0;
    border-radius: var(--radius-sm);
}

/* 封面区域 */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    border-radius: 0 0 50px 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.intro-text {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-image {
    width: 200px;
    height: 200px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: scale(1.05);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 内容盒子 */
.content-box {
    background: var(--neumorph-color);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--neumorph-shadow-light);
    margin-bottom: var(--spacing-lg);
    transition: all 0.3s ease;
}

.content-box:hover {
    box-shadow: var(--neumorph-shadow-pressed);
}

/* 引言区域 */
.intro {
    margin-bottom: 3rem;
}

.intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

/* 信息卡片 */
.info-card {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: #fafbfc;
    border-radius: 15px;
    border-left: 4px solid #667eea;
}

.info-card:last-child {
    margin-bottom: 0;
}

.card-title {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: #34495e;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-title i {
    color: #667eea;
}

/* 基本信息网格 */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.label {
    font-size: 0.9rem;
    color: #7f8c8d;
    font-weight: 500;
}

.value {
    font-size: 1.1rem;
    color: #2c3e50;
    font-weight: 600;
}

/* 性格特质文本 */
.character-text, .life-text, .future-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    text-align: justify;
}

/* 爱好网格 */
.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.hobby-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.hobby-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hobby-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.hobby-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #34495e;
}

.hobby-item p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* 个人名片样式 */
.personal-card {
    background: var(--neumorph-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--neumorph-shadow-light);
    margin: var(--spacing-lg) auto var(--spacing-xl);
    max-width: 950px;
    position: relative;
    z-index: 100;
    overflow: hidden;
    transition: all 0.3s ease;
}

.personal-card:hover {
    box-shadow: var(--neumorph-shadow-pressed);
}

.personal-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--spacing-lg);
    gap: var(--spacing-sm);
    position: relative;
    z-index: 1;
    text-align: center;
}

/* 头像样式 */
.card-avatar {
    width: 160px;
    height: 160px;
    border-radius: var(--radius-full);
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.25), 0 0 0 1px rgba(102, 126, 234, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    margin: 0;
}

.card-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.35), 0 0 0 1px rgba(102, 126, 234, 0.25);
}

.card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-avatar:hover img {
    transform: scale(1.05);
}

/* 个人信息样式 */
.card-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0;
    width: 100%;
}

.card-name {
    font-size: 2.2rem;
    margin: 0;
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.3px;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Noto Serif SC', serif;
}

.card-subtitle {
    font-size: 1.1rem;
    color: var(--text-tertiary);
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.2px;
    opacity: 0.9;
    font-family: 'Noto Sans SC', sans-serif;
}

/* 打字特效文本样式 */
.typing-text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin: 0.5rem 0 0;
    font-weight: 400;
    letter-spacing: 0.1px;
    opacity: 0.95;
    font-family: 'Noto Sans SC', sans-serif;
    min-height: 1.5rem;
    position: relative;
    display: inline-block;
}

/* 打字光标样式 */
.typing-text::after {
    content: '|';
    position: absolute;
    right: -8px;
    bottom: 0;
    color: var(--primary-color);
    animation: blink 0.7s infinite;
    font-weight: bold;
}

/* 光标闪烁动画 */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* 打字完成后隐藏光标 */
.typing-text.completed::after {
    display: none;
}

/* 基本信息网格 - 电脑端优化 */
.basic-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: var(--neumorph-color);
    border-radius: var(--radius-md);
    box-shadow: var(--neumorph-shadow-inset);
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

/* 让最后两个项目在下排居中 */
.basic-info-grid :nth-child(4),
.basic-info-grid :nth-child(5) {
    grid-row: 2;
}

.basic-info-grid :nth-child(4) {
    grid-column: 1 / span 1;
    justify-self: end;
    width: calc(100% - 0.5rem);
}

.basic-info-grid :nth-child(5) {
    grid-column: 2 / span 2;
    justify-self: start;
    width: calc(100% - 0.5rem);
}

.basic-info-grid:hover {
    box-shadow: var(--neumorph-shadow-pressed);
}

.basic-info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: var(--spacing-sm);
    border-radius: var(--radius-sm);
    background: var(--neumorph-color);
    box-shadow: var(--neumorph-shadow-light);
    font-family: 'Noto Sans SC', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    flex-shrink: 1;
}

.basic-info-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--neumorph-shadow-pressed);
}

.basic-info-item i {
    color: var(--primary-color);
    font-size: 0.9rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
}

/* 移动端响应式设计 */
@media (max-width: 768px) {
    .basic-info-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: var(--spacing-sm);
        padding: var(--spacing-md);
    }
    
    /* 重置移动端的网格布局 */
    .basic-info-grid :nth-child(4),
    .basic-info-grid :nth-child(5) {
        grid-row: auto;
        grid-column: auto;
        justify-self: stretch;
        width: 100%;
    }
    
    .basic-info-item {
        font-size: 0.9rem;
        padding: var(--spacing-sm);
    }
}

/* 生活照片区域样式 */
.life-photos {
    width: 100%;
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    transition: all 0.3s ease;
    width: 100%;
}

.photos-title {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-weight: 600;
    letter-spacing: -0.2px;
    text-align: center;
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--neumorph-color);
    border-radius: var(--radius-full);
    box-shadow: var(--neumorph-shadow-light);
    max-width: 320px;
    margin: 0 auto var(--spacing-md);
    font-family: 'Noto Serif SC', serif;
}

.photos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-sm);
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-md);
    background: var(--neumorph-color);
    border-radius: var(--radius-md);
    box-shadow: var(--neumorph-shadow-inset);
}

.photo-item {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--neumorph-shadow-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--neumorph-color);
}

.photo-item:hover {
    transform: scale(1.08);
    box-shadow: var(--neumorph-shadow-pressed);
}

.thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.photo-item:hover .thumbnail {
    transform: scale(1.12);
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.35) 0%, rgba(236, 72, 153, 0.35) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.photo-item:hover .photo-overlay {
    opacity: 1;
}

.photo-overlay i {
    font-size: 1.6rem;
    color: white;
    background: transparent;
    -webkit-text-fill-color: white;
    transition: transform 0.3s ease;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.photo-item:hover .photo-overlay i {
    transform: scale(1.3);
}

/* 照片预览模态框 */
.photo-preview {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.photo-preview.active {
    opacity: 1;
    visibility: visible;
}

.preview-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.photo-preview.active .preview-content {
    transform: scale(1);
}

.preview-image {
    width: 100%;
    height: auto;
    display: block;
}

.close-preview {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-preview:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* 详细介绍区域 */
.detailed-info {
    margin: var(--spacing-lg) 0;
}

.info-section {
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: var(--neumorph-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--neumorph-shadow-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: var(--radius-full) 0 0 var(--radius-full);
}

.info-section:hover {
    box-shadow: var(--neumorph-shadow-pressed);
}

.info-section:last-child {
    margin-bottom: 0;
}

.section-subtitle {
    font-size: 1.4rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-weight: 600;
    letter-spacing: -0.3px;
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--neumorph-color);
    border-radius: var(--radius-md);
    box-shadow: var(--neumorph-shadow-inset);
    max-width: fit-content;
}

.section-subtitle i {
    color: var(--primary-color);
    font-size: 1.3rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 爱好网格 */
.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.hobby-item {
    background: var(--neumorph-color);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--neumorph-shadow-light);
    transition: all 0.3s ease;
    text-align: center;
}

.hobby-item:hover {
    box-shadow: var(--neumorph-shadow-pressed);
    transform: translateY(2px);
}

.hobby-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
    box-shadow: var(--neumorph-shadow-light);
}

/* 照片展示 */
.photo-gallery {
    margin: var(--spacing-xxl) 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: var(--neumorph-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--neumorph-shadow-inset);
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--neumorph-shadow-light);
    transition: all 0.3s ease;
    aspect-ratio: 4/3;
}

.gallery-item:hover {
    box-shadow: var(--neumorph-shadow-pressed);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 期待的你 */
.expect-card {
    padding: var(--spacing-lg);
    background: var(--neumorph-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--neumorph-shadow-light);
    position: relative;
    overflow: hidden;
}

.expect-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: var(--secondary-color);
    border-radius: var(--radius-full) 0 0 var(--radius-full);
}

.expect-intro {
    font-size: 1rem;
    margin-bottom: var(--spacing-lg);
    color: var(--text-secondary);
    text-align: center;
    padding: var(--spacing-sm);
    background: var(--neumorph-color);
    border-radius: var(--radius-md);
    box-shadow: var(--neumorph-shadow-inset);
}

.expect-list {
    list-style: none;
    padding: 0;
}

.expect-list li {
    padding: var(--spacing-sm) 0;
    padding-left: var(--spacing-lg);
    position: relative;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    transition: all 0.2s ease;
}

.expect-list li:hover {
    padding-left: calc(var(--spacing-lg) + 0.5rem);
    color: var(--text-primary);
}

.expect-list li i {
    position: absolute;
    left: 0;
    top: calc(var(--spacing-sm) + 0.1rem);
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* 未来畅想 */
.future-card {
    padding: var(--spacing-lg);
    background: var(--neumorph-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--neumorph-shadow-light);
    position: relative;
    overflow: hidden;
}

.future-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: #0ea5e9;
    border-radius: var(--radius-full) 0 0 var(--radius-full);
}

/* 联系方式 */
.contact-card {
    padding: var(--spacing-lg);
    background: var(--neumorph-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--neumorph-shadow-light);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: #22c55e;
    border-radius: var(--radius-full) 0 0 var(--radius-full);
}

.contact-intro {
    font-size: 1rem;
    margin-bottom: var(--spacing-lg);
    color: var(--text-secondary);
}

.contact-info {
    margin-bottom: var(--spacing-lg);
}

/* 二维码图片样式 */
.contact-qr-code {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--neumorph-shadow-light);
    transition: all 0.3s ease;
    margin: 0 auto;
    display: block;
}

/* 左右轻微抖动动画 */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-2px); }
    20%, 40%, 60%, 80% { transform: translateX(2px); }
}

/* 应用抖动动画 */
.shake-animation {
    animation: shake 2s ease-in-out infinite;
}

.contact-qr-code:hover {
    box-shadow: var(--neumorph-shadow-pressed);
    transform: scale(1.05);
    animation-play-state: paused;
}

.tips {
    background: var(--bg-primary);
    padding: var(--spacing-xs);
    border-radius: var(--radius-sm);
    display: inline-block;
    margin: 0 auto;
    box-shadow: var(--shadow-sm);
}

.tips p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin: 0;
}

.tips i {
    color: #f59e0b;
    font-size: 0.9rem;
}

/* 页脚 */
.footer {
    text-align: center;
    padding: var(--spacing-xl) 0;
    margin-top: var(--spacing-xl);
    color: var(--text-tertiary);
    font-size: 0.95rem;
    background: var(--neumorph-color);
    box-shadow: var(--neumorph-shadow-light);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    margin-left: var(--spacing-md);
    margin-right: var(--spacing-md);
}

.footer i {
    color: #fbbf24;
    margin-left: var(--spacing-xs);
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
    width: 50px;
    height: 50px;
    background: var(--neumorph-color);
    color: var(--primary-color);
    border: none;
    border-radius: var(--radius-full);
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--neumorph-shadow-light);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top:hover {
    box-shadow: var(--neumorph-shadow-pressed);
    transform: translateY(2px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* 底部悬浮联系按钮 */
.floating-contact-btn {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    animation: bounce 2s ease-in-out infinite;
    z-index: 1001;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    min-width: max-content;
}

.floating-contact-btn:hover {
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
    transform: translateX(-50%) translateY(-3px);
    color: white;
}

/* 上下跳动动画 */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-15px);
    }
    60% {
        transform: translateX(-50%) translateY(-7px);
    }
}

/* 主题切换器 */
.theme-switcher {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background: var(--neumorph-color);
    padding: var(--spacing-sm);
    border-radius: var(--radius-full);
    box-shadow: var(--neumorph-shadow-light);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    z-index: 1002;
}

.theme-option {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--neumorph-shadow-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.theme-option:hover {
    transform: scale(1.2);
    box-shadow: var(--neumorph-shadow-pressed);
}

.theme-option.active {
    box-shadow: var(--neumorph-shadow-pressed);
    transform: scale(1.1);
}

/* 经典拟态主题按钮 */
.theme-option.classic {
    background: #e0e5ec;
    color: #1e293b;
}

/* 深色拟态主题按钮 */
.theme-option.dark {
    background: #2d3748;
    color: #e2e8f0;
}

/* 渐变拟态主题按钮 */
.theme-option.gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 移动端导航栏 */
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1.5rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .intro-text {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .content-box {
        padding: 1.5rem;
    }
    
    /* 个人名片响应式设计 */
    .personal-card {
        margin: 1.5rem auto 2rem;
    }
    
    .personal-card-content {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
        gap: 2rem;
    }
    
    .card-avatar {
        width: 160px;
        height: 160px;
    }
    
    .card-name {
        font-size: 2rem;
    }
    
    .card-subtitle {
        font-size: 1.05rem;
    }
    
    .basic-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.25rem;
        max-width: 100%;
    }
    
    /* 生活照片区域响应式设计 */
    .life-photos {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }
    
    .photos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        max-width: 100%;
    }
    
    .photos-title {
        font-size: 1.2rem;
    }
    
    .photo-item {
        border-radius: 8px;
    }
    
    .basic-info-item {
        justify-content: center;
        font-size: 0.95rem;
    }
    
    .basic-info-item i {
        font-size: 1.1rem;
    }
    
    .hobbies-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .expect-list li {
        font-size: 1rem;
        padding-left: 2rem;
    }
    
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 2.5rem 0;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.7rem;
        margin: 2.5rem 0 1.5rem;
    }
    
    .content-box {
        padding: 1.2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-detail {
        font-size: 1.1rem;
    }
}

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

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-box {
    animation: fadeInUp 0.6s ease-out;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4090 100%);
}