/* ========================================
   首页 - 功能导航门户 v1
   设计风格：暗色、现代、卡片式
   ======================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    background: #0a0a0f; color: #e0e0e0;
    overflow-x: hidden; -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

/* ========== 整体布局 ========== */
.home-app {
    min-height: 100vh; display: flex; flex-direction: column;
}

/* ========== 顶部导航 ========== */
.home-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-bottom: 1px solid #2a2a4a;
    position: sticky; top: 0; z-index: 100;
    padding: 0 20px;
}
.header-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; height: 60px;
}
.header-logo { color: #6c63ff; display: flex; align-items: center; }
.header-title {
    flex: 1; text-align: center; font-size: 18px;
    font-weight: 600; color: #e0e0ff; letter-spacing: 2px;
}
.header-spacer { width: 28px; }

/* ========== 主内容区 ========== */
.home-main { flex: 1; }

/* ========== Hero 区域 ========== */
.hero-section {
    position: relative; overflow: hidden;
    padding: 80px 20px 90px; text-align: center;
}
.hero-bg {
    position: absolute; inset: 0; pointer-events: none;
    overflow: hidden;
}
.hero-orb {
    position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.3;
}
.orb-1 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, #6c63ff 0%, transparent 70%);
    top: -100px; left: -60px; animation: orbFloat 8s ease-in-out infinite;
}
.orb-2 {
    width: 250px; height: 250px;
    background: radial-gradient(circle, #e94560 0%, transparent 70%);
    bottom: -80px; right: -50px; animation: orbFloat 10s ease-in-out infinite reverse;
}
.orb-3 {
    width: 200px; height: 200px;
    background: radial-gradient(circle, #0f3460 0%, transparent 70%);
    top: 60%; left: 50%; animation: orbFloat 12s ease-in-out infinite 2s;
}
@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -20px) scale(1.1); }
    50% { transform: translate(-15px, 25px) scale(0.95); }
    75% { transform: translate(-25px, -10px) scale(1.05); }
}

.hero-content { position: relative; z-index: 1; }
.hero-sub {
    font-size: 14px; color: #6c63ff; letter-spacing: 4px;
    text-transform: uppercase; margin-bottom: 16px;
}
.hero-title {
    font-size: 44px; font-weight: 700; line-height: 1.2;
    background: linear-gradient(135deg, #e0e0ff 0%, #6c63ff 50%, #e94560 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; margin-bottom: 16px;
}
.hero-desc {
    font-size: 16px; color: #888; max-width: 360px; margin: 0 auto;
    line-height: 1.6;
}

/* ========== 功能导航区域 ========== */
.nav-section { padding: 10px 0 60px; }
.container { max-width: 900px; margin: 0 auto; padding: 0 20px; }

.section-title {
    display: flex; align-items: center; gap: 10px;
    font-size: 16px; font-weight: 500; color: #aaa;
    margin-bottom: 24px; padding-left: 6px; letter-spacing: 1px;
}
.section-icon { color: #6c63ff; font-size: 14px; }

/* 导航卡片网格 */
.nav-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

/* ========== 导航卡片 ========== */
.nav-card {
    display: flex; align-items: center; gap: 16px;
    background: linear-gradient(135deg, #151525 0%, #1a1a30 100%);
    border: 1px solid #252545; border-radius: 16px;
    padding: 24px 20px; cursor: pointer; transition: all .25s ease;
    text-decoration: none; color: inherit; position: relative;
    overflow: hidden;
}
.nav-card::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(108,99,255,0.05) 0%, transparent 60%);
    opacity: 0; transition: opacity .25s;
}
.nav-card:hover {
    border-color: #3a3a6a; transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(108,99,255,0.12);
}
.nav-card:hover::before { opacity: 1; }

/* 相册主卡片 */
.nav-card-primary {
    border-color: #3a3580;
}
.nav-card-primary .nav-card-icon { color: #6c63ff; }
.nav-card-primary:hover {
    border-color: #6c63ff;
    box-shadow: 0 8px 30px rgba(108,99,255,0.2);
}

/* 禁用/即将上线卡片 */
.nav-card-disabled {
    opacity: 0.5; cursor: not-allowed; pointer-events: none;
}
.nav-card-disabled:hover {
    transform: none; border-color: #252545;
    box-shadow: none;
}

/* 卡片各部分 */
.nav-card-icon {
    flex-shrink: 0; color: #555; display: flex;
    align-items: center; justify-content: center;
    width: 64px; height: 64px;
    background: rgba(255,255,255,0.03); border-radius: 14px;
}
.nav-card-body { flex: 1; min-width: 0; }
.nav-card-title {
    font-size: 17px; font-weight: 600; margin-bottom: 4px; color: #d0d0e0;
}
.nav-card-desc {
    font-size: 13px; color: #777; line-height: 1.4;
}
.nav-card-arrow {
    flex-shrink: 0; color: #555; display: flex; align-items: center;
    transition: transform .25s, color .25s;
}
.nav-card-primary:hover .nav-card-arrow {
    color: #6c63ff; transform: translateX(4px);
}

.nav-card-badge {
    position: absolute; top: 10px; right: 12px;
    font-size: 10px; color: #6c63ff; background: rgba(108,99,255,0.12);
    padding: 2px 8px; border-radius: 20px; letter-spacing: 1px;
}

/* ========== 底部 ========== */
.home-footer {
    text-align: center; padding: 28px 20px;
    color: #555; font-size: 13px;
    border-top: 1px solid #1a1a2e;
}

/* ========== 响应式 ========== */
@media (max-width: 640px) {
    .nav-grid { grid-template-columns: 1fr; }
    .nav-card { padding: 20px 16px; border-radius: 14px; }
    .nav-card-icon { width: 52px; height: 52px; border-radius: 12px; }
    .nav-card-icon svg { width: 36px; height: 36px; }
    .hero-section { padding: 50px 16px 60px; }
    .hero-title { font-size: 32px; }
    .hero-sub { font-size: 12px; letter-spacing: 3px; }
    .orb-1 { width: 200px; height: 200px; top: -60px; }
    .orb-2 { width: 160px; height: 160px; bottom: -40px; }
}
