/* ============================================
   Premium Enhancement Layer - lkz.pub
   在不破坏原有布局上叠加的高级视觉增强
   ============================================ */

/* ---- 全局字体与平滑 ---- */
html {
    scroll-behavior: smooth;
    box-sizing: border-box;
}
*, *:before, *:after {
    box-sizing: border-box;
}

body, html {
    font-family: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #0e0f13;
    background-image:
        radial-gradient(circle at 18% 20%, rgba(123, 47, 247, 0.18), transparent 45%),
        radial-gradient(circle at 82% 12%, rgba(0, 212, 255, 0.14), transparent 40%),
        radial-gradient(circle at 50% 90%, rgba(255, 73, 145, 0.10), transparent 50%);
    letter-spacing: 0.02em;
}

/* 文字选中高亮 */
::selection {
    background: rgba(0, 212, 255, 0.3);
    color: #fff;
    text-shadow: none;
}

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.03); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00d4ff, #7b2ff7);
    border-radius: 10px;
    border: 2px solid #0e0f13;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #4fe0ff, #9b5cff); }

/* ---- 背景遮罩柔化 ---- */
.background .cover {
    background: linear-gradient(0deg, #0e0f13 28%, rgba(14, 15, 19, 0.55) 60%, rgba(14, 15, 19, 0) 100%) !important;
}

/* ---- 导航栏玻璃化 ---- */
nav {
    text-shadow: 0 0 12px rgba(0, 212, 255, 0.25);
}
nav a {
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}
nav a.active, nav a:hover {
    text-decoration: none !important;
    opacity: 1;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.8), 0 0 22px rgba(123, 47, 247, 0.5);
}
nav a.clip {
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
}

/* ---- 区块标题渐变 + 动画下划线 ---- */
.ch h2.chtitle {
    color: hsla(0, 0%, 100%, 0.45) !important;
    position: relative;
}
.ch h2.chtitle span {
    background: linear-gradient(120deg, #00d4ff 0%, #7b2ff7 50%, #ff498f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 14px rgba(123, 47, 247, 0.45));
}
.ch h2.chtitle:after {
    content: "" !important;
    display: block !important;
    width: 10% !important;
    height: 2px !important;
    background: linear-gradient(90deg, #00d4ff, #7b2ff7, transparent) !important;
    margin-top: 30px !important;
    border-radius: 2px;
    box-shadow: 0 0 12px rgba(0, 212, 255, 0.6);
    animation: titleLine 2.4s cubic-bezier(0.19, 1, 0.22, 1) infinite alternate;
}
@keyframes titleLine {
    0% { width: 6%; opacity: 0.7; }
    100% { width: 22%; opacity: 1; }
}

/* ---- 首屏标语 ---- */
.hello h1 {
    background: linear-gradient(120deg, #ffffff 0%, #b8eaff 40%, #d9c2ff 70%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 24px rgba(0, 212, 255, 0.35));
    animation: shimmer 6s linear infinite;
}
.hello h2 {
    text-shadow: 0 0 18px rgba(255, 255, 255, 0.25);
}
.hello .circle span {
    box-shadow: 0 0 10px currentColor;
}
.hello .circle span:first-child { color: #ff493f; }
.hello .circle span:nth-child(2) { color: #f7c900; }
.hello .circle span:nth-child(3) { color: #00ff37; }
@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* ---- 头像光晕环 ---- */
.about .introduct {
    position: relative;
}
.about .introduct img.avatar {
    float: right;
    width: 160px !important;
    height: 160px;
    object-fit: cover;
    margin-left: 40px !important;
    margin-right: 20px !important;
    border-radius: 100% !important;
    padding: 4px;
    background: linear-gradient(135deg, #00d4ff, #7b2ff7, #ff498f);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 0 30px rgba(123, 47, 247, 0.45),
        0 12px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}
.about .introduct img.avatar:hover {
    transform: rotate(6deg) scale(1.05);
}
.about .introduct p {
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

/* ---- 聊天气泡 ---- */
.chatbox .line.loading {
    display: block !important;
}

/* ---- 技能条渐变填充 ---- */
.about ul.skill li .progress {
    height: 5px !important;
    background: hsla(0, 0%, 100%, 0.08) !important;
    border-radius: 5px;
    overflow: visible;
}
.about ul.skill li .progress div {
    background: linear-gradient(90deg, #00d4ff, #7b2ff7) !important;
    height: 5px !important;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.7);
}
.about ul.skill li .progress div:after {
    border-top-color: #7b2ff7 !important;
    filter: drop-shadow(0 0 6px rgba(123, 47, 247, 0.9));
}
.about ul.skill li p {
    transition: color 0.3s;
}
.about ul.skill li:hover p {
    color: #b8eaff;
}
.about ul.skill li .progress span {
    color: hsla(0, 0%, 100%, 0.55) !important;
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.4);
}

/* ---- 链接卡片玻璃拟态 ---- */
.find .links .item,
.find .links .col-3 .item {
    box-sizing: border-box;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.19, 1, 0.22, 1) !important;
}
.find .links .item .bg {
    border-radius: 12px;
    opacity: 0.85;
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1) !important;
}
.find .links .item:hover {
    transform: translateY(-8px) !important;
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.45),
        0 0 24px rgba(123, 47, 247, 0.25),
        inset 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
    -webkit-animation: none !important;
    animation: none !important;
}
.find .links .item:hover .bg {
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.3) !important;
    opacity: 1;
}
.find .links .item span,
.find .links .item i {
    position: relative;
    z-index: 5;
    transition: transform 0.3s;
}
.find .links .item:hover span {
    transform: translateY(-2px);
}

/* ---- 页脚 ---- */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.35));
}
.footer h3 {
    background: linear-gradient(120deg, #00d4ff, #7b2ff7, #ff498f);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 8s linear infinite;
}
.footer .wechat-qrcode {
    border-radius: 16px !important;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(123, 47, 247, 0.3) !important;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
.footer .wechat-qrcode:hover {
    transform: scale(1.04);
}
.footer p.c a {
    transition: color 0.3s;
}
.footer p.c a:hover {
    color: #4fe0ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* ---- 滚动进入增强 ---- */
.ch {
    will-change: transform, opacity;
}

/* ---- 移动端微调 ---- */
@media screen and (max-width: 700px) {
    .about .introduct img.avatar {
        width: 110px !important;
        height: 110px;
    }
    .hello h1 {
        letter-spacing: 0.3em !important;
    }
}
