﻿/* ========================================
   首页 - home.php 专用样式（PC端）
   设计系统 v4.0 — 简约情感化重构
   作用域：#desktop-dashboard 前缀，仅 PC 端生效
   ======================================== */

/* ========================================
   一、移除浮动装饰 — 简约风格不需要
   ======================================== */

/* 信封水印 — 仅保留一个极淡的作为氛围底纹 */
body::before {
    font-size: 160px;
    opacity: 0.015;
    top: -40px;
    right: -20px;
}
body::after {
    display: none;
}

/* 浮动装饰 — 全部移除 */
/*.home-deco { display: none; }*/

/* ========================================
   二、PC 端主页容器（基础布局）
   ======================================== */
#desktop-dashboard.home-desktop-root {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - 200px);
}

#desktop-dashboard .main-content {
    max-width: 640px;
    margin: 0 auto;
    padding: 30px 20px 40px;
}

/* ========================================
   三、Hero 区域 - 情感化简约设计
   ======================================== */
#desktop-dashboard .hero-section {
    text-align: center;
    padding: 30px 0 40px;
}

/* 主标题 - 衬线体，大气简约 */
#desktop-dashboard .home-intro-title {
    font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 42px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 16px;
    letter-spacing: 6px;
    line-height: 1.3;
}

/* 英文副标题 */
#desktop-dashboard .home-intro-sub {
    font-family: "PingFang SC", "Helvetica Neue", sans-serif;
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    line-height: 1.8;
    letter-spacing: 1px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.8;
}

/* 单句核心文案 */
#desktop-dashboard .home-intro-text {
    font-family: "PingFang SC", "Noto Serif SC", serif;
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin: 0 auto;
    max-width: 400px;
    letter-spacing: 0.5px;
}

/* ===== 按钮组 - 单一CTA ===== */
#desktop-dashboard .intro-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 32px;
    flex-wrap: wrap;
}

#desktop-dashboard .intro-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    letter-spacing: 1px;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
    position: relative;
    overflow: hidden;
}
#desktop-dashboard .intro-button:hover {
    transform: translateY(-2px);
}
#desktop-dashboard .intro-button:active {
    transform: scale(0.98);
}

/* 主按钮 - 品牌色实心 */
#desktop-dashboard .compose-button {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(0, 102, 204, 0.25);
}
#desktop-dashboard .compose-button:hover {
    background: var(--color-primary-dark);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.35);
    color: #fff;
}

/* ===== 阅读引导链接（移至CTA下方） ===== */
#desktop-dashboard .home-cta-inline {
    margin-top: 20px;
    text-align: center;
}

#desktop-dashboard .cta-link-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 14px;
    opacity: 0.7;
    transition: all 0.2s ease;
}
#desktop-dashboard .cta-link-inline:hover {
    opacity: 1;
    color: var(--color-primary);
}
#desktop-dashboard .cta-link-inline i {
    font-size: 14px;
}

/* ========================================
   四、时光故事板 - 情感化数据展示
   ======================================== */
#desktop-dashboard .stats-section {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 20px;
}

#desktop-dashboard .stats-card-wrap.story-wrap {
    background: transparent;
    border-radius: 0;
    padding: 30px 0 0;
    box-shadow: none;
}

/* 情感化文案标题 */
#desktop-dashboard .stats-intro {
    text-align: center;
    font-size: 14px;
    color: var(--color-text-muted);
    margin-bottom: 28px;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* 移除SVG时间轴，改为简洁分隔线 */
#desktop-dashboard .timeline-wrap {
    display: none;
}

/* ========================================
   五、数据卡片 - 简约情感化（四列）
   ======================================== */
#desktop-dashboard .story-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 0;
}

#desktop-dashboard .story-item {
    position: relative;
    text-align: center;
    padding: 20px 12px;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.5);
    border: 1px solid var(--color-border-light);
    transition: all 0.3s ease;
}
#desktop-dashboard .story-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    background: #fff;
}

/* 图标 - 使用FontAwesome图标 */
#desktop-dashboard .story-icon {
    font-size: 22px;
    display: block;
    margin-bottom: 8px;
    color: var(--color-primary);
    opacity: 0.7;
}
#desktop-dashboard .story-icon i {
    font-size: 22px;
}

/* 数字 - 情感化呈现 */
#desktop-dashboard .story-value {
    font-family: "SF Pro Display", "DIN Alternate", sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--color-text-primary);
    line-height: 1.2;
    margin-bottom: 6px;
}

/* 标签文字 - 情感化描述 */
#desktop-dashboard .story-label {
    font-size: 12px;
    color: var(--color-text-secondary);
    letter-spacing: 0.5px;
    line-height: 1.4;
}

/* 故事性悬浮提示 */
#desktop-dashboard .story-hint {
    display: none;
}

/* 公开信最新标题链接 */
#desktop-dashboard .story-hint .hint-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
}
#desktop-dashboard .story-hint .hint-link:hover {
    text-decoration: underline;
}

/* ========================================
   七、首页图标
   ======================================== */
#desktop-dashboard .home-icon-wrap {
    margin-bottom: 24px;
}
#desktop-dashboard .home-icon-wrap i {
    font-size: 48px;
    color: var(--color-primary);
    opacity: 0.6;
}

/* ========================================
   八、首页图标
   ======================================== */
#desktop-dashboard .home-icon-wrap {
    margin-bottom: 20px;
}
#desktop-dashboard .home-icon-wrap i {
    font-size: 48px;
    color: var(--color-primary);
    opacity: 0.6;
}

/* ========================================
   八-B、时光故事模块
   ======================================== */
#desktop-dashboard .story-teaser {
    max-width: 480px;
    margin: 30px auto 0;
    padding: 0 20px;
}
#desktop-dashboard .teaser-inner {
    text-align: center;
    padding: 28px 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f8f6f3 0%, #f5f0e8 100%);
    border: 1px solid rgba(200, 190, 170, 0.25);
    position: relative;
    overflow: hidden;
}
#desktop-dashboard .teaser-decoration {
    font-size: 24px;
    color: var(--color-accent);
    opacity: 0.5;
    margin-bottom: 8px;
}
#desktop-dashboard .teaser-label {
    font-size: 11px;
    color: var(--color-text-muted);
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}
#desktop-dashboard .teaser-title {
    font-family: var(--font-family-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text-primary);
    line-height: 1.5;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
#desktop-dashboard .teaser-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--color-primary);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
}
#desktop-dashboard .teaser-link:hover {
    opacity: 1;
}
#desktop-dashboard .teaser-link i {
    font-size: 12px;
    transition: transform 0.2s;
}
#desktop-dashboard .teaser-link:hover i {
    transform: translateX(3px);
}

/* ===== 涟漪效果（绝对定位，不撑大按钮） ===== */
#desktop-dashboard .ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    pointer-events: none;
    transform: scale(0);
    animation: rippleAnim 0.6s ease-out forwards;
}
@keyframes rippleAnim {
    to { transform: scale(2); opacity: 0; }
}

/* ========================================
   九、页脚暗色处理
   ======================================== */
.site-header.glass {
    background: rgba(248, 247, 244, 0.85) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}



