/* 初始化样式 */
    *{
        padding: 0;
        margin: 0;
        /* font-family: "楷体"; */
        box-sizing: border-box;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }
/* 导航栏容器样式 */
    .list {
    /* 导航菜单右对齐 */
        float: right;
        /* 去除默认的列表项符号 */
        list-style-type: none;
        /* 增加外边距 */
        margin: 15px;
    }
    .list li{
        display: inline-block;
    }
    


/* 单独设置a标签样式 */   
/* 导航链接样式 */
    .navlist li a{
        text-decoration: none;
        font-size: 18px;
        color: #612000;
        padding: 5px 20px;
        border: 1px solid transparent;
        /* 定义悬停过度动画效果 */
        transition: .6s ease;
        /* 胶囊按钮样式 */
        border-radius: 20px;
    }
/* 鼠标悬停时，背景和文字颜色变化 */   
    .navlist li a:hover{
        background-color: #612000;
        color: #fff;
    }
/* 当前活动导航样式 */
    .navlist li.active a{
        /* 设置选中状态 */
        background-color: #612000;
        color: #fff;
    }
    :root {
        /* 更新栏左侧重点 */
        --primary: #612000;
        --secondary: #612000;
        --accent: #612000;
        --light: #f8f9ff;
        --dark: #612000;
        --gray: #612000;
        --transition: all 0.3s ease;
    }

    body {
        /* 主体部分背景颜色 */
        background: #FDF5E6;
        color: var(--dark);
        line-height: 1.6;
        min-height: 100vh;
        overflow-x: hidden;
    }

    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

    header {
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
        position: sticky;
        top: 0;
        z-index: 100;
        backdrop-filter: blur(10px);
    }

    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 0;
    }

    .logo {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--primary);
        text-decoration: none;
    }

    .logo i {
        color: var(--accent);
    }

    .nav-links {
        display: flex;
        gap: 30px;
    }

    .nav-links a {
        text-decoration: none;
        color: var(--dark);
        font-weight: 600;
        font-size: 1.1rem;
        position: relative;
        padding: 5px 0;
        transition: var(--transition);
    }

    .nav-links a:hover {
        color: var(--primary);
    }

    .nav-links a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 3px;
        background: var(--primary);
        transition: var(--transition);
    }

    .nav-links a:hover::after {
        width: 100%;
    }

    .active {
        color: var(--primary) !important;
    }

    .active::after {
        width: 100% !important;
    }
    /* 页面内容样式 */
        .page {
            padding: 80px 0;
            min-height: calc(100vh - 200px);
        }

        .page-header {
            text-align: center;
            margin-bottom: 50px;
        }

        .page-header h1 {
            font-size: 2.8rem;
            margin-bottom: 15px;
            color: var(--dark);
            position: relative;
            display: inline-block;
        }

        .page-header h1::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: var(--primary);
            border-radius: 2px;
        }

        .page-header p {
            color: var(--gray);
            font-size: 1.2rem;
            max-width: 700px;
            margin: 20px auto 0;
        }

        /* 首页样式 */
        .hero {
            display: flex;
            align-items: center;
            gap: 50px;
            padding: 60px 0;
        }

        .hero-content {
            flex: 1;
        }

        .hero-image {
            flex: 1;
            display: flex;
            justify-content: center;
            position: relative;
        }

        .hero-image .main-img {
            width: 100%;
            max-width: 400px;
            border-radius: 20px;
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
            border: 5px solid white;
            z-index: 2;
        }

        .hero-image .shape {
            position: absolute;
            z-index: 1;
        }

        .hero h1 {
            font-size: 3.2rem;
            margin-bottom: 20px;
            line-height: 1.2;
        }

        .hero h1 span {
            color: var(--primary);
            position: relative;
        }

        .hero h1 span::after {
            content: '';
            position: absolute;
            bottom: 5px;
            left: 0;
            width: 100%;
            height: 15px;
            background: rgba(108, 99, 255, 0.2);
            z-index: -1;
        }

        .hero p {
            font-size: 1.2rem;
            margin-bottom: 30px;
            color: var(--dark);
        }

        .card-image {
            height: 200px;
            background-size: contain;
            background-position: center;
            background-repeat: no-repeat;
        }

        .card-content {
            padding: 25px;
        }

        .card-content h3 {
            font-size: 1.5rem;
            margin-bottom: 15px;
            color: var(--dark);
        }

        .card-content p {
            color: var(--gray);
            margin-bottom: 20px;
        }
    .page {
        padding: 80px 0;
        min-height: calc(100vh - 200px);
    }

    .page-header {
        text-align: center;
        margin-bottom: 50px;
    }

    .page-header h1 {
        font-size: 2.8rem;
        margin-bottom: 15px;
        color: var(--dark);
        position: relative;
        display: inline-block;
    }

    .page-header h1::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: var(--primary);
        border-radius: 2px;
    }

    .page-header p {
        color: var(--gray);
        font-size: 1.2rem;
        max-width: 700px;
        margin: 20px auto 0;
    }

    .skills {
            margin-top: 50px;
        }

        .skill-category {
            margin-bottom: 30px;
        }

        .skill-category h3 {
            font-size: 1.5rem;
            margin-bottom: 15px;
            color: var(--primary);
        }

        .skill-bar {
            background: #e0e0e0;
            border-radius: 10px;
            height: 15px;
            margin-bottom: 20px;
            overflow: hidden;
            position: relative;
        }

        .skill-level {
            height: 100%;
            background: linear-gradient(90deg, var(--primary), var(--secondary));
            border-radius: 10px;
            position: relative;
        }

        .skill-level span {
            position: absolute;
            right: 10px;
            top: -25px;
            font-weight: 600;
            color: var(--primary);
        }

        .features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 80px;
        }

        .feature-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            transition: var(--transition);
            position: relative;
            z-index: 1;
        }

        .feature-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        }

/* 页脚样式 */
    footer {
        background: var(--dark);
        /* 关于本站+联系我字体颜色 */
        color: white;
        padding: 30px 0 30px;
        position: relative;
    }

    .footer-content {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 40px;
        margin-bottom: 40px;
    }

    .footer-column h3 {
        font-size: 1.5rem;
        margin-bottom: 20px;
        position: relative;
        padding-bottom: 10px;
    }

    .footer-column h3::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 50px;
        height: 3px;
        background: var(--primary);
    }

    .footer-column p {
        color: #bdc3c7;
        margin-bottom: 20px;
    }


    .footer-column ul {
        list-style: none;
    }

    .footer-column ul li {
        margin-bottom: 12px;
    }

    .footer-column ul li a {
        color: #bdc3c7;
        text-decoration: none;
        transition: var(--transition);
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .footer-column ul li a:hover {
        color: white;
        padding-left: 5px;
    }

    .copyright {
        text-align: center;
        padding-top: 30px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        color: #bdc3c7;
        font-size: 0.9rem;
    }

/* 响应式设计 */
@media (max-width: 900px) {
    .nav-links {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 20px;
        }
            
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
            
    .page-header h1 {
        font-size: 2.2rem;
    }
}