/* 科技感前端设计样式文件 */

/* 全局科技感变量 */
:root {
    --primary-color: #0070f3;
    --secondary-color: #7928ca;
    --accent-color: #00e5ff;
    --dark-bg: #0a0e17;
    --light-bg: #161b22;
    --card-bg: rgba(15, 23, 42, 0.8);
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --border-color: rgba(148, 163, 184, 0.2);
    --glow-primary: rgba(0, 112, 243, 0.5);
    --glow-secondary: rgba(121, 40, 202, 0.5);
    --grid-color: rgba(148, 163, 184, 0.05);
}

/* 1. 基础字体和排版优化 - 科技感风格 */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--dark-bg);
    background-image: 
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 20px 20px;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 112, 243, 0.05) 0%, transparent 70%);
    z-index: -1;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin: 0 0 16px;
    color: #ffffff;
    letter-spacing: -0.025em;
    position: relative;
}

h1 { 
    font-size: 2.5rem; 
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding-bottom: 8px;
}

h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    border-radius: 3px;
}

h2 { 
    font-size: 2rem; 
    color: var(--accent-color);
}

h3 { 
    font-size: 1.75rem; 
    color: var(--text-primary);
}

h4 { 
    font-size: 1.5rem; 
    color: var(--text-primary);
}

h5 { 
    font-size: 1.25rem; 
    color: var(--text-secondary);
}

h6 { 
    font-size: 1rem; 
    color: var(--text-secondary);
}

p {
    margin: 0 0 16px;
    line-height: 1.8;
    color: var(--text-secondary);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
}

a:hover {
    color: #ffffff;
    text-shadow: 0 0 8px var(--glow-primary);
}

a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

a:hover::after {
    transform: scaleX(1);
}

/* 2. 容器和布局优化 - 科技感设计 */
.web_main {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 120px;
    position: relative;
}

.web_main::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    height: 200px;
    background: linear-gradient(135deg, var(--glow-primary) 0%, transparent 50%);
    filter: blur(60px);
    opacity: 0.3;
    z-index: -1;
}

.web_ycbox {
    width: 100%;
    display: flex;
    gap: 30px;
    margin-top: 40px;
    position: relative;
}

.web_ycbox::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--glow-secondary) 0%, transparent 70%);
    filter: blur(80px);
    opacity: 0.15;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.web_zcbox {
    flex: 0 0 166px;
    position: sticky;
    top: 120px;
    height: fit-content;
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.web_zcbox:hover {
    box-shadow: 0 6px 32px rgba(0, 112, 243, 0.15);
    transform: translateY(-2px);
}

.web_huand {
    flex: 1;
    margin-left: 0;
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.web_ycdl {
    flex: 0 0 190px;
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

/* 3. 内容区域优化 - 科技感设计 */
.web_aghgr {
    width: 100%;
    padding: 24px;
    box-sizing: border-box;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.web_aghgr::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    opacity: 0.5;
}

.web_aghlb {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    width: 100%;
}

.web_aghlb li {
    width: 100%;
    margin: 0;
    padding: 0;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.web_aghlb li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.web_aghlb li:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 112, 243, 0.2);
    border-color: rgba(0, 229, 255, 0.3);
}

.web_aghlb li:hover::before {
    transform: scaleX(1);
}

.web_aghlb li span {
    display: block;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.web_aghlb li img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

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

.web_aghlb li .web_aghyoub {
    width: 100%;
    padding: 20px;
}

.web_aghlb li h2 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.web_aghlb li h2 a {
    color: var(--text-primary);
    text-decoration: none;
}

.web_aghlb li h2 a:hover {
    color: var(--accent-color);
}

.web_aghlb li p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.web_aghlb li p b {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2300e5ff"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    margin-right: 6px;
}

/* 4. 导航优化 - 科技感设计 */
.headerah {
    backdrop-filter: blur(20px);
    background-color: rgba(10, 14, 23, 0.8);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.webnav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
}

.webnav li {
    margin-left: 0;
    position: relative;
    list-style: none;
}

.webnav li .webnavag .webnavtit a h2 {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    padding: 8px 0;
    position: relative;
}

.webnav li .webnavag .webnavtit a:hover h2 {
    color: var(--accent-color);
    text-shadow: 0 0 8px var(--glow-primary);
}

.webnav li .webnavag .webnavtit a h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
    border-radius: 2px;
}

.webnav li .webnavag .webnavtit a:hover h2::after {
    transform: scaleX(1);
}

/* 导航下拉菜单科技感设计 */
.webnav li .webnavag .webnavcon {
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    padding: 0;
    margin-top: 10px;
    overflow: hidden;
}

.webnav li .webnavag .webnavcon::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: rgba(10, 14, 23, 0.95);
    border-top: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);
    transform-origin: center;
    transform: translateX(-50%) rotate(45deg);
    z-index: -1;
}

