body { background-color: #f4f6f9; }
.portal-container { max-width: 1200px; margin: 0 auto; padding: 20px; }

/* 区块标题 */
.section-title {
    font-size: 1.25rem; font-weight: 800; color: #1a1a1a;
    margin-bottom: 1rem; position: relative; padding-left: 12px;
}
.section-title::before {
    content: ''; position: absolute; left: 0; top: 15%; height: 70%; width: 4px;
    background: #0d6efd; border-radius: 4px;
}

/* 焦点图 (Hero) */
.hero-card { border-radius: 12px; overflow: hidden; position: relative; background: #000; transition: transform 0.3s; }
.hero-card:hover { transform: translateY(-3px); }
.hero-card img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; transition: opacity 0.3s; }
.hero-card:hover img { opacity: 0.6; }
.hero-img-fill {
    position: absolute; /* 绝对定位充满容器 */
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 永远不变形 */
    transition: transform 0.3s ease;
}

/* 左侧大图：定义黄金宽长比例（例如 16:9 或 2:1） */
.hero-card.large {
    aspect-ratio: 19 / 9;  /* 魔法就在这里：无论屏幕多宽，高度自动按 16:9 计算！ */
}

/* 右侧小图：定义长条比例 */
.hero-card.small {
    aspect-ratio: 19 / 9;
}
.hero-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; background: linear-gradient(transparent, rgba(0,0,0,0.8)); color: white; }
.default-hero-bg {
    width: 100%;
    height: 100%;
    /* 方案 A：科技极光蓝紫 (推荐，极具现代感) */
    /*background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);*/

    /* 方案 B：深邃星空黑 (低调奢华)*/
    background: linear-gradient(69deg, #1e193c 0%, #0f163a 100%);


    /* 方案 C：AlienCity 品牌色 (假设你喜欢带点外星科技感的青蓝色)*/
    /*background: linear-gradient(135deg, #0ea5e9 0%, #10b981 100%);*/


    position: absolute;
    top: 0;
    left: 0;
}

/* 如果用纯渐变，可以让 overlay 的黑色半透明更轻一点 */
/*.hero-overlay {*/
/*    position: absolute;*/
/*    bottom: 0;*/
/*    left: 0;*/
/*    right: 0;*/
/*    padding: 20px;*/
/*    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);*/
/*    color: white;*/
/*}*/
/* 市场类卡片 (重图片) */
.market-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.04); transition: transform 0.2s; }
.market-card:hover { transform: translateY(-4px); box-shadow: 0 8px 16px rgba(0,0,0,0.08); }
.market-img { height: 150px; width: 100%; object-fit: cover; background: #eee; }

/* 列表类卡片 (重文字) */
.list-item { background: #fff; padding: 15px; border-radius: 8px; margin-bottom: 10px; box-shadow: 0 1px 4px rgba(0,0,0,0.02); display: flex; align-items: center; justify-content: space-between;}
.list-item:hover { background: #f8f9fa; }
.hover-primary { transition: color 0.2s ease; }
.hover-primary:hover { color: #0d6efd !important; }
/* 让链接在悬浮时有一点互动感 */
.hover-primary-footer { transition: color 0.2s ease, background-color 0.2s ease; }
.hover-primary-footer:hover { color: #0d6efd !important; background-color: #e9ecef !important; }