/* 铭鑫显卡 - 电竞高大上风格核心样式 */

:root {
    --gaming-black: #020617;
    --gaming-navy: #0f172a;
    --gaming-blue: #3b82f6;
    --gaming-cyan: #06b6d4;
    --gaming-glow: rgba(59, 130, 246, 0.5);
    --gaming-glass: rgba(15, 23, 42, 0.7);
    --gaming-border: rgba(255, 255, 255, 0.1);
    --gaming-card-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    /* 品牌颜色 */
    --brand-nvidia: #76b900;
    --brand-amd: #ed1c24;
    --brand-intel: #0071c5;
    --brand-tmall: #ff0036;
    --brand-jd: #e1251b;
    --brand-hot: #f59e0b;
    /* 辅助颜色 */
    --white: #ffffff;
    --gaming-glow-low: rgba(59, 130, 246, 0.3);
    --gaming-glow-ultra-low: rgba(59, 130, 246, 0.1);
    --gaming-gradient: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
}

/* 全局背景优化 - 电竞深色风格 */
body {
    background-color: var(--gaming-black);
    color: var(--white);
}

/* 电竞风格 Hero 区域 */
.gaming-hero {
    background-color: var(--gaming-black);
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
        linear-gradient(rgba(15, 23, 42, 0.8), rgba(2, 6, 23, 1));
    position: relative;
    overflow: hidden;
    color: white;
}

/* 网格装饰背景 */
.gaming-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    pointer-events: none;
    z-index: 1;
}

/* 动态光晕 */
.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--gaming-glow) 0%, transparent 70%);
    filter: blur(100px);
    opacity: 0.4;
    z-index: 2;
    pointer-events: none;
}

.glow-1 { top: -200px; right: -100px; }
.glow-2 { bottom: -300px; left: -100px; }

/* 玻璃拟态卡片 (电竞版) */
.gaming-glass-card {
    background: var(--gaming-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--gaming-border);
    border-radius: 24px;
    box-shadow: var(--gaming-card-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.gaming-glass-card::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transition: 0.5s;
}

.gaming-glass-card:hover::after {
    left: 100%;
}
.gaming-glass-card:hover {
    transform: translateY(-10px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 20px rgba(59, 130, 246, 0.2);
}

/* 电竞风格按钮 */
.btn-gaming {
    background-color: #3b82f6 !important;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    color: #ffffff !important;
    padding: 0.8rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 10px rgba(59, 130, 246, 0.4) !important;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-size: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.btn-gaming:hover {
    background-color: #60a5fa !important;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%) !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6), 0 0 20px rgba(59, 130, 246, 0.6) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
}

.btn-gaming:active {
    transform: translateY(-1px);
}

.btn-gaming i {
    transition: transform 0.3s ease;
}

.btn-gaming:hover i {
    transform: translateX(3px) scale(1.1);
}

/* 小尺寸电竞按钮 */
.btn-gaming-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
    border-radius: 8px;
}

/* 面包屑导航 - 电竞增强 */
.breadcrumb-gaming {
    margin-bottom: 2rem;
}

.breadcrumb-gaming .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
}

.breadcrumb-gaming .breadcrumb-item {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.4); /* 降低非活动项亮度 */
}

.breadcrumb-gaming .breadcrumb-item a {
    color: var(--gaming-blue);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.breadcrumb-gaming .breadcrumb-item a:hover {
    color: var(--white);
    text-shadow: 0 0 8px var(--gaming-glow);
}

.breadcrumb-gaming .breadcrumb-item.active {
    color: var(--white); /* 活动项使用纯白 */
    font-weight: 600;
    opacity: 1;
}

.breadcrumb-gaming .breadcrumb-item + .breadcrumb-item::before {
    content: '/';
    color: rgba(255, 255, 255, 0.3); /* 增强分隔符可见度 */
    padding: 0 12px;
}

/* 渐变文本 - 电竞增强 */
.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 50%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* 按钮渐变变量 */
:root {
    --gaming-gradient: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
}

/* 基础动画库 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-up {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.animate-up-2 {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s forwards;
    opacity: 0;
}

/* 漂浮动画 */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-icon-box {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 4s ease-in-out infinite;
}

.hero-icon-box i {
    font-size: 8rem;
    position: relative;
    z-index: 2;
}

.icon-glow {
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, var(--gaming-glow) 0%, transparent 70%);
    z-index: 1;
    opacity: 0.5;
}

/* 响应式优化增强 */
@media (max-width: 767px) {
    .display-3 {
        font-size: 3rem;
    }
    .display-4 {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    .gaming-hero {
        padding-top: 120px !important;
        padding-bottom: 4rem !important;
        text-align: center;
    }
    
    .breadcrumb-gaming .breadcrumb {
        justify-content: center;
    }

    .display-3 {
        font-size: 2.5rem;
    }
    
    .hero-icon-box {
        display: none !important;
    }

    .gaming-glass-card {
        padding: 1.5rem !important;
    }
}

@media (max-width: 575px) {
    .display-3 {
        font-size: 2rem;
    }
    .lead {
        font-size: 1rem;
    }
}