.webnav li .webnavag .webnavcon a {
    color: var(--text-secondary);
    padding: 12px 20px;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

.webnav li .webnavag .webnavcon a:last-child {
    border-bottom: none;
}

.webnav li .webnavag .webnavcon a:hover {
    background: rgba(0, 112, 243, 0.1);
    color: var(--accent-color);
    padding-left: 24px;
}

/* 5. 响应式设计优化 - 科技感设计 */
@media (max-width: 1200px) {
    .web_main,
    .headerlg {
        width: 96%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .web_ycbox {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .web_zcbox {
        display: none;
    }
    
    .web_huand {
        width: 100%;
        padding: 24px;
    }
    
    .web_ycdl {
        width: 100%;
        flex: none;
    }
    
    .web_banner {
        width: 100%;
        height: auto;
        border-radius: 10px;
        overflow: hidden;
    }
    
    .web_banner img {
        width: 100%;
        height: auto;
        min-height: auto;
    }
    
    .web_aghlb {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .headerah {
        backdrop-filter: blur(12px);
    }
    
    .webnav {
        display: none;
    }
    
    .web_serch {
        margin-right: 10px;
    }
    
    .web_aghax {
        width: 100%;
        left: 0;
        right: 0;
        position: fixed;
        top: 90px;
        z-index: 999;
        background: rgba(10, 14, 23, 0.98);
        backdrop-filter: blur(20px);
    }
    
    .web_aghlb {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .web_huand {
        padding: 16px;
    }
    
    .web_aghgr {
        padding: 16px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
}

/* 6. 内容详情页优化 - 科技感设计 */
.proDetail {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
}

.proDetail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--secondary-color));
}

.detsMain {
    padding: 40px;
    position: relative;
}

.detsMain::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--glow-primary) 0%, transparent 70%);
    filter: blur(60px);
    opacity: 0.1;
    z-index: -1;
}

.detsMain h3 {
    color: var(--accent-color);
    font-size: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
    position: relative;
}

.detsMain h3::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
}

.detsMain p {
    line-height: 1.8;
    margin-bottom: 24px;
    font-size: 16px;
    color: var(--text-secondary);
}

.detsMain img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 24px auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.detsMain img:hover {
    transform: scale(1.01);
    box-shadow: 0 8px 32px rgba(0, 112, 243, 0.2);
}

/* 科技感分隔线 */
.detsMain hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    margin: 32px 0;
}

/* 详情页文章信息卡片 */
.article-meta {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.article-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
}

.article-meta .meta-item svg {
    color: var(--accent-color);
    width: 16px;
    height: 16px;
}

