/* 🌟 遇见好故事 - 赛博朋克黄色系风格 */

/* ============================================
   Hero区域 - 赛博朋克背景
   ============================================ */
.hero-section {
    position: relative !important;
    background: linear-gradient(135deg, 
        #1a1410 0%, 
        #2d2416 50%, 
        #1a1410 100%) !important;
    padding: 80px 0 60px 0 !important;
    overflow: visible !important;
    min-height: 600px !important;
}

/* 动态网格背景 */
.hero-section::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-image: 
        linear-gradient(rgba(255, 215, 0, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 215, 0, 0.08) 1px, transparent 1px) !important;
    background-size: 40px 40px !important;
    animation: heroGridMove 25s linear infinite !important;
    z-index: 0 !important;
    opacity: 0.6 !important;
}

@keyframes heroGridMove {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(40px, 40px, 0); }
}

/* 光效背景 */
.hero-section::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: radial-gradient(
        ellipse at 50% 30%,
        rgba(255, 215, 0, 0.1) 0%,
        transparent 60%
    ) !important;
    z-index: 0 !important;
}

.hero-section > * {
    position: relative !important;
    z-index: 1 !important;
}

/* ============================================
   标题区域 - 霓虹效果
   ============================================ */
.hero-title {
    text-align: center !important;
    padding: 40px 0 20px 0 !important;
    overflow: visible !important;
    min-height: 150px !important;
}

.title-sub {
    display: block !important;
    font-size: 1.8rem !important;
    color: #FFD700 !important;
    margin-bottom: 20px !important;
    text-shadow: 
        0 0 20px rgba(255, 215, 0, 0.8),
        0 0 40px rgba(255, 215, 0, 0.4) !important;
    font-weight: 600 !important;
    letter-spacing: 4px !important;
    animation: subtitleGlow 3s ease-in-out infinite !important;
}

@keyframes subtitleGlow {
    0%, 100% { 
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 0 0 40px rgba(255, 215, 0, 0.4);
    }
    50% { 
        text-shadow: 0 0 30px rgba(255, 215, 0, 1), 0 0 60px rgba(255, 215, 0, 0.6);
    }
}

/* 主标题"恒星云爆文"保持原有弹跳动画，增加赛博朋克效果 */
.title-main {
    display: inline-block !important;
    padding: 50px 40px !important;
    overflow: visible !important;
    /* 移除边框效果，避免跳动时显示容器边界 */
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

.title-main .char {
    display: inline-block !important;
    font-size: 4rem !important;
    font-weight: 900 !important;
    background: linear-gradient(
        135deg,
        #FFD700 0%,
        #FFA500 50%,
        #FFEB3B 100%
    ) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.8)) !important;
    position: relative !important;
}

/* ============================================
   描述文字 - 霓虹发光
   ============================================ */
.hero-description {
    text-align: center !important;
    color: rgba(255, 215, 0, 0.9) !important;
    font-size: 1.1rem !important;
    line-height: 2 !important;
    max-width: 800px !important;
    margin: 30px auto !important;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3) !important;
    font-weight: 500 !important;
    letter-spacing: 2px !important;
}

/* ============================================
   按钮区域 - 赛博朋克风格
   ============================================ */
.hero-buttons {
    display: flex !important;
    gap: 30px !important;
    justify-content: center !important;
    margin-top: 40px !important;
}

.hero-btn-primary,
.hero-btn-secondary {
    position: relative !important;
    padding: 16px 48px !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    border: 2px solid #FFD700 !important;
    background: linear-gradient(
        135deg,
        rgba(255, 215, 0, 0.2) 0%,
        rgba(255, 165, 0, 0.2) 100%
    ) !important;
    color: #FFD700 !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow: hidden !important;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6) !important;
    box-shadow: 
        0 0 20px rgba(255, 215, 0, 0.2),
        inset 0 0 15px rgba(255, 215, 0, 0.1) !important;
}

/* 按钮发光边框动画 */
.hero-btn-primary::before,
.hero-btn-secondary::before {
    content: '' !important;
    position: absolute !important;
    top: -2px !important;
    left: -2px !important;
    right: -2px !important;
    bottom: -2px !important;
    background: linear-gradient(
        45deg,
        #FFD700,
        #FFA500,
        #FFEB3B,
        #FFD700
    ) !important;
    border-radius: 50px !important;
    z-index: -1 !important;
    opacity: 0 !important;
    filter: blur(8px) !important;
    transition: opacity 0.4s ease !important;
    background-size: 300% 300% !important;
    animation: btnBorderFlow 3s ease infinite !important;
}

@keyframes btnBorderFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-btn-primary:hover::before,
.hero-btn-secondary:hover::before {
    opacity: 0.8 !important;
}

.hero-btn-primary:hover,
.hero-btn-secondary:hover {
    transform: translateY(-3px) scale(1.05) !important;
    border-color: #FFA500 !important;
    color: #FFA500 !important;
    background: linear-gradient(
        135deg,
        rgba(255, 215, 0, 0.3) 0%,
        rgba(255, 165, 0, 0.3) 100%
    ) !important;
    box-shadow: 
        0 0 30px rgba(255, 215, 0, 0.4),
        0 10px 30px rgba(255, 215, 0, 0.2),
        inset 0 0 20px rgba(255, 215, 0, 0.2) !important;
    text-shadow: 0 0 15px rgba(255, 165, 0, 0.8) !important;
}

