[v-cloak] {
    display: none;
}

/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f5f7fa;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.nav-content {
    max-width: 794px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.nav-brand {
    display: flex;
    flex-direction: column;
}

.brand-text {
    font-size: 20px;
    font-weight: 700;
    color: #007b86;
    line-height: 1.2;
}

.brand-subtitle {
    font-size: 13px;
    color: #555;
    font-weight: 500;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #007b86;
    background: rgba(0, 123, 134, 0.1);
}

.nav-links a.active {
    color: #007b86;
    background: rgba(0, 123, 134, 0.15);
    font-weight: 600;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: #007b86;
    border-radius: 3px;
}

/* 加载动画 */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #f5f7fa;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeOut 0.5s ease 1s forwards;
}

.loading-spinner {
    text-align: center;
    color: white;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; visibility: hidden; }
}

/* 主要内容 */
.main-content {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.content-loaded {
    opacity: 1;
    transform: translateY(0);
}

#app {
    background-color: #fff;
    width: 794px;
    min-height: 1124px;
    margin: 80px auto 62px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    padding: 80px 40px 40px 40px;
    font-size: 13px;
    font-weight: 400;
    color: #333;
    border-radius: 12px;
    position: relative;
}

/* 头部信息 */
.header-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.head {
    padding-top: 25px;
}

.head img {
    width: 120px;
    height: 120px;
    border-radius: 60px;
    border: 4px solid #007b86;
    box-shadow: 0 8px 25px rgba(0, 123, 134, 0.3);
    transition: transform 0.3s ease;
}

.head img:hover {
    transform: scale(1.05);
}

.info {
    padding-top: 20px;
}

.info .name {
    font-size: 32px;
    font-weight: 700;
    color: #007b86;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.info img {
    display: inline-block;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    margin-right: 6px;
    opacity: 0.7;
}

.contact-info, .job-info {
    margin-bottom: 8px;
    line-height: 1.8;
    color: #444;
    font-size: 14px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 0;
}

.info-item {
    margin-right: 8px;
    font-weight: 500;
    white-space: nowrap;
}

.info-divider {
    color: #ccc;
    margin: 0 4px;
    font-weight: 300;
}

.info-divider {
    color: #ddd;
    margin: 0 5px;
}

/* 标题样式 */
.large-title {
    width: 100%;
    height: 40px;
    line-height: 40px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    position: relative;
    margin-top: 35px;
    margin-bottom: 20px;
}

.large-title .title {
    display: flex;
}

.large-title .title .text {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #007b86 0%, #00a8b5 100%);
    padding-left: 20px;
    border-top-left-radius: 8px;
    letter-spacing: 2px;
}

.large-title .title .color {
    margin: 0;
    padding: 0;
    width: 74px;
    height: 40px;
    background: url(../img/title-bg.png) no-repeat;
    margin-left: -1px;
}

.large-title:after {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    content: "";
    background: linear-gradient(270deg, #fff, rgba(0, 123, 134, .6));
}

/* 内容区域 */
.content {
    margin: 15px;
    line-height: 28px;
    display: inline-block;
    white-space: pre-line;
    word-break: break-word;
    color: #444;
    font-size: 13px;
}

/* 小标题 */
.little-title {
    margin: 15px 10px;
    margin-bottom: 8px;
    padding: 12px 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    border-left: 4px solid #007b86;
}

.company-name, .project-name, .school-name {
    color: #007b86;
    font-size: 15px;
}

.position-name {
    color: #555;
    font-weight: 500;
}

.duration {
    color: #888;
    font-size: 12px;
}

.level, .professional {
    color: #666;
}

/* 列表样式 */
ul, li {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tag li {
    line-height: 30px;
    display: inline-block;
    margin-right: 20px;
    margin-bottom: 10px;
    padding: 6px 16px;
    background: linear-gradient(135deg, #007b86 0%, #00a8b5 100%);
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    white-space: pre-line;
    word-break: break-word;
    box-shadow: 0 3px 10px rgba(0, 123, 134, 0.3);
    transition: transform 0.3s ease;
}

.tag li:hover {
    transform: translateY(-2px);
}

/* 区域动画 */
.section {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.section:nth-child(1) { animation-delay: 0.1s; }
.section:nth-child(2) { animation-delay: 0.2s; }
.section:nth-child(3) { animation-delay: 0.3s; }
.section:nth-child(4) { animation-delay: 0.4s; }
.section:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 底部 */
.footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
    text-align: center;
    color: #888;
    font-size: 14px;
    font-style: italic;
}

/* 响应式设计 */
@media (max-width: 850px) {
    #app {
        width: 95%;
        margin: 70px auto 20px;
        padding: 60px 20px 30px 20px;
    }

    .nav-content {
        padding: 0 20px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 5px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links a {
        display: block;
        padding: 12px 15px;
        font-size: 14px;
    }

    /* 头像和信息栏垂直排列 */
    .header-section {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .header-section .el-row {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .header-section .el-col {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }

    .head {
        display: flex;
        justify-content: center;
        padding-top: 0;
        margin-bottom: 20px;
    }

    .head img {
        width: 100px;
        height: 100px;
        border-radius: 50px;
    }

    .info {
        text-align: center;
        padding-top: 0;
    }

    .info .name {
        text-align: center;
        font-size: 28px;
        margin-bottom: 12px;
    }

    .contact-info, .job-info {
        text-align: center;
        justify-content: center;
    }

    .info-item {
        display: inline-block;
        margin-right: 6px;
    }

    .little-title .el-col {
        display: block;
        width: 100% !important;
        margin-bottom: 5px;
    }
}

@media (max-width: 480px) {
    #app {
        padding: 50px 15px 20px 15px;
        margin: 65px auto 15px;
    }

    .head img {
        width: 80px;
        height: 80px;
        border-radius: 40px;
    }

    .info .name {
        font-size: 24px;
        margin-bottom: 12px;
    }

    /* 基本信息紧凑布局 */
    .contact-info, .job-info {
        font-size: 12px;
        line-height: 1.4;
        margin-bottom: 4px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1px 0;
    }

    .info-item {
        margin-right: 3px;
        font-size: 12px;
    }

    .info-divider {
        margin: 0 1px;
        color: #ddd;
    }

    /* 电话和邮箱图标调整 */
    .contact-info img, .job-info img {
        width: 12px;
        height: 12px;
        margin-right: 2px;
    }

    .large-title .title .text {
        font-size: 16px;
        padding-left: 12px;
    }

    .content {
        margin: 10px 5px;
        line-height: 24px;
        font-size: 12px;
    }
}