/* 7. 列表项优化 */
.yey-kcb-content .m-yey-kcb-li {
    height: auto;
    min-height: 42px;
    line-height: 1.6;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

.yey-kcb-content .m-yey-kcb-li:hover {
    background-color: #f8f9fa;
}

/* 8. 按钮样式优化 - 科技感设计 */
.web_login a.bg1,
.web_login a.bg2,
.web_login a.bg3 {
    transition: all 0.3s ease;
    font-weight: 500;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.web_login a.bg1 {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border: none;
    color: #ffffff;
    box-shadow: 0 4px 16px var(--glow-primary);
}

.web_login a.bg1:hover {
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 229, 255, 0.4);
}

.web_login a.bg1::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.web_login a.bg1:hover::before {
    left: 100%;
}

.web_login a.bg2 {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.web_login a.bg2:hover {
    border-color: var(--primary-color);
    background: rgba(0, 112, 243, 0.1);
    color: var(--primary-color);
    box-shadow: 0 4px 16px var(--glow-primary);
}

.web_login a.bg3 {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.web_login a.bg3:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background: rgba(0, 229, 255, 0.05);
}

/* 9. 搜索框优化 - 科技感设计 */
.web_serch {
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.web_serch::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.web_serch:focus-within {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px var(--glow-primary);
    background: rgba(15, 23, 42, 0.8);
}

.web_serch:focus-within::before {
    opacity: 1;
}

.web_serch input.text1 {
    font-size: 14px;
    background: transparent;
    color: var(--text-primary);
    border: none;
    outline: none;
}

.web_serch input.text1::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.web_serch button {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border: none;
    color: #ffffff;
    border-radius: 8px;
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.web_serch button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--glow-primary);
}

/* 10. 滚动条优化 - 科技感设计 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    border-radius: 4px;
    border: 2px solid rgba(15, 23, 42, 0.5);
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--accent-color), var(--primary-color));
    box-shadow: 0 0 10px var(--glow-primary);
}

::-webkit-scrollbar-corner {
    background: rgba(15, 23, 42, 0.5);
}

/* 11. 工具提示和加载动画优化 - 科技感设计 */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.2), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* 科技感加载动画 */
.loading-spinner {
    display: inline-block;
    width: 32px;
    height: 32px;
    border: 3px solid var(--border-color);
    border-radius: 50%;
    border-top-color: var(--accent-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 脉冲动画 */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* 12. 代码块优化 - 科技感设计 */
pre, code {
    font-family: 'JetBrains Mono', 'SF Mono', Monaco, Inconsolata, 'Roboto Mono', Consolas, 'Courier New', monospace;
    font-size: 14px;
    background-color: rgba(15, 23, 42, 0.8);
    border-radius: 8px;
    padding: 2px 6px;
    color: #e2e8f0;
    border: 1px solid var(--border-color);
}

pre {
    padding: 20px;
    overflow-x: auto;
    line-height: 1.6;
    margin: 24px 0;
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

pre::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
}

pre code {
    background: none;
    padding: 0;
    border: none;
}

/* 13. 表格样式优化 - 科技感设计 */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    background-color: rgba(15, 23, 42, 0.5);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

th, td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

th {
    background: rgba(0, 112, 243, 0.1);
    font-weight: 600;
    color: var(--accent-color);
    position: relative;
}

th::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    opacity: 0.3;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    background-color: rgba(0, 112, 243, 0.05);
    color: var(--accent-color);
}

/* 14. 引用样式优化 - 科技感设计 */
blockquote {
    margin: 24px 0;
    padding: 20px 24px;
    border-left: 4px solid var(--accent-color);
    background: rgba(0, 229, 255, 0.05);
    font-style: italic;
    color: var(--text-secondary);
    border-radius: 0 8px 8px 0;
    position: relative;
    overflow: hidden;
}

blockquote::before {
    content: ''"";
    position: absolute;
    top: 0;
    right: 0;
    font-size: 80px;
    color: rgba(0, 229, 255, 0.1);
    font-family: 'Georgia', serif;
    line-height: 1;
}

/* 15. 表单元素优化 - 科技感设计 */
input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: 12px 16px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    color: var(--text-primary);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px var(--glow-primary);
    background: rgba(15, 23, 42, 0.8);
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="password"]::placeholder,
textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

select {
    cursor: pointer;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2394a3b8"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
}

/* 科技感复选框和单选框 */
input[type="checkbox"],
input[type="radio"] {
    width: auto;
    margin-right: 8px;
    accent-color: var(--accent-color);
}

/* 16. 全局科技感元素 */
/* 霓虹文本效果 */
.neon-text {
    text-shadow: 0 0 5px var(--accent-color), 0 0 10px var(--accent-color);
    animation: neonPulse 2s infinite;
}

@keyframes neonPulse {
    0%, 100% {
        text-shadow: 0 0 5px var(--accent-color), 0 0 10px var(--accent-color);
    }
    50% {
        text-shadow: 0 0 10px var(--accent-color), 0 0 20px var(--accent-color), 0 0 30px var(--accent-color);
    }
}

/* 玻璃态卡片 */
.glass-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.glass-card:hover {
    box-shadow: 0 8px 32px rgba(0, 112, 243, 0.2);
    transform: translateY(-2px);
}

/* 科技感边框 */
.tech-border {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.tech-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color), var(--secondary-color), var(--primary-color));
    z-index: -1;
    animation: borderRotate 8s linear infinite;
}

@keyframes borderRotate {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 400% 0;
    }
}

/* 网格背景效果 */
.grid-bg {
    background-image: 
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* 科技感徽章 */
.tech-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid var(--accent-color);
    border-radius: 20px;
    font-size: 12px;
    color: var(--accent-color);
    font-weight: 500;
    margin-right: 8px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.tech-badge:hover {
    background: var(--accent-color);
    color: #ffffff;
    transform: translateY(-1px);
}