 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary-blue: #007dff;
            --light-blue: #4da6ff;
            --violet: #8a2be2;
            --teal: #20b2aa;
            --coral: #ff6b6b;
            --gold: #ffcc00;
            --bg-gradient-start: #f8f9ff;
            --bg-gradient-end: #e6f0ff;
            --card-bg: #ffffff;
            --text-primary: #2c3e50;
            --text-secondary: #7f8c8d;
            --border-light: #e6e6e6;
            --shadow-color: rgba(0, 0, 0, 0.08);
            --shadow-hover: rgba(0, 125, 255, 0.15);
            
            /* 响应式字体大小 */
            --font-size-base: 16px;
            --font-size-h1: 2.5rem;
            --font-size-h2: 2rem;
            --font-size-h3: 1.5rem;
            --font-size-body: 1rem;
        }

        body {
            font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
            background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
            color: var(--text-primary);
            line-height: 1.6;
            min-height: 100vh;
            padding: 20px;
            font-size: var(--font-size-body);
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }

        /* 响应式字体调整 */
        @media (max-width: 768px) {
            :root {
                --font-size-h1: 2rem;
                --font-size-h2: 1.75rem;
                --font-size-h3: 1.25rem;
                --font-size-body: 0.95rem;
            }
            body {
                padding: 10px;
            }
        }

        @media (max-width: 480px) {
            :root {
                --font-size-h1: 1.75rem;
                --font-size-h2: 1.5rem;
                --font-size-h3: 1.125rem;
                --font-size-body: 0.9rem;
            }
            body {
                padding: 5px;
            }
        }

        /* 头部区域 - 完全响应式 */
        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 25px 0;
            margin-bottom: 40px;
            position: relative;
            flex-wrap: wrap;
        }

        .header::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(90deg, var(--primary-blue), var(--violet), var(--teal));
            border-radius: 3px;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: var(--font-size-h2);
            font-weight: 700;
            background: linear-gradient(90deg, var(--primary-blue), var(--violet));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            margin-bottom: 10px;
        }

        .logo-icon {
            width: 42px;
            height: 42px;
            background: linear-gradient(135deg, var(--primary-blue), var(--violet));
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            box-shadow: 0 4px 10px rgba(0, 125, 255, 0.2);
        }

        /* 导航栏响应式设计 */
        .nav {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
        }

        .nav a {
            text-decoration: none;
            color: var(--text-primary);
            font-weight: 600;
            padding: 8px 16px;
            border-radius: 20px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            font-size: 0.95rem;
        }

        .nav a::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background: linear-gradient(90deg, var(--primary-blue), var(--teal));
            transform: translateX(-100%);
            transition: transform 0.3s ease;
        }

        .nav a:hover {
            color: var(--primary-blue);
            background-color: rgba(0, 125, 255, 0.05);
        }

        .nav a:hover::before {
            transform: translateX(0);
        }

        .nav a.active {
            color: white;
            background: linear-gradient(90deg, var(--primary-blue), var(--teal));
        }

        /* 移动端菜单按钮 */
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--primary-blue);
            cursor: pointer;
            padding: 5px;
        }

        /* 主要内容区域 - 响应式网格布局 */
        .main-content {
            display: grid;
            grid-template-columns: 1fr;
            gap: 30px;
            margin-bottom: 50px;
        }

        /* 平板尺寸 (768px-991px) */
        @media (min-width: 768px) {
            .main-content {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .profile-card {
                grid-column: 1 / -1;
            }
            
            .projects-card {
                grid-column: 1 / -1;
            }
        }

        /* 桌面尺寸 (992px以上) */
        @media (min-width: 992px) {
            .main-content {
                grid-template-columns: repeat(3, 1fr);
            }
            
            .profile-card {
                grid-column: 1 / -1;
            }
            
            .skills-card {
                grid-column: span 1;
            }
            
            .settings-card {
                grid-column: span 1;
            }
            
            .projects-card {
                grid-column: span 2;
            }
        }

        /* 卡片样式 - 响应式内边距 */
        .card {
            background-color: var(--card-bg);
            border-radius: 16px;
            padding: 25px;
            box-shadow: 0 6px 20px var(--shadow-color);
            transition: all 0.4s ease;
            border: 1px solid var(--border-light);
            position: relative;
            overflow: hidden;
            height: 100%;
        }

        .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 6px;
            height: 100%;
            background: linear-gradient(to bottom, var(--primary-blue), var(--teal));
        }

        .card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 30px var(--shadow-hover);
        }

        /* 小屏幕卡片调整 */
        @media (max-width: 480px) {
            .card {
                padding: 20px 15px;
            }
        }

        .card-title {
            font-size: var(--font-size-h3);
            font-weight: 700;
            margin-bottom: 20px;
            color: var(--text-primary);
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .card-title .icon {
            width: 36px;
            height: 36px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 16px;
            flex-shrink: 0;
        }

        .blue-icon {
            background: linear-gradient(135deg, var(--primary-blue), var(--light-blue));
        }

        .violet-icon {
            background: linear-gradient(135deg, var(--violet), #b19cd9);
        }

        .teal-icon {
            background: linear-gradient(135deg, var(--teal), #7fffd4);
        }

        .coral-icon {
            background: linear-gradient(135deg, var(--coral), #ffb6c1);
        }

        .card-content {
            color: var(--text-secondary);
            margin-bottom: 25px;
            font-size: var(--font-size-body);
        }

        /* 个人资料卡片 - 响应式布局 */
        .profile-card {
            display: grid;
            grid-template-columns: 1fr;
            gap: 30px;
            padding: 30px;
        }

        @media (min-width: 768px) {
            .profile-card {
                grid-template-columns: 1fr 2fr;
                padding: 40px;
            }
        }

        @media (max-width: 480px) {
            .profile-card {
                padding: 20px;
            }
        }

        .profile-pic {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .avatar {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary-blue), var(--violet));
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 50px;
            margin-bottom: 20px;
            box-shadow: 0 8px 25px rgba(0, 125, 255, 0.3);
            border: 5px solid white;
        }

        /* 桌面端放大头像 */
        @media (min-width: 992px) {
            .avatar {
                width: 150px;
                height: 150px;
                font-size: 60px;
            }
        }

        .profile-info h2 {
            font-size: var(--font-size-h2);
            margin-bottom: 10px;
            color: var(--text-primary);
        }

        .profile-info .tagline {
            font-size: 1.1rem;
            color: var(--teal);
            font-weight: 600;
            margin-bottom: 20px;
        }

        @media (max-width: 768px) {
            .profile-info .tagline {
                font-size: 1rem;
            }
        }

        .profile-info p {
            color: var(--text-secondary);
            margin-bottom: 25px;
            line-height: 1.7;
        }

        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
            flex-wrap: wrap;
        }

        .social-link {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 18px;
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .social-link:hover {
            transform: translateY(-5px);
        }

        /* 技能进度条 */
        .skill-item {
            margin-bottom: 20px;
        }

        .skill-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 8px;
        }

        .skill-name {
            font-weight: 600;
            color: var(--text-primary);
        }

        .skill-percent {
            color: var(--primary-blue);
            font-weight: 700;
        }

        .skill-bar {
            height: 10px;
            background-color: #e0e0e0;
            border-radius: 5px;
            overflow: hidden;
        }

        .skill-progress {
            height: 100%;
            border-radius: 5px;
            transition: width 1.5s ease-in-out;
        }

        /* 开关按钮响应式调整 */
        .switch-container {
            display: flex;
            flex-direction: column;
            gap: 20px;
            margin-top: 20px;
        }

        .switch-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
            border-bottom: 1px solid var(--border-light);
        }

        .switch-item:last-child {
            border-bottom: none;
        }

        /* 小屏幕调整开关项布局 */
        @media (max-width: 576px) {
            .switch-item {
                flex-direction: column;
                align-items: flex-start;
                gap: 15px;
            }
        }

        /* 按钮样式 - 响应式调整 */
        .button-group {
            display: flex;
            gap: 15px;
            margin-top: 25px;
            flex-wrap: wrap;
        }

        .btn {
            padding: 12px 28px;
            border-radius: 10px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
            font-size: var(--font-size-body);
            display: flex;
            align-items: center;
            gap: 8px;
            justify-content: center;
        }

        /* 小屏幕按钮全宽 */
        @media (max-width: 576px) {
            .btn {
                width: 100%;
            }
        }

        /* 项目展示响应式网格 */
        .projects-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 25px;
            margin-top: 20px;
        }

        @media (min-width: 576px) {
            .projects-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (min-width: 992px) {
            .projects-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        /* 页脚响应式 */
        .footer {
            margin-top: 60px;
            padding: 30px 0;
            border-top: 1px solid var(--border-light);
            text-align: center;
            color: var(--text-secondary);
            font-size: 0.95rem;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-bottom: 15px;
            flex-wrap: wrap;
        }

        @media (max-width: 576px) {
            .footer-links {
                gap: 15px;
                justify-content: space-around;
            }
        }

        /* 屏幕尺寸检测指示器 */
        .screen-size-indicator {
            position: fixed;
            bottom: 10px;
            right: 10px;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            padding: 8px 12px;
            border-radius: 5px;
            font-size: 12px;
            z-index: 1000;
            display: none; /* 默认隐藏，通过JS控制显示 */
        }

        /* 移动端导航菜单 */
        @media (max-width: 767px) {
            .mobile-menu-btn {
                display: block;
            }
            
            .nav {
                display: none;
                width: 100%;
                flex-direction: column;
                gap: 10px;
                margin-top: 20px;
                padding: 15px;
                background-color: white;
                border-radius: 10px;
                box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            }
            
            .nav.active {
                display: flex;
            }
            
            .nav a {
                width: 100%;
                text-align: center;
            }
        }
.beian{
        display: flex;
        justify-content: center;
        padding: 20px 0;
        gap: 8px;
    }
.beian img{
        display: block;    
        align-items: center;
        position: relative;
        bottom: 4px;
}