.hero-btn-primary i,
.hero-btn-secondary i {
    font-size: 1.2rem !important;
    filter: drop-shadow(0 0 8px currentColor) !important;
}

/* ============================================
   统计数据卡片 - 赛博朋克风格
   ============================================ */
.hero-stats {
    display: flex !important;
    justify-content: center !important;
    gap: 25px !important;
    margin-top: 60px !important;
    flex-wrap: nowrap !important;
    max-width: 700px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.stat-card {
    position: relative !important;
    background: #2d2416 !important;
    border: 2px solid rgba(255, 215, 0, 0.3) !important;
    border-radius: 20px !important;
    padding: 20px 30px !important;
    text-align: center !important;
    min-width: 140px !important;
    max-width: 200px !important;
    flex: 1 !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow: hidden !important;
}

.stat-card::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(
        135deg,
        transparent 0%,
        rgba(255, 215, 0, 0.05) 100%
    ) !important;
    opacity: 0 !important;
    transition: opacity 0.4s ease !important;
}

.stat-card:hover {
    transform: translateY(-5px) !important;
    border-color: #FFD700 !important;
    box-shadow: 
        0 10px 40px rgba(255, 215, 0, 0.3),
        0 0 30px rgba(255, 215, 0, 0.2),
        inset 0 0 15px rgba(255, 215, 0, 0.1) !important;
}

.stat-card:hover::before {
    opacity: 1 !important;
}

.stat-number {
    font-size: 2rem !important;
    font-weight: 900 !important;
    background: linear-gradient(
        135deg,
        #FFD700 0%,
        #FFA500 100%
    ) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    display: block !important;
    margin-bottom: 8px !important;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6)) !important;
    line-height: 1 !important;
}

.stat-label {
    font-size: 0.9rem !important;
    color: rgba(255, 215, 0, 0.8) !important;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.3) !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
}

/* ============================================
   响应式设计
   ============================================ */
@media (max-width: 1023px) {
    .title-sub {
        font-size: 1.5rem !important;
    }
    
    .title-main .char {
        font-size: 3rem !important;
    }
    
    .hero-description {
        font-size: 1rem !important;
        padding: 0 20px !important;
    }
    
    .hero-buttons {
        gap: 20px !important;
    }
    
    .hero-btn-primary,
    .hero-btn-secondary {
        padding: 14px 36px !important;
        font-size: 1rem !important;
    }
    
    .hero-stats {
        gap: 20px !important;
        max-width: 600px !important;
    }
    
    .stat-card {
        padding: 18px 25px !important;
        min-width: 120px !important;
    }
    
    .stat-number {
        font-size: 1.8rem !important;
    }
    
    .stat-label {
        font-size: 0.85rem !important;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 60px 0 40px 0 !important;
        min-height: 500px !important;
    }
    
    .title-sub {
        font-size: 1.2rem !important;
        letter-spacing: 2px !important;
    }
    
    .title-main .char {
        font-size: 2.5rem !important;
    }
    
    .hero-description {
        font-size: 0.95rem !important;
        line-height: 1.8 !important;
    }
    
    .hero-buttons {
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
    }
    
    .hero-btn-primary,
    .hero-btn-secondary {
        width: 80% !important;
        max-width: 300px !important;
        justify-content: center !important;
    }
    
    .hero-stats {
        gap: 15px !important;
        flex-wrap: wrap !important;
        max-width: 100% !important;
    }
    
    .stat-card {
        padding: 20px 25px !important;
        min-width: 130px !important;
        max-width: 180px !important;
    }
    
    .stat-number {
        font-size: 1.6rem !important;
    }
    
    .stat-label {
        font-size: 0.8rem !important;
    }
}

@media (max-width: 575px) {
    .hero-stats {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 12px !important;
    }
    
    .stat-card {
        flex: 0 1 calc(50% - 6px) !important;
        min-width: 140px !important;
        max-width: none !important;
        padding: 18px 20px !important;
    }
    
    .stat-card:last-child {
        flex: 0 1 100% !important;
        max-width: 300px !important;
    }
    
    .stat-number {
        font-size: 1.5rem !important;
    }
    
    .stat-label {
        font-size: 0.75rem !important;
    }
}

/* ============================================
   性能优化
   ============================================ */
.hero-btn-primary,
.hero-btn-secondary,
.stat-card {
    transform: translate3d(0, 0, 0) !important;
    backface-visibility: hidden !important;
    -webkit-backface-visibility: hidden !important;
}

@media (prefers-reduced-motion: reduce) {
    .hero-section::before,
    .title-sub,
    .hero-btn-primary::before,
    .hero-btn-secondary::before {
        animation: none !important;
    }
    
    .hero-btn-primary,
    .hero-btn-secondary,
    .stat-card {
        transition: none !important;
    }
}

