.hero {
    position: relative;
    height: var(--hero-height);
    min-height: var(--hero-height);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../../assets/hero_hk_dynamic.svg') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 15, 30, 0.3) 0%,
        rgba(10, 15, 30, 0.5) 40%,
        rgba(10, 15, 30, 0.85) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 24px 24px 18px;
}

.tag-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 4px 12px;
    background: #e74c3c;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    line-height: 14px;
    color: #fff;
    letter-spacing: 0.5px;
    width: fit-content;
    margin-bottom: 8px;
}

.hero-title {
    width: 320px;
    max-width: calc(100vw - 48px);
    font-size: 26px;
    font-weight: 600;
    line-height: 1.25;
    color: #fff;
    margin-bottom: 6px;
}

.hero-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.45;
    margin-top: 5px;
    margin-bottom: 10px;
}

.market-grid {
    margin-top: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.market-card {
    height: 64px;
    background: rgba(12, 18, 34, 0.58);
    color: #fff;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    padding: 10px 10px 9px;
    backdrop-filter: blur(1px);
}

.market-name {
    color: rgba(255, 255, 255, 0.82);
    font-size: 11px;
    line-height: 13px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.market-price-row {
    display: flex;
    align-items: baseline;
}

.market-value {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.4px;
    line-height: 26px;
}

.market-change {
    font-size: 12px;
    font-weight: 600;
    line-height: 14px;
    margin-left: 6px;
}

.market-change.up {
    color: var(--color-important);
}

.market-change.down {
    color: #00B42A;
}